From 63f328fc3a817922d944141991c37210a627ab1d Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:09:18 -0800 Subject: [PATCH 01/11] dtsBundler target --- scripts/dtsBundler.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtsBundler.mjs b/scripts/dtsBundler.mjs index ade134287fe57..969bad7589a43 100644 --- a/scripts/dtsBundler.mjs +++ b/scripts/dtsBundler.mjs @@ -73,7 +73,7 @@ function getDeclarationStatement(node) { return undefined; } -const program = ts.createProgram([entrypoint], { target: ts.ScriptTarget.ES5 }); +const program = ts.createProgram([entrypoint], { target: ts.ScriptTarget.ES2015 }); const typeChecker = program.getTypeChecker(); From f1ff6e07b49288510a56d9964a7a4fa5f0abc86e Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 15:55:55 -0800 Subject: [PATCH 02/11] Force ES5 in convertToAsyncFunction tests --- src/testRunner/unittests/services/convertToAsyncFunction.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testRunner/unittests/services/convertToAsyncFunction.ts b/src/testRunner/unittests/services/convertToAsyncFunction.ts index 40249d8b25b81..5ef8a371fe5f0 100644 --- a/src/testRunner/unittests/services/convertToAsyncFunction.ts +++ b/src/testRunner/unittests/services/convertToAsyncFunction.ts @@ -414,6 +414,7 @@ function testConvertToAsyncFunction(it: Mocha.PendingTestFunction, caption: stri } const host = TestServerHost.createServerHost(files); const projectService = new TestProjectService(host); + projectService.setCompilerOptionsForInferredProjects({ target: ts.server.protocol.ScriptTarget.ES5 }); projectService.openClientFile(file.path); return ts.first(projectService.inferredProjects).getLanguageService(); } From c203df7f8a13d5e2b9cd1a620177a62b66e506fc Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:29:20 -0800 Subject: [PATCH 03/11] Fix up tests which require a stable target --- .../unittests/tscWatch/incremental.ts | 5 ++-- .../declarationMapsEnableMapping_NoInline.js | 23 +++++++-------- ...rationMapsEnableMapping_NoInlineSources.js | 23 +++++++-------- ...clarationMapsGeneratedMapsEnableMapping.js | 21 +++++++------- ...larationMapsGeneratedMapsEnableMapping2.js | 25 ++++++++-------- ...larationMapsGeneratedMapsEnableMapping3.js | 29 +++++++++---------- ...nnotFindModule_suggestion_falsePositive.ts | 1 + .../completionEntryForUnionProperty2.ts | 2 ++ .../completionListStaticProtectedMembers2.ts | 8 +++++ .../fourslash/completionOfAwaitPromise6.ts | 2 ++ ...rConvertToEsModule_notInCommonjsProject.ts | 1 + .../declarationMapsEnableMapping_NoInline.ts | 16 +++++----- ...rationMapsEnableMapping_NoInlineSources.ts | 16 +++++----- ...clarationMapsGeneratedMapsEnableMapping.ts | 14 ++++----- ...larationMapsGeneratedMapsEnableMapping2.ts | 16 +++++----- ...larationMapsGeneratedMapsEnableMapping3.ts | 14 ++++----- ...stionOfUnusedVariableWithExternalModule.ts | 13 +++++++-- 17 files changed, 118 insertions(+), 111 deletions(-) diff --git a/src/testRunner/unittests/tscWatch/incremental.ts b/src/testRunner/unittests/tscWatch/incremental.ts index d9cce42321d01..ab0f8795f10ab 100644 --- a/src/testRunner/unittests/tscWatch/incremental.ts +++ b/src/testRunner/unittests/tscWatch/incremental.ts @@ -157,7 +157,7 @@ describe("unittests:: tscWatch:: incremental:: emit file --incremental", () => { { currentDirectory: project }, ); const reportDiagnostic = ts.createDiagnosticReporter(system); - const parsedConfig = ts.parseConfigFileWithSystem("tsconfig.json", {}, /*extendedConfigCache*/ undefined, /*watchOptionsToExtend*/ undefined, system, reportDiagnostic)!; + const parsedConfig = ts.parseConfigFileWithSystem("tsconfig.json", { target: ts.ScriptTarget.ES5, module: ts.ModuleKind.AMD }, /*extendedConfigCache*/ undefined, /*watchOptionsToExtend*/ undefined, system, reportDiagnostic)!; ts.performIncrementalCompilation({ rootNames: parsedConfig.fileNames, options: parsedConfig.options, @@ -167,7 +167,7 @@ describe("unittests:: tscWatch:: incremental:: emit file --incremental", () => { system, }); - const command = ts.parseConfigFileWithSystem("tsconfig.json", {}, /*extendedConfigCache*/ undefined, /*watchOptionsToExtend*/ undefined, system, ts.noop)!; + const command = ts.parseConfigFileWithSystem("tsconfig.json", { target: ts.ScriptTarget.ES5, module: ts.ModuleKind.AMD }, /*extendedConfigCache*/ undefined, /*watchOptionsToExtend*/ undefined, system, ts.noop)!; const builderProgram = ts.createIncrementalProgram({ rootNames: command.fileNames, options: command.options, @@ -200,6 +200,7 @@ describe("unittests:: tscWatch:: incremental:: emit file --incremental", () => { assert.deepEqual(builderProgram.state.compilerOptions, { incremental: true, + target: ts.ScriptTarget.ES5, module: ts.ModuleKind.AMD, configFilePath: config.path, ignoreDeprecations: "6.0", diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index a0404c1ec0c94..5ec31fc37a907 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -8,6 +8,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "options": { "module": "commonjs", + "target": "es6", "lib": [ "es5" ], @@ -17,7 +18,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "newLine": "lf", - "target": "es5", "skipDefaultLibCheck": true } }, @@ -56,20 +56,17 @@ export interface SomeType { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.methodName = function (propName) { return propName; }; - Foo.prototype.otherMethod = function () { +class Foo { + methodName(propName) { return propName; } + otherMethod() { if (Math.random() > 0.5) { return { x: 42 }; } return { y: "yes" }; - }; - return Foo; -}()); + } +} exports.Foo = Foo; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTtJQUFBO0lBU0EsQ0FBQztJQVBHLHdCQUFVLEdBQVYsVUFBVyxRQUFrQixJQUFjLE9BQU8sUUFBUSxDQUFDLENBQUMsQ0FBQztJQUM3RCx5QkFBVyxHQUFYO1FBQ0ksSUFBSSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsR0FBRyxFQUFFLENBQUM7WUFDdEIsT0FBTyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQztRQUNuQixDQUFDO1FBQ0QsT0FBTyxFQUFDLENBQUMsRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUN0QixDQUFDO0lBQ0wsVUFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksa0JBQUcifQ== +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLEdBQUc7SUFFWixVQUFVLENBQUMsUUFBa0IsSUFBYyxPQUFPLFFBQVEsQ0FBQyxDQUFDLENBQUM7SUFDN0QsV0FBVztRQUNQLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsRUFBRSxDQUFDO1lBQ3RCLE9BQU8sRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUM7UUFDbkIsQ0FBQztRQUNELE9BQU8sRUFBQyxDQUFDLEVBQUUsS0FBSyxFQUFDLENBQUM7SUFDdEIsQ0FBQztDQUNKO0FBVEQsa0JBU0MifQ== //// [/home/src/workspaces/project/index.ts] export class Foo { @@ -96,6 +93,7 @@ instance.methodName({member: 12}); { "compilerOptions": { "module": "commonjs", + "target": "es2015", "lib": ["es5"], "strict": false, "outDir": "./dist", @@ -126,6 +124,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "target": 2, "lib": [ "lib.es5.d.ts" ], @@ -210,7 +209,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.es5.d.ts Text-1 lib.es5.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"inlineSourceMap\": true,\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"target\": \"es2015\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"inlineSourceMap\": true,\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" ../../tslibs/TS/Lib/lib.es5.d.ts @@ -417,7 +416,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/home/src/workspaces/project/dist/index.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.methodName = function (propName) { return propName; };\n Foo.prototype.otherMethod = function () {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n };\n return Foo;\n}());\nexports.Foo = Foo;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTtJQUFBO0lBU0EsQ0FBQztJQVBHLHdCQUFVLEdBQVYsVUFBVyxRQUFrQixJQUFjLE9BQU8sUUFBUSxDQUFDLENBQUMsQ0FBQztJQUM3RCx5QkFBVyxHQUFYO1FBQ0ksSUFBSSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsR0FBRyxFQUFFLENBQUM7WUFDdEIsT0FBTyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQztRQUNuQixDQUFDO1FBQ0QsT0FBTyxFQUFDLENBQUMsRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUN0QixDQUFDO0lBQ0wsVUFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksa0JBQUcifQ==" + "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nclass Foo {\n methodName(propName) { return propName; }\n otherMethod() {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n }\n}\nexports.Foo = Foo;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLEdBQUc7SUFFWixVQUFVLENBQUMsUUFBa0IsSUFBYyxPQUFPLFFBQVEsQ0FBQyxDQUFDLENBQUM7SUFDN0QsV0FBVztRQUNQLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsRUFBRSxDQUFDO1lBQ3RCLE9BQU8sRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUM7UUFDbkIsQ0FBQztRQUNELE9BQU8sRUFBQyxDQUFDLEVBQUUsS0FBSyxFQUFDLENBQUM7SUFDdEIsQ0FBQztDQUNKO0FBVEQsa0JBU0MifQ==" }, { "name": "/home/src/workspaces/project/dist/index.d.ts.map", diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index fb5cd8eb61852..9b3793bda3939 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -8,6 +8,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "options": { "module": "commonjs", + "target": "es6", "lib": [ "es5" ], @@ -18,7 +19,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "newLine": "lf", - "target": "es5", "skipDefaultLibCheck": true } }, @@ -57,20 +57,17 @@ export interface SomeType { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.methodName = function (propName) { return propName; }; - Foo.prototype.otherMethod = function () { +class Foo { + methodName(propName) { return propName; } + otherMethod() { if (Math.random() > 0.5) { return { x: 42 }; } return { y: "yes" }; - }; - return Foo; -}()); + } +} exports.Foo = Foo; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTtJQUFBO0lBU0EsQ0FBQztJQVBHLHdCQUFVLEdBQVYsVUFBVyxRQUFrQixJQUFjLE9BQU8sUUFBUSxDQUFDLENBQUMsQ0FBQztJQUM3RCx5QkFBVyxHQUFYO1FBQ0ksSUFBSSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsR0FBRyxFQUFFLENBQUM7WUFDdEIsT0FBTyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQztRQUNuQixDQUFDO1FBQ0QsT0FBTyxFQUFDLENBQUMsRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUN0QixDQUFDO0lBQ0wsVUFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksa0JBQUciLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRm9vIHtcbiAgICBtZW1iZXI6IHN0cmluZztcbiAgICBtZXRob2ROYW1lKHByb3BOYW1lOiBTb21lVHlwZSk6IFNvbWVUeXBlIHsgcmV0dXJuIHByb3BOYW1lOyB9XG4gICAgb3RoZXJNZXRob2QoKSB7XG4gICAgICAgIGlmIChNYXRoLnJhbmRvbSgpID4gMC41KSB7XG4gICAgICAgICAgICByZXR1cm4ge3g6IDQyfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge3k6IFwieWVzXCJ9O1xuICAgIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBTb21lVHlwZSB7XG4gICAgbWVtYmVyOiBudW1iZXI7XG59Il19 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLEdBQUc7SUFFWixVQUFVLENBQUMsUUFBa0IsSUFBYyxPQUFPLFFBQVEsQ0FBQyxDQUFDLENBQUM7SUFDN0QsV0FBVztRQUNQLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsRUFBRSxDQUFDO1lBQ3RCLE9BQU8sRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUM7UUFDbkIsQ0FBQztRQUNELE9BQU8sRUFBQyxDQUFDLEVBQUUsS0FBSyxFQUFDLENBQUM7SUFDdEIsQ0FBQztDQUNKO0FBVEQsa0JBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRm9vIHtcbiAgICBtZW1iZXI6IHN0cmluZztcbiAgICBtZXRob2ROYW1lKHByb3BOYW1lOiBTb21lVHlwZSk6IFNvbWVUeXBlIHsgcmV0dXJuIHByb3BOYW1lOyB9XG4gICAgb3RoZXJNZXRob2QoKSB7XG4gICAgICAgIGlmIChNYXRoLnJhbmRvbSgpID4gMC41KSB7XG4gICAgICAgICAgICByZXR1cm4ge3g6IDQyfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge3k6IFwieWVzXCJ9O1xuICAgIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBTb21lVHlwZSB7XG4gICAgbWVtYmVyOiBudW1iZXI7XG59Il19 //// [/home/src/workspaces/project/index.ts] export class Foo { @@ -97,6 +94,7 @@ instance.methodName({member: 12}); { "compilerOptions": { "module": "commonjs", + "target": "es2015", "lib": ["es5"], "strict": false, "outDir": "./dist", @@ -128,6 +126,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "target": 2, "lib": [ "lib.es5.d.ts" ], @@ -213,7 +212,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.es5.d.ts Text-1 lib.es5.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"inlineSourceMap\": true,\n \"inlineSources\": true,\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"target\": \"es2015\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"inlineSourceMap\": true,\n \"inlineSources\": true,\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" ../../tslibs/TS/Lib/lib.es5.d.ts @@ -420,7 +419,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/home/src/workspaces/project/dist/index.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.methodName = function (propName) { return propName; };\n Foo.prototype.otherMethod = function () {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n };\n return Foo;\n}());\nexports.Foo = Foo;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTtJQUFBO0lBU0EsQ0FBQztJQVBHLHdCQUFVLEdBQVYsVUFBVyxRQUFrQixJQUFjLE9BQU8sUUFBUSxDQUFDLENBQUMsQ0FBQztJQUM3RCx5QkFBVyxHQUFYO1FBQ0ksSUFBSSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsR0FBRyxFQUFFLENBQUM7WUFDdEIsT0FBTyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQztRQUNuQixDQUFDO1FBQ0QsT0FBTyxFQUFDLENBQUMsRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUN0QixDQUFDO0lBQ0wsVUFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksa0JBQUciLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRm9vIHtcbiAgICBtZW1iZXI6IHN0cmluZztcbiAgICBtZXRob2ROYW1lKHByb3BOYW1lOiBTb21lVHlwZSk6IFNvbWVUeXBlIHsgcmV0dXJuIHByb3BOYW1lOyB9XG4gICAgb3RoZXJNZXRob2QoKSB7XG4gICAgICAgIGlmIChNYXRoLnJhbmRvbSgpID4gMC41KSB7XG4gICAgICAgICAgICByZXR1cm4ge3g6IDQyfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge3k6IFwieWVzXCJ9O1xuICAgIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBTb21lVHlwZSB7XG4gICAgbWVtYmVyOiBudW1iZXI7XG59Il19" + "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nclass Foo {\n methodName(propName) { return propName; }\n otherMethod() {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n }\n}\nexports.Foo = Foo;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLEdBQUc7SUFFWixVQUFVLENBQUMsUUFBa0IsSUFBYyxPQUFPLFFBQVEsQ0FBQyxDQUFDLENBQUM7SUFDN0QsV0FBVztRQUNQLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsRUFBRSxDQUFDO1lBQ3RCLE9BQU8sRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUM7UUFDbkIsQ0FBQztRQUNELE9BQU8sRUFBQyxDQUFDLEVBQUUsS0FBSyxFQUFDLENBQUM7SUFDdEIsQ0FBQztDQUNKO0FBVEQsa0JBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRm9vIHtcbiAgICBtZW1iZXI6IHN0cmluZztcbiAgICBtZXRob2ROYW1lKHByb3BOYW1lOiBTb21lVHlwZSk6IFNvbWVUeXBlIHsgcmV0dXJuIHByb3BOYW1lOyB9XG4gICAgb3RoZXJNZXRob2QoKSB7XG4gICAgICAgIGlmIChNYXRoLnJhbmRvbSgpID4gMC41KSB7XG4gICAgICAgICAgICByZXR1cm4ge3g6IDQyfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge3k6IFwieWVzXCJ9O1xuICAgIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBTb21lVHlwZSB7XG4gICAgbWVtYmVyOiBudW1iZXI7XG59Il19" }, { "name": "/home/src/workspaces/project/dist/index.d.ts.map", diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 7c8837ee8061a..eba2b9448970c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -8,6 +8,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "options": { "module": "commonjs", + "target": "es6", "lib": [ "es5" ], @@ -16,7 +17,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "newLine": "lf", - "target": "es5", "skipDefaultLibCheck": true } }, @@ -55,18 +55,15 @@ export interface SomeType { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.methodName = function (propName) { return propName; }; - Foo.prototype.otherMethod = function () { +class Foo { + methodName(propName) { return propName; } + otherMethod() { if (Math.random() > 0.5) { return { x: 42 }; } return { y: "yes" }; - }; - return Foo; -}()); + } +} exports.Foo = Foo; @@ -95,6 +92,7 @@ instance.methodName({member: 12}); { "compilerOptions": { "module": "commonjs", + "target": "es2015", "lib": ["es5"], "strict": false, "outDir": "./dist", @@ -124,6 +122,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "target": 2, "lib": [ "lib.es5.d.ts" ], @@ -207,7 +206,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.es5.d.ts Text-1 lib.es5.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"target\": \"es2015\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" ../../tslibs/TS/Lib/lib.es5.d.ts @@ -414,7 +413,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/home/src/workspaces/project/dist/index.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.methodName = function (propName) { return propName; };\n Foo.prototype.otherMethod = function () {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n };\n return Foo;\n}());\nexports.Foo = Foo;\n" + "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nclass Foo {\n methodName(propName) { return propName; }\n otherMethod() {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n }\n}\nexports.Foo = Foo;\n" }, { "name": "/home/src/workspaces/project/dist/index.d.ts.map", diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index 16243b911c4fc..2999f4e3b3168 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -8,6 +8,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "options": { "module": "commonjs", + "target": "es6", "lib": [ "es5" ], @@ -18,7 +19,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "newLine": "lf", - "target": "es5", "skipDefaultLibCheck": true } }, @@ -57,23 +57,20 @@ export interface SomeType { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.methodName = function (propName) { return propName; }; - Foo.prototype.otherMethod = function () { +class Foo { + methodName(propName) { return propName; } + otherMethod() { if (Math.random() > 0.5) { return { x: 42 }; } return { y: "yes" }; - }; - return Foo; -}()); + } +} exports.Foo = Foo; //# sourceMappingURL=index.js.map //// [/home/src/workspaces/project/dist/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"/home/src/workspaces/project/","sources":["index.ts"],"names":[],"mappings":";;;AAAA;IAAA;IASA,CAAC;IAPG,wBAAU,GAAV,UAAW,QAAkB,IAAc,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC7D,yBAAW,GAAX;QACI,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,OAAO,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAC,CAAC,EAAE,KAAK,EAAC,CAAC;IACtB,CAAC;IACL,UAAC;AAAD,CAAC,AATD,IASC;AATY,kBAAG"} +{"version":3,"file":"index.js","sourceRoot":"/home/src/workspaces/project/","sources":["index.ts"],"names":[],"mappings":";;;AAAA,MAAa,GAAG;IAEZ,UAAU,CAAC,QAAkB,IAAc,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC7D,WAAW;QACP,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,OAAO,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAC,CAAC,EAAE,KAAK,EAAC,CAAC;IACtB,CAAC;CACJ;AATD,kBASC"} //// [/home/src/workspaces/project/index.ts] export class Foo { @@ -100,6 +97,7 @@ instance.methodName({member: 12}); { "compilerOptions": { "module": "commonjs", + "target": "es2015", "lib": ["es5"], "strict": false, "outDir": "./dist", @@ -131,6 +129,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "target": 2, "lib": [ "lib.es5.d.ts" ], @@ -216,7 +215,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.es5.d.ts Text-1 lib.es5.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"sourceMap\": true,\n \"sourceRoot\": \"/home/src/workspaces/project/\",\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"target\": \"es2015\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"sourceMap\": true,\n \"sourceRoot\": \"/home/src/workspaces/project/\",\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" ../../tslibs/TS/Lib/lib.es5.d.ts @@ -423,12 +422,12 @@ Info seq [hh:mm:ss:mss] response: { "name": "/home/src/workspaces/project/dist/index.js.map", "writeByteOrderMark": false, - "text": "{\"version\":3,\"file\":\"index.js\",\"sourceRoot\":\"/home/src/workspaces/project/\",\"sources\":[\"index.ts\"],\"names\":[],\"mappings\":\";;;AAAA;IAAA;IASA,CAAC;IAPG,wBAAU,GAAV,UAAW,QAAkB,IAAc,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC7D,yBAAW,GAAX;QACI,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,OAAO,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAC,CAAC,EAAE,KAAK,EAAC,CAAC;IACtB,CAAC;IACL,UAAC;AAAD,CAAC,AATD,IASC;AATY,kBAAG\"}" + "text": "{\"version\":3,\"file\":\"index.js\",\"sourceRoot\":\"/home/src/workspaces/project/\",\"sources\":[\"index.ts\"],\"names\":[],\"mappings\":\";;;AAAA,MAAa,GAAG;IAEZ,UAAU,CAAC,QAAkB,IAAc,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC7D,WAAW;QACP,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,OAAO,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAC,CAAC,EAAE,KAAK,EAAC,CAAC;IACtB,CAAC;CACJ;AATD,kBASC\"}" }, { "name": "/home/src/workspaces/project/dist/index.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.methodName = function (propName) { return propName; };\n Foo.prototype.otherMethod = function () {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n };\n return Foo;\n}());\nexports.Foo = Foo;\n//# sourceMappingURL=index.js.map" + "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nclass Foo {\n methodName(propName) { return propName; }\n otherMethod() {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n }\n}\nexports.Foo = Foo;\n//# sourceMappingURL=index.js.map" }, { "name": "/home/src/workspaces/project/dist/index.d.ts.map", diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index b03dbdfa902b6..34510caf2fb7d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -8,6 +8,7 @@ Info seq [hh:mm:ss:mss] request: "arguments": { "options": { "module": "commonjs", + "target": "es6", "lib": [ "es5" ], @@ -17,7 +18,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "newLine": "lf", - "target": "es5", "skipDefaultLibCheck": true } }, @@ -56,18 +56,15 @@ export interface SomeType { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.methodName = function (propName) { return propName; }; - Foo.prototype.otherMethod = function () { +class Foo { + methodName(propName) { return propName; } + otherMethod() { if (Math.random() > 0.5) { return { x: 42 }; } return { y: "yes" }; - }; - return Foo; -}()); + } +} exports.Foo = Foo; @@ -96,6 +93,7 @@ instance.methodName({member: 12}); { "compilerOptions": { "module": "commonjs", + "target": "es2015", "lib": ["es5"], "strict": false, "outDir": "./dist", @@ -126,6 +124,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "target": 2, "lib": [ "lib.es5.d.ts" ], @@ -196,11 +195,11 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [ { "start": { - "line": 7, + "line": 8, "offset": 9 }, "end": { - "line": 7, + "line": 8, "offset": 21 }, "text": "Option 'sourceRoot can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.", @@ -225,7 +224,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.es5.d.ts Text-1 lib.es5.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"sourceRoot\": \"/home/src/workspaces/project/\",\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"target\": \"es2015\",\n \"lib\": [\"es5\"],\n \"strict\": false,\n \"outDir\": \"./dist\",\n \"sourceRoot\": \"/home/src/workspaces/project/\",\n \"declaration\": true,\n \"declarationMap\": true,\n \"newLine\": \"lf\",\n },\n \"files\": [\"/home/src/workspaces/project/index.ts\"],\n}" ../../tslibs/TS/Lib/lib.es5.d.ts @@ -432,7 +431,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/home/src/workspaces/project/dist/index.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.methodName = function (propName) { return propName; };\n Foo.prototype.otherMethod = function () {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n };\n return Foo;\n}());\nexports.Foo = Foo;\n" + "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Foo = void 0;\nclass Foo {\n methodName(propName) { return propName; }\n otherMethod() {\n if (Math.random() > 0.5) {\n return { x: 42 };\n }\n return { y: \"yes\" };\n }\n}\nexports.Foo = Foo;\n" }, { "name": "/home/src/workspaces/project/dist/index.d.ts.map", @@ -471,11 +470,11 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [ { "start": { - "line": 7, + "line": 8, "offset": 9 }, "end": { - "line": 7, + "line": 8, "offset": 21 }, "text": "Option 'sourceRoot can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.", diff --git a/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts b/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts index c2819fd7d137e..84b6fa2cf7b70 100644 --- a/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts +++ b/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts @@ -1,6 +1,7 @@ /// // @moduleResolution: bundler +// @module: commonjs // @resolveJsonModule: true // @strict: true diff --git a/tests/cases/fourslash/completionEntryForUnionProperty2.ts b/tests/cases/fourslash/completionEntryForUnionProperty2.ts index 0b307a6ef29be..872d21b26ece8 100644 --- a/tests/cases/fourslash/completionEntryForUnionProperty2.ts +++ b/tests/cases/fourslash/completionEntryForUnionProperty2.ts @@ -1,5 +1,7 @@ /// +// @lib: es5 + ////interface One { //// commonProperty: string; //// commonFunction(): number; diff --git a/tests/cases/fourslash/completionListStaticProtectedMembers2.ts b/tests/cases/fourslash/completionListStaticProtectedMembers2.ts index f5c2dadf83c34..17227a11a64c6 100644 --- a/tests/cases/fourslash/completionListStaticProtectedMembers2.ts +++ b/tests/cases/fourslash/completionListStaticProtectedMembers2.ts @@ -1,5 +1,6 @@ /// +// @target: es2015 // @lib: es5 ////class Base { @@ -61,10 +62,17 @@ verify.completions( exact: [ { name: "protectedMethod", sortText: completion.SortText.LocalDeclarationPriority }, { name: "protectedOverriddenMethod", sortText: completion.SortText.LocalDeclarationPriority }, + { name: "protectedOverriddenProperty", sortText: completion.SortText.LocalDeclarationPriority }, + { name: "protectedProperty", sortText: completion.SortText.LocalDeclarationPriority }, { name: "publicMethod", sortText: completion.SortText.LocalDeclarationPriority }, + { name: "publicProperty", sortText: completion.SortText.LocalDeclarationPriority }, { name: "apply", sortText: completion.SortText.LocationPriority }, + { name: "arguments", sortText: completion.SortText.LocationPriority }, { name: "bind", sortText: completion.SortText.LocationPriority }, { name: "call", sortText: completion.SortText.LocationPriority }, + { name: "caller", sortText: completion.SortText.LocationPriority }, + { name: "length", sortText: completion.SortText.LocationPriority }, + { name: "prototype", sortText: completion.SortText.LocationPriority }, { name: "toString", sortText: completion.SortText.LocationPriority }, ], }, diff --git a/tests/cases/fourslash/completionOfAwaitPromise6.ts b/tests/cases/fourslash/completionOfAwaitPromise6.ts index 9d08f67d05891..94e54ff5c9c2e 100644 --- a/tests/cases/fourslash/completionOfAwaitPromise6.ts +++ b/tests/cases/fourslash/completionOfAwaitPromise6.ts @@ -1,5 +1,7 @@ /// +// @lib: es2015 + //// async function foo(x: Promise) { //// [|x./**/|] //// } diff --git a/tests/cases/fourslash/refactorConvertToEsModule_notInCommonjsProject.ts b/tests/cases/fourslash/refactorConvertToEsModule_notInCommonjsProject.ts index 5286091bce978..0bccc7927e713 100644 --- a/tests/cases/fourslash/refactorConvertToEsModule_notInCommonjsProject.ts +++ b/tests/cases/fourslash/refactorConvertToEsModule_notInCommonjsProject.ts @@ -1,6 +1,7 @@ /// // @allowJs: true +// @target: es5 // @Filename: /a.js ////exports.x = 0; diff --git a/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInline.ts b/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInline.ts index 996635f429fbb..ce30c976a72a7 100644 --- a/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInline.ts +++ b/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInline.ts @@ -4,6 +4,7 @@ ////{ //// "compilerOptions": { //// "module": "commonjs", +//// "target": "es2015", //// "lib": ["es5"], //// "strict": false, //// "outDir": "./dist", @@ -41,20 +42,17 @@ ////"use strict"; ////Object.defineProperty(exports, "__esModule", { value: true }); ////exports.Foo = void 0; -////var Foo = /** @class */ (function () { -//// function Foo() { -//// } -//// Foo.prototype.methodName = function (propName) { return propName; }; -//// Foo.prototype.otherMethod = function () { +////class Foo { +//// methodName(propName) { return propName; } +//// otherMethod() { //// if (Math.random() > 0.5) { //// return { x: 42 }; //// } //// return { y: "yes" }; -//// }; -//// return Foo; -////}()); +//// } +////} ////exports.Foo = Foo; -//////# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTtJQUFBO0lBU0EsQ0FBQztJQVBHLHdCQUFVLEdBQVYsVUFBVyxRQUFrQixJQUFjLE9BQU8sUUFBUSxDQUFDLENBQUMsQ0FBQztJQUM3RCx5QkFBVyxHQUFYO1FBQ0ksSUFBSSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsR0FBRyxFQUFFLENBQUM7WUFDdEIsT0FBTyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQztRQUNuQixDQUFDO1FBQ0QsT0FBTyxFQUFDLENBQUMsRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUN0QixDQUFDO0lBQ0wsVUFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksa0JBQUcifQ== +//////# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLEdBQUc7SUFFWixVQUFVLENBQUMsUUFBa0IsSUFBYyxPQUFPLFFBQVEsQ0FBQyxDQUFDLENBQUM7SUFDN0QsV0FBVztRQUNQLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsRUFBRSxDQUFDO1lBQ3RCLE9BQU8sRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUM7UUFDbkIsQ0FBQztRQUNELE9BQU8sRUFBQyxDQUFDLEVBQUUsS0FBSyxFQUFDLENBQUM7SUFDdEIsQ0FBQztDQUNKO0FBVEQsa0JBU0MifQ== // @Filename: /home/src/workspaces/project/dist/index.d.ts.map ////{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,qBAAa,GAAG;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ;IACxC,WAAW;;;;;;;CAMd;AAED,MAAM,WAAW,QAAQ;IACrB,MAAM,EAAE,MAAM,CAAC;CAClB"} diff --git a/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInlineSources.ts b/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInlineSources.ts index cdceb8d471b33..f8b2cdfe32b71 100644 --- a/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInlineSources.ts +++ b/tests/cases/fourslash/server/declarationMapsEnableMapping_NoInlineSources.ts @@ -4,6 +4,7 @@ ////{ //// "compilerOptions": { //// "module": "commonjs", +//// "target": "es2015", //// "lib": ["es5"], //// "strict": false, //// "outDir": "./dist", @@ -42,20 +43,17 @@ ////"use strict"; ////Object.defineProperty(exports, "__esModule", { value: true }); ////exports.Foo = void 0; -////var Foo = /** @class */ (function () { -//// function Foo() { -//// } -//// Foo.prototype.methodName = function (propName) { return propName; }; -//// Foo.prototype.otherMethod = function () { +////class Foo { +//// methodName(propName) { return propName; } +//// otherMethod() { //// if (Math.random() > 0.5) { //// return { x: 42 }; //// } //// return { y: "yes" }; -//// }; -//// return Foo; -////}()); +//// } +////} ////exports.Foo = Foo; -//////# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTtJQUFBO0lBU0EsQ0FBQztJQVBHLHdCQUFVLEdBQVYsVUFBVyxRQUFrQixJQUFjLE9BQU8sUUFBUSxDQUFDLENBQUMsQ0FBQztJQUM3RCx5QkFBVyxHQUFYO1FBQ0ksSUFBSSxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsR0FBRyxFQUFFLENBQUM7WUFDdEIsT0FBTyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQztRQUNuQixDQUFDO1FBQ0QsT0FBTyxFQUFDLENBQUMsRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUN0QixDQUFDO0lBQ0wsVUFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksa0JBQUciLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRm9vIHtcbiAgICBtZW1iZXI6IHN0cmluZztcbiAgICBtZXRob2ROYW1lKHByb3BOYW1lOiBTb21lVHlwZSk6IFNvbWVUeXBlIHsgcmV0dXJuIHByb3BOYW1lOyB9XG4gICAgb3RoZXJNZXRob2QoKSB7XG4gICAgICAgIGlmIChNYXRoLnJhbmRvbSgpID4gMC41KSB7XG4gICAgICAgICAgICByZXR1cm4ge3g6IDQyfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge3k6IFwieWVzXCJ9O1xuICAgIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBTb21lVHlwZSB7XG4gICAgbWVtYmVyOiBudW1iZXI7XG59Il19 +//////# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLEdBQUc7SUFFWixVQUFVLENBQUMsUUFBa0IsSUFBYyxPQUFPLFFBQVEsQ0FBQyxDQUFDLENBQUM7SUFDN0QsV0FBVztRQUNQLElBQUksSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsRUFBRSxDQUFDO1lBQ3RCLE9BQU8sRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUM7UUFDbkIsQ0FBQztRQUNELE9BQU8sRUFBQyxDQUFDLEVBQUUsS0FBSyxFQUFDLENBQUM7SUFDdEIsQ0FBQztDQUNKO0FBVEQsa0JBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRm9vIHtcbiAgICBtZW1iZXI6IHN0cmluZztcbiAgICBtZXRob2ROYW1lKHByb3BOYW1lOiBTb21lVHlwZSk6IFNvbWVUeXBlIHsgcmV0dXJuIHByb3BOYW1lOyB9XG4gICAgb3RoZXJNZXRob2QoKSB7XG4gICAgICAgIGlmIChNYXRoLnJhbmRvbSgpID4gMC41KSB7XG4gICAgICAgICAgICByZXR1cm4ge3g6IDQyfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge3k6IFwieWVzXCJ9O1xuICAgIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBTb21lVHlwZSB7XG4gICAgbWVtYmVyOiBudW1iZXI7XG59Il19 // @Filename: /home/src/workspaces/project/dist/index.d.ts.map ////{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,qBAAa,GAAG;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ;IACxC,WAAW;;;;;;;CAMd;AAED,MAAM,WAAW,QAAQ;IACrB,MAAM,EAAE,MAAM,CAAC;CAClB"} diff --git a/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping.ts b/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping.ts index c4ee3c01124de..ee4ba35822bc3 100644 --- a/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping.ts +++ b/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping.ts @@ -4,6 +4,7 @@ ////{ //// "compilerOptions": { //// "module": "commonjs", +//// "target": "es2015", //// "lib": ["es5"], //// "strict": false, //// "outDir": "./dist", @@ -40,18 +41,15 @@ ////"use strict"; ////Object.defineProperty(exports, "__esModule", { value: true }); ////exports.Foo = void 0; -////var Foo = /** @class */ (function () { -//// function Foo() { -//// } -//// Foo.prototype.methodName = function (propName) { return propName; }; -//// Foo.prototype.otherMethod = function () { +////class Foo { +//// methodName(propName) { return propName; } +//// otherMethod() { //// if (Math.random() > 0.5) { //// return { x: 42 }; //// } //// return { y: "yes" }; -//// }; -//// return Foo; -////}()); +//// } +////} ////exports.Foo = Foo; //// diff --git a/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping2.ts b/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping2.ts index 10f0938ca3600..8fa5bff108bfa 100644 --- a/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping2.ts +++ b/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping2.ts @@ -4,6 +4,7 @@ ////{ //// "compilerOptions": { //// "module": "commonjs", +//// "target": "es2015", //// "lib": ["es5"], //// "strict": false, //// "outDir": "./dist", @@ -39,24 +40,21 @@ ////instance.[|/*1*/methodName|]({member: 12}); // @Filename: /home/src/workspaces/project/dist/index.js.map -////{"version":3,"file":"index.js","sourceRoot":"/home/src/workspaces/project/","sources":["index.ts"],"names":[],"mappings":";;;AAAA;IAAA;IASA,CAAC;IAPG,wBAAU,GAAV,UAAW,QAAkB,IAAc,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC7D,yBAAW,GAAX;QACI,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,OAAO,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAC,CAAC,EAAE,KAAK,EAAC,CAAC;IACtB,CAAC;IACL,UAAC;AAAD,CAAC,AATD,IASC;AATY,kBAAG"} +////{"version":3,"file":"index.js","sourceRoot":"/home/src/workspaces/project/","sources":["index.ts"],"names":[],"mappings":";;;AAAA,MAAa,GAAG;IAEZ,UAAU,CAAC,QAAkB,IAAc,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC7D,WAAW;QACP,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,OAAO,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAC,CAAC,EAAE,KAAK,EAAC,CAAC;IACtB,CAAC;CACJ;AATD,kBASC"} // @Filename: /home/src/workspaces/project/dist/index.js ////"use strict"; ////Object.defineProperty(exports, "__esModule", { value: true }); ////exports.Foo = void 0; -////var Foo = /** @class */ (function () { -//// function Foo() { -//// } -//// Foo.prototype.methodName = function (propName) { return propName; }; -//// Foo.prototype.otherMethod = function () { +////class Foo { +//// methodName(propName) { return propName; } +//// otherMethod() { //// if (Math.random() > 0.5) { //// return { x: 42 }; //// } //// return { y: "yes" }; -//// }; -//// return Foo; -////}()); +//// } +////} ////exports.Foo = Foo; //////# sourceMappingURL=index.js.map diff --git a/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping3.ts b/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping3.ts index bd91282f94c79..2ea5322ebd2e7 100644 --- a/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping3.ts +++ b/tests/cases/fourslash/server/declarationMapsGeneratedMapsEnableMapping3.ts @@ -4,6 +4,7 @@ ////{ //// "compilerOptions": { //// "module": "commonjs", +//// "target": "es2015", //// "lib": ["es5"], //// "strict": false, //// "outDir": "./dist", @@ -41,18 +42,15 @@ ////"use strict"; ////Object.defineProperty(exports, "__esModule", { value: true }); ////exports.Foo = void 0; -////var Foo = /** @class */ (function () { -//// function Foo() { -//// } -//// Foo.prototype.methodName = function (propName) { return propName; }; -//// Foo.prototype.otherMethod = function () { +////class Foo { +//// methodName(propName) { return propName; } +//// otherMethod() { //// if (Math.random() > 0.5) { //// return { x: 42 }; //// } //// return { y: "yes" }; -//// }; -//// return Foo; -////}()); +//// } +////} ////exports.Foo = Foo; //// diff --git a/tests/cases/fourslash/suggestionOfUnusedVariableWithExternalModule.ts b/tests/cases/fourslash/suggestionOfUnusedVariableWithExternalModule.ts index 77d0b6157fde5..b66524afdd55f 100644 --- a/tests/cases/fourslash/suggestionOfUnusedVariableWithExternalModule.ts +++ b/tests/cases/fourslash/suggestionOfUnusedVariableWithExternalModule.ts @@ -1,6 +1,7 @@ /// //@allowJs: true +//@module: commonjs // @Filename: /mymodule.js ////(function ([|root|], factory) { @@ -12,12 +13,18 @@ // @Filename: /app.js //////@ts-check -////require("./mymodule"); +////[|require("./mymodule")|]; -const [range0, range1] = test.ranges(); +const [range0, range1, range2] = test.ranges(); goTo.file("/app.js"); -verify.getSuggestionDiagnostics([]); +verify.getSuggestionDiagnostics([ + { + code: 80001, + message: "File is a CommonJS module; it may be converted to an ES module.", + range: range2, + }, +]); goTo.file("/mymodule.js"); verify.getSuggestionDiagnostics([ From 437f55a758a40206f4e259ca6791c5936981a4ba Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:37:15 -0800 Subject: [PATCH 04/11] Explicitly set target for codefix tsconfig tests --- ...codeFixTopLevelAwait_target_blankCompilerOptionsInTsConfig.ts | 1 + ...deFixTopLevelAwait_target_missingCompilerOptionsInTsConfig.ts | 1 + ...eFixTopLevelForAwait_target_blankCompilerOptionsInTsConfig.ts | 1 + ...ixTopLevelForAwait_target_missingCompilerOptionsInTsConfig.ts | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/cases/fourslash/codeFixTopLevelAwait_target_blankCompilerOptionsInTsConfig.ts b/tests/cases/fourslash/codeFixTopLevelAwait_target_blankCompilerOptionsInTsConfig.ts index dc046ceda2336..b7fc558293787 100644 --- a/tests/cases/fourslash/codeFixTopLevelAwait_target_blankCompilerOptionsInTsConfig.ts +++ b/tests/cases/fourslash/codeFixTopLevelAwait_target_blankCompilerOptionsInTsConfig.ts @@ -6,6 +6,7 @@ // @filename: /dir/tsconfig.json ////{ //// "compilerOptions": { +//// "target": "es2015", //// "module": "commonjs" //// } ////} diff --git a/tests/cases/fourslash/codeFixTopLevelAwait_target_missingCompilerOptionsInTsConfig.ts b/tests/cases/fourslash/codeFixTopLevelAwait_target_missingCompilerOptionsInTsConfig.ts index dc046ceda2336..b7fc558293787 100644 --- a/tests/cases/fourslash/codeFixTopLevelAwait_target_missingCompilerOptionsInTsConfig.ts +++ b/tests/cases/fourslash/codeFixTopLevelAwait_target_missingCompilerOptionsInTsConfig.ts @@ -6,6 +6,7 @@ // @filename: /dir/tsconfig.json ////{ //// "compilerOptions": { +//// "target": "es2015", //// "module": "commonjs" //// } ////} diff --git a/tests/cases/fourslash/codeFixTopLevelForAwait_target_blankCompilerOptionsInTsConfig.ts b/tests/cases/fourslash/codeFixTopLevelForAwait_target_blankCompilerOptionsInTsConfig.ts index 5eb72964542ed..6fe1602a6bd5c 100644 --- a/tests/cases/fourslash/codeFixTopLevelForAwait_target_blankCompilerOptionsInTsConfig.ts +++ b/tests/cases/fourslash/codeFixTopLevelForAwait_target_blankCompilerOptionsInTsConfig.ts @@ -7,6 +7,7 @@ // @filename: /dir/tsconfig.json ////{ //// "compilerOptions": { +//// "target": "es2015", //// "module": "commonjs" //// } ////} diff --git a/tests/cases/fourslash/codeFixTopLevelForAwait_target_missingCompilerOptionsInTsConfig.ts b/tests/cases/fourslash/codeFixTopLevelForAwait_target_missingCompilerOptionsInTsConfig.ts index 5eb72964542ed..6fe1602a6bd5c 100644 --- a/tests/cases/fourslash/codeFixTopLevelForAwait_target_missingCompilerOptionsInTsConfig.ts +++ b/tests/cases/fourslash/codeFixTopLevelForAwait_target_missingCompilerOptionsInTsConfig.ts @@ -7,6 +7,7 @@ // @filename: /dir/tsconfig.json ////{ //// "compilerOptions": { +//// "target": "es2015", //// "module": "commonjs" //// } ////} From 3136fd96ac437a583e77244b9d69105d601b6226 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 18:38:52 -0800 Subject: [PATCH 05/11] Silence deprecations in transpile and evalulator unit tests --- src/harness/evaluatorImpl.ts | 1 + src/testRunner/unittests/services/transpile.ts | 2 ++ .../transpile/Generates module output.errors.txt | 6 ------ .../Generates module output.oldTranspile.errors.txt | 6 ------ .../transpile/Rename dependencies - AMD.errors.txt | 8 -------- .../transpile/Rename dependencies - System.errors.txt | 8 -------- .../transpile/Rename dependencies - UMD.errors.txt | 8 -------- .../reference/transpile/Sets module name.errors.txt | 6 ------ .../transpile/Sets module name.oldTranspile.errors.txt | 6 ------ ...setting baseUrl (verbatimModuleSyntax=true).errors.txt | 8 -------- ...rl (verbatimModuleSyntax=true).oldTranspile.errors.txt | 8 -------- .../transpile/Supports setting baseUrl.errors.txt | 8 -------- .../Supports setting baseUrl.oldTranspile.errors.txt | 8 -------- ...oduleResolution (verbatimModuleSyntax=true).errors.txt | 8 -------- ...on (verbatimModuleSyntax=true).oldTranspile.errors.txt | 8 -------- .../Supports setting moduleResolution.errors.txt | 8 -------- ...ports setting moduleResolution.oldTranspile.errors.txt | 8 -------- 17 files changed, 3 insertions(+), 112 deletions(-) delete mode 100644 tests/baselines/reference/transpile/Generates module output.errors.txt delete mode 100644 tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt delete mode 100644 tests/baselines/reference/transpile/Rename dependencies - System.errors.txt delete mode 100644 tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt delete mode 100644 tests/baselines/reference/transpile/Sets module name.errors.txt delete mode 100644 tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt delete mode 100644 tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt diff --git a/src/harness/evaluatorImpl.ts b/src/harness/evaluatorImpl.ts index 7b434403eb15c..664947bf612b0 100644 --- a/src/harness/evaluatorImpl.ts +++ b/src/harness/evaluatorImpl.ts @@ -41,6 +41,7 @@ export function evaluateTypeScript(source: string | { files: vfs.FileSet; rootFi module: ts.ModuleKind.CommonJS, strict: false, lib: ["lib.esnext.d.ts", "lib.dom.d.ts"], + ignoreDeprecations: "6.0", ...options, }; const host = new fakes.CompilerHost(fs, compilerOptions); diff --git a/src/testRunner/unittests/services/transpile.ts b/src/testRunner/unittests/services/transpile.ts index 66faf0e452a65..ea273f4e93a4e 100644 --- a/src/testRunner/unittests/services/transpile.ts +++ b/src/testRunner/unittests/services/transpile.ts @@ -21,6 +21,7 @@ describe("unittests:: services:: Transpile", () => { } if (transpileOptions.compilerOptions.target === undefined) { transpileOptions.compilerOptions.target = ts.ScriptTarget.ES5; + transpileOptions.compilerOptions.ignoreDeprecations = "6.0"; } if (transpileOptions.compilerOptions.newLine === undefined) { @@ -204,6 +205,7 @@ var x = 0;`, emitDecoratorMetadata: true, experimentalDecorators: true, target: ts.ScriptTarget.ES5, + ignoreDeprecations: "6.0", }, }, testVerbatimModuleSyntax: true, diff --git a/tests/baselines/reference/transpile/Generates module output.errors.txt b/tests/baselines/reference/transpile/Generates module output.errors.txt deleted file mode 100644 index b37ebfefd282d..0000000000000 --- a/tests/baselines/reference/transpile/Generates module output.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - var x = 0; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt deleted file mode 100644 index b37ebfefd282d..0000000000000 --- a/tests/baselines/reference/transpile/Generates module output.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - var x = 0; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt b/tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt deleted file mode 100644 index 8d9b3dec5bd51..0000000000000 --- a/tests/baselines/reference/transpile/Rename dependencies - AMD.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - import {foo} from "SomeName"; - declare function use(a: any); - use(foo); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - System.errors.txt b/tests/baselines/reference/transpile/Rename dependencies - System.errors.txt deleted file mode 100644 index d44d2a643ba0a..0000000000000 --- a/tests/baselines/reference/transpile/Rename dependencies - System.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - import {foo} from "SomeName"; - declare function use(a: any); - use(foo); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt b/tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt deleted file mode 100644 index c516802c09bd7..0000000000000 --- a/tests/baselines/reference/transpile/Rename dependencies - UMD.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - import {foo} from "SomeName"; - declare function use(a: any); - use(foo); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Sets module name.errors.txt b/tests/baselines/reference/transpile/Sets module name.errors.txt deleted file mode 100644 index 28fdb1e333a68..0000000000000 --- a/tests/baselines/reference/transpile/Sets module name.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - var x = 1; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt deleted file mode 100644 index 28fdb1e333a68..0000000000000 --- a/tests/baselines/reference/transpile/Sets module name.oldTranspile.errors.txt +++ /dev/null @@ -1,6 +0,0 @@ -error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - - -!!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== file.ts (0 errors) ==== - var x = 1; export {}; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 886c2ab8d3090..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5101: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 886c2ab8d3090..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5101: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt deleted file mode 100644 index 886c2ab8d3090..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5101: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt deleted file mode 100644 index 886c2ab8d3090..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting baseUrl.oldTranspile.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5101: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt deleted file mode 100644 index 1f034149e4db0..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5107: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt deleted file mode 100644 index 1f034149e4db0..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5107: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt deleted file mode 100644 index 1f034149e4db0..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5107: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt deleted file mode 100644 index 1f034149e4db0..0000000000000 --- a/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. - Visit https://aka.ms/ts6 for migration information. - - -!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -!!! error TS5107: Visit https://aka.ms/ts6 for migration information. -==== input.js (0 errors) ==== - x; \ No newline at end of file From 67cf1148e5e63705e1a5d2314526e40078c54dba Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 19:25:47 -0800 Subject: [PATCH 06/11] Update other unit tests to prevent deprecation errors --- src/testRunner/unittests/helpers/contents.ts | 2 +- .../helpers/demoProjectReferences.ts | 2 +- .../unittests/tsbuild/emitDeclarationOnly.ts | 2 +- .../inferredTypeFromTransitiveModule.ts | 2 +- .../unittests/tsbuild/resolveJsonModule.ts | 2 +- src/testRunner/unittests/tsbuild/sample.ts | 14 +- src/testRunner/unittests/tsc/composite.ts | 8 +- .../unittests/tsc/declarationEmit.ts | 4 +- src/testRunner/unittests/tsc/incremental.ts | 2 +- .../unittests/tscWatch/incremental.ts | 2 +- .../unittests/tscWatch/programUpdates.ts | 4 +- ...s-not-in-rootDir-at-the-import-location.js | 48 +-- ...ts-the-error-about-it-by-stopping-build.js | 2 +- ...ng-setup-correctly-and-reports-no-error.js | 42 +-- ...-emitDeclarationOnly-and-declarationMap.js | 24 +- ...import-project-with-emitDeclarationOnly.js | 24 +- ...mports-project-with-emitDeclarationOnly.js | 34 ++- ...-transitive-module-with-isolatedModules.js | 194 +++++++------ .../inferred-type-from-transitive-module.js | 194 +++++++------ ...hange-in-signature-with-isolatedModules.js | 273 ++++++++++-------- ...ting-json-module-from-project-reference.js | 34 ++- ...uilds-when-extended-config-file-changes.js | 104 ++++--- .../sample1/when-target-option-changes.js | 68 ++--- .../demo/updates-with-bad-reference.js | 86 +++--- .../demo/updates-with-circular-reference.js | 66 +++-- ...and-line-but-has-tsbuild-info-in-config.js | 4 +- ...and-line-but-has-tsbuild-info-in-config.js | 4 +- ...setting-composite-false-on-command-line.js | 4 +- ...-setting-composite-null-on-command-line.js | 4 +- ...rough-indirect-symlink-moduleCaseChange.js | 10 +- ...ibling-package-through-indirect-symlink.js | 10 +- ...ther-symlinked-package-moduleCaseChange.js | 28 +- ...age-with-indirect-link-moduleCaseChange.js | 25 +- ...er-symlinked-package-with-indirect-link.js | 25 +- ...gh-source-and-another-symlinked-package.js | 28 +- ...g-filename-for-buildinfo-on-commandline.js | 22 +- ...al-with-circular-references-incremental.js | 36 +-- ...remental-with-circular-references-watch.js | 42 +-- ...s-changes-in-lib-section-of-config-file.js | 8 +- .../on-sample-project-with-nodenext.js | 158 +++++----- .../on-transitive-references-with-nodenext.js | 209 +++++++------- ...-project-when-solution-is-already-built.js | 46 +-- .../with-simple-project.js | 30 +- 43 files changed, 1017 insertions(+), 913 deletions(-) diff --git a/src/testRunner/unittests/helpers/contents.ts b/src/testRunner/unittests/helpers/contents.ts index ddfd14d5695a4..668c64a0a0a87 100644 --- a/src/testRunner/unittests/helpers/contents.ts +++ b/src/testRunner/unittests/helpers/contents.ts @@ -32,5 +32,5 @@ interface Symbol { `; export function getProjectConfigWithNodeNext(withNodeNext: boolean | undefined): object | undefined { - return withNodeNext ? { module: "nodenext", target: "es5" } : undefined; + return withNodeNext ? { module: "nodenext", target: "es2015" } : undefined; } diff --git a/src/testRunner/unittests/helpers/demoProjectReferences.ts b/src/testRunner/unittests/helpers/demoProjectReferences.ts index 38e7360f704c4..580445c6627b2 100644 --- a/src/testRunner/unittests/helpers/demoProjectReferences.ts +++ b/src/testRunner/unittests/helpers/demoProjectReferences.ts @@ -92,7 +92,7 @@ export function getSysForDemoProjectReferences(): TestServerHost { "/user/username/projects/demo/tsconfig-base.json": jsonToReadableText({ compilerOptions: { declaration: true, - target: "es5", + target: "es2015", module: "commonjs", strict: true, noUnusedLocals: true, diff --git a/src/testRunner/unittests/tsbuild/emitDeclarationOnly.ts b/src/testRunner/unittests/tsbuild/emitDeclarationOnly.ts index 14761b6ac72c3..7fd8b1fca4c34 100644 --- a/src/testRunner/unittests/tsbuild/emitDeclarationOnly.ts +++ b/src/testRunner/unittests/tsbuild/emitDeclarationOnly.ts @@ -35,7 +35,7 @@ describe("unittests:: tsbuild:: on project with emitDeclarationOnly:: set to tru "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { incremental: true, - target: "es5", + target: "es2015", module: "commonjs", declaration: true, declarationMap: true, diff --git a/src/testRunner/unittests/tsbuild/inferredTypeFromTransitiveModule.ts b/src/testRunner/unittests/tsbuild/inferredTypeFromTransitiveModule.ts index 0690fea37c0fd..5cb44ee4b92e2 100644 --- a/src/testRunner/unittests/tsbuild/inferredTypeFromTransitiveModule.ts +++ b/src/testRunner/unittests/tsbuild/inferredTypeFromTransitiveModule.ts @@ -50,7 +50,7 @@ describe("unittests:: tsbuild:: inferredTypeFromTransitiveModule::", () => { `, "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", declaration: true, outDir: "obj", incremental: true, diff --git a/src/testRunner/unittests/tsbuild/resolveJsonModule.ts b/src/testRunner/unittests/tsbuild/resolveJsonModule.ts index fec8ba82f042d..b053e420b0db5 100644 --- a/src/testRunner/unittests/tsbuild/resolveJsonModule.ts +++ b/src/testRunner/unittests/tsbuild/resolveJsonModule.ts @@ -178,7 +178,7 @@ describe("unittests:: tsbuild:: with resolveJsonModule:: option on project impor }), "/home/src/workspaces/solution/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", module: "commonjs", rootDir: "./", composite: true, diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index e4ab7334c272c..3d09c5633e3b5 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -1,5 +1,6 @@ import { Baseline } from "../../_namespaces/Harness.js"; import * as ts from "../../_namespaces/ts.js"; +import { dedent } from "../../_namespaces/Utils.js"; import { jsonToReadableText } from "../helpers.js"; import { fakeTsVersion, @@ -241,7 +242,7 @@ describe("unittests:: tsbuild:: on 'sample1' project", () => { sys: getSysForSampleProjectReferences, commandLineArgs: ["--b", "tests", "--verbose"], modifySystem: sys => { - sys.writeFile("tests/tsconfig.base.json", jsonToReadableText({ compilerOptions: { target: "es5" } })); + sys.writeFile("tests/tsconfig.base.json", jsonToReadableText({ compilerOptions: { target: "es2015" } })); sys.replaceFileText("tests/tsconfig.json", `"references": [`, `"extends": "./tsconfig.base.json", "references": [`); }, edits: [{ @@ -510,6 +511,15 @@ class someClass2 { }`, libFile.path, `/// `, ); + sys.writeFile( + "core/index.ts", + dedent` + export const someString: string = "HELLO WORLD"; + export function leftPad(s: string, n: number) { return s + n; } + export function multiply(a: number, b: number) { return a * b; } + export function exponentiate(a: number, b: number) { return a ** b; } + `, + ); sys.writeFile( "core/tsconfig.json", jsonToReadableText({ @@ -524,7 +534,7 @@ class someClass2 { }`, }, edits: [{ caption: "incremental-declaration-changes", - edit: sys => sys.replaceFileText("core/tsconfig.json", "esnext", "es5"), + edit: sys => sys.replaceFileText("core/tsconfig.json", "esnext", "es2015"), }], }); diff --git a/src/testRunner/unittests/tsc/composite.ts b/src/testRunner/unittests/tsc/composite.ts index 518ad7290b00e..05d764fae2b15 100644 --- a/src/testRunner/unittests/tsc/composite.ts +++ b/src/testRunner/unittests/tsc/composite.ts @@ -13,7 +13,7 @@ describe("unittests:: tsc:: composite::", () => { "/home/src/workspaces/project/src/main.ts": "export const x = 10;", "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", module: "commonjs", composite: true, }, @@ -33,7 +33,7 @@ describe("unittests:: tsc:: composite::", () => { "/home/src/workspaces/project/src/main.ts": "export const x = 10;", "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", module: "commonjs", composite: true, }, @@ -53,7 +53,7 @@ describe("unittests:: tsc:: composite::", () => { "/home/src/workspaces/project/src/main.ts": "export const x = 10;", "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", module: "commonjs", composite: true, tsBuildInfoFile: "tsconfig.json.tsbuildinfo", @@ -74,7 +74,7 @@ describe("unittests:: tsc:: composite::", () => { "/home/src/workspaces/project/src/main.ts": "export const x = 10;", "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", module: "commonjs", composite: true, tsBuildInfoFile: "tsconfig.json.tsbuildinfo", diff --git a/src/testRunner/unittests/tsc/declarationEmit.ts b/src/testRunner/unittests/tsc/declarationEmit.ts index 83c4540c40ace..91ed1ed08073f 100644 --- a/src/testRunner/unittests/tsc/declarationEmit.ts +++ b/src/testRunner/unittests/tsc/declarationEmit.ts @@ -55,7 +55,7 @@ describe("unittests:: tsc:: declarationEmit::", () => { function pluginOneConfig() { return jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", declaration: true, traceResolution: true, }, @@ -236,7 +236,7 @@ ${pluginOneAction()}`, compilerOptions: { outDir: "dist", rootDir: "src", - target: "es5", + target: "es2015", module: "commonjs", strict: true, esModuleInterop: true, diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index fcbd91ab1d296..74d2991b82991 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -23,7 +23,7 @@ describe("unittests:: tsc:: incremental::", () => { "/home/src/workspaces/project/src/main.ts": "export const x = 10;", "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { - target: "es5", + target: "es2015", module: "commonjs", }, include: [ diff --git a/src/testRunner/unittests/tscWatch/incremental.ts b/src/testRunner/unittests/tscWatch/incremental.ts index ab0f8795f10ab..244ab8b6c62f3 100644 --- a/src/testRunner/unittests/tscWatch/incremental.ts +++ b/src/testRunner/unittests/tscWatch/incremental.ts @@ -243,7 +243,7 @@ describe("unittests:: tscWatch:: incremental:: emit file --incremental", () => { content: jsonToReadableText({ compilerOptions: { incremental: true, - target: "es5", + target: "es2015", module: "commonjs", declaration: true, emitDeclarationOnly: true, diff --git a/src/testRunner/unittests/tscWatch/programUpdates.ts b/src/testRunner/unittests/tscWatch/programUpdates.ts index 7fab62c966987..f676472804e0c 100644 --- a/src/testRunner/unittests/tscWatch/programUpdates.ts +++ b/src/testRunner/unittests/tscWatch/programUpdates.ts @@ -985,7 +985,7 @@ declare const eval: any`, { compilerOptions: { module: "commonjs", - target: "es5", + target: "es2015", noImplicitAny: true, sourceMap: false, lib: [ @@ -1010,7 +1010,7 @@ declare const eval: any`, { compilerOptions: { module: "commonjs", - target: "es5", + target: "es2015", noImplicitAny: true, sourceMap: false, lib: [ diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 86d99671f6417..2636730832fe0 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -98,7 +98,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, @@ -216,6 +216,8 @@ Found 7 errors. +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/demo/animals/animal.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -232,12 +234,12 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -257,7 +259,7 @@ export declare function createDog(): Dog; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -289,12 +291,12 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileIdsList":[[4,5],[2,3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileIdsList":[[4,5],[2,3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/dog.ts", "../../animals/index.ts", @@ -314,7 +316,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -369,7 +371,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; "outDir": "./", "rootDir": "../../core", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -401,7 +403,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; ], "latestChangedDtsFile": "./utilities.d.ts", "version": "FakeTSVersion", - "size": 2610 + "size": 2614 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -420,7 +422,7 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -435,12 +437,12 @@ export { createDog, Dog }; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -457,12 +459,12 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../core/utilities.d.ts", @@ -479,7 +481,7 @@ export declare function createDog(): Dog; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -538,7 +540,7 @@ export declare function createDog(): Dog; "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -552,14 +554,14 @@ export declare function createDog(): Dog; }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2145 + "size": 2149 } //// [/user/username/projects/demo/lib/zoo/zoo.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createZoo = createZoo; -var index_1 = require("../animals/index"); +const index_1 = require("../animals/index"); function createZoo() { return [ (0, index_1.createDog)() @@ -573,12 +575,12 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../animals/animal.d.ts", "../animals/dog.d.ts", "../animals/index.d.ts", @@ -594,7 +596,7 @@ export declare function createZoo(): Array; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -641,7 +643,7 @@ export declare function createZoo(): Array; "outDir": "./", "rootDir": "../../zoo", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../animals/dog.d.ts": [ @@ -657,7 +659,7 @@ export declare function createZoo(): Array; }, "latestChangedDtsFile": "./zoo.d.ts", "version": "FakeTSVersion", - "size": 1687 + "size": 1691 } diff --git a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js index e042e9ddead14..bfe6bde5bc3f7 100644 --- a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js +++ b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js @@ -102,7 +102,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index ed673cf7b014e..0be6b1952720d 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -97,7 +97,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, @@ -161,6 +161,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/demo/lib/core/utilities.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -182,16 +184,16 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":2},"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../core/utilities.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -226,11 +228,11 @@ export declare function lastElementOf(arr: T[]): T | undefined; "outDir": "./", "rootDir": "../../core", "strict": true, - "target": 1 + "target": 2 }, "latestChangedDtsFile": "./utilities.d.ts", "version": "FakeTSVersion", - "size": 1235 + "size": 1239 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -249,7 +251,7 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -264,12 +266,12 @@ export { createDog, Dog }; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -286,12 +288,12 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../core/utilities.d.ts", @@ -308,7 +310,7 @@ export declare function createDog(): Dog; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -367,7 +369,7 @@ export declare function createDog(): Dog; "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -381,14 +383,14 @@ export declare function createDog(): Dog; }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2145 + "size": 2149 } //// [/user/username/projects/demo/lib/zoo/zoo.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createZoo = createZoo; -var index_1 = require("../animals/index"); +const index_1 = require("../animals/index"); function createZoo() { return [ (0, index_1.createDog)() @@ -402,12 +404,12 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../animals/animal.d.ts", "../animals/dog.d.ts", "../animals/index.d.ts", @@ -423,7 +425,7 @@ export declare function createZoo(): Array; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -470,7 +472,7 @@ export declare function createZoo(): Array; "outDir": "./", "rootDir": "../../zoo", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../animals/dog.d.ts": [ @@ -486,7 +488,7 @@ export declare function createZoo(): Array; }, "latestChangedDtsFile": "./zoo.d.ts", "version": "FakeTSVersion", - "size": 1687 + "size": 1691 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 2df274a95c848..7d702d8d767e9 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -34,7 +34,7 @@ export { C } from "./c"; { "compilerOptions": { "incremental": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "declaration": true, "declarationMap": true, @@ -75,6 +75,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/lib/c.d.ts.map] {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["../src/c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,CAAC;IACd,CAAC,EAAE,CAAC,CAAC;CACR"} @@ -115,12 +117,12 @@ export { C } from "./c"; //# sourceMappingURL=index.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/c.ts", "./src/b.ts", "./src/a.ts", @@ -143,7 +145,7 @@ export { C } from "./c"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +209,7 @@ export { C } from "./c"; "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/a.ts": [ @@ -227,7 +229,7 @@ export { C } from "./c"; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1593 + "size": 1597 } @@ -271,12 +273,12 @@ export interface A { //// [/home/src/workspaces/project/lib/index.d.ts.map] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/c.ts", "./src/b.ts", "./src/a.ts", @@ -299,7 +301,7 @@ export interface A { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -363,7 +365,7 @@ export interface A { "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/a.ts": [ @@ -383,7 +385,7 @@ export interface A { }, "latestChangedDtsFile": "./lib/a.d.ts", "version": "FakeTSVersion", - "size": 1613 + "size": 1617 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 5ae8de05d4e56..8cb97b045e7dd 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -34,7 +34,7 @@ export { C } from "./c"; { "compilerOptions": { "incremental": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "declaration": true, @@ -75,6 +75,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/lib/c.d.ts] import { A } from "./a"; export interface C { @@ -103,12 +105,12 @@ export { C } from "./c"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/c.ts", "./src/b.ts", "./src/a.ts", @@ -131,7 +133,7 @@ export { C } from "./c"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -194,7 +196,7 @@ export { C } from "./c"; "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/a.ts": [ @@ -214,7 +216,7 @@ export { C } from "./c"; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1571 + "size": 1575 } @@ -252,12 +254,12 @@ export interface A { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/c.ts", "./src/b.ts", "./src/a.ts", @@ -280,7 +282,7 @@ export interface A { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -343,7 +345,7 @@ export interface A { "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/a.ts": [ @@ -363,7 +365,7 @@ export interface A { }, "latestChangedDtsFile": "./lib/a.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1595 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 901ac552b9e0d..9e2710beb2813 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -28,7 +28,7 @@ export interface C { { "compilerOptions": { "incremental": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "declaration": true, "declarationMap": true, @@ -69,6 +69,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/lib/a.d.ts.map] {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAElC,MAAM,WAAW,CAAC;IACd,CAAC,EAAE,CAAC,CAAC;CACR"} @@ -102,12 +104,12 @@ export interface B { //# sourceMappingURL=b.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/a.ts", "./src/c.ts", "./src/b.ts" @@ -121,7 +123,7 @@ export interface B { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -180,7 +182,7 @@ export interface B { "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/b.ts": [ @@ -192,7 +194,7 @@ export interface B { }, "latestChangedDtsFile": "./lib/b.d.ts", "version": "FakeTSVersion", - "size": 1480 + "size": 1484 } @@ -226,12 +228,12 @@ Output:: {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAGlC,MAAM,WAAW,CAAC;IACd,CAAC,EAAE,CAAC,CAAC;CACR"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/a.ts", "./src/c.ts", "./src/b.ts" @@ -245,7 +247,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -304,7 +306,7 @@ Output:: "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/b.ts": [ @@ -316,7 +318,7 @@ Output:: }, "latestChangedDtsFile": "./lib/b.d.ts", "version": "FakeTSVersion", - "size": 1493 + "size": 1497 } @@ -362,12 +364,12 @@ export interface A { //// [/home/src/workspaces/project/lib/c.d.ts.map] file written with same contents //// [/home/src/workspaces/project/lib/b.d.ts.map] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":2},"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/a.ts", "./src/c.ts", "./src/b.ts" @@ -381,7 +383,7 @@ export interface A { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -440,7 +442,7 @@ export interface A { "rootDir": "./src", "sourceMap": true, "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./src/b.ts": [ @@ -452,7 +454,7 @@ export interface A { }, "latestChangedDtsFile": "./lib/a.d.ts", "version": "FakeTSVersion", - "size": 1518 + "size": 1522 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index dac0625965da4..7644c17e15f69 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -50,7 +50,7 @@ export { default as bar } from './bar'; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "outDir": "obj", "incremental": true, "isolatedModules": true @@ -81,12 +81,20 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + + +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar(param) { +export default foo()(function foobar(param) { }); @@ -96,22 +104,15 @@ export default _default; //// [/home/src/workspaces/project/obj/bundling.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LazyAction = exports.LazyModule = void 0; -var LazyModule = /** @class */ (function () { - function LazyModule(importCallback) { +export class LazyModule { + constructor(importCallback) { this.importCallback = importCallback; } - return LazyModule; -}()); -exports.LazyModule = LazyModule; -var LazyAction = /** @class */ (function () { - function LazyAction(_lazyModule, _getter) { +} +export class LazyAction { + constructor(_lazyModule, _getter) { } - return LazyAction; -}()); -exports.LazyAction = LazyAction; +} //// [/home/src/workspaces/project/obj/bundling.d.ts] @@ -125,14 +126,7 @@ export declare class LazyAction any, TModule //// [/home/src/workspaces/project/obj/lazyIndex.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = void 0; -var bar_1 = require("./bar"); -Object.defineProperty(exports, "bar", { enumerable: true, get: function () { return __importDefault(bar_1).default; } }); +export { default as bar } from './bar'; //// [/home/src/workspaces/project/obj/lazyIndex.d.ts] @@ -140,47 +134,9 @@ export { default as bar } from './bar'; //// [/home/src/workspaces/project/obj/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.lazyBar = void 0; -var bundling_1 = require("./bundling"); -var lazyModule = new bundling_1.LazyModule(function () { - return Promise.resolve().then(function () { return __importStar(require('./lazyIndex')); }); -}); -exports.lazyBar = new bundling_1.LazyAction(lazyModule, function (m) { return m.bar; }); +import { LazyAction, LazyModule } from './bundling'; +const lazyModule = new LazyModule(() => import('./lazyIndex')); +export const lazyBar = new LazyAction(lazyModule, m => m.bar); //// [/home/src/workspaces/project/obj/index.d.ts] @@ -189,12 +145,12 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -211,7 +167,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -276,7 +232,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -287,12 +243,26 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2432 + "size": 2720 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-changes @@ -315,16 +285,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'obj/tsconfig.tsbuildinfo' is older than input 'bar.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'obj/tsconfig.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar() { +export default foo()(function foobar() { }); @@ -340,12 +316,12 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -362,7 +338,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -427,7 +403,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -438,12 +414,26 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2394 + "size": 2682 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-changes @@ -466,16 +456,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'obj/tsconfig.tsbuildinfo' is older than input 'bar.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'obj/tsconfig.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar(param) { +export default foo()(function foobar(param) { }); @@ -491,12 +487,12 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -513,7 +509,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -578,7 +574,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -589,9 +585,23 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2432 + "size": 2720 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index fc8c35a240e3b..4c6610c43c906 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -50,7 +50,7 @@ export { default as bar } from './bar'; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "outDir": "obj", "incremental": true @@ -81,12 +81,20 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + + +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar(param) { +export default foo()(function foobar(param) { }); @@ -96,22 +104,15 @@ export default _default; //// [/home/src/workspaces/project/obj/bundling.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LazyAction = exports.LazyModule = void 0; -var LazyModule = /** @class */ (function () { - function LazyModule(importCallback) { +export class LazyModule { + constructor(importCallback) { this.importCallback = importCallback; } - return LazyModule; -}()); -exports.LazyModule = LazyModule; -var LazyAction = /** @class */ (function () { - function LazyAction(_lazyModule, _getter) { +} +export class LazyAction { + constructor(_lazyModule, _getter) { } - return LazyAction; -}()); -exports.LazyAction = LazyAction; +} //// [/home/src/workspaces/project/obj/bundling.d.ts] @@ -125,14 +126,7 @@ export declare class LazyAction any, TModule //// [/home/src/workspaces/project/obj/lazyIndex.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = void 0; -var bar_1 = require("./bar"); -Object.defineProperty(exports, "bar", { enumerable: true, get: function () { return __importDefault(bar_1).default; } }); +export { default as bar } from './bar'; //// [/home/src/workspaces/project/obj/lazyIndex.d.ts] @@ -140,47 +134,9 @@ export { default as bar } from './bar'; //// [/home/src/workspaces/project/obj/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.lazyBar = void 0; -var bundling_1 = require("./bundling"); -var lazyModule = new bundling_1.LazyModule(function () { - return Promise.resolve().then(function () { return __importStar(require('./lazyIndex')); }); -}); -exports.lazyBar = new bundling_1.LazyAction(lazyModule, function (m) { return m.bar; }); +import { LazyAction, LazyModule } from './bundling'; +const lazyModule = new LazyModule(() => import('./lazyIndex')); +export const lazyBar = new LazyAction(lazyModule, m => m.bar); //// [/home/src/workspaces/project/obj/index.d.ts] @@ -189,12 +145,12 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -211,7 +167,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -276,7 +232,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -287,12 +243,26 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2432 + "size": 2720 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-changes @@ -315,16 +285,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'obj/tsconfig.tsbuildinfo' is older than input 'bar.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'obj/tsconfig.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar() { +export default foo()(function foobar() { }); @@ -341,12 +317,12 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -363,7 +339,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -428,7 +404,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -439,12 +415,26 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2394 + "size": 2682 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-changes @@ -467,16 +457,22 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'obj/tsconfig.tsbuildinfo' is older than input 'bar.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'obj/tsconfig.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar(param) { +export default foo()(function foobar(param) { }); @@ -493,12 +489,12 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -515,7 +511,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -580,7 +576,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -591,9 +587,23 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2432 + "size": 2720 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 1e3ace7c532e9..9faa6673b2aaa 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -52,7 +52,7 @@ bar("hello"); //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "outDir": "obj", "incremental": true, "isolatedModules": true @@ -83,12 +83,20 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar(param) { +export default foo()(function foobar(param) { }); @@ -98,22 +106,15 @@ export default _default; //// [/home/src/workspaces/project/obj/bundling.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LazyAction = exports.LazyModule = void 0; -var LazyModule = /** @class */ (function () { - function LazyModule(importCallback) { +export class LazyModule { + constructor(importCallback) { this.importCallback = importCallback; } - return LazyModule; -}()); -exports.LazyModule = LazyModule; -var LazyAction = /** @class */ (function () { - function LazyAction(_lazyModule, _getter) { +} +export class LazyAction { + constructor(_lazyModule, _getter) { } - return LazyAction; -}()); -exports.LazyAction = LazyAction; +} //// [/home/src/workspaces/project/obj/bundling.d.ts] @@ -127,16 +128,9 @@ export declare class LazyAction any, TModule //// [/home/src/workspaces/project/obj/lazyIndex.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = void 0; -var bar_1 = require("./bar"); -Object.defineProperty(exports, "bar", { enumerable: true, get: function () { return __importDefault(bar_1).default; } }); -var bar_2 = __importDefault(require("./bar")); -(0, bar_2.default)("hello"); +export { default as bar } from './bar'; +import { default as bar } from './bar'; +bar("hello"); //// [/home/src/workspaces/project/obj/lazyIndex.d.ts] @@ -144,47 +138,9 @@ export { default as bar } from './bar'; //// [/home/src/workspaces/project/obj/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.lazyBar = void 0; -var bundling_1 = require("./bundling"); -var lazyModule = new bundling_1.LazyModule(function () { - return Promise.resolve().then(function () { return __importStar(require('./lazyIndex')); }); -}); -exports.lazyBar = new bundling_1.LazyAction(lazyModule, function (m) { return m.bar; }); +import { LazyAction, LazyModule } from './bundling'; +const lazyModule = new LazyModule(() => import('./lazyIndex')); +export const lazyBar = new LazyAction(lazyModule, m => m.bar); //// [/home/src/workspaces/project/obj/index.d.ts] @@ -193,12 +149,12 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -215,7 +171,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -284,7 +240,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -295,12 +251,26 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2569 + "size": 2857 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-changes @@ -323,24 +293,27 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'obj/tsconfig.tsbuildinfo' is older than input 'bar.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'obj/tsconfig.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. 4 bar("hello");    ~~~~~~~ -Found 1 error. +Found 2 errors. //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar() { +export default foo()(function foobar() { }); @@ -356,12 +329,12 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]],[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -378,7 +351,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -447,7 +420,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -470,10 +443,22 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "code": 2554 } ] + ], + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] ] ], "version": "FakeTSVersion", - "size": 2666 + "size": 2923 } @@ -504,12 +489,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar(param) { +export default foo()(function foobar(param) { }); @@ -525,12 +516,12 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -547,7 +538,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -616,7 +607,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -627,12 +618,26 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2569 + "size": 2857 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: incremental-declaration-changes @@ -655,24 +660,27 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'obj/tsconfig.tsbuildinfo' is older than input 'bar.ts' +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'obj/tsconfig.tsbuildinfo' indicates that program needs to report errors. [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. 4 bar("hello");    ~~~~~~~ -Found 1 error. +Found 2 errors. //// [/home/src/workspaces/project/obj/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = foo()(function foobar() { +export default foo()(function foobar() { }); @@ -688,12 +696,12 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]],[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -710,7 +718,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -779,7 +787,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -802,10 +810,22 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "code": 2554 } ] + ], + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] ] ], "version": "FakeTSVersion", - "size": 2666 + "size": 2923 } @@ -830,29 +850,30 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +index.ts:3:5 - error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. + +3 import('./lazyIndex') +   ~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + //// [/home/src/workspaces/project/obj/lazyIndex.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = void 0; -var bar_1 = require("./bar"); -Object.defineProperty(exports, "bar", { enumerable: true, get: function () { return __importDefault(bar_1).default; } }); -var bar_2 = __importDefault(require("./bar")); -(0, bar_2.default)(); +export { default as bar } from './bar'; +import { default as bar } from './bar'; +bar(); //// [/home/src/workspaces/project/obj/lazyIndex.d.ts] file written with same contents //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"referencedMap":[[6,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es6.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileIdsList":[[3,5],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":2},"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[6,[{"start":97,"length":21,"messageText":"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.","category":1,"code":1323}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es6.d.ts", "../bar.ts", "../bundling.ts", "../global.d.ts", @@ -869,7 +890,7 @@ var bar_2 = __importDefault(require("./bar")); ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -938,7 +959,7 @@ var bar_2 = __importDefault(require("./bar")); "options": { "declaration": true, "outDir": "./", - "target": 1 + "target": 2 }, "referencedMap": { "../index.ts": [ @@ -949,9 +970,23 @@ var bar_2 = __importDefault(require("./bar")); "../bar.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../index.ts", + [ + { + "start": 97, + "length": 21, + "messageText": "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.", + "category": 1, + "code": 1323 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 2523 + "size": 2811 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 44b77ccb606a3..f81e63e0cb350 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -35,7 +35,7 @@ console.log(foo); //// [/home/src/workspaces/solution/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "commonjs", "rootDir": "./", "composite": true, @@ -80,33 +80,35 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/strings/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' project/strings/foo.json Matched by include pattern 'foo.json' in 'project/strings/tsconfig.json' [HH:MM:SS AM] Project 'project/main/tsconfig.json' is out of date because output file 'project/main/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/main/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' project/strings/foo.json Imported via '../strings/foo.json' from file 'project/main/index.ts' project/main/index.ts Matched by include pattern './**/*.ts' in 'project/main/tsconfig.json' +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/strings/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./foo.json"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6280880055-{\n \"foo\": \"bar baz\"\n}"],"root":[2],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es6.d.ts","./foo.json"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6280880055-{\n \"foo\": \"bar baz\"\n}"],"root":[2],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":2},"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/strings/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es6.d.ts", "./foo.json" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -132,16 +134,16 @@ project/main/index.ts "module": 1, "rootDir": "..", "strict": true, - "target": 1 + "target": 2 }, "version": "FakeTSVersion", - "size": 701 + "size": 705 } //// [/home/src/workspaces/solution/project/main/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var foo_json_1 = require("../strings/foo.json"); +const foo_json_1 = require("../strings/foo.json"); console.log(foo_json_1.foo); @@ -150,12 +152,12 @@ export {}; //// [/home/src/workspaces/solution/project/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../strings/foo.json","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6280880055-{\n \"foo\": \"bar baz\"\n}",{"version":"-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es6.d.ts","../strings/foo.json","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6280880055-{\n \"foo\": \"bar baz\"\n}",{"version":"-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":2},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es6.d.ts", "../strings/foo.json", "./index.ts" ], @@ -165,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +201,7 @@ export {}; "module": 1, "rootDir": "..", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "./index.ts": [ @@ -208,7 +210,7 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 934 + "size": 938 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 2016268d7fe31..d4a08daa6b19f 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -96,7 +96,7 @@ declare const console: { log(msg: any): void; }; //// [/user/username/projects/sample1/tests/tsconfig.base.json] { "compilerOptions": { - "target": "es5" + "target": "es2015" } } @@ -122,6 +122,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -350,48 +352,12 @@ export declare const m: typeof mod; } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -400,12 +366,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":1},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":2},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -422,7 +388,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -462,7 +428,7 @@ export declare const m: typeof mod; "composite": true, "declaration": true, "skipDefaultLibCheck": true, - "target": 1 + "target": 2 }, "referencedMap": { "../logic/index.d.ts": [ @@ -476,7 +442,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1553 + "size": 1557 } @@ -508,7 +474,51 @@ Output:: -//// [/user/username/projects/sample1/tests/index.js] file written with same contents +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = __importStar(require("../core/index")); +var logic = __importStar(require("../logic/index")); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = __importStar(require("../core/anotherModule")); +exports.m = mod; + + //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] {"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 1a54c2b049ffb..a1c6cf7298380 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -14,6 +14,7 @@ Input:: export const someString: string = "HELLO WORLD"; export function leftPad(s: string, n: number) { return s + n; } export function multiply(a: number, b: number) { return a * b; } +export function exponentiate(a: number, b: number) { return a ** b; } //// [/user/username/projects/sample1/core/some_decl.d.ts] @@ -115,10 +116,11 @@ export const World = "hello"; export const someString = "HELLO WORLD"; export function leftPad(s, n) { return s + n; } export function multiply(a, b) { return a * b; } +export function exponentiate(a, b) { return a ** b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.esnext.d.ts","../../../../../home/src/tslibs/ts/lib/lib.esnext.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6693461415-/// ","-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[3,5]],"options":{"target":99},"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.esnext.d.ts","../../../../../home/src/tslibs/ts/lib/lib.esnext.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6693461415-/// ","-3090574810-export const World = \"hello\";","-1328264963-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nexport function exponentiate(a: number, b: number) { return a ** b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[3,5]],"options":{"target":99},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,8 +150,8 @@ export function multiply(a, b) { return a * b; } "signature": "-3090574810-export const World = \"hello\";" }, "./index.ts": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" + "version": "-1328264963-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nexport function exponentiate(a: number, b: number) { return a ** b; }\n", + "signature": "-1328264963-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nexport function exponentiate(a: number, b: number) { return a ** b; }\n" }, "./some_decl.d.ts": { "original": { @@ -178,7 +180,7 @@ export function multiply(a, b) { return a * b; } "target": 99 }, "version": "FakeTSVersion", - "size": 1071 + "size": 1141 } @@ -193,7 +195,7 @@ Input:: "incremental": true, "listFiles": true, "listEmittedFiles": true, - "target": "es5" + "target": "es2015" } } @@ -210,49 +212,35 @@ Output:: TSFILE: /user/username/projects/sample1/core/anotherModule.js TSFILE: /user/username/projects/sample1/core/index.js TSFILE: /user/username/projects/sample1/core/tsconfig.tsbuildinfo -/home/src/tslibs/TS/Lib/lib.d.ts -/home/src/tslibs/TS/Lib/lib.esnext.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts -//// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; - +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* +//// [/user/username/projects/sample1/core/anotherModule.js] file written with same contents //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export function exponentiate(a, b) { return Math.pow(a, b); } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../../../../home/src/tslibs/ts/lib/lib.esnext.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":["-6693461415-/// ",{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[3,5]],"options":{"target":1},"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-1328264963-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nexport function exponentiate(a: number, b: number) { return a ** b; }\n","signature":"-7014098401-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare function exponentiate(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"target":2},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", - "../../../../../home/src/tslibs/ts/lib/lib.esnext.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { - "version": "-6693461415-/// ", - "signature": "-6693461415-/// " - }, - "../../../../../home/src/tslibs/ts/lib/lib.esnext.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -262,12 +250,20 @@ function multiply(a, b) { return a * b; } "affectsGlobalScope": true }, "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-3090574810-export const World = \"hello\";" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" + "original": { + "version": "-1328264963-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nexport function exponentiate(a: number, b: number) { return a ** b; }\n", + "signature": "-7014098401-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare function exponentiate(a: number, b: number): number;\n" + }, + "version": "-1328264963-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nexport function exponentiate(a: number, b: number) { return a ** b; }\n", + "signature": "-7014098401-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare function exponentiate(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { @@ -282,8 +278,8 @@ function multiply(a, b) { return a * b; } "root": [ [ [ - 3, - 5 + 2, + 4 ], [ "./anothermodule.ts", @@ -293,10 +289,10 @@ function multiply(a, b) { return a * b; } ] ], "options": { - "target": 1 + "target": 2 }, "version": "FakeTSVersion", - "size": 1058 + "size": 1388 } diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index 926776bf781c7..a5aef6bf2b323 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -98,7 +98,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, @@ -218,6 +218,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/demo/animals/animal.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -234,12 +236,12 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -259,7 +261,7 @@ export declare function createDog(): Dog; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -291,12 +293,12 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileIdsList":[[4,5],[2,3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileIdsList":[[4,5],[2,3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/dog.ts", "../../animals/index.ts", @@ -316,7 +318,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -371,7 +373,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; "outDir": "./", "rootDir": "../../core", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -403,7 +405,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; ], "latestChangedDtsFile": "./utilities.d.ts", "version": "FakeTSVersion", - "size": 2610 + "size": 2614 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -422,7 +424,7 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -437,12 +439,12 @@ export { createDog, Dog }; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -459,12 +461,12 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../core/utilities.d.ts", @@ -481,7 +483,7 @@ export declare function createDog(): Dog; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -540,7 +542,7 @@ export declare function createDog(): Dog; "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -554,14 +556,14 @@ export declare function createDog(): Dog; }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2145 + "size": 2149 } //// [/user/username/projects/demo/lib/zoo/zoo.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createZoo = createZoo; -var index_1 = require("../animals/index"); +const index_1 = require("../animals/index"); function createZoo() { return [ (0, index_1.createDog)() @@ -575,12 +577,12 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../animals/animal.d.ts", "../animals/dog.d.ts", "../animals/index.d.ts", @@ -596,7 +598,7 @@ export declare function createZoo(): Array; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -643,7 +645,7 @@ export declare function createZoo(): Array; "outDir": "./", "rootDir": "../../zoo", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../animals/dog.d.ts": [ @@ -659,7 +661,7 @@ export declare function createZoo(): Array; }, "latestChangedDtsFile": "./zoo.d.ts", "version": "FakeTSVersion", - "size": 1687 + "size": 1691 } @@ -702,7 +704,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -718,21 +720,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/dog.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/core/utilities.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/dog.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/core/utilities.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/animals/animal.ts (used version) /user/username/projects/demo/animals/dog.ts (computed .d.ts during emit) /user/username/projects/demo/animals/index.ts (computed .d.ts during emit) @@ -745,7 +747,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -761,21 +763,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/lib/core/utilities.d.ts /user/username/projects/demo/animals/dog.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/lib/core/utilities.d.ts /user/username/projects/demo/animals/dog.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/animals/animal.ts (used version) /user/username/projects/demo/animals/index.ts (computed .d.ts during emit) /user/username/projects/demo/lib/core/utilities.d.ts (used version) @@ -786,7 +788,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -802,21 +804,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/lib/animals/animal.d.ts /user/username/projects/demo/lib/animals/dog.d.ts /user/username/projects/demo/lib/animals/index.d.ts /user/username/projects/demo/zoo/zoo.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/lib/animals/animal.d.ts /user/username/projects/demo/lib/animals/dog.d.ts /user/username/projects/demo/lib/animals/index.d.ts /user/username/projects/demo/zoo/zoo.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/lib/animals/animal.d.ts (used version) /user/username/projects/demo/lib/animals/dog.d.ts (used version) /user/username/projects/demo/lib/animals/index.d.ts (used version) @@ -918,12 +920,12 @@ Output:: //// [/user/username/projects/demo/lib/core/utilities.js] file written with same contents //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileIdsList":[[4,5],[2,3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":1,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileIdsList":[[4,5],[2,3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":1,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/dog.ts", "../../animals/index.ts", @@ -943,7 +945,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -998,7 +1000,7 @@ Output:: "outDir": "./", "rootDir": "../../core", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -1030,7 +1032,7 @@ Output:: ], "latestChangedDtsFile": "./utilities.d.ts", "version": "FakeTSVersion", - "size": 2612 + "size": 2616 } //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] file changed its modified time @@ -1041,7 +1043,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -1057,7 +1059,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/dog.ts /user/username/projects/demo/animals/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 66ac4c958e6dd..f9571a21d58fc 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -102,7 +102,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, @@ -228,6 +228,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/demo/lib/core/utilities.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -249,16 +251,16 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":2},"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../core/utilities.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -293,11 +295,11 @@ export declare function lastElementOf(arr: T[]): T | undefined; "outDir": "./", "rootDir": "../../core", "strict": true, - "target": 1 + "target": 2 }, "latestChangedDtsFile": "./utilities.d.ts", "version": "FakeTSVersion", - "size": 1235 + "size": 1239 } @@ -338,7 +340,7 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -353,12 +355,12 @@ export { createDog, Dog }; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -375,12 +377,12 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../core/utilities.d.ts", @@ -397,7 +399,7 @@ export declare function createDog(): Dog; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +458,7 @@ export declare function createDog(): Dog; "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -470,14 +472,14 @@ export declare function createDog(): Dog; }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2145 + "size": 2149 } //// [/user/username/projects/demo/lib/zoo/zoo.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createZoo = createZoo; -var index_1 = require("../animals/index"); +const index_1 = require("../animals/index"); function createZoo() { return [ (0, index_1.createDog)() @@ -491,12 +493,12 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileIdsList":[[4],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":2},"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../animals/animal.d.ts", "../animals/dog.d.ts", "../animals/index.d.ts", @@ -512,7 +514,7 @@ export declare function createZoo(): Array; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -559,7 +561,7 @@ export declare function createZoo(): Array; "outDir": "./", "rootDir": "../../zoo", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../animals/dog.d.ts": [ @@ -575,7 +577,7 @@ export declare function createZoo(): Array; }, "latestChangedDtsFile": "./zoo.d.ts", "version": "FakeTSVersion", - "size": 1687 + "size": 1691 } @@ -585,7 +587,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -601,15 +603,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/core/utilities.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/core/utilities.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/core/utilities.ts (computed .d.ts during emit) Program root files: [ @@ -619,7 +621,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -635,21 +637,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/lib/core/utilities.d.ts /user/username/projects/demo/animals/dog.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/lib/core/utilities.d.ts /user/username/projects/demo/animals/dog.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/animals/animal.ts (used version) /user/username/projects/demo/animals/index.ts (computed .d.ts during emit) /user/username/projects/demo/lib/core/utilities.d.ts (used version) @@ -660,7 +662,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -676,21 +678,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/lib/animals/animal.d.ts /user/username/projects/demo/lib/animals/dog.d.ts /user/username/projects/demo/lib/animals/index.d.ts /user/username/projects/demo/zoo/zoo.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/lib/animals/animal.d.ts /user/username/projects/demo/lib/animals/dog.d.ts /user/username/projects/demo/lib/animals/index.d.ts /user/username/projects/demo/zoo/zoo.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/lib/animals/animal.d.ts (used version) /user/username/projects/demo/lib/animals/dog.d.ts (used version) /user/username/projects/demo/lib/animals/index.d.ts (used version) diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js index a9e86b8348cb5..2aa6736e990a0 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js @@ -6,7 +6,7 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "commonjs", "composite": true, "tsBuildInfoFile": "tsconfig.json.tsbuildinfo" @@ -35,6 +35,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js index 14bd0a3564303..73627797d55d9 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js @@ -6,7 +6,7 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "commonjs", "composite": true, "tsBuildInfoFile": "tsconfig.json.tsbuildinfo" @@ -35,6 +35,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js index 7c587f8b8cac5..37285d04ed52a 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js @@ -6,7 +6,7 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "commonjs", "composite": true }, @@ -34,6 +34,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js b/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js index be313ce5d72bd..949621541f4d7 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js @@ -6,7 +6,7 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "commonjs", "composite": true }, @@ -34,6 +34,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js index 342f98ae3f359..058f0c3df8e91 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js @@ -52,7 +52,7 @@ export const ADMIN = MetadataAccessor.create('1'); "compilerOptions": { "outDir": "dist", "rootDir": "src", - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "esModuleInterop": true, @@ -86,8 +86,8 @@ Output:: 2 export const ADMIN = MetadataAccessor.create('1');    ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' pkg1/dist/types.d.ts Imported via './types' from file 'pkg1/dist/index.d.ts' pkg1/dist/index.d.ts @@ -106,11 +106,13 @@ Found 1 error in pkg3/src/keys.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg3/dist/keys.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ADMIN = void 0; -var pkg2_1 = require("@raymondfeng/pkg2"); +const pkg2_1 = require("@raymondfeng/pkg2"); exports.ADMIN = pkg2_1.MetadataAccessor.create('1'); diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js index 9b9c608d23d49..33ee05923f58f 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js @@ -52,7 +52,7 @@ export const ADMIN = MetadataAccessor.create('1'); "compilerOptions": { "outDir": "dist", "rootDir": "src", - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "esModuleInterop": true, @@ -86,8 +86,8 @@ Output:: 2 export const ADMIN = MetadataAccessor.create('1');    ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' pkg1/dist/types.d.ts Imported via './types' from file 'pkg1/dist/index.d.ts' pkg1/dist/index.d.ts @@ -106,11 +106,13 @@ Found 1 error in pkg3/src/keys.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg3/dist/keys.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ADMIN = void 0; -var pkg2_1 = require("@raymondfeng/pkg2"); +const pkg2_1 = require("@raymondfeng/pkg2"); exports.ADMIN = pkg2_1.MetadataAccessor.create('1'); diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index 1af32b139b2d7..a326416f6147c 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -47,7 +47,7 @@ export default actionCreatorFactory; //// [/user/username/projects/myproject/plugin-one/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "traceResolution": true } @@ -104,7 +104,7 @@ declare const console: { log(msg: any): void; }; Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. File '/user/username/projects/package.json' does not exist. @@ -130,7 +130,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -150,7 +150,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myProject/plugin-two/package.json' does not exist. File '/user/username/projects/myProject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -174,8 +174,8 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/i Resolving real path for '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' plugin-one/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-one/action.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-one/action.ts @@ -189,14 +189,13 @@ plugin-one/index.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/myproject/plugin-one/action.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.actions = void 0; -var typescript_fsa_1 = require("typescript-fsa"); // Include version of shared lib -var action = (0, typescript_fsa_1.actionCreatorFactory)("somekey"); -var featureOne = action("feature-one"); -exports.actions = { featureOne: featureOne }; +import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib +const action = actionCreatorFactory("somekey"); +const featureOne = action("feature-one"); +export const actions = { featureOne }; //// [/user/username/projects/myproject/plugin-one/action.d.ts] @@ -208,8 +207,7 @@ export declare const actions: { //// [/user/username/projects/myproject/plugin-one/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/plugin-one/index.d.ts] diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index f4ad9030bc4a9..38ca0eaa4709f 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -54,7 +54,7 @@ export default actionCreatorFactory; //// [/user/username/projects/myproject/plugin-one/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "traceResolution": true } @@ -111,7 +111,7 @@ declare const console: { log(msg: any): void; }; Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. File '/user/username/projects/package.json' does not exist. @@ -137,7 +137,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts' with Package ID 'plugin-two/dist/commonjs/index.d.ts@0.1.3'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -162,7 +162,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myProject/plugin-two/dist/commonjs/package.json' does not exist. File '/user/username/projects/myProject/plugin-two/dist/package.json' does not exist. Found 'package.json' at '/user/username/projects/myProject/plugin-two/package.json'. @@ -186,8 +186,8 @@ Resolving real path for '/user/username/projects/myProject/plugin-two/node_modul ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' plugin-two/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-two/dist/commonjs/index.d.ts @@ -199,14 +199,13 @@ plugin-one/index.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/myproject/plugin-one/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.actions = void 0; -var typescript_fsa_1 = require("typescript-fsa"); // Include version of shared lib -var action = (0, typescript_fsa_1.actionCreatorFactory)("somekey"); -var featureOne = action("feature-one"); -exports.actions = { featureOne: featureOne }; +import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib +const action = actionCreatorFactory("somekey"); +const featureOne = action("feature-one"); +export const actions = { featureOne }; //// [/user/username/projects/myproject/plugin-one/index.d.ts] diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index 68271055761d0..807d731a4bb5a 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -54,7 +54,7 @@ export default actionCreatorFactory; //// [/user/username/projects/myproject/plugin-one/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "traceResolution": true } @@ -111,7 +111,7 @@ declare const console: { log(msg: any): void; }; Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. File '/user/username/projects/package.json' does not exist. @@ -137,7 +137,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts' with Package ID 'plugin-two/dist/commonjs/index.d.ts@0.1.3'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -162,7 +162,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-two/dist/commonjs/package.json' does not exist. File '/user/username/projects/myproject/plugin-two/dist/package.json' does not exist. Found 'package.json' at '/user/username/projects/myproject/plugin-two/package.json'. @@ -186,8 +186,8 @@ Resolving real path for '/user/username/projects/myproject/plugin-two/node_modul ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' plugin-two/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-two/dist/commonjs/index.d.ts @@ -199,14 +199,13 @@ plugin-one/index.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/myproject/plugin-one/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.actions = void 0; -var typescript_fsa_1 = require("typescript-fsa"); // Include version of shared lib -var action = (0, typescript_fsa_1.actionCreatorFactory)("somekey"); -var featureOne = action("feature-one"); -exports.actions = { featureOne: featureOne }; +import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib +const action = actionCreatorFactory("somekey"); +const featureOne = action("feature-one"); +export const actions = { featureOne }; //// [/user/username/projects/myproject/plugin-one/index.d.ts] diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index 25a4fc22117ac..61c19eb2bc4d6 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -47,7 +47,7 @@ export default actionCreatorFactory; //// [/user/username/projects/myproject/plugin-one/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "declaration": true, "traceResolution": true } @@ -104,7 +104,7 @@ declare const console: { log(msg: any): void; }; Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. File '/user/username/projects/package.json' does not exist. @@ -130,7 +130,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -150,7 +150,7 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/plugin-two/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -174,8 +174,8 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/i Resolving real path for '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' plugin-one/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-one/action.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-one/action.ts @@ -189,14 +189,13 @@ plugin-one/index.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/myproject/plugin-one/action.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.actions = void 0; -var typescript_fsa_1 = require("typescript-fsa"); // Include version of shared lib -var action = (0, typescript_fsa_1.actionCreatorFactory)("somekey"); -var featureOne = action("feature-one"); -exports.actions = { featureOne: featureOne }; +import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib +const action = actionCreatorFactory("somekey"); +const featureOne = action("feature-one"); +export const actions = { featureOne }; //// [/user/username/projects/myproject/plugin-one/action.d.ts] @@ -208,8 +207,7 @@ export declare const actions: { //// [/user/username/projects/myproject/plugin-one/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/plugin-one/index.d.ts] diff --git a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js index db49c083b9cac..d121936858559 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js @@ -6,7 +6,7 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "commonjs" }, "include": [ @@ -31,12 +31,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --incremental --tsBuildInfoFile .tsbuildinfo --explainFiles Output:: -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' src/main.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/home/src/workspaces/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -45,16 +47,16 @@ exports.x = 10; //// [/home/src/workspaces/project/.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"module":1,"target":1,"tsBuildInfoFile":"./.tsbuildinfo"},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es6.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"module":1,"target":2,"tsBuildInfoFile":"./.tsbuildinfo"},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es6.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -76,11 +78,11 @@ exports.x = 10; ], "options": { "module": 1, - "target": 1, + "target": 2, "tsBuildInfoFile": "./.tsbuildinfo" }, "version": "FakeTSVersion", - "size": 657 + "size": 661 } @@ -92,8 +94,8 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental --tsBuildInfoFile .tsbuildinfo --explainFiles Output:: -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' src/main.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js index 1f10260193e41..109e870df4989 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js @@ -31,7 +31,7 @@ export { C } from "./c"; { "compilerOptions": { "incremental": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "declaration": true, "emitDeclarationOnly": true @@ -57,6 +57,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/users/username/projects/project/c.d.ts] import { A } from "./a"; export interface C { @@ -85,12 +87,12 @@ export { C } from "./c"; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -113,7 +115,7 @@ export { C } from "./c"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -157,7 +159,7 @@ export { C } from "./c"; "declaration": true, "emitDeclarationOnly": true, "module": 1, - "target": 1 + "target": 2 }, "referencedMap": { "./a.ts": [ @@ -176,7 +178,7 @@ export { C } from "./c"; ] }, "version": "FakeTSVersion", - "size": 1087 + "size": 1091 } @@ -188,7 +190,7 @@ Program root files: [ ] Program options: { "incremental": true, - "target": 1, + "target": 2, "module": 1, "declaration": true, "emitDeclarationOnly": true, @@ -196,21 +198,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /users/username/projects/project/c.ts /users/username/projects/project/b.ts /users/username/projects/project/a.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /users/username/projects/project/c.ts /users/username/projects/project/b.ts /users/username/projects/project/a.ts /users/username/projects/project/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /users/username/projects/project/c.ts (used version) /users/username/projects/project/b.ts (used version) /users/username/projects/project/a.ts (used version) @@ -245,12 +247,12 @@ export interface A { //// [/users/username/projects/project/index.d.ts] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -273,7 +275,7 @@ export interface A { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,7 +319,7 @@ export interface A { "declaration": true, "emitDeclarationOnly": true, "module": 1, - "target": 1 + "target": 2 }, "referencedMap": { "./a.ts": [ @@ -336,7 +338,7 @@ export interface A { ] }, "version": "FakeTSVersion", - "size": 1102 + "size": 1106 } @@ -348,7 +350,7 @@ Program root files: [ ] Program options: { "incremental": true, - "target": 1, + "target": 2, "module": 1, "declaration": true, "emitDeclarationOnly": true, @@ -356,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /users/username/projects/project/c.ts /users/username/projects/project/b.ts /users/username/projects/project/a.ts diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js index 09f4c9ebbe4a7..48feeb9f6cae7 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js @@ -31,7 +31,7 @@ export { C } from "./c"; { "compilerOptions": { "incremental": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "declaration": true, "emitDeclarationOnly": true @@ -62,6 +62,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/users/username/projects/project/c.d.ts] import { A } from "./a"; export interface C { @@ -90,12 +92,12 @@ export { C } from "./c"; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -118,7 +120,7 @@ export { C } from "./c"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -162,7 +164,7 @@ export { C } from "./c"; "declaration": true, "emitDeclarationOnly": true, "module": 1, - "target": 1 + "target": 2 }, "referencedMap": { "./a.ts": [ @@ -181,7 +183,7 @@ export { C } from "./c"; ] }, "version": "FakeTSVersion", - "size": 1087 + "size": 1091 } @@ -192,7 +194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} /users/username/projects/project/a.ts: *new* {} @@ -217,7 +219,7 @@ Program root files: [ ] Program options: { "incremental": true, - "target": 1, + "target": 2, "module": 1, "declaration": true, "emitDeclarationOnly": true, @@ -226,21 +228,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /users/username/projects/project/c.ts /users/username/projects/project/b.ts /users/username/projects/project/a.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /users/username/projects/project/c.ts /users/username/projects/project/b.ts /users/username/projects/project/a.ts /users/username/projects/project/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /users/username/projects/project/c.ts (used version) /users/username/projects/project/b.ts (used version) /users/username/projects/project/a.ts (used version) @@ -267,7 +269,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /users/username/projects/project/a.ts: {} @@ -304,12 +306,12 @@ export interface A { //// [/users/username/projects/project/index.d.ts] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileIdsList":[[3],[2],[4],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":2},"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -332,7 +334,7 @@ export interface A { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -376,7 +378,7 @@ export interface A { "declaration": true, "emitDeclarationOnly": true, "module": 1, - "target": 1 + "target": 2 }, "referencedMap": { "./a.ts": [ @@ -395,7 +397,7 @@ export interface A { ] }, "version": "FakeTSVersion", - "size": 1102 + "size": 1106 } @@ -406,7 +408,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} /users/username/projects/project/a.ts: *new* {} @@ -431,7 +433,7 @@ Program root files: [ ] Program options: { "incremental": true, - "target": 1, + "target": 2, "module": 1, "declaration": true, "emitDeclarationOnly": true, @@ -440,7 +442,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /users/username/projects/project/c.ts /users/username/projects/project/b.ts /users/username/projects/project/a.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js index 0cf6a1b441ec1..d4b6bf81d6274 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js @@ -25,7 +25,7 @@ var x: Promise; { "compilerOptions": { "module": "commonjs", - "target": "es5", + "target": "es2015", "noImplicitAny": true, "sourceMap": false, "lib": [ @@ -91,7 +91,7 @@ Program root files: [ ] Program options: { "module": 1, - "target": 1, + "target": 2, "noImplicitAny": true, "sourceMap": false, "lib": [ @@ -122,7 +122,7 @@ Input:: { "compilerOptions": { "module": "commonjs", - "target": "es5", + "target": "es2015", "noImplicitAny": true, "sourceMap": false, "lib": [ @@ -177,7 +177,7 @@ Program root files: [ ] Program options: { "module": 1, - "target": 1, + "target": 2, "noImplicitAny": true, "sourceMap": false, "lib": [ diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js index 7101fbc790510..62127b595ff82 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js @@ -4,7 +4,7 @@ Input:: { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "declaration": true, "declarationMap": true, @@ -28,7 +28,7 @@ export const World = "hello"; { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "declaration": true, "sourceMap": true, @@ -66,7 +66,7 @@ export const m = mod; ], "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "declaration": true, "forceConsistentCasingInFileNames": true, @@ -99,6 +99,8 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -134,18 +136,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"skipDefaultLibCheck":true,"target":1},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"skipDefaultLibCheck":true,"target":2},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -207,15 +209,15 @@ export declare function multiply(a: number, b: number): number; "declarationMap": true, "module": 199, "skipDefaultLibCheck": true, - "target": 1 + "target": 2 }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1457 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,iDAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2DAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] "use strict"; @@ -255,11 +257,11 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.m = void 0; exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); +const c = __importStar(require("../core/index")); function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); +const mod = __importStar(require("../core/anotherModule")); exports.m = mod; //# sourceMappingURL=index.js.map @@ -270,12 +272,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"sourceMap":true,"target":1},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"sourceMap":true,"target":2},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -287,7 +289,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -339,7 +341,7 @@ export declare const m: typeof mod; "module": 199, "skipDefaultLibCheck": true, "sourceMap": true, - "target": 1 + "target": 2 }, "referencedMap": { "./index.ts": [ @@ -349,7 +351,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1524 + "size": 1528 } //// [/user/username/projects/sample1/tests/index.js] @@ -389,11 +391,11 @@ var __importStar = (this && this.__importStar) || (function () { })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +const c = __importStar(require("../core/index")); +const logic = __importStar(require("../logic/index")); c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); +const mod = __importStar(require("../core/anotherModule")); exports.m = mod; @@ -403,12 +405,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"target":1},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"target":2},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -425,7 +427,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -485,7 +487,7 @@ export declare const m: typeof mod; "declaration": true, "module": 199, "skipDefaultLibCheck": true, - "target": 1 + "target": 2 }, "referencedMap": { "../logic/index.d.ts": [ @@ -499,7 +501,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1692 + "size": 1696 } @@ -560,8 +562,8 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist. File '/home/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -608,7 +610,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.d.ts: *new* {} @@ -636,7 +638,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "composite": true, "declaration": true, "forceConsistentCasingInFileNames": true, @@ -649,7 +651,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -660,8 +662,8 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -694,7 +696,7 @@ export const m = mod; function foo() { } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,iDAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2DAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC"} //// [/user/username/projects/sample1/logic/index.js] "use strict"; @@ -734,22 +736,22 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.m = void 0; exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); +const c = __importStar(require("../core/index")); function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); +const mod = __importStar(require("../core/anotherModule")); exports.m = mod; function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"sourceMap":true,"target":1},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"sourceMap":true,"target":2},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -761,7 +763,7 @@ function foo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -813,7 +815,7 @@ function foo() { } "module": 199, "skipDefaultLibCheck": true, "sourceMap": true, - "target": 1 + "target": 2 }, "referencedMap": { "./index.ts": [ @@ -823,7 +825,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1546 } @@ -843,7 +845,7 @@ export const m = mod; function foo() { }export function gfoo() { } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAGiB,oBAA0B;AAN5C,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC;AAAA,SAAgB,IAAI,KAAK,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAGiB,oBAA0B;AAN5C,iDAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2DAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC;AAAA,SAAgB,IAAI,KAAK,CAAC"} //// [/user/username/projects/sample1/logic/index.js] "use strict"; @@ -884,11 +886,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m = void 0; exports.getSecondsInDay = getSecondsInDay; exports.gfoo = gfoo; -var c = __importStar(require("../core/index")); +const c = __importStar(require("../core/index")); function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); +const mod = __importStar(require("../core/anotherModule")); exports.m = mod; function foo() { } function gfoo() { } @@ -902,12 +904,12 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"sourceMap":true,"target":1},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"sourceMap":true,"target":2},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -919,7 +921,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -971,7 +973,7 @@ export declare function gfoo(): void; "module": 199, "skipDefaultLibCheck": true, "sourceMap": true, - "target": 1 + "target": 2 }, "referencedMap": { "./index.ts": [ @@ -981,7 +983,7 @@ export declare function gfoo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1608 + "size": 1612 } @@ -1027,8 +1029,8 @@ File '/user/username/package.json' does not exist according to earlier cached lo File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -1051,12 +1053,12 @@ tests/index.ts //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"target":1},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"target":2},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1073,7 +1075,7 @@ tests/index.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1133,7 +1135,7 @@ tests/index.ts "declaration": true, "module": 199, "skipDefaultLibCheck": true, - "target": 1 + "target": 2 }, "referencedMap": { "../logic/index.d.ts": [ @@ -1147,7 +1149,7 @@ tests/index.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1732 + "size": 1736 } @@ -1157,7 +1159,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "composite": true, "declaration": true, "forceConsistentCasingInFileNames": true, @@ -1170,7 +1172,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -1185,8 +1187,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/tests/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -1213,7 +1215,7 @@ Input:: { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "declaration": true, "declarationDir": "decls" @@ -1264,23 +1266,23 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m = void 0; exports.getSecondsInDay = getSecondsInDay; exports.gfoo = gfoo; -var c = __importStar(require("../core/index")); +const c = __importStar(require("../core/index")); function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); +const mod = __importStar(require("../core/anotherModule")); exports.m = mod; function foo() { } function gfoo() { } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","module":199,"target":1},"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","module":199,"target":2},"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1292,7 +1294,7 @@ function gfoo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1343,7 +1345,7 @@ function gfoo() { } "declaration": true, "declarationDir": "./decls", "module": 199, - "target": 1 + "target": 2 }, "referencedMap": { "./index.ts": [ @@ -1353,7 +1355,7 @@ function gfoo() { } }, "latestChangedDtsFile": "./decls/index.d.ts", "version": "FakeTSVersion", - "size": 1597 + "size": 1601 } //// [/user/username/projects/sample1/logic/decls/index.d.ts] @@ -1413,8 +1415,8 @@ File '/home/src/tslibs/package.json' does not exist according to earlier cached File '/home/src/package.json' does not exist according to earlier cached lookups. File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -1437,12 +1439,12 @@ tests/index.ts //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"target":1},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":199,"skipDefaultLibCheck":true,"target":2},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/decls/index.d.ts", @@ -1459,7 +1461,7 @@ tests/index.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1519,7 +1521,7 @@ tests/index.ts "declaration": true, "module": 199, "skipDefaultLibCheck": true, - "target": 1 + "target": 2 }, "referencedMap": { "../logic/decls/index.d.ts": [ @@ -1533,7 +1535,7 @@ tests/index.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1738 + "size": 1742 } @@ -1564,7 +1566,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/sample1/core/anotherModule.d.ts: {} @@ -1597,7 +1599,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "composite": true, "declaration": true, "forceConsistentCasingInFileNames": true, @@ -1610,7 +1612,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/decls/index.d.ts @@ -1625,8 +1627,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/tests/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/decls/index.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js index 1e62d5c1c14cc..667f999de8ce4 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js @@ -25,7 +25,7 @@ X; { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true }, "files": [ @@ -37,7 +37,7 @@ X; { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "baseUrl": "./", "paths": { @@ -63,7 +63,7 @@ X; ], "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "baseUrl": "./", "paths": { "@ref/*": [ @@ -92,15 +92,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); +class A { +} exports.A = A; @@ -110,16 +109,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"module":199,"target":1},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"module":199,"target":2},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -150,18 +149,18 @@ export declare class A { "options": { "composite": true, "module": 199, - "target": 1 + "target": 2 }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 785 + "size": 789 } //// [/user/username/projects/transitiveReferences/b.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; -var a_1 = require("@ref/a"); +const a_1 = require("@ref/a"); exports.b = new a_1.A(); @@ -171,12 +170,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"module":199,"target":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"module":199,"target":2},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./a.d.ts", "./b.ts" ], @@ -186,7 +185,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -226,7 +225,7 @@ export declare const b: A; "options": { "composite": true, "module": 199, - "target": 1 + "target": 2 }, "referencedMap": { "./b.ts": [ @@ -235,7 +234,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "not cached or not changed" ], [ @@ -249,14 +248,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1014 + "size": 1018 } //// [/user/username/projects/transitiveReferences/c.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a_1 = require("@ref/a"); +const b_1 = require("./b"); +const a_1 = require("@ref/a"); b_1.b; a_1.X; @@ -335,8 +334,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -376,7 +375,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -402,7 +401,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -418,7 +417,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -427,15 +426,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/transitivereferences/a.d.ts (used version) /user/username/projects/transitivereferences/b.d.ts (used version) /user/username/projects/transitivereferences/refs/a.d.ts (used version) /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -468,7 +467,7 @@ export function gfoo() { } Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.gfoo = gfoo; -var a_1 = require("@ref/a"); +const a_1 = require("@ref/a"); exports.b = new a_1.A(); function gfoo() { } @@ -480,12 +479,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"module":199,"target":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"module":199,"target":2},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "./a.d.ts", "./b.ts" ], @@ -495,7 +494,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -535,7 +534,7 @@ export declare function gfoo(): void; "options": { "composite": true, "module": 199, - "target": 1 + "target": 2 }, "referencedMap": { "./b.ts": [ @@ -544,7 +543,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "not cached or not changed" ], [ @@ -558,7 +557,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1078 + "size": 1082 } @@ -616,8 +615,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -644,7 +643,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -660,7 +659,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -673,8 +672,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -704,7 +703,7 @@ Input:: ], "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "baseUrl": "./", "paths": { "@ref/*": [ @@ -792,8 +791,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -837,7 +836,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: {} @@ -872,7 +871,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -888,7 +887,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -901,8 +900,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -932,7 +931,7 @@ Input:: ], "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "baseUrl": "./", "paths": { "@ref/*": [ @@ -1015,8 +1014,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1060,7 +1059,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: {} @@ -1095,7 +1094,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -1111,7 +1110,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1124,8 +1123,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1152,7 +1151,7 @@ Input:: { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "baseUrl": "./", "paths": { @@ -1224,8 +1223,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' nrefs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is CommonJS module because 'package.json' was not found @@ -1265,7 +1264,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/b.d.ts: {} @@ -1298,7 +1297,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -1314,7 +1313,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1328,8 +1327,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1356,7 +1355,7 @@ Input:: { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "baseUrl": "./", "paths": { @@ -1422,8 +1421,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' refs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' Imported via "@ref/a" from file 'c.ts' @@ -1463,7 +1462,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/b.d.ts: {} @@ -1496,7 +1495,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -1512,7 +1511,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/c.ts @@ -1523,8 +1522,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/b.d.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/c.ts @@ -1608,8 +1607,8 @@ File '/package.json' does not exist according to earlier cached lookups. 18 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' refs/a.d.ts Imported via '@ref/a' from file 'b.ts' Imported via "@ref/a" from file 'c.ts' @@ -1646,7 +1645,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/b.ts: *new* {} @@ -1675,7 +1674,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -1691,7 +1690,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.ts /user/username/projects/transitiveReferences/c.ts @@ -1703,8 +1702,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.ts /user/username/projects/transitiveReferences/c.ts @@ -1727,7 +1726,7 @@ Input:: { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true, "baseUrl": "./", "paths": { @@ -1798,8 +1797,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1839,7 +1838,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -1870,7 +1869,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -1886,7 +1885,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1900,8 +1899,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1983,8 +1982,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.ts Imported via '@ref/a' from file 'b.d.ts' File is CommonJS module because 'package.json' was not found @@ -2023,7 +2022,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/a.ts: *new* {} @@ -2054,7 +2053,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -2070,7 +2069,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -2084,8 +2083,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -2112,7 +2111,7 @@ Input:: { "compilerOptions": { "module": "nodenext", - "target": "es5", + "target": "es2015", "composite": true }, "files": [ @@ -2169,8 +2168,8 @@ File '/package.json' does not exist according to earlier cached lookups. 8 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es6.d.ts + Default library for target 'es6' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -2209,7 +2208,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -2240,7 +2239,7 @@ Program root files: [ ] Program options: { "module": 199, - "target": 1, + "target": 2, "baseUrl": "/user/username/projects/transitiveReferences", "paths": { "@ref/*": [ @@ -2256,7 +2255,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -2270,8 +2269,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts: + /home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 2e7ff74bb51f4..7518723a5dadc 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -97,7 +97,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, @@ -138,6 +138,8 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/demo/lib/core/utilities.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -159,16 +161,16 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":2},"latestChangedDtsFile":"./utilities.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../core/utilities.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -203,11 +205,11 @@ export declare function lastElementOf(arr: T[]): T | undefined; "outDir": "./", "rootDir": "../../core", "strict": true, - "target": 1 + "target": 2 }, "latestChangedDtsFile": "./utilities.d.ts", "version": "FakeTSVersion", - "size": 1235 + "size": 1239 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -226,7 +228,7 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -241,12 +243,12 @@ export { createDog, Dog }; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -263,12 +265,12 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../core/utilities.d.ts", @@ -285,7 +287,7 @@ export declare function createDog(): Dog; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -344,7 +346,7 @@ export declare function createDog(): Dog; "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -358,7 +360,7 @@ export declare function createDog(): Dog; }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2145 + "size": 2149 } @@ -373,12 +375,12 @@ Output:: //// [/user/username/projects/demo/lib/animals/dog.js] file written with same contents //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../../core/utilities.ts", @@ -395,7 +397,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -458,7 +460,7 @@ Output:: "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -472,7 +474,7 @@ Output:: }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2393 + "size": 2397 } @@ -485,7 +487,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} /user/username/projects/demo/animals: *new* {} @@ -517,7 +519,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -531,7 +533,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/core/utilities.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index 1c1103738752c..9de36760a8e6e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -97,7 +97,7 @@ export function createZoo(): Array { { "compilerOptions": { "declaration": true, - "target": "es5", + "target": "es2015", "module": "commonjs", "strict": true, "noUnusedLocals": true, @@ -148,6 +148,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* + //// [/user/username/projects/demo/lib/animals/animal.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -164,7 +166,7 @@ export default interface Animal { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = void 0; -var dog_1 = require("./dog"); +const dog_1 = require("./dog"); Object.defineProperty(exports, "createDog", { enumerable: true, get: function () { return dog_1.createDog; } }); @@ -179,12 +181,12 @@ export { createDog, Dog }; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDog = createDog; -var utilities_1 = require("../core/utilities"); +const utilities_1 = require("../core/utilities"); function createDog() { return ({ size: "medium", woof: function () { - console.log("".concat(this.name, " says \"Woof\"!")); + console.log(`${this.name} says "Woof"!`); }, name: (0, utilities_1.makeRandomName)() }); @@ -201,12 +203,12 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileIdsList":[[3,4],[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":2},"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts", "../../animals/animal.ts", "../../animals/index.ts", "../../core/utilities.ts", @@ -223,7 +225,7 @@ export declare function createDog(): Dog; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es6.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -282,7 +284,7 @@ export declare function createDog(): Dog; "outDir": "./", "rootDir": "../../animals", "strict": true, - "target": 1 + "target": 2 }, "referencedMap": { "../../animals/dog.ts": [ @@ -296,7 +298,7 @@ export declare function createDog(): Dog; }, "latestChangedDtsFile": "./dog.d.ts", "version": "FakeTSVersion", - "size": 2234 + "size": 2238 } @@ -309,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} /user/username/projects/demo/animals: *new* {} @@ -341,7 +343,7 @@ Program root files: [ ] Program options: { "declaration": true, - "target": 1, + "target": 2, "module": 1, "strict": true, "noUnusedLocals": true, @@ -355,21 +357,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/core/utilities.ts /user/username/projects/demo/animals/dog.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es6.d.ts /user/username/projects/demo/animals/animal.ts /user/username/projects/demo/animals/index.ts /user/username/projects/demo/core/utilities.ts /user/username/projects/demo/animals/dog.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es6.d.ts (used version) /user/username/projects/demo/animals/animal.ts (used version) /user/username/projects/demo/animals/index.ts (computed .d.ts during emit) /user/username/projects/demo/core/utilities.ts (used version) From cef1f8306e80162a3ff96996681866716a18f022 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:09:56 -0800 Subject: [PATCH 07/11] Add ScriptTarget.CurrentYear --- src/compiler/types.ts | 1 + src/server/protocol.ts | 1 + tests/baselines/reference/api/typescript.d.ts | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 4e9f872720d79..96ff5353f7fad 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -7673,6 +7673,7 @@ export const enum ScriptTarget { ESNext = 99, JSON = 100, Latest = ESNext, + CurrentYear = ES2024, } export const enum LanguageVariant { diff --git a/src/server/protocol.ts b/src/server/protocol.ts index 8fdd31e6f00f1..ec43dbc04c243 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -3299,6 +3299,7 @@ export const enum ScriptTarget { ESNext = "esnext", JSON = "json", Latest = ESNext, + CurrentYear = ES2024, } { diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 6ca73b0b2fe8b..956fef5da96eb 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2558,6 +2558,7 @@ declare namespace ts { ESNext = "esnext", JSON = "json", Latest = "esnext", + CurrentYear = "es2024", } } namespace typingsInstaller { @@ -7221,6 +7222,7 @@ declare namespace ts { ESNext = 99, JSON = 100, Latest = 99, + CurrentYear = 11, } enum LanguageVariant { Standard = 0, From cea1fa42f38d2ec8c6c8fdba0900ba5e6af21d36 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:15:01 -0800 Subject: [PATCH 08/11] Default to CurrentYear --- src/compiler/commandLineParser.ts | 2 +- src/compiler/factory/nodeFactory.ts | 2 +- src/compiler/utilities.ts | 9 ++------- src/services/preProcess.ts | 2 +- src/services/services.ts | 3 +-- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 236e643b00b3c..2887d7ef723bc 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -584,7 +584,7 @@ export const targetOptionDeclaration: CommandLineOptionOfCustomType = { showInSimplifiedHelpView: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations, - defaultValueDescription: ScriptTarget.ES5, + defaultValueDescription: ScriptTarget.CurrentYear, }; /** @internal */ diff --git a/src/compiler/factory/nodeFactory.ts b/src/compiler/factory/nodeFactory.ts index e31d925fadd8f..9336155ab33d7 100644 --- a/src/compiler/factory/nodeFactory.ts +++ b/src/compiler/factory/nodeFactory.ts @@ -6052,7 +6052,7 @@ export function createNodeFactory(flags: NodeFactoryFlags, baseFactory: BaseNode node.path = "" as Path; node.resolvedPath = "" as Path; node.originalFileName = ""; - node.languageVersion = ScriptTarget.ES5; + node.languageVersion = ScriptTarget.CurrentYear; node.languageVariant = 0; node.scriptKind = 0; node.isDeclarationFile = false; diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 9a78e2de7a949..bec90f8aacb1c 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -8991,15 +8991,10 @@ const _computedOptions = createComputedCompilerOptions({ }, }, target: { - dependencies: ["module"], + dependencies: [], computeValue: compilerOptions => { const target = compilerOptions.target === ScriptTarget.ES3 ? undefined : compilerOptions.target; - return target ?? - ((compilerOptions.module === ModuleKind.Node16 && ScriptTarget.ES2022) || - (compilerOptions.module === ModuleKind.Node18 && ScriptTarget.ES2022) || - (compilerOptions.module === ModuleKind.Node20 && ScriptTarget.ES2023) || - (compilerOptions.module === ModuleKind.NodeNext && ScriptTarget.ESNext) || - ScriptTarget.ES5); + return target ?? ScriptTarget.CurrentYear; }, }, module: { diff --git a/src/services/preProcess.ts b/src/services/preProcess.ts index 80122c96a2f61..195def5efaa62 100644 --- a/src/services/preProcess.ts +++ b/src/services/preProcess.ts @@ -15,7 +15,7 @@ import { export function preProcessFile(sourceText: string, readImportFiles = true, detectJavaScriptImports = false): PreProcessedFileInfo { const pragmaContext: PragmaContext = { - languageVersion: ScriptTarget.ES5, // controls whether the token scanner considers unicode identifiers or not - shouldn't matter, since we're only using it for trivia + languageVersion: ScriptTarget.CurrentYear, // controls whether the token scanner considers unicode identifiers or not - shouldn't matter, since we're only using it for trivia pragmas: undefined, checkJsDirective: undefined, referencedFiles: [], diff --git a/src/services/services.ts b/src/services/services.ts index bfdff7ceb2767..e5a655597d037 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -1382,9 +1382,8 @@ export function displayPartsToString(displayParts: SymbolDisplayPart[] | undefin } export function getDefaultCompilerOptions(): CompilerOptions { - // Always default to "ScriptTarget.ES5" for the language service return { - target: ScriptTarget.ES5, + target: ScriptTarget.CurrentYear, jsx: JsxEmit.Preserve, }; } From 85b3d7baf6e0e508b462262297013980f500a9d6 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:37:22 -0800 Subject: [PATCH 09/11] Update baselines --- .../collisionCodeGenModuleWithUnicodeNames.js | 7 +- .../tsconfig.json | 1 + .../tsconfig.json | 4 +- .../tsconfig.json | 3 +- .../tsconfig.json | 4 +- .../reference/customTransforms/after.js | 10 +- .../reference/customTransforms/before.js | 9 +- .../reference/customTransforms/both.js | 10 +- .../sourceMapExternalSourceFiles.js | 5 +- .../reference/deprecatedCompilerOptions1.js | 2 +- .../reference/deprecatedCompilerOptions3.js | 2 +- .../reference/deprecatedCompilerOptions4.js | 2 +- .../reference/deprecatedCompilerOptions5.js | 2 +- .../reference/deprecatedCompilerOptions6.js | 2 +- ...etEmitOutputDeclarationMultiFiles.baseline | 18 +- ...etEmitOutputDeclarationSingleFile.baseline | 18 +- .../getEmitOutputExternalModule.baseline | 9 +- .../getEmitOutputExternalModule2.baseline | 18 +- .../reference/getEmitOutputMapRoots.baseline | 11 +- .../reference/getEmitOutputNoErrors.baseline | 9 +- .../getEmitOutputOnlyOneFile.baseline | 9 +- .../reference/getEmitOutputOutFile.baseline | 18 +- .../getEmitOutputSingleFile.baseline | 18 +- .../getEmitOutputSingleFile2.baseline | 18 +- .../reference/getEmitOutputSourceMap.baseline | 11 +- .../getEmitOutputSourceMap2.baseline | 11 +- .../getEmitOutputSourceRoot.baseline | 11 +- ...getEmitOutputSourceRootMultiFiles.baseline | 22 +- .../getEmitOutputTsxFile_Preserve.baseline | 11 +- .../getEmitOutputTsxFile_React.baseline | 11 +- .../getEmitOutputWithDeclarationFile.baseline | 9 +- ...getEmitOutputWithDeclarationFile2.baseline | 7 +- ...mitOutputWithEarlySyntacticErrors.baseline | 2 +- .../getEmitOutputWithEmitterErrors.baseline | 7 +- .../getEmitOutputWithEmitterErrors2.baseline | 7 +- .../reused-program-keeps-errors.js | 4 +- .../reference/project/baseline/node/emit.js | 2 +- .../project/baseline3/amd/nestedModule.js | 2 +- .../project/baseline3/node/nestedModule.js | 2 +- .../reference/project/declarationDir/amd/a.js | 8 +- .../project/declarationDir/amd/subfolder/b.js | 7 +- .../project/declarationDir/amd/subfolder/c.js | 8 +- .../project/declarationDir/node/a.js | 8 +- .../declarationDir/node/subfolder/b.js | 7 +- .../declarationDir/node/subfolder/c.js | 8 +- .../project/declarationDir2/amd/out/a.js | 8 +- .../declarationDir2/amd/out/subfolder/b.js | 7 +- .../declarationDir2/amd/out/subfolder/c.js | 8 +- .../project/declarationDir2/node/out/a.js | 8 +- .../declarationDir2/node/out/subfolder/b.js | 7 +- .../declarationDir2/node/out/subfolder/c.js | 8 +- .../project/declarationDir3/amd/out.js | 23 +- .../declarationsCascadingImports/amd/m4.js | 7 +- .../declarationsCascadingImports/node/m4.js | 7 +- .../declarationsGlobalImport/amd/glo_m4.js | 7 +- .../declarationsGlobalImport/node/glo_m4.js | 7 +- .../node/useModule.js | 2 +- .../amd/private_m4.js | 7 +- .../node/private_m4.js | 7 +- .../node/useModule.js | 2 +- .../amd/fncOnly_m4.js | 7 +- .../node/fncOnly_m4.js | 7 +- .../node/useModule.js | 2 +- .../amd/m4.js | 7 +- .../node/m4.js | 7 +- .../node/m5.js | 2 +- .../node/useModule.js | 2 +- .../declarationsMultipleTimesImport/amd/m4.js | 7 +- .../node/m4.js | 7 +- .../node/useModule.js | 4 +- .../amd/m4.js | 7 +- .../node/m4.js | 7 +- .../node/m5.js | 2 +- .../node/useModule.js | 4 +- .../declarationsSimpleImport/amd/m4.js | 7 +- .../declarationsSimpleImport/node/m4.js | 7 +- .../node/useModule.js | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../maprootUrlModuleSimpleNoOutdir/amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../maprootUrlModuleSimpleNoOutdir/node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../maprootUrlMultifolderNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../maprootUrlSimpleNoOutdir/amd/m1.js | 8 +- .../maprootUrlSimpleNoOutdir/amd/m1.js.map | 2 +- .../maprootUrlSimpleNoOutdir/amd/test.js | 8 +- .../maprootUrlSimpleNoOutdir/amd/test.js.map | 2 +- .../maprootUrlSimpleNoOutdir/node/m1.js | 8 +- .../maprootUrlSimpleNoOutdir/node/m1.js.map | 2 +- .../maprootUrlSimpleNoOutdir/node/test.js | 8 +- .../maprootUrlSimpleNoOutdir/node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../maprootUrlSingleFileNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../maprootUrlSingleFileNoOutdir/node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../maprootUrlSubfolderNoOutdir/amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../maprootUrlSubfolderNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../maprootUrlSubfolderNoOutdir/node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../node/importHigher/root.js | 2 +- .../node/maxDepthExceeded/built/root.js | 2 +- .../amd/maxDepthIncreased/root.js | 2 +- .../node/maxDepthIncreased/root.js | 6 +- .../project/nonRelative/node/consume.js | 6 +- .../outMixedSubfolderNoOutdir/amd/ref/m1.js | 8 +- .../outMixedSubfolderNoOutdir/amd/ref/m2.js | 8 +- .../outMixedSubfolderNoOutdir/amd/test.js | 8 +- .../outMixedSubfolderNoOutdir/node/ref/m1.js | 8 +- .../outMixedSubfolderNoOutdir/node/ref/m2.js | 8 +- .../outMixedSubfolderNoOutdir/node/test.js | 8 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/test.js | 8 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/test.js | 8 +- .../amd/bin/test.js | 24 +- .../node/bin/test.js | 16 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../node/bin/outAndOutDirFile.js | 16 +- .../amd/diskFile0.js | 8 +- .../amd/ref/m1.js | 8 +- .../outModuleMultifolderNoOutdir/amd/test.js | 8 +- .../node/diskFile0.js | 8 +- .../node/ref/m1.js | 8 +- .../outModuleMultifolderNoOutdir/node/test.js | 12 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../amd/bin/test.js | 24 +- .../project/outModuleSimpleNoOutdir/amd/m1.js | 8 +- .../outModuleSimpleNoOutdir/amd/test.js | 8 +- .../outModuleSimpleNoOutdir/node/m1.js | 8 +- .../outModuleSimpleNoOutdir/node/test.js | 10 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/test.js | 8 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/test.js | 10 +- .../amd/bin/test.js | 16 +- .../outModuleSubfolderNoOutdir/amd/ref/m1.js | 8 +- .../outModuleSubfolderNoOutdir/amd/test.js | 8 +- .../outModuleSubfolderNoOutdir/node/ref/m1.js | 8 +- .../outModuleSubfolderNoOutdir/node/test.js | 10 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/test.js | 8 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/test.js | 10 +- .../amd/bin/test.js | 16 +- .../outMultifolderNoOutdir/amd/diskFile0.js | 8 +- .../outMultifolderNoOutdir/amd/ref/m1.js | 8 +- .../outMultifolderNoOutdir/amd/test.js | 8 +- .../outMultifolderNoOutdir/node/diskFile0.js | 8 +- .../outMultifolderNoOutdir/node/ref/m1.js | 8 +- .../outMultifolderNoOutdir/node/test.js | 8 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../amd/bin/test.js | 24 +- .../node/bin/test.js | 24 +- .../project/outSimpleNoOutdir/amd/m1.js | 8 +- .../project/outSimpleNoOutdir/amd/test.js | 8 +- .../project/outSimpleNoOutdir/node/m1.js | 8 +- .../project/outSimpleNoOutdir/node/test.js | 8 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/test.js | 8 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/test.js | 8 +- .../amd/bin/test.js | 16 +- .../node/bin/test.js | 16 +- .../project/outSingleFileNoOutdir/amd/test.js | 8 +- .../outSingleFileNoOutdir/node/test.js | 8 +- .../amd/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js | 8 +- .../amd/bin/test.js | 8 +- .../node/bin/test.js | 8 +- .../outSubfolderNoOutdir/amd/ref/m1.js | 8 +- .../project/outSubfolderNoOutdir/amd/test.js | 8 +- .../outSubfolderNoOutdir/node/ref/m1.js | 8 +- .../project/outSubfolderNoOutdir/node/test.js | 8 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/test.js | 8 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/test.js | 8 +- .../amd/bin/test.js | 16 +- .../node/bin/test.js | 16 +- .../amd/testGlo.js | 51 +- .../node/testGlo.js | 51 +- .../reference/project/prologueEmit/amd/out.js | 34 +- .../project/prologueEmit/node/out.js | 34 +- .../amd/li'b/class'A.js | 9 +- .../amd/m'ain.js | 24 +- .../node/li'b/class'A.js | 9 +- .../node/m'ain.js | 24 +- .../amd/diskFile0.js | 7 +- .../amd/foo.js | 7 +- .../node/diskFile0.js | 7 +- .../node/foo.js | 7 +- .../amd/bar/bar.js | 7 +- .../amd/src/ts/foo/foo.js | 7 +- .../node/bar/bar.js | 7 +- .../node/src/ts/foo/foo.js | 7 +- .../amd/diskFile0.js | 7 +- .../amd/foo.js | 7 +- .../node/diskFile0.js | 7 +- .../node/foo.js | 7 +- .../amd/diskFile0.js | 7 +- .../amd/foo.js | 7 +- .../node/diskFile0.js | 7 +- .../node/foo.js | 7 +- .../amd/test.js | 7 +- .../node/test.js | 7 +- .../amd/test.js | 7 +- .../node/test.js | 7 +- .../outdir/simple/FolderB/FolderC/fileC.js | 7 +- .../simple/FolderB/FolderC/fileC.js.map | 2 +- .../amd/outdir/simple/FolderB/fileB.js | 8 +- .../amd/outdir/simple/FolderB/fileB.js.map | 2 +- .../outdir/simple/FolderB/FolderC/fileC.js | 7 +- .../simple/FolderB/FolderC/fileC.js.map | 2 +- .../node/outdir/simple/FolderB/fileB.js | 8 +- .../node/outdir/simple/FolderB/fileB.js.map | 2 +- .../amd/FolderA/FolderB/fileB.js | 8 +- .../amd/outdir/simple/fileC.js | 7 +- .../node/FolderA/FolderB/fileB.js | 8 +- .../node/outdir/simple/fileC.js | 7 +- .../outdir/simple/FolderB/FolderC/fileC.js | 7 +- .../simple/FolderB/FolderC/fileC.js.map | 2 +- .../amd/outdir/simple/FolderB/fileB.js | 8 +- .../amd/outdir/simple/FolderB/fileB.js.map | 2 +- .../outdir/simple/FolderB/FolderC/fileC.js | 7 +- .../simple/FolderB/FolderC/fileC.js.map | 2 +- .../node/outdir/simple/FolderB/fileB.js | 8 +- .../node/outdir/simple/FolderB/fileB.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../sourcemapModuleSimpleNoOutdir/amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../sourcemapModuleSimpleNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../sourcemapModuleSimpleNoOutdir/node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../sourcemapMultifolderNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../sourcemapMultifolderNoOutdir/node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../project/sourcemapSimpleNoOutdir/amd/m1.js | 8 +- .../sourcemapSimpleNoOutdir/amd/m1.js.map | 2 +- .../sourcemapSimpleNoOutdir/amd/test.js | 8 +- .../sourcemapSimpleNoOutdir/amd/test.js.map | 2 +- .../sourcemapSimpleNoOutdir/node/m1.js | 8 +- .../sourcemapSimpleNoOutdir/node/m1.js.map | 2 +- .../sourcemapSimpleNoOutdir/node/test.js | 8 +- .../sourcemapSimpleNoOutdir/node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../sourcemapSingleFileNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../sourcemapSingleFileNoOutdir/node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../sourcemapSubfolderNoOutdir/amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../sourcemapSubfolderNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../sourcemapSubfolderNoOutdir/node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../sourcemapSubfolderNoOutdir/node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/ref/m2.js | 8 +- .../amd/ref/m2.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/ref/m2.js | 8 +- .../node/ref/m2.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/ref/m2.js | 8 +- .../amd/outdir/simple/ref/m2.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/ref/m2.js | 8 +- .../node/outdir/simple/ref/m2.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/bin/outAndOutDirFile.js | 24 +- .../amd/bin/outAndOutDirFile.js.map | 2 +- .../node/bin/outAndOutDirFile.js | 16 +- .../node/bin/outAndOutDirFile.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 12 +- .../node/test.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 8 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../outputdir_module_multifolder/ref/m1.js | 8 +- .../ref/m1.js.map | 2 +- .../outputdir_module_multifolder/test.js | 12 +- .../outputdir_module_multifolder/test.js.map | 2 +- .../outputdir_module_multifolder_ref/m2.js | 8 +- .../m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../amd/m1.js | 8 +- .../amd/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 10 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 10 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../amd/diskFile0.js.map | 2 +- .../amd/diskFile1.js | 8 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/diskFile0.js.map | 2 +- .../node/diskFile1.js | 8 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../simple/outputdir_multifolder/ref/m1.js | 8 +- .../outputdir_multifolder/ref/m1.js.map | 2 +- .../simple/outputdir_multifolder/test.js | 8 +- .../simple/outputdir_multifolder/test.js.map | 2 +- .../simple/outputdir_multifolder_ref/m2.js | 8 +- .../outputdir_multifolder_ref/m2.js.map | 2 +- .../amd/bin/test.js | 24 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 24 +- .../node/bin/test.js.map | 2 +- .../sourcerootUrlSimpleNoOutdir/amd/m1.js | 8 +- .../sourcerootUrlSimpleNoOutdir/amd/m1.js.map | 2 +- .../sourcerootUrlSimpleNoOutdir/amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../sourcerootUrlSimpleNoOutdir/node/m1.js | 8 +- .../node/m1.js.map | 2 +- .../sourcerootUrlSimpleNoOutdir/node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/m1.js | 8 +- .../amd/outdir/simple/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/m1.js | 8 +- .../node/outdir/simple/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 8 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 8 +- .../node/bin/test.js.map | 2 +- .../amd/ref/m1.js | 8 +- .../amd/ref/m1.js.map | 2 +- .../amd/test.js | 8 +- .../amd/test.js.map | 2 +- .../node/ref/m1.js | 8 +- .../node/ref/m1.js.map | 2 +- .../node/test.js | 8 +- .../node/test.js.map | 2 +- .../amd/outdir/simple/ref/m1.js | 8 +- .../amd/outdir/simple/ref/m1.js.map | 2 +- .../amd/outdir/simple/test.js | 8 +- .../amd/outdir/simple/test.js.map | 2 +- .../node/outdir/simple/ref/m1.js | 8 +- .../node/outdir/simple/ref/m1.js.map | 2 +- .../node/outdir/simple/test.js | 8 +- .../node/outdir/simple/test.js.map | 2 +- .../amd/bin/test.js | 16 +- .../amd/bin/test.js.map | 2 +- .../node/bin/test.js | 16 +- .../node/bin/test.js.map | 2 +- .../amd/fs.js | 19 +- .../node/fs.js | 19 +- .../transformsCorrectly.rewrittenNamespace.js | 2 +- .../tsbuild/clean/tsx-with-dts-emit.js | 11 +- .../different-options-discrepancies.js | 12 +- ...-options-with-incremental-discrepancies.js | 8 +- .../different-options-with-incremental.js | 309 ++++---- .../multiFile/different-options.js | 251 +++---- ...Only-false-on-commandline-discrepancies.js | 8 +- ...claration-and-incremental-discrepancies.js | 8 +- ...ndline-with-declaration-and-incremental.js | 140 ++-- ...y-false-on-commandline-with-declaration.js | 112 ++- ...mitDeclarationOnly-false-on-commandline.js | 128 ++-- ...rationOnly-on-commandline-discrepancies.js | 12 +- ...claration-and-incremental-discrepancies.js | 12 +- ...ndline-with-declaration-and-incremental.js | 233 +++--- ...ionOnly-on-commandline-with-declaration.js | 165 ++--- .../emitDeclarationOnly-on-commandline.js | 215 +++--- .../different-options-discrepancies.js | 12 +- ...-options-with-incremental-discrepancies.js | 8 +- .../different-options-with-incremental.js | 174 ++--- .../commandLine/outFile/different-options.js | 138 ++-- ...Only-false-on-commandline-discrepancies.js | 8 +- ...claration-and-incremental-discrepancies.js | 8 +- ...ndline-with-declaration-and-incremental.js | 104 +-- ...y-false-on-commandline-with-declaration.js | 44 +- ...mitDeclarationOnly-false-on-commandline.js | 104 +-- ...rationOnly-on-commandline-discrepancies.js | 12 +- ...claration-and-incremental-discrepancies.js | 12 +- ...ndline-with-declaration-and-incremental.js | 196 +++--- ...ionOnly-on-commandline-with-declaration.js | 66 +- .../emitDeclarationOnly-on-commandline.js | 196 +++--- ...tax-errors-in-config-file-discrepancies.js | 4 +- .../reports-syntax-errors-in-config-file.js | 44 +- ...tax-errors-in-config-file-discrepancies.js | 4 +- .../reports-syntax-errors-in-config-file.js | 22 +- ...nce-and-both-extend-config-with-include.js | 32 +- ...th-projects-extends-config-with-include.js | 32 +- ...ter-initial-build-doesnt-build-anything.js | 41 +- .../when-solution-is-referenced-indirectly.js | 74 +- ...-dts-generation-errors-with-incremental.js | 16 +- .../reports-dts-generation-errors.js | 10 +- ...-dts-generation-errors-with-incremental.js | 20 +- .../outFile/reports-dts-generation-errors.js | 10 +- ...ugh-triple-slash-but-uses-no-references.js | 23 +- ...file-is-referenced-through-triple-slash.js | 39 +- ...d-inferred-type-from-referenced-project.js | 32 +- ...es-is-empty-and-references-are-provided.js | 15 +- .../tsbuild/extends/configDir-template.js | 25 +- .../extends/resolves-the-symlink-path.js | 15 +- .../deleted-file-without-composite.js | 28 +- .../multiFile/detects-deleted-file.js | 67 +- .../outFile/deleted-file-without-composite.js | 10 +- .../outFile/detects-deleted-file.js | 58 +- ...based-projects-and-emits-them-correctly.js | 80 ++- ...ved-json-files-and-emits-them-correctly.js | 144 ++-- ...s-merged-and-contains-late-bound-member.js | 48 +- .../with-config-with-redirection.js | 25 +- .../tsbuild/libraryResolution/with-config.js | 25 +- ...iffers-between-projects-for-shared-file.js | 10 +- ...olution-from-d.ts-of-referenced-project.js | 8 +- ...project-correctly-with-preserveSymlinks.js | 29 +- ...-file-from-referenced-project-correctly.js | 29 +- ...ared-resolution-should-not-report-error.js | 16 +- ...t-resolution-options-referenced-project.js | 28 +- .../when-resolution-is-not-shared.js | 16 +- ...fiers-across-projects-resolve-correctly.js | 14 +- ...zed-module-specifiers-resolve-correctly.js | 99 +-- ...s-errors-with-incremental-discrepancies.js | 8 +- .../multiFile/dts-errors-with-incremental.js | 183 ++--- .../tsbuild/noCheck/multiFile/dts-errors.js | 127 ++-- ...c-errors-with-incremental-discrepancies.js | 8 +- .../semantic-errors-with-incremental.js | 137 ++-- .../noCheck/multiFile/semantic-errors.js | 77 +- ...x-errors-with-incremental-discrepancies.js | 8 +- .../syntax-errors-with-incremental.js | 162 ++--- .../noCheck/multiFile/syntax-errors.js | 100 ++- ...s-errors-with-incremental-discrepancies.js | 8 +- .../outFile/dts-errors-with-incremental.js | 168 +++-- .../tsbuild/noCheck/outFile/dts-errors.js | 60 +- ...c-errors-with-incremental-discrepancies.js | 8 +- .../semantic-errors-with-incremental.js | 138 ++-- .../noCheck/outFile/semantic-errors.js | 28 +- ...x-errors-with-incremental-discrepancies.js | 8 +- .../outFile/syntax-errors-with-incremental.js | 138 ++-- .../tsbuild/noCheck/outFile/syntax-errors.js | 28 +- .../changes-composite-discrepancies.js | 40 +- .../noEmit/multiFile/changes-composite.js | 336 ++------- .../changes-incremental-declaration.js | 336 ++------- .../noEmit/multiFile/changes-incremental.js | 336 ++------- ...-initial-noEmit-composite-discrepancies.js | 4 +- .../changes-with-initial-noEmit-composite.js | 225 ++---- ...-initial-noEmit-incremental-declaration.js | 225 ++---- ...changes-with-initial-noEmit-incremental.js | 225 ++---- ...th-incremental-as-modules-discrepancies.js | 8 +- ...ble-changes-with-incremental-as-modules.js | 83 +-- ...-changes-with-incremental-discrepancies.js | 8 +- ...aration-enable-changes-with-incremental.js | 77 +- ...anges-with-multiple-files-discrepancies.js | 4 +- ...tion-enable-changes-with-multiple-files.js | 127 ++-- ...-errors-with-declaration-enable-changes.js | 65 +- .../dts-errors-with-incremental-as-modules.js | 82 +-- .../multiFile/dts-errors-with-incremental.js | 75 +- ...dts-enabled-with-incremental-as-modules.js | 78 +-- ...rs-without-dts-enabled-with-incremental.js | 71 +- .../dts-errors-without-dts-enabled.js | 55 +- .../tsbuild/noEmit/multiFile/dts-errors.js | 61 +- ...ntic-errors-with-incremental-as-modules.js | 70 +- .../semantic-errors-with-incremental.js | 66 +- .../noEmit/multiFile/semantic-errors.js | 52 +- ...ntax-errors-with-incremental-as-modules.js | 77 +- .../syntax-errors-with-incremental.js | 66 +- .../tsbuild/noEmit/multiFile/syntax-errors.js | 36 +- .../changes-composite-discrepancies.js | 40 +- .../noEmit/outFile/changes-composite.js | 130 ++-- .../changes-incremental-declaration.js | 130 ++-- .../noEmit/outFile/changes-incremental.js | 130 ++-- ...-initial-noEmit-composite-discrepancies.js | 4 +- .../changes-with-initial-noEmit-composite.js | 122 ++-- ...-initial-noEmit-incremental-declaration.js | 122 ++-- ...changes-with-initial-noEmit-incremental.js | 122 ++-- ...th-incremental-as-modules-discrepancies.js | 4 +- ...ble-changes-with-incremental-as-modules.js | 94 +-- ...-changes-with-incremental-discrepancies.js | 4 +- ...aration-enable-changes-with-incremental.js | 93 ++- ...anges-with-multiple-files-discrepancies.js | 4 +- ...tion-enable-changes-with-multiple-files.js | 124 ++-- ...-errors-with-declaration-enable-changes.js | 29 +- ...th-incremental-as-modules-discrepancies.js | 16 +- .../dts-errors-with-incremental-as-modules.js | 78 +-- ...s-errors-with-incremental-discrepancies.js | 16 +- .../outFile/dts-errors-with-incremental.js | 79 ++- ...dts-enabled-with-incremental-as-modules.js | 78 +-- ...rs-without-dts-enabled-with-incremental.js | 79 ++- .../outFile/dts-errors-without-dts-enabled.js | 31 +- .../tsbuild/noEmit/outFile/dts-errors.js | 31 +- ...ntic-errors-with-incremental-as-modules.js | 68 +- .../semantic-errors-with-incremental.js | 70 +- .../tsbuild/noEmit/outFile/semantic-errors.js | 22 +- ...ntax-errors-with-incremental-as-modules.js | 68 +- .../outFile/syntax-errors-with-incremental.js | 72 +- .../tsbuild/noEmit/outFile/syntax-errors.js | 24 +- ...rrors-with-declaration-with-incremental.js | 46 +- .../multiFile/dts-errors-with-declaration.js | 38 +- .../multiFile/dts-errors-with-incremental.js | 44 +- .../noEmitOnError/multiFile/dts-errors.js | 32 +- ...rrors-with-declaration-with-incremental.js | 39 +- .../semantic-errors-with-declaration.js | 31 +- .../semantic-errors-with-incremental.js | 39 +- .../multiFile/semantic-errors.js | 31 +- ...rrors-with-declaration-with-incremental.js | 39 +- .../syntax-errors-with-declaration.js | 31 +- .../syntax-errors-with-incremental.js | 39 +- .../noEmitOnError/multiFile/syntax-errors.js | 31 +- ...rrors-with-declaration-with-incremental.js | 30 +- .../outFile/dts-errors-with-declaration.js | 18 +- .../outFile/dts-errors-with-incremental.js | 30 +- .../noEmitOnError/outFile/dts-errors.js | 18 +- ...rrors-with-declaration-with-incremental.js | 30 +- .../semantic-errors-with-declaration.js | 18 +- .../semantic-errors-with-incremental.js | 30 +- .../noEmitOnError/outFile/semantic-errors.js | 18 +- ...rrors-with-declaration-with-incremental.js | 30 +- .../outFile/syntax-errors-with-declaration.js | 18 +- .../outFile/syntax-errors-with-incremental.js | 30 +- .../noEmitOnError/outFile/syntax-errors.js | 18 +- ...otDir-is-not-specified-and-is-composite.js | 15 +- .../when-rootDir-is-not-specified.js | 7 +- ...iles-belong-to-rootDir-and-is-composite.js | 20 +- ...ied-but-not-all-files-belong-to-rootDir.js | 10 +- .../outputPaths/when-rootDir-is-specified.js | 7 +- .../builds-correctly.js | 34 +- ...nfo-file-because-no-rootDir-in-the-base.js | 26 +- ...dinfo-file-without-incremental-with-tsc.js | 26 +- ...me-tsbuildinfo-file-without-incremental.js | 26 +- ...reports-error-for-same-tsbuildinfo-file.js | 26 +- ...eports-no-error-when-tsbuildinfo-differ.js | 34 +- .../build-with-custom-transformers.js | 74 +- ...iles-containing-json-file-non-composite.js | 8 +- .../files-containing-json-file.js | 18 +- .../include-and-files-non-composite.js | 8 +- .../resolveJsonModule/include-and-files.js | 18 +- ...file-name-matches-ts-file-non-composite.js | 8 +- ...r-include-and-file-name-matches-ts-file.js | 18 +- ...-along-with-other-include-non-composite.js | 8 +- ...nclude-of-json-along-with-other-include.js | 18 +- .../include-only-non-composite.js | 8 +- ...-with-json-not-in-rootDir-non-composite.js | 8 +- .../include-only-with-json-not-in-rootDir.js | 18 +- ...t-outside-configDirectory-non-composite.js | 8 +- ...out-rootDir-but-outside-configDirectory.js | 18 +- ...clude-only-without-outDir-non-composite.js | 8 +- .../include-only-without-outDir.js | 18 +- .../tsbuild/resolveJsonModule/include-only.js | 18 +- .../sourcemap-non-composite.js | 14 +- .../tsbuild/resolveJsonModule/sourcemap.js | 24 +- .../without-outDir-non-composite.js | 12 +- .../resolveJsonModule/without-outDir.js | 22 +- ...nsecutive-and-non-consecutive-are-mixed.js | 53 +- .../roots/when-files-are-not-consecutive.js | 28 +- ...hen-multiple-root-files-are-consecutive.js | 38 +- ...-referenced-project-and-shared-is-first.js | 136 ++-- ...en-root-file-is-from-referenced-project.js | 136 ++-- .../when-two-root-files-are-consecutive.js | 28 +- .../always-builds-under-with-force-option.js | 133 +--- .../building-using-buildReferencedProject.js | 81 +-- ...uilding-using-getNextInvalidatedProject.js | 133 +--- ...rectly-when-declarationDir-is-specified.js | 133 +--- ...ilds-correctly-when-outDir-is-specified.js | 133 +--- ...composite-or-doesnt-have-any-references.js | 18 +- ...s-even-if-upstream-projects-have-errors.js | 133 +--- .../sample1/builds-till-project-specified.js | 81 +-- .../can-detect-when-and-what-to-rebuild.js | 167 ++--- ...t-in-not-build-order-doesnt-throw-error.js | 133 +--- .../sample1/cleans-till-project-specified.js | 133 +--- ...vent-if-version-doesnt-match-ts-version.js | 109 +-- .../reference/tsbuild/sample1/explainFiles.js | 238 ++----- ...it-would-skip-builds-during-a-dry-build.js | 133 +--- .../sample1/invalidates-projects-correctly.js | 259 ++----- .../tsbuild/sample1/listEmittedFiles.js | 210 ++---- .../reference/tsbuild/sample1/listFiles.js | 224 ++---- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 157 ++--- ...uilds-from-start-if-force-option-is-set.js | 133 +--- ...uilds-when-extended-config-file-changes.js | 135 +--- .../sample1/removes-all-files-it-built.js | 133 +--- ...ror-if-input-file-is-missing-with-force.js | 130 +--- .../reports-error-if-input-file-is-missing.js | 130 +--- .../reference/tsbuild/sample1/sample.js | 422 +++++------ ...rrors-when-test-does-not-reference-core.js | 152 +--- ...ects-have-errors-with-stopBuildOnErrors.js | 152 +--- .../tsbuild/sample1/tsbuildinfo-has-error.js | 19 +- .../when-declaration-option-changes.js | 34 +- .../sample1/when-declarationMap-changes.js | 149 +--- .../when-esModuleInterop-option-changes.js | 156 +---- ...ot-change-but-its-modified-time-changes.js | 133 +--- .../when-logic-specifies-tsBuildInfoFile.js | 329 ++++----- ...hen-module-option-changes-discrepancies.js | 4 +- .../sample1/when-module-option-changes.js | 18 +- ...roject-uses-different-module-resolution.js | 54 +- .../transitiveReferences/builds-correctly.js | 54 +- ...de-resolution-with-external-module-name.js | 54 +- .../reports-syntax-errors-in-config-file.js | 55 +- .../reports-syntax-errors-in-config-file.js | 32 +- .../extends/configDir-template.js | 39 +- .../with-config-with-redirection.js | 25 +- .../libraryResolution/with-config.js | 25 +- ...for-changes-to-package-json-main-fields.js | 52 +- ...t-correctly-with-cts-and-mts-extensions.js | 36 +- ...se-different-module-resolution-settings.js | 51 +- ...n-no-files-are-emitted-with-incremental.js | 28 +- ...when-watching-when-no-files-are-emitted.js | 14 +- .../dts-errors-with-incremental-as-modules.js | 82 +-- .../multiFile/dts-errors-with-incremental.js | 75 +- ...dts-enabled-with-incremental-as-modules.js | 82 +-- ...rs-without-dts-enabled-with-incremental.js | 75 +- .../dts-errors-without-dts-enabled.js | 35 +- .../noEmit/multiFile/dts-errors.js | 35 +- ...ntic-errors-with-incremental-as-modules.js | 70 +- .../semantic-errors-with-incremental.js | 66 +- .../noEmit/multiFile/semantic-errors.js | 26 +- ...ntax-errors-with-incremental-as-modules.js | 77 +- .../syntax-errors-with-incremental.js | 66 +- .../noEmit/multiFile/syntax-errors.js | 24 +- ...n-no-files-are-emitted-with-incremental.js | 28 +- ...when-watching-when-no-files-are-emitted.js | 8 +- .../dts-errors-with-incremental-as-modules.js | 74 +- .../outFile/dts-errors-with-incremental.js | 75 +- ...dts-enabled-with-incremental-as-modules.js | 74 +- ...rs-without-dts-enabled-with-incremental.js | 75 +- .../outFile/dts-errors-without-dts-enabled.js | 27 +- .../tsbuildWatch/noEmit/outFile/dts-errors.js | 27 +- ...ntic-errors-with-incremental-as-modules.js | 64 +- .../semantic-errors-with-incremental.js | 66 +- .../noEmit/outFile/semantic-errors.js | 18 +- ...ntax-errors-with-incremental-as-modules.js | 64 +- .../outFile/syntax-errors-with-incremental.js | 68 +- .../noEmit/outFile/syntax-errors.js | 20 +- ...Error-with-declaration-with-incremental.js | 100 ++- .../noEmitOnError-with-declaration.js | 58 +- .../noEmitOnError-with-incremental.js | 98 ++- .../noEmitOnError/multiFile/noEmitOnError.js | 58 +- ...Error-with-declaration-with-incremental.js | 86 +-- .../outFile/noEmitOnError-with-declaration.js | 38 +- .../outFile/noEmitOnError-with-incremental.js | 86 +-- .../noEmitOnError/outFile/noEmitOnError.js | 38 +- .../creates-solution-in-watch-mode.js | 151 +--- .../incremental-updates-in-verbose-mode.js | 278 ++------ .../when-file-with-no-error-changes.js | 84 +-- ...ing-errors-only-changed-file-is-emitted.js | 85 +-- .../when-file-with-no-error-changes.js | 62 +- ...ixing-error-files-all-files-are-emitted.js | 63 +- .../when-preserveWatchOutput-is-not-used.js | 292 ++------ ...veWatchOutput-is-passed-on-command-line.js | 292 ++------ ...BuildOnErrors-is-passed-on-command-line.js | 233 ++---- ...e-of-program-emit-with-outDir-specified.js | 47 +- ...r-recompilation-because-of-program-emit.js | 47 +- ...rrors-when-test-does-not-reference-core.js | 172 ++--- ...ects-have-errors-with-stopBuildOnErrors.js | 172 ++--- .../programUpdates/tsbuildinfo-has-error.js | 21 +- ...-references-watches-only-those-projects.js | 93 +-- ...tches-config-files-that-are-not-present.js | 208 ++---- ...e-down-stream-project-and-then-fixes-it.js | 67 +- ...le-is-added,-and-its-subsequent-updates.js | 197 ++---- ...hanges-and-reports-found-errors-message.js | 298 +++----- ...not-start-build-of-referencing-projects.js | 172 ++--- .../with-outFile-and-non-local-change.js | 64 +- ...le-is-added,-and-its-subsequent-updates.js | 197 ++---- ...hanges-and-reports-found-errors-message.js | 298 +++----- ...not-start-build-of-referencing-projects.js | 172 ++--- ...project-with-extended-config-is-removed.js | 36 +- ...hen-noUnusedParameters-changes-to-false.js | 14 +- .../works-with-extended-source-files.js | 128 ++-- ...hen-there-are-23-projects-in-a-solution.js | 662 ++++++++---------- ...when-there-are-3-projects-in-a-solution.js | 99 ++- ...when-there-are-5-projects-in-a-solution.js | 141 ++-- ...when-there-are-8-projects-in-a-solution.js | 262 +++---- .../publicApi/with-custom-transformers.js | 111 ++- .../reexport/Reports-errors-correctly.js | 72 +- ...-referenced-project-and-shared-is-first.js | 136 ++-- ...en-root-file-is-from-referenced-project.js | 136 ++-- ...e-projects-with-single-watcher-per-file.js | 60 +- .../when-emitting-buildInfo.js | 101 +-- .../tsc/cancellationToken/when-using-state.js | 101 +-- .../adds-color-when-FORCE_COLOR-is-set.js | 2 +- ...COLOR-is-set-even-if-FORCE_COLOR-is-set.js | 2 +- ...does-not-add-color-when-NO_COLOR-is-set.js | 2 +- .../reference/tsc/commandLine/help-all.js | 2 +- .../reference/tsc/commandLine/help.js | 2 +- ...-when-host-can't-provide-terminal-width.js | 2 +- ...tatus.DiagnosticsPresent_OutputsSkipped.js | 2 +- .../tsc/composite/converting-to-modules.js | 22 +- ...le-from-CJS-module-error-on-jsx-element.js | 8 +- ...from-CJS-module-no-crash-no-jsx-element.js | 8 +- ...-dts-generation-errors-with-incremental.js | 20 +- .../reports-dts-generation-errors.js | 14 +- ...-dts-generation-errors-with-incremental.js | 24 +- .../outFile/reports-dts-generation-errors.js | 14 +- .../configDir-template-with-commandline.js | 25 +- .../tsc/extends/configDir-template.js | 25 +- .../tsc/extends/resolves-the-symlink-path.js | 15 +- ...m-multiple-places-with-different-casing.js | 12 +- ...ative-and-non-relative-file-resolutions.js | 6 +- .../with-type-ref-from-file.js | 6 +- ...-config-file-absent-with---ignoreConfig.js | 7 +- ...pecifying-files-when-config-file-absent.js | 7 +- .../specifying-files-with---ignoreConfig.js | 7 +- .../specifying-project-with---ignoreConfig.js | 12 +- .../tsc/ignoreConfig/specifying-project.js | 12 +- ...-config-file-absent-with---ignoreConfig.js | 2 +- ...out-any-options-when-config-file-absent.js | 2 +- ...without-any-options-with---ignoreConfig.js | 12 +- .../tsc/ignoreConfig/without-any-options.js | 12 +- ...ion-field-with-declaration-emit-enabled.js | 222 ++++-- ...e-to-modifier-of-class-expression-field.js | 208 ++++-- ...in-another-file-through-indirect-import.js | 37 +- ...s-global-through-export-in-another-file.js | 28 +- .../generates-typerefs-correctly.js | 124 +--- .../different-options-discrepancies.js | 12 +- ...-options-with-incremental-discrepancies.js | 8 +- .../different-options-with-incremental.js | 315 ++++----- .../multiFile/different-options.js | 337 ++++----- .../different-options-discrepancies.js | 12 +- ...-options-with-incremental-discrepancies.js | 8 +- .../different-options-with-incremental.js | 174 ++--- .../incremental/outFile/different-options.js | 170 ++--- ...ypes-found-doesn't-crash-under---strict.js | 14 +- ...th-no-backing-types-found-doesn't-crash.js | 14 +- .../incremental/serializing-error-chains.js | 76 +- .../tsc/incremental/tsbuildinfo-has-error.js | 19 +- .../tsc/incremental/when-file-is-deleted.js | 40 +- ...le-is-added,-the-signatures-are-updated.js | 72 +- ...file-is-added-to-the-referenced-project.js | 49 +- .../when-passing-rootDir-from-commandline.js | 15 +- ...when-passing-rootDir-is-in-the-tsconfig.js | 15 +- ...sed-const-enums-with-preserveConstEnums.js | 84 +-- .../incremental/with-aliased-const-enums.js | 72 +- ...ile-const-enums-with-preserveConstEnums.js | 84 +-- ...h-aliased-in-different-file-const-enums.js | 72 +- ...ith-const-enums-with-preserveConstEnums.js | 84 +-- .../tsc/incremental/with-const-enums.js | 72 +- .../tsc/incremental/with-only-dts-files.js | 18 +- .../tsc/libraryResolution/unknown-lib.js | 46 +- .../libraryResolution/when-noLib-toggles.js | 2 +- .../with-config-with-redirection.js | 10 +- .../tsc/libraryResolution/with-config.js | 10 +- .../without-config-with-redirection.js | 10 +- .../tsc/libraryResolution/without-config.js | 10 +- .../combined-with-incremental.js | 19 +- .../reference/tsc/listFilesOnly/loose-file.js | 4 +- .../tsc/moduleResolution/alternateResult.js | 81 +-- ...s-errors-with-incremental-discrepancies.js | 8 +- .../multiFile/dts-errors-with-incremental.js | 195 +++--- .../tsc/noCheck/multiFile/dts-errors.js | 99 +-- ...c-errors-with-incremental-discrepancies.js | 8 +- .../semantic-errors-with-incremental.js | 149 ++-- .../tsc/noCheck/multiFile/semantic-errors.js | 53 +- ...x-errors-with-incremental-discrepancies.js | 8 +- .../syntax-errors-with-incremental.js | 174 ++--- .../tsc/noCheck/multiFile/syntax-errors.js | 78 +-- .../outFile/dts-errors-with-incremental.js | 208 +++--- .../tsc/noCheck/outFile/dts-errors.js | 68 +- .../semantic-errors-with-incremental.js | 178 ++--- .../tsc/noCheck/outFile/semantic-errors.js | 38 +- .../outFile/syntax-errors-with-incremental.js | 178 ++--- .../tsc/noCheck/outFile/syntax-errors.js | 38 +- .../changes-composite-discrepancies.js | 40 +- .../tsc/noEmit/multiFile/changes-composite.js | 297 ++------ .../changes-incremental-declaration.js | 297 ++------ .../noEmit/multiFile/changes-incremental.js | 297 ++------ ...-initial-noEmit-composite-discrepancies.js | 4 +- .../changes-with-initial-noEmit-composite.js | 220 ++---- ...-initial-noEmit-incremental-declaration.js | 220 ++---- ...changes-with-initial-noEmit-incremental.js | 220 ++---- ...anges-with-multiple-files-discrepancies.js | 4 +- ...tion-enable-changes-with-multiple-files.js | 131 ++-- .../dts-errors-with-incremental-as-modules.js | 86 +-- .../multiFile/dts-errors-with-incremental.js | 79 ++- ...dts-enabled-with-incremental-as-modules.js | 86 +-- ...rs-without-dts-enabled-with-incremental.js | 79 ++- .../dts-errors-without-dts-enabled.js | 31 +- .../tsc/noEmit/multiFile/dts-errors.js | 31 +- ...ntic-errors-with-incremental-as-modules.js | 74 +- .../semantic-errors-with-incremental.js | 70 +- .../tsc/noEmit/multiFile/semantic-errors.js | 22 +- ...ntax-errors-with-incremental-as-modules.js | 81 +-- .../syntax-errors-with-incremental.js | 70 +- .../tsc/noEmit/multiFile/syntax-errors.js | 24 +- .../changes-composite-discrepancies.js | 40 +- .../tsc/noEmit/outFile/changes-composite.js | 130 ++-- .../changes-incremental-declaration.js | 130 ++-- .../tsc/noEmit/outFile/changes-incremental.js | 130 ++-- ...-initial-noEmit-composite-discrepancies.js | 4 +- .../changes-with-initial-noEmit-composite.js | 122 ++-- ...-initial-noEmit-incremental-declaration.js | 122 ++-- ...changes-with-initial-noEmit-incremental.js | 122 ++-- ...anges-with-multiple-files-discrepancies.js | 4 +- ...tion-enable-changes-with-multiple-files.js | 124 ++-- ...th-incremental-as-modules-discrepancies.js | 16 +- .../dts-errors-with-incremental-as-modules.js | 78 +-- ...s-errors-with-incremental-discrepancies.js | 16 +- .../outFile/dts-errors-with-incremental.js | 79 ++- ...dts-enabled-with-incremental-as-modules.js | 78 +-- ...rs-without-dts-enabled-with-incremental.js | 79 ++- .../outFile/dts-errors-without-dts-enabled.js | 31 +- .../tsc/noEmit/outFile/dts-errors.js | 31 +- ...ntic-errors-with-incremental-as-modules.js | 68 +- .../semantic-errors-with-incremental.js | 70 +- .../tsc/noEmit/outFile/semantic-errors.js | 22 +- ...ntax-errors-with-incremental-as-modules.js | 68 +- .../outFile/syntax-errors-with-incremental.js | 72 +- .../tsc/noEmit/outFile/syntax-errors.js | 24 +- .../noEmit/when-project-has-strict-true.js | 18 +- ...rrors-with-declaration-with-incremental.js | 48 +- .../multiFile/dts-errors-with-declaration.js | 28 +- .../multiFile/dts-errors-with-incremental.js | 48 +- .../tsc/noEmitOnError/multiFile/dts-errors.js | 28 +- ...-before-fixing-error-with-noEmitOnError.js | 26 +- ...rrors-with-declaration-with-incremental.js | 41 +- .../semantic-errors-with-declaration.js | 21 +- .../semantic-errors-with-incremental.js | 41 +- .../multiFile/semantic-errors.js | 21 +- ...rrors-with-declaration-with-incremental.js | 41 +- .../syntax-errors-with-declaration.js | 21 +- .../syntax-errors-with-incremental.js | 41 +- .../noEmitOnError/multiFile/syntax-errors.js | 21 +- ...en-declarationMap-changes-discrepancies.js | 4 +- .../multiFile/when-declarationMap-changes.js | 30 +- ...rrors-with-declaration-with-incremental.js | 30 +- .../outFile/dts-errors-with-declaration.js | 10 +- .../outFile/dts-errors-with-incremental.js | 30 +- .../tsc/noEmitOnError/outFile/dts-errors.js | 10 +- ...-before-fixing-error-with-noEmitOnError.js | 26 +- ...rrors-with-declaration-with-incremental.js | 30 +- .../semantic-errors-with-declaration.js | 10 +- .../semantic-errors-with-incremental.js | 30 +- .../noEmitOnError/outFile/semantic-errors.js | 10 +- ...rrors-with-declaration-with-incremental.js | 30 +- .../outFile/syntax-errors-with-declaration.js | 10 +- .../outFile/syntax-errors-with-incremental.js | 30 +- .../noEmitOnError/outFile/syntax-errors.js | 10 +- .../outFile/when-declarationMap-changes.js | 26 +- ...nterop-uses-referenced-project-settings.js | 4 +- ...erveConstEnums-and-verbatimModuleSyntax.js | 2 + ...ule-disallows-synthetic-default-imports.js | 2 + ...erenced-project-with-preserveConstEnums.js | 8 +- ...ject-contains-invalid-project-reference.js | 2 + ...eferences-composite-project-with-noEmit.js | 5 +- .../default-setup-was-created-correctly.js | 13 +- ...snt-infer-the-rootDir-from-source-paths.js | 15 +- ...rors-when-a-file-is-outside-the-rootdir.js | 16 +- .../errors-when-declaration-=-false.js | 15 +- ...rs-when-the-file-list-is-not-exhaustive.js | 16 +- ...hen-the-referenced-project-doesnt-exist.js | 15 +- ...eferenced-project-doesnt-have-composite.js | 15 +- ...g-when-module-reference-is-not-relative.js | 15 +- ...ce-error-when-the-input-file-is-missing.js | 13 +- .../redirects-to-the-output-dts-file.js | 17 +- .../tsc/redirect/when-redirecting-ts-file.js | 18 +- .../createWatchOfConfigFile.js | 12 +- ...Result-on-WatchCompilerHostOfConfigFile.js | 12 +- .../consoleClearing/with---diagnostics.js | 12 +- .../with---extendedDiagnostics.js | 14 +- .../with---preserveWatchOutput.js | 12 +- ...---diagnostics-or---extendedDiagnostics.js | 12 +- ...ms-correctly-in-incremental-compilation.js | 28 +- ...s-deleted-and-created-as-part-of-change.js | 16 +- ...ndles-new-lines-carriageReturn-lineFeed.js | 16 +- .../handles-new-lines-lineFeed.js | 16 +- .../should-emit-specified-file.js | 51 +- ...elf-if-'--isolatedModules'-is-specified.js | 39 +- ...-if-'--out'-or-'--outFile'-is-specified.js | 8 +- ...should-be-up-to-date-with-deleted-files.js | 41 +- ...-be-up-to-date-with-newly-created-files.js | 47 +- ...-to-date-with-the-reference-map-changes.js | 70 +- ...les-referencing-it-if-its-shape-changed.js | 48 +- ...should-detect-changes-in-non-root-files.js | 38 +- .../should-detect-non-existing-code-file.js | 35 +- .../should-detect-removed-code-file.js | 24 +- ...ll-files-if-a-global-file-changed-shape.js | 36 +- ...ould-return-cascaded-affected-file-list.js | 66 +- ...fine-for-files-with-circular-references.js | 29 +- .../config-does-not-have-out-or-outFile.js | 30 +- .../config-has-out.js | 24 +- .../config-has-outFile.js | 22 +- ...-recursive-directory-watcher-is-invoked.js | 12 +- ...rrors-for-.d.ts-change-with-incremental.js | 54 +- .../errors-for-.d.ts-change.js | 22 +- .../errors-for-.ts-change-with-incremental.js | 121 ++-- .../errors-for-.ts-change.js | 89 +-- ...el-import-that-changes-with-incremental.js | 69 +- ...g-a-deep-multilevel-import-that-changes.js | 37 +- .../export-with-incremental.js | 143 ++-- .../no-circular-import/export.js | 103 +-- .../exports-with-incremental.js | 156 ++--- .../yes-circular-import/exports.js | 116 +-- ...rrors-for-.d.ts-change-with-incremental.js | 54 +- .../errors-for-.d.ts-change.js | 22 +- .../errors-for-.ts-change-with-incremental.js | 121 ++-- .../errors-for-.ts-change.js | 89 +-- ...el-import-that-changes-with-incremental.js | 69 +- ...g-a-deep-multilevel-import-that-changes.js | 37 +- .../export-with-incremental.js | 143 ++-- .../no-circular-import/export.js | 103 +-- .../exports-with-incremental.js | 156 ++--- .../yes-circular-import/exports.js | 116 +-- ...rrors-for-.d.ts-change-with-incremental.js | 54 +- .../errors-for-.d.ts-change.js | 22 +- .../errors-for-.ts-change-with-incremental.js | 121 ++-- .../errors-for-.ts-change.js | 89 +-- ...el-import-that-changes-with-incremental.js | 69 +- ...g-a-deep-multilevel-import-that-changes.js | 37 +- .../export-with-incremental.js | 143 ++-- .../no-circular-import/export.js | 103 +-- .../exports-with-incremental.js | 156 ++--- .../yes-circular-import/exports.js | 116 +-- ...rrors-for-.d.ts-change-with-incremental.js | 54 +- .../errors-for-.d.ts-change.js | 22 +- .../errors-for-.ts-change-with-incremental.js | 121 ++-- .../errors-for-.ts-change.js | 89 +-- ...el-import-that-changes-with-incremental.js | 69 +- ...g-a-deep-multilevel-import-that-changes.js | 37 +- .../export-with-incremental.js | 143 ++-- .../no-circular-import/export.js | 103 +-- .../exports-with-incremental.js | 156 ++--- .../yes-circular-import/exports.js | 116 +-- ...rrors-for-.d.ts-change-with-incremental.js | 54 +- .../errors-for-.d.ts-change.js | 22 +- .../errors-for-.ts-change-with-incremental.js | 121 ++-- .../errors-for-.ts-change.js | 89 +-- ...el-import-that-changes-with-incremental.js | 69 +- ...g-a-deep-multilevel-import-that-changes.js | 37 +- .../export-with-incremental.js | 143 ++-- .../no-circular-import/export.js | 103 +-- .../exports-with-incremental.js | 156 ++--- .../yes-circular-import/exports.js | 116 +-- ...rrors-for-.d.ts-change-with-incremental.js | 54 +- .../errors-for-.d.ts-change.js | 22 +- .../errors-for-.ts-change-with-incremental.js | 121 ++-- .../errors-for-.ts-change.js | 89 +-- ...el-import-that-changes-with-incremental.js | 69 +- ...g-a-deep-multilevel-import-that-changes.js | 37 +- .../export-with-incremental.js | 143 ++-- .../no-circular-import/export.js | 103 +-- .../exports-with-incremental.js | 156 ++--- .../yes-circular-import/exports.js | 116 +-- .../tscWatch/extends/configDir-template.js | 45 +- .../extends/resolves-the-symlink-path.js | 25 +- .../jsxImportSource-option-changed.js | 20 +- .../self-name-package-reference.js | 20 +- ...n-Windows-style-drive-root-is-lowercase.js | 44 +- ...n-Windows-style-drive-root-is-uppercase.js | 44 +- ...ry-symlink-target-and-import-match-disk.js | 18 +- ...le-symlink-target-and-import-match-disk.js | 60 +- ...nging-module-name-with-different-casing.js | 35 +- ...target-matches-disk-but-import-does-not.js | 18 +- ...m-multiple-places-with-different-casing.js | 32 +- ...target-matches-disk-but-import-does-not.js | 60 +- ...link-target,-and-disk-are-all-different.js | 18 +- ...link-target,-and-disk-are-all-different.js | 60 +- ...link-target-agree-but-do-not-match-disk.js | 18 +- ...link-target-agree-but-do-not-match-disk.js | 60 +- ...k-but-directory-symlink-target-does-not.js | 18 +- ...s-disk-but-file-symlink-target-does-not.js | 60 +- ...ative-information-file-location-changes.js | 55 +- ...hen-renaming-file-with-different-casing.js | 29 +- .../with-nodeNext-resolution.js | 50 +- ...editing-module-augmentation-incremental.js | 28 +- .../editing-module-augmentation-watch.js | 34 +- ...lpers-backing-types-removed-incremental.js | 56 +- ...portHelpers-backing-types-removed-watch.js | 33 +- ...tSource-backing-types-added-incremental.js | 30 +- ...xImportSource-backing-types-added-watch.js | 36 +- ...ource-backing-types-removed-incremental.js | 30 +- ...mportSource-backing-types-removed-watch.js | 36 +- ...ImportSource-option-changed-incremental.js | 44 +- .../jsxImportSource-option-changed-watch.js | 50 +- .../own-file-emit-with-errors-incremental.js | 26 +- .../own-file-emit-with-errors-watch.js | 32 +- ...wn-file-emit-without-errors-incremental.js | 26 +- .../own-file-emit-without-errors-watch.js | 32 +- .../with---out-incremental.js | 14 +- .../module-compilation/with---out-watch.js | 16 +- .../own-file-emit-with-errors-incremental.js | 34 +- .../own-file-emit-with-errors-watch.js | 40 +- ...eters-that-are-not-relative-incremental.js | 34 +- ...-parameters-that-are-not-relative-watch.js | 40 +- ...without-commandline-options-incremental.js | 34 +- .../without-commandline-options-watch.js | 40 +- .../incremental/tsbuildinfo-has-error.js | 23 +- ...declaration-file-is-deleted-incremental.js | 28 +- ...lobal-declaration-file-is-deleted-watch.js | 34 +- .../incremental/with---out-incremental.js | 18 +- .../tscWatch/incremental/with---out-watch.js | 20 +- .../tscWatch/libraryResolution/unknwon-lib.js | 177 +++-- .../with-config-with-redirection.js | 17 +- .../tscWatch/libraryResolution/with-config.js | 17 +- .../without-config-with-redirection.js | 17 +- .../libraryResolution/without-config.js | 17 +- .../moduleResolution/alternateResult.js | 93 +-- ...ent-module-names-are-resolved-correctly.js | 40 +- .../diagnostics-from-cache.js | 10 +- .../late-discovered-dependency-symlink.js | 116 +-- ...esolutions-from-file-are-partially-used.js | 28 +- ...s-with-partially-used-import-attributes.js | 28 +- .../type-reference-resolutions-reuse.js | 23 +- ...-reference-resolutions-with-impliedMode.js | 24 +- ...for-changes-to-package-json-main-fields.js | 33 +- .../dts-errors-with-incremental-as-modules.js | 84 +-- .../multiFile/dts-errors-with-incremental.js | 81 ++- ...dts-enabled-with-incremental-as-modules.js | 84 +-- ...rs-without-dts-enabled-with-incremental.js | 81 ++- .../dts-errors-without-dts-enabled.js | 41 +- .../tscWatch/noEmit/multiFile/dts-errors.js | 41 +- ...ntic-errors-with-incremental-as-modules.js | 72 +- .../semantic-errors-with-incremental.js | 72 +- .../noEmit/multiFile/semantic-errors.js | 32 +- ...ntax-errors-with-incremental-as-modules.js | 79 +-- .../syntax-errors-with-incremental.js | 68 +- .../noEmit/multiFile/syntax-errors.js | 26 +- .../dts-errors-with-incremental-as-modules.js | 76 +- .../outFile/dts-errors-with-incremental.js | 77 +- ...dts-enabled-with-incremental-as-modules.js | 76 +- ...rs-without-dts-enabled-with-incremental.js | 77 +- .../outFile/dts-errors-without-dts-enabled.js | 29 +- .../tscWatch/noEmit/outFile/dts-errors.js | 29 +- ...ntic-errors-with-incremental-as-modules.js | 66 +- .../semantic-errors-with-incremental.js | 68 +- .../noEmit/outFile/semantic-errors.js | 20 +- ...ntax-errors-with-incremental-as-modules.js | 66 +- .../outFile/syntax-errors-with-incremental.js | 70 +- .../tscWatch/noEmit/outFile/syntax-errors.js | 22 +- ...Error-with-declaration-with-incremental.js | 96 ++- .../noEmitOnError-with-declaration.js | 48 +- .../noEmitOnError-with-incremental.js | 96 ++- .../noEmitOnError/multiFile/noEmitOnError.js | 48 +- ...Error-with-declaration-with-incremental.js | 76 +- .../outFile/noEmitOnError-with-declaration.js | 28 +- .../outFile/noEmitOnError-with-incremental.js | 76 +- .../noEmitOnError/outFile/noEmitOnError.js | 28 +- ...nerated-when-the-config-file-has-errors.js | 12 +- ...configFile-contents-when-options-change.js | 12 +- ...rs-document-is-not-contained-in-project.js | 10 +- ...rts-errors-when-the-config-file-changes.js | 16 +- ...en-'--allowArbitraryExtensions'-changes.js | 23 +- ...nostics-when-'--noUnusedLabels'-changes.js | 18 +- ...-a-configured-program-without-file-list.js | 20 +- ...hould-remove-the-module-not-found-error.js | 56 +- ...has-changed-(new-file-in-list-of-files).js | 20 +- ...ot-files-has-changed-(new-file-on-disk).js | 20 +- ...-root-files-has-changed-through-include.js | 24 +- ...config-file-name-with-difference-casing.js | 12 +- ...-when-set-of-root-files-was-not-changed.js | 20 +- .../programUpdates/change-module-to-none.js | 23 +- ...iles-are-reflected-in-project-structure.js | 68 +- .../config-file-includes-the-file.js | 23 +- .../programUpdates/config-file-is-deleted.js | 14 +- ...keys-differ-only-in-directory-seperator.js | 57 +- ...te-configured-project-without-file-list.js | 14 +- .../create-watch-without-config-file.js | 16 +- ...eleted-files-affect-project-structure-2.js | 55 +- .../deleted-files-affect-project-structure.js | 55 +- .../extended-source-files-are-watched.js | 42 +- .../file-in-files-is-deleted.js | 18 +- ...iles-explicitly-excluded-in-config-file.js | 14 +- .../handle-recreated-files-correctly.js | 52 +- ...se-they-were-added-with-tripleSlashRefs.js | 22 +- ...esnt-have-errors,-they-are-not-reported.js | 12 +- ...tore-the-states-for-configured-projects.js | 70 +- ...estore-the-states-for-inferred-projects.js | 65 +- ...rors-correctly-with-file-not-in-rootDir.js | 20 +- ...s-errors-correctly-with-isolatedModules.js | 28 +- ...non-existing-directories-in-config-file.js | 12 +- ...ting-files-specified-in-the-config-file.js | 10 +- .../declarationDir-is-specified.js | 12 +- ...-outDir-and-declarationDir-is-specified.js | 12 +- .../when-outDir-is-specified.js | 12 +- .../with-outFile.js | 10 +- ...e-is-specified-with-declaration-enabled.js | 12 +- .../without-outDir-or-outFile-is-specified.js | 12 +- ...odule-resolution-changes-in-config-file.js | 18 +- .../should-reflect-change-in-config-file.js | 40 +- ...should-support-files-without-extensions.js | 12 +- ...errors-and-still-try-to-build-a-project.js | 12 +- ...when-file-changes-from-global-to-module.js | 17 +- ...programs-are-not-affected-by-each-other.js | 48 +- ...-from-config-file-path-if-config-exists.js | 12 +- ...exists-but-does-not-specifies-typeRoots.js | 10 +- .../updates-emit-on-jsx-option-add.js | 18 +- .../updates-emit-on-jsx-option-change.js | 18 +- ...-emit-when-verbatimModuleSyntax-changes.js | 63 +- ...on-emit-is-disabled-in-compiler-options.js | 18 +- .../with-default-options.js | 49 +- .../with-skipDefaultLibCheck.js | 44 +- .../with-skipLibCheck.js | 39 +- .../with-default-options.js | 46 +- .../with-skipDefaultLibCheck.js | 41 +- .../with-skipLibCheck.js | 36 +- ...when-ambient-modules-of-program-changes.js | 26 +- ...orceConsistentCasingInFileNames-changes.js | 26 +- ...s-errors-when-noErrorTruncation-changes.js | 14 +- ...es-errors-when-strictNullChecks-changes.js | 22 +- ...solution-when-resolveJsonModule-changes.js | 15 +- ...and-new-file-is-added-as-part-of-change.js | 16 +- ...ImportingTsExtensions`-of-config-file-2.js | 16 +- ...owImportingTsExtensions`-of-config-file.js | 16 +- .../when-changing-checkJs-of-config-file.js | 19 +- ...checkedSideEffectImports-of-config-file.js | 20 +- .../when-creating-extensionless-file.js | 12 +- ...n-creating-new-file-in-symlinked-folder.js | 31 +- ...file-is-added-to-the-referenced-project.js | 77 +- ...ibCheck-and-skipDefaultLibCheck-changes.js | 129 +--- ...-file-is-changed-but-its-content-havent.js | 14 +- .../on-sample-project.js | 358 +++------- ...-different-folders-with-no-files-clause.js | 202 +++--- ...nsitive-references-in-different-folders.js | 202 +++--- .../on-transitive-references.js | 202 +++--- ...atch-options-differing-between-projects.js | 30 +- ...n-declarationMap-changes-for-dependency.js | 119 +--- ...roject-uses-different-module-resolution.js | 66 +- .../tscWatch/resolutionCache/caching-works.js | 18 +- .../watch-with-configFile.js | 13 +- .../watch-without-configFile.js | 13 +- .../loads-missing-files-from-disk.js | 12 +- .../reusing-type-ref-resolution.js | 68 +- .../scoped-package-installation.js | 36 +- ...module-goes-missing-and-then-comes-back.js | 16 +- ...-watcher-is-invoked-without-file-change.js | 42 +- ...are-global-and-installed-at-later-point.js | 14 +- .../with-modules-linked-to-sibling-folder.js | 8 +- ...cluded-file-with-ambient-module-changes.js | 15 +- ...-no-notification-from-fs-for-index-file.js | 32 +- ...le-resolution-changes-to-ambient-module.js | 19 +- ...der-that-already-contains-@types-folder.js | 19 +- ...rogram-with-files-from-external-library.js | 22 +- ...-prefers-declaration-file-over-document.js | 29 +- ...es-field-when-solution-is-already-built.js | 50 +- ...Symlinks-when-solution-is-already-built.js | 50 +- ...n-has-types-field-with-preserveSymlinks.js | 28 +- ...-package-when-solution-is-already-built.js | 50 +- ...Symlinks-when-solution-is-already-built.js | 50 +- ...th-scoped-package-with-preserveSymlinks.js | 28 +- ...son-has-types-field-with-scoped-package.js | 28 +- .../when-packageJson-has-types-field.js | 28 +- ...ubFolder-when-solution-is-already-built.js | 50 +- ...Symlinks-when-solution-is-already-built.js | 50 +- ...le-from-subFolder-with-preserveSymlinks.js | 28 +- ...-package-when-solution-is-already-built.js | 50 +- ...Symlinks-when-solution-is-already-built.js | 50 +- ...th-scoped-package-with-preserveSymlinks.js | 28 +- ...file-from-subFolder-with-scoped-package.js | 28 +- .../when-referencing-file-from-subFolder.js | 28 +- .../packages-outside-project-folder-Linux.js | 179 ++--- .../packages-outside-project-folder-MacOs.js | 171 ++--- ...packages-outside-project-folder-Windows.js | 159 ++--- ...ages-outside-project-folder-built-Linux.js | 163 ++--- ...ages-outside-project-folder-built-MacOs.js | 159 ++--- ...es-outside-project-folder-built-Windows.js | 149 +--- .../extraFileExtensions-are-supported.js | 16 +- ...not-implement-hasInvalidatedResolutions.js | 28 +- ...st-implements-hasInvalidatedResolutions.js | 26 +- ...noEmit-with-composite-with-emit-builder.js | 94 ++- ...it-with-composite-with-semantic-builder.js | 94 ++- ...nError-with-composite-with-emit-builder.js | 56 +- ...or-with-composite-with-semantic-builder.js | 56 +- .../multiFile/semantic-builder-emitOnlyDts.js | 32 +- ...createSemanticDiagnosticsBuilderProgram.js | 12 +- .../when-emitting-with-emitOnlyDtsFiles.js | 30 +- ...noEmit-with-composite-with-emit-builder.js | 78 ++- ...it-with-composite-with-semantic-builder.js | 76 +- ...nError-with-composite-with-emit-builder.js | 48 +- ...or-with-composite-with-semantic-builder.js | 48 +- .../outFile/semantic-builder-emitOnlyDts.js | 32 +- ...createSemanticDiagnosticsBuilderProgram.js | 8 +- .../when-emitting-with-emitOnlyDtsFiles.js | 30 +- ...n-works-when-returned-without-extension.js | 10 +- ...assed-down-to-the-watch-status-reporter.js | 14 +- ...ing-useSourceOfProjectReferenceRedirect.js | 77 +- ...-host-implementing-getParsedCommandLine.js | 41 +- ...oject-when-there-is-no-config-file-name.js | 20 +- ...tends-when-there-is-no-config-file-name.js | 22 +- ...-timesouts-on-host-program-gets-updated.js | 20 +- .../fsEvent-for-change-is-repeated.js | 24 +- ...tamp-false-useFsEventsOnParentDirectory.js | 24 +- .../fsWatch/fsWatchWithTimestamp-false.js | 26 +- ...stamp-true-useFsEventsOnParentDirectory.js | 24 +- .../fsWatch/fsWatchWithTimestamp-true.js | 28 +- ...inode-when-rename-event-ends-with-tilde.js | 32 +- ...e-occurs-when-file-is-still-on-the-disk.js | 35 +- ...when-using-file-watching-thats-on-inode.js | 32 +- ...e-occurs-when-file-is-still-on-the-disk.js | 25 +- ...polling-when-renaming-file-in-subfolder.js | 22 +- ...rectory-when-renaming-file-in-subfolder.js | 22 +- ...tchFile-when-renaming-file-in-subfolder.js | 22 +- ...-folders-with-synchronousWatchDirectory.js | 31 +- ...ymlinks-to-folders-in-recursive-folders.js | 35 +- ...hronous-watch-directory-renaming-a-file.js | 39 +- ...ory-with-outDir-and-declaration-enabled.js | 24 +- .../with-non-synchronous-watch-directory.js | 39 +- .../using-dynamic-priority-polling.js | 14 +- .../using-fixed-chunk-size-polling.js | 18 +- ...eDirectories-option-extendedDiagnostics.js | 18 +- ...-directory-watching-extendedDiagnostics.js | 20 +- ...ption-with-recursive-directory-watching.js | 18 +- .../with-excludeDirectories-option.js | 16 +- ...excludeFiles-option-extendedDiagnostics.js | 18 +- .../watchOptions/with-excludeFiles-option.js | 16 +- .../with-fallbackPolling-option.js | 16 +- .../with-watchDirectory-option.js | 16 +- ...th-watchFile-as-watch-options-to-extend.js | 14 +- .../watchOptions/with-watchFile-option.js | 14 +- .../with-applyChangedToOpenFiles-request.js | 30 +- .../with-updateOpen-request.js | 30 +- ...e-is-in-inferred-project-until-imported.js | 34 +- ...roviderProject-when-host-project-closes.js | 34 +- ...-are-redirects-that-dont-actually-exist.js | 14 +- ...ider-if-there-are-too-many-dependencies.js | 14 +- ...pening-projects-for-find-all-references.js | 30 +- ...s-on-AutoImportProviderProject-creation.js | 16 +- ...covers-from-an-unparseable-package_json.js | 18 +- ...ds-to-automatic-changes-in-node_modules.js | 18 +- ...ponds-to-manual-changes-in-node_modules.js | 38 +- .../Responds-to-package_json-changes.js | 18 +- ...der-when-program-structure-is-unchanged.js | 18 +- ...een-AutoImportProvider-and-main-program.js | 14 +- ...ependencies-are-already-in-main-program.js | 14 +- .../projects-already-inside-node_modules.js | 24 +- .../without-dependencies-listed.js | 14 +- ...-not-remove-scrips-from-InferredProject.js | 38 +- ...-added-later-through-finding-definition.js | 20 +- ...olution-is-reused-from-different-folder.js | 18 +- ...-FLLs-in-Classic-module-resolution-mode.js | 26 +- ...der-FLLs-in-Node-module-resolution-mode.js | 26 +- ...-when-timeout-occurs-after-installation.js | 28 +- ...n-timeout-occurs-inbetween-installation.js | 32 +- ...n-creating-new-file-in-symlinked-folder.js | 24 +- ...eive-event-for-the-@types-file-addition.js | 26 +- .../cancellationT/Geterr-is-cancellable.js | 14 +- .../Lower-priority-tasks-are-cancellable.js | 14 +- .../cancellationT/is-attached-to-request.js | 14 +- .../install-package-when-serialized.js | 14 +- .../tsserver/codeFix/install-package.js | 14 +- ...quest-when-projectFile-is-not-specified.js | 36 +- ...stRequest-when-projectFile-is-specified.js | 34 +- ...utFile-should-be-true-if-outFile-is-set.js | 14 +- ...tFile-should-not-be-returned-if-not-set.js | 14 +- ...ojects-all-projects-without-projectPath.js | 28 +- ...figProjects-cascaded-affected-file-list.js | 24 +- .../configProjects-circular-references.js | 18 +- .../configProjects-compileOnSave-disabled.js | 14 +- ...Projects-compileOnSave-in-base-tsconfig.js | 18 +- ...ojects-detect-changes-in-non-root-files.js | 26 +- ...onfigProjects-global-file-shape-changed.js | 20 +- .../configProjects-isolatedModules.js | 18 +- .../configProjects-module-shape-changed.js | 26 +- .../compileOnSave/configProjects-noEmit.js | 14 +- .../configProjects-non-existing-code.js | 14 +- .../compileOnSave/configProjects-outFile.js | 18 +- .../configProjects-removed-code.js | 22 +- ...uptodate-with-changes-in-non-open-files.js | 22 +- ...figProjects-uptodate-with-deleted-files.js | 24 +- .../configProjects-uptodate-with-new-files.js | 28 +- ...cts-uptodate-with-reference-map-changes.js | 30 +- ...ileChange-in-global-file-with-composite.js | 18 +- ...ange-in-global-file-with-decorator-emit.js | 18 +- ...FileChange-in-global-file-with-dts-emit.js | 18 +- .../dtsFileChange-in-global-file.js | 18 +- .../dtsFileChange-in-module-file.js | 18 +- .../emit-in-project-with-dts-emit.js | 36 +- ...it-in-project-with-module-with-dts-emit.js | 41 +- .../emit-in-project-with-module.js | 43 +- .../tsserver/compileOnSave/emit-in-project.js | 38 +- .../compileOnSave/emit-specified-file.js | 23 +- .../emit-with-richRepsonse-as-false.js | 26 +- .../emit-with-richRepsonse-as-true.js | 26 +- .../emit-with-richRepsonse-as-undefined.js | 26 +- .../tsserver/compileOnSave/line-endings.js | 28 +- ...-not-emit-js-files-in-external-projects.js | 14 +- .../use-projectRoot-as-current-directory.js | 14 +- ...hout-includeCompletionsForModuleExports.js | 22 +- ...-with-path-mapping-with-existing-import.js | 24 +- ...hout-includeCompletionsForModuleExports.js | 22 +- ...oject-reference-setup-with-path-mapping.js | 24 +- ...mports-but-has-project-references-setup.js | 16 +- ...ed-from-two-different-drives-of-windows.js | 24 +- .../reference/tsserver/completions/works.js | 18 +- ...-not-count-against-the-resolution-limit.js | 18 +- ...ailable-from-module-specifier-cache-(1).js | 18 +- ...ailable-from-module-specifier-cache-(2).js | 26 +- ...-for-transient-symbols-between-requests.js | 22 +- ...orks-with-PackageJsonAutoImportProvider.js | 22 +- .../tsserver/completionsIncomplete/works.js | 26 +- ...should-stop-at-projectRootPath-if-given.js | 34 +- ...-searching-for-inferred-project-again-2.js | 24 +- ...en-searching-for-inferred-project-again.js | 24 +- .../tsconfig-for-the-file-does-not-exist.js | 36 +- .../tsconfig-for-the-file-exists.js | 28 +- .../when-projectRootPath-is-not-present.js | 24 +- ...esent-but-file-is-not-from-project-root.js | 24 +- ...-are-all-closed-when-the-update-happens.js | 54 +- ...oject-as-part-of-configured-file-update.js | 82 +-- ...onfig-file-in-a-folder-with-loose-files.js | 160 ++--- ...-and-file-from-first-config-is-not-open.js | 138 ++-- ...file-when-parent-folder-has-config-file.js | 458 ++++++------ ...-and-file-from-first-config-is-not-open.js | 138 ++-- ...-config-file-with-sibling-jsconfig-file.js | 458 ++++++------ ...-a-configured-project-without-file-list.js | 24 +- ...has-changed-(new-file-in-list-of-files).js | 24 +- ...ot-files-has-changed-(new-file-on-disk).js | 24 +- ...-when-set-of-root-files-was-not-changed.js | 16 +- ...on-reflected-when-specifying-files-list.js | 28 +- ...e-configured-project-with-the-file-list.js | 14 +- ...te-configured-project-without-file-list.js | 14 +- ...er-old-one-without-file-being-in-config.js | 24 +- ...invoked,-ask-errors-on-it-after-old-one.js | 22 +- ...re-old-one-without-file-being-in-config.js | 24 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 22 +- ...er-old-one-without-file-being-in-config.js | 24 +- ...invoked,-ask-errors-on-it-after-old-one.js | 34 +- ...re-old-one-without-file-being-in-config.js | 24 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 34 +- ...uses-parent-most-node_modules-directory.js | 14 +- ...ached-when-language-service-is-disabled.js | 46 +- ...iles-explicitly-excluded-in-config-file.js | 24 +- .../handle-recreated-files-correctly.js | 32 +- ...ject-if-it-is-referenced-from-root-file.js | 36 +- ...ndle-@types-if-input-file-list-is-empty.js | 14 +- ...server-when-reading-tsconfig-file-fails.js | 14 +- ...e-tolerated-without-crashing-the-server.js | 14 +- ...ting-files-specified-in-the-config-file.js | 24 +- ...n-if-its-not-the-file-from-same-project.js | 32 +- ...odule-resolution-changes-in-config-file.js | 52 +- ...the-extended-configs-of-closed-projects.js | 70 +- ...nclude-files-that-start-in-subDirectory.js | 14 +- ...e-extended-configs-of-multiple-projects.js | 38 +- ...rk-even-if-language-service-is-disabled.js | 14 +- ...gured-project-does-not-contain-the-file.js | 43 +- .../when-file-name-starts-with-caret.js | 14 +- ...s-not-jump-to-source-if-inlined-sources.js | 42 +- ...indAllReferences-starting-at-definition.js | 90 +-- ...findAllReferences-target-does-not-exist.js | 80 +-- .../declarationFileMaps/findAllReferences.js | 92 +-- ...rencesFull-definition-is-in-mapped-file.js | 28 +- .../findAllReferencesFull.js | 92 +-- ...nitionAndBoundSpan-with-file-navigation.js | 96 +-- .../getDefinitionAndBoundSpan.js | 80 +-- ...ect-doesnt-include-file-and-its-renamed.js | 30 +- .../getEditsForFileRename.js | 84 +-- .../goToDefinition-target-does-not-exist.js | 80 +-- .../declarationFileMaps/goToDefinition.js | 80 +-- .../declarationFileMaps/goToImplementation.js | 80 +-- .../tsserver/declarationFileMaps/goToType.js | 80 +-- .../declarationFileMaps/navigateTo.js | 80 +-- ...ll-file-is-not-specified-but-project-is.js | 48 +- ...l-neither-file-not-project-is-specified.js | 48 +- .../renameLocations-starting-at-definition.js | 90 +-- .../renameLocations-target-does-not-exist.js | 80 +-- .../declarationFileMaps/renameLocations.js | 92 +-- .../renameLocationsFull.js | 92 +-- ...-orphan,-and-orphan-script-info-changes.js | 38 +- ...he-source-file-if-script-info-is-orphan.js | 38 +- ...n-script-info-with-different-scriptKind.js | 32 +- .../works-with-import-fixes.js | 18 +- .../dynamicFiles/chat-block-with-imports.js | 30 +- ...eInferredProjectPerProjectRoot-is-false.js | 22 +- ...h-with-useInferredProjectPerProjectRoot.js | 40 +- ...eference-paths-without-external-project.js | 22 +- .../dynamic-file-without-external-project.js | 16 +- ...Path-is-different-from-currentDirectory.js | 42 +- ...ut-inferred-project-per-projectRootPath.js | 14 +- .../dynamicFiles/opening-untitled-files.js | 52 +- ...tled-can-convert-positions-to-locations.js | 24 +- .../tsserver/dynamicFiles/untitled.js | 14 +- .../dynamicFiles/walkThroughSnippet.js | 14 +- ...anging-scriptKind-of-the-untitled-files.js | 24 +- ...s-file-is-included-by-module-resolution.js | 14 +- ...n-large-js-file-is-included-by-tsconfig.js | 14 +- ...s-file-is-included-by-module-resolution.js | 14 +- ...n-large-ts-file-is-included-by-tsconfig.js | 14 +- ...e-service-disabled-events-are-triggered.js | 28 +- ...large-file-size-is-determined-correctly.js | 14 +- ...g-file-when-using-default-event-handler.js | 14 +- ...ed-config-file-when-using-event-handler.js | 14 +- ...g-file-when-using-default-event-handler.js | 14 +- ...he-config-file-when-using-event-handler.js | 14 +- ...sabled-when-using-default-event-handler.js | 14 +- ...ct-is-disabled-when-using-event-handler.js | 14 +- ...-false-when-using-default-event-handler.js | 14 +- ...oject-is-false-when-using-event-handler.js | 14 +- ...opened-when-using-default-event-handler.js | 14 +- ...file-is-opened-when-using-event-handler.js | 14 +- ...direct-when-using-default-event-handler.js | 24 +- ...erenceRedirect-when-using-event-handler.js | 24 +- ...roject-when-using-default-event-handler.js | 24 +- ...cation-project-when-using-event-handler.js | 24 +- ...n-file-when-using-default-event-handler.js | 24 +- ...d-by-open-file-when-using-event-handler.js | 24 +- ...he-session-and-project-is-at-root-level.js | 20 +- ...ession-and-project-is-not-at-root-level.js | 32 +- ...tself-if---isolatedModules-is-specified.js | 24 +- ...self-if---out-or---outFile-is-specified.js | 24 +- ...should-be-up-to-date-with-deleted-files.js | 24 +- ...-be-up-to-date-with-newly-created-files.js | 24 +- ...-to-date-with-the-reference-map-changes.js | 50 +- ...session-and-should-contains-only-itself.js | 30 +- ...should-detect-changes-in-non-root-files.js | 30 +- ...nd-should-detect-non-existing-code-file.js | 28 +- ...ion-and-should-detect-removed-code-file.js | 16 +- ...ll-files-if-a-global-file-changed-shape.js | 24 +- ...ould-return-cascaded-affected-file-list.js | 40 +- ...fine-for-files-with-circular-references.js | 26 +- ...n-the-session-and-when---outFile-is-set.js | 30 +- ...in-the-session-and-when-adding-new-file.js | 34 +- ...ssion-and-when-both-options-are-not-set.js | 30 +- ...oundUpdate-and-project-is-at-root-level.js | 20 +- ...Update-and-project-is-not-at-root-level.js | 32 +- ...tself-if---isolatedModules-is-specified.js | 24 +- ...self-if---out-or---outFile-is-specified.js | 24 +- ...should-be-up-to-date-with-deleted-files.js | 24 +- ...-be-up-to-date-with-newly-created-files.js | 24 +- ...-to-date-with-the-reference-map-changes.js | 50 +- ...dUpdate-and-should-contains-only-itself.js | 30 +- ...should-detect-changes-in-non-root-files.js | 30 +- ...nd-should-detect-non-existing-code-file.js | 28 +- ...ate-and-should-detect-removed-code-file.js | 16 +- ...ll-files-if-a-global-file-changed-shape.js | 24 +- ...ould-return-cascaded-affected-file-list.js | 40 +- ...fine-for-files-with-circular-references.js | 26 +- ...kgroundUpdate-and-when---outFile-is-set.js | 30 +- ...ckgroundUpdate-and-when-adding-new-file.js | 34 +- ...pdate-and-when-both-options-are-not-set.js | 30 +- ...oundUpdate-and-project-is-at-root-level.js | 20 +- ...Update-and-project-is-not-at-root-level.js | 32 +- ...tself-if---isolatedModules-is-specified.js | 24 +- ...self-if---out-or---outFile-is-specified.js | 24 +- ...should-be-up-to-date-with-deleted-files.js | 24 +- ...-be-up-to-date-with-newly-created-files.js | 24 +- ...-to-date-with-the-reference-map-changes.js | 50 +- ...dUpdate-and-should-contains-only-itself.js | 30 +- ...should-detect-changes-in-non-root-files.js | 30 +- ...nd-should-detect-non-existing-code-file.js | 28 +- ...ate-and-should-detect-removed-code-file.js | 16 +- ...ll-files-if-a-global-file-changed-shape.js | 24 +- ...ould-return-cascaded-affected-file-list.js | 40 +- ...fine-for-files-with-circular-references.js | 26 +- ...kgroundUpdate-and-when---outFile-is-set.js | 30 +- ...ckgroundUpdate-and-when-adding-new-file.js | 34 +- ...pdate-and-when-both-options-are-not-set.js | 30 +- .../canUseWatchEvents-on-windows.js | 76 +- .../canUseWatchEvents-without-canUseEvents.js | 70 +- .../events/watchEvents/canUseWatchEvents.js | 76 +- .../caches-auto-imports-in-the-same-file.js | 18 +- ...ckage.json-is-changed-inconsequentially.js | 18 +- ...s-inconsequentially-referencedInProject.js | 28 +- ...enced-project-changes-inconsequentially.js | 26 +- ...ansient-symbols-through-program-updates.js | 22 +- ...-file-is-opened-with-different-contents.js | 24 +- ...idates-the-cache-when-files-are-deleted.js | 30 +- ...ates-the-cache-when-new-files-are-added.js | 28 +- ...ge-results-in-AutoImportProvider-change.js | 22 +- ...-changes-signatures-referencedInProject.js | 28 +- ...n-referenced-project-changes-signatures.js | 26 +- .../tsserver/extends/configDir-template.js | 26 +- .../extends/resolves-the-symlink-path.js | 14 +- ...ject-when-set-of-root-files-has-changed.js | 24 +- ...zyConfiguredProjectsFromExternalProject.js | 14 +- ...config-file-name-with-difference-casing.js | 14 +- ...-when-set-of-root-files-was-not-changed.js | 24 +- ...zyConfiguredProjectsFromExternalProject.js | 56 +- ...tly-handling-add-or-remove-tsconfig---1.js | 54 +- ...zyConfiguredProjectsFromExternalProject.js | 108 +-- ...tly-handling-add-or-remove-tsconfig---2.js | 100 +-- ...zyConfiguredProjectsFromExternalProject.js | 18 +- ...-opened-from-the-external-project-works.js | 18 +- ...t-crash-if-external-file-does-not-exist.js | 14 +- .../external-project-for-dynamic-file.js | 18 +- ...rnal-project-that-included-config-files.js | 74 +- ...fter-configured-project-and-then-closed.js | 34 +- ...ig-file-opened-after-configured-project.js | 28 +- ...re-jsconfig-creation-watcher-is-invoked.js | 34 +- ...ProjectsFromExternalProject-is-disabled.js | 34 +- ...d-state-is-updated-in-external-projects.js | 22 +- .../externalProjects/load-global-plugins.js | 14 +- .../remove-not-listed-external-projects.js | 62 +- ...non-existing-directories-in-config-file.js | 22 +- ...ose-external-project-with-no-open-files.js | 32 +- .../when-file-name-starts-with-caret.js | 14 +- ...et-and-import-match-disk-with-link-open.js | 24 +- ...rt-match-disk-with-target-and-link-open.js | 26 +- ...-and-import-match-disk-with-target-open.js | 22 +- ...ry-symlink-target-and-import-match-disk.js | 20 +- ...et-and-import-match-disk-with-link-open.js | 24 +- ...rt-match-disk-with-target-and-link-open.js | 26 +- ...-and-import-match-disk-with-target-open.js | 22 +- ...le-symlink-target-and-import-match-disk.js | 20 +- ...nging-module-name-with-different-casing.js | 18 +- ...disk-but-import-does-not-with-link-open.js | 24 +- ...port-does-not-with-target-and-link-open.js | 26 +- ...sk-but-import-does-not-with-target-open.js | 22 +- ...target-matches-disk-but-import-does-not.js | 20 +- ...m-multiple-places-with-different-casing.js | 32 +- ...disk-but-import-does-not-with-link-open.js | 24 +- ...port-does-not-with-target-and-link-open.js | 26 +- ...sk-but-import-does-not-with-target-open.js | 22 +- ...target-matches-disk-but-import-does-not.js | 20 +- ...d-disk-are-all-different-with-link-open.js | 24 +- ...all-different-with-target-and-link-open.js | 26 +- ...disk-are-all-different-with-target-open.js | 22 +- ...link-target,-and-disk-are-all-different.js | 20 +- ...d-disk-are-all-different-with-link-open.js | 24 +- ...all-different-with-target-and-link-open.js | 26 +- ...disk-are-all-different-with-target-open.js | 22 +- ...link-target,-and-disk-are-all-different.js | 20 +- ...ee-but-do-not-match-disk-with-link-open.js | 24 +- ...ot-match-disk-with-target-and-link-open.js | 26 +- ...-but-do-not-match-disk-with-target-open.js | 22 +- ...link-target-agree-but-do-not-match-disk.js | 20 +- ...ee-but-do-not-match-disk-with-link-open.js | 24 +- ...ot-match-disk-with-target-and-link-open.js | 26 +- ...-but-do-not-match-disk-with-target-open.js | 22 +- ...link-target-agree-but-do-not-match-disk.js | 20 +- ...-symlink-target-does-not-with-link-open.js | 24 +- ...rget-does-not-with-target-and-link-open.js | 26 +- ...ymlink-target-does-not-with-target-open.js | 22 +- ...k-but-directory-symlink-target-does-not.js | 20 +- ...-symlink-target-does-not-with-link-open.js | 24 +- ...rget-does-not-with-target-and-link-open.js | 26 +- ...ymlink-target-does-not-with-target-open.js | 22 +- ...s-disk-but-file-symlink-target-does-not.js | 20 +- ...ied-with-a-case-insensitive-file-system.js | 14 +- ...hen-renaming-file-with-different-casing.js | 32 +- ...ied-with-a-case-insensitive-file-system.js | 14 +- .../autoImportCrossPackage_pathsAndSymlink.js | 2 +- .../autoImportCrossProject_baseUrl_toDist.js | 2 +- ...toImportCrossProject_paths_sharedOutDir.js | 2 +- .../autoImportCrossProject_paths_stripSrc.js | 2 +- .../autoImportCrossProject_paths_toDist.js | 2 +- .../autoImportCrossProject_paths_toDist2.js | 2 +- .../autoImportCrossProject_paths_toSrc.js | 2 +- ...utoImportCrossProject_symlinks_stripSrc.js | 2 +- .../autoImportCrossProject_symlinks_toDist.js | 2 +- .../autoImportCrossProject_symlinks_toSrc.js | 2 +- .../autoImportFileExcludePatterns1.js | 2 +- .../autoImportFileExcludePatterns2.js | 2 +- ...oImportFileExcludePatterns_networkPaths.js | 2 +- .../autoImportFileExcludePatterns_symlinks.js | 2 +- ...autoImportFileExcludePatterns_symlinks2.js | 2 +- ...oImportFileExcludePatterns_windowsPaths.js | 2 +- .../autoImportNodeModuleSymlinkRenamed.js | 2 +- ...oImportPackageJsonFilterExistingImport1.js | 2 +- ...oImportPackageJsonFilterExistingImport2.js | 2 +- ...oImportPackageJsonFilterExistingImport3.js | 2 +- .../fourslashServer/autoImportProvider1.js | 2 +- .../fourslashServer/autoImportProvider2.js | 2 +- .../fourslashServer/autoImportProvider5.js | 2 +- .../fourslashServer/autoImportProvider6.js | 2 +- .../fourslashServer/autoImportProvider7.js | 2 +- .../fourslashServer/autoImportProvider8.js | 2 +- .../fourslashServer/autoImportProvider9.js | 2 +- .../autoImportProvider_exportMap1.js | 2 +- .../autoImportProvider_exportMap2.js | 2 +- .../autoImportProvider_exportMap3.js | 2 +- .../autoImportProvider_exportMap4.js | 2 +- .../autoImportProvider_exportMap5.js | 2 +- .../autoImportProvider_exportMap6.js | 2 +- .../autoImportProvider_exportMap7.js | 2 +- .../autoImportProvider_exportMap8.js | 2 +- .../autoImportProvider_exportMap9.js | 2 +- .../autoImportProvider_globalTypingsCache.js | 2 +- .../autoImportProvider_importsMap1.js | 2 +- .../autoImportProvider_importsMap2.js | 2 +- .../autoImportProvider_importsMap3.js | 2 +- .../autoImportProvider_importsMap4.js | 2 +- .../autoImportProvider_importsMap5.js | 2 +- ...rtProvider_namespaceSameNameAsIntrinsic.js | 2 +- .../autoImportProvider_pnpm.js | 2 +- .../autoImportProvider_referencesCrash.js | 2 +- .../autoImportProvider_wildcardExports1.js | 2 +- .../autoImportProvider_wildcardExports2.js | 2 +- .../autoImportProvider_wildcardExports3.js | 2 +- .../autoImportReExportFromAmbientModule.js | 2 +- ...autoImportRelativePathToMonorepoPackage.js | 2 +- .../autoImportSymlinkedJsPackages.js | 2 +- .../tsserver/fourslashServer/brace01.js | 2 +- .../callHierarchyContainerNameServer.js | 2 +- .../completionEntryDetailAcrossFiles01.js | 2 +- .../completionEntryDetailAcrossFiles02.js | 2 +- .../tsserver/fourslashServer/completions01.js | 2 +- .../tsserver/fourslashServer/completions02.js | 2 +- .../tsserver/fourslashServer/completions03.js | 2 +- ...mport_addToNamedWithDifferentCacheValue.js | 2 +- .../completionsImport_computedSymbolName.js | 2 +- ...nsImport_defaultAndNamedConflict_server.js | 2 +- ...letionsImport_jsModuleExportsAssignment.js | 2 +- .../completionsImport_mergedReExport.js | 2 +- ...mpletionsImport_sortingModuleSpecifiers.js | 2 +- .../completionsOverridingMethodCrash2.js | 2 +- .../completionsServerCommitCharacters.js | 2 +- .../fourslashServer/configurePlugin.js | 2 +- .../convertFunctionToEs6Class-server1.js | 2 +- .../convertFunctionToEs6Class-server2.js | 2 +- .../declarationMapGoToDefinition.js | 2 +- ...ionMapsGoToDefinitionRelativeSourceRoot.js | 2 +- ...oToDefinitionSameNameDifferentDirectory.js | 2 +- .../declarationMapsOutOfDateMapping.js | 2 +- .../tsserver/fourslashServer/definition01.js | 2 +- .../fourslashServer/documentHighlights01.js | 2 +- .../fourslashServer/documentHighlights02.js | 2 +- ...ghlightsTypeParameterInHeritageClause01.js | 2 +- .../fixExtractToInnerFunctionDuplicaton.js | 2 +- .../tsserver/fourslashServer/format01.js | 2 +- .../formatBracketInSwitchCase.js | 2 +- .../tsserver/fourslashServer/formatOnEnter.js | 2 +- ...formatSpaceBetweenFunctionAndArrayIndex.js | 2 +- .../formatTrimRemainingRange.js | 2 +- .../tsserver/fourslashServer/formatonkey01.js | 2 +- .../getFileReferences_deduplicate.js | 2 +- .../getFileReferences_server1.js | 2 +- .../getFileReferences_server2.js | 2 +- .../getJavaScriptSyntacticDiagnostics01.js | 2 +- .../getJavaScriptSyntacticDiagnostics02.js | 2 +- .../getOutliningSpansForComments.js | 2 +- .../getOutliningSpansForRegions.js | 2 +- ...tliningSpansForRegionsNoSingleLineFolds.js | 2 +- .../goToDefinitionScriptImportServer.js | 2 +- .../goToImplementation_inDifferentFiles.js | 2 +- .../goToSource10_mapFromAtTypes3.js | 2 +- .../goToSource11_propertyOfAlias.js | 2 +- .../goToSource12_callbackParam.js | 2 +- .../fourslashServer/goToSource13_nodenext.js | 2 +- ...Source14_unresolvedRequireDestructuring.js | 2 +- .../fourslashServer/goToSource15_bundler.js | 2 +- ...goToSource16_callbackParamDifferentFile.js | 2 +- .../goToSource17_AddsFileToProject.js | 2 +- .../goToSource18_reusedFromDifferentFolder.js | 2 +- .../goToSource1_localJsBesideDts.js | 2 +- .../goToSource2_nodeModulesWithTypes.js | 2 +- .../goToSource3_nodeModulesAtTypes.js | 2 +- .../goToSource5_sameAsGoToDef1.js | 2 +- .../goToSource6_sameAsGoToDef2.js | 2 +- .../goToSource7_conditionallyMinified.js | 2 +- .../goToSource8_mapFromAtTypes.js | 2 +- .../goToSource9_mapFromAtTypes2.js | 2 +- .../fourslashServer/implementation01.js | 2 +- .../fourslashServer/impliedNodeFormat.js | 2 +- .../importCompletions_importsMap1.js | 2 +- .../importCompletions_importsMap2.js | 2 +- .../importCompletions_importsMap3.js | 2 +- .../importCompletions_importsMap4.js | 2 +- .../importCompletions_importsMap5.js | 2 +- ...importFixes_ambientCircularDefaultCrash.js | 2 +- ...importNameCodeFix_externalNonRelateive2.js | 2 +- .../importNameCodeFix_externalNonRelative1.js | 2 +- .../importNameCodeFix_pnpm1.js | 2 +- .../importStatementCompletions_pnpm1.js | 2 +- ...portStatementCompletions_pnpmTransitive.js | 2 +- .../importSuggestionsCache_ambient.js | 2 +- .../importSuggestionsCache_coreNodeModules.js | 2 +- .../importSuggestionsCache_exportUndefined.js | 2 +- ...portSuggestionsCache_invalidPackageJson.js | 2 +- ...portSuggestionsCache_moduleAugmentation.js | 2 +- .../isDefinitionAcrossGlobalProjects.js | 2 +- .../isDefinitionAcrossModuleProjects.js | 2 +- .../fourslashServer/jsdocCallbackTag.js | 2 +- .../jsdocCallbackTagNavigateTo.js | 2 +- .../jsdocCallbackTagRename01.js | 2 +- .../jsdocParamTagSpecialKeywords.js | 2 +- .../fourslashServer/jsdocTypedefTag.js | 2 +- .../fourslashServer/jsdocTypedefTag1.js | 2 +- .../fourslashServer/jsdocTypedefTag2.js | 2 +- .../jsdocTypedefTagGoToDefinition.js | 2 +- .../jsdocTypedefTagNamespace.js | 2 +- .../jsdocTypedefTagNavigateTo.js | 2 +- .../jsdocTypedefTagRename01.js | 2 +- .../jsdocTypedefTagRename02.js | 2 +- .../jsdocTypedefTagRename03.js | 2 +- .../jsdocTypedefTagRename04.js | 2 +- .../moveToFile_emptyTargetFile.js | 2 +- .../tsserver/fourslashServer/navbar01.js | 2 +- .../tsserver/fourslashServer/navto01.js | 2 +- .../fourslashServer/navto_serverExcludeLib.js | 2 +- .../tsserver/fourslashServer/ngProxy1.js | 2 +- .../tsserver/fourslashServer/ngProxy2.js | 2 +- .../tsserver/fourslashServer/ngProxy3.js | 2 +- .../tsserver/fourslashServer/ngProxy4.js | 2 +- .../nodeNextPathCompletions.js | 2 +- .../nonJsDeclarationFilePathCompletions.js | 2 +- .../tsserver/fourslashServer/occurrences01.js | 2 +- .../tsserver/fourslashServer/occurrences02.js | 2 +- .../tsserver/fourslashServer/openFile.js | 2 +- .../fourslashServer/openFileWithSyntaxKind.js | 2 +- .../packageJsonImportsFailedLookups.js | 2 +- .../pasteEdits_addInNextLine.js | 2 +- .../pasteEdits_blankTargetFile.js | 2 +- .../pasteEdits_defaultExport1.js | 2 +- .../pasteEdits_defaultExport2.js | 2 +- .../pasteEdits_defaultImport.js | 2 +- .../pasteEdits_existingImports1.js | 2 +- .../pasteEdits_existingImports2.js | 2 +- .../pasteEdits_globalAndLocal1.js | 2 +- .../pasteEdits_globalAndLocal2.js | 2 +- .../pasteEdits_knownSourceFile.js | 2 +- .../pasteEdits_multiplePastes1.js | 2 +- .../pasteEdits_multiplePastes2.js | 2 +- .../pasteEdits_multiplePastes3.js | 2 +- .../pasteEdits_multiplePastes4.js | 2 +- ..._multiplePastesConsistentlyLargerInSize.js | 2 +- ...multiplePastesConsistentlySmallerInSize.js | 2 +- .../pasteEdits_multiplePastesEqualInSize.js | 2 +- ...multiplePastesGrowingAndShrinkingInSize.js | 2 +- .../pasteEdits_multiplePastesGrowingInSize.js | 2 +- ...asteEdits_multiplePastesShrinkingInSize.js | 2 +- .../pasteEdits_namespaceImport.js | 2 +- .../pasteEdits_noImportNeeded.js | 2 +- ...steEdits_noImportNeededInUpdatedProgram.js | 2 +- .../pasteEdits_pasteComments.js | 2 +- .../pasteEdits_pasteIntoSameFile.js | 2 +- .../pasteEdits_rangeSelection0.js | 2 +- .../pasteEdits_rangeSelection1.js | 2 +- .../pasteEdits_rangeSelection2.js | 2 +- .../pasteEdits_rangeSelection3.js | 2 +- .../pasteEdits_rangeSelection4.js | 2 +- .../pasteEdits_rangeSelection5.js | 2 +- .../pasteEdits_rangeSelection6.js | 2 +- .../pasteEdits_rangeSelection7.js | 2 +- .../pasteEdits_rangeSelection8.js | 2 +- .../pasteEdits_rangeSelection9.js | 2 +- .../pasteEdits_requireImportJsx.js | 2 +- .../pasteEdits_revertUpdatedFile.js | 2 +- .../pasteEdits_unknownSourceFile.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard1.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard2.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard3.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard4.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard5.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard6.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard7.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard8.js | 2 +- ...onsPackageJsonImportsSrcNoDistWildcard9.js | 2 +- .../tsserver/fourslashServer/projectInfo01.js | 2 +- .../tsserver/fourslashServer/projectInfo02.js | 2 +- .../projectWithNonExistentFiles.js | 2 +- .../tsserver/fourslashServer/quickinfo01.js | 2 +- .../quickinfoVerbosityServer.js | 2 +- .../fourslashServer/quickinfoWrongComment.js | 2 +- .../fourslashServer/referenceToEmptyObject.js | 2 +- .../tsserver/fourslashServer/references01.js | 2 +- .../referencesInConfiguredProject.js | 2 +- .../fourslashServer/referencesInEmptyFile.js | 2 +- ...ferencesInEmptyFileWithMultipleProjects.js | 2 +- ...nStringLiteralValueWithMultipleProjects.js | 2 +- ...eferencesToNonPropertyNameStringLiteral.js | 2 +- .../referencesToStringLiteralValue.js | 2 +- .../tsserver/fourslashServer/rename01.js | 2 +- .../renameInConfiguredProject.js | 2 +- .../fourslashServer/renameNamedImport.js | 2 +- .../fourslashServer/renameNamespaceImport.js | 2 +- ...ativeImportExtensionsProjectReferences1.js | 2 +- ...ativeImportExtensionsProjectReferences2.js | 2 +- ...ativeImportExtensionsProjectReferences3.js | 2 +- .../semanticClassificationJs1.js | 2 +- .../fourslashServer/signatureHelp01.js | 2 +- .../signatureHelpJSDocCallbackTag.js | 2 +- .../tripleSlashReferenceResolutionMode.js | 2 +- .../tsconfigComputedPropertyError.js | 2 +- .../fourslashServer/tsxIncrementalServer.js | 2 +- .../fourslashServer/typeReferenceOnServer.js | 2 +- .../fourslashServer/typedefinition01.js | 2 +- ...-file'-and-'move-to-new-file'-refactors.js | 14 +- ...nge-of-text-for-extract-symbol-refactor.js | 14 +- ...range-of-text-for-extract-type-refactor.js | 14 +- .../works-when-taking-position.js | 14 +- ...rks-with-file-moved-to-inferred-project.js | 30 +- .../works-with-multiple-projects.js | 30 +- ...e-existance-on-the-disk-with-updateOpen.js | 44 +- ...after-seeing-file-existance-on-the-disk.js | 52 +- ...sk-closed-before-change-with-updateOpen.js | 44 +- ...stance-on-the-disk-closed-before-change.js | 52 +- ...e-existance-on-the-disk-with-updateOpen.js | 44 +- ...efore-seeing-file-existance-on-the-disk.js | 52 +- .../array-destructuring-declaration.js | 18 +- .../const-variable-declaration.js | 18 +- .../nested-object-declaration.js | 18 +- ...nces-that-renames-destructured-property.js | 18 +- .../object-destructuring-declaration.js | 18 +- .../should-get-file-references.js | 26 +- ...ould-skip-lineText-from-file-references.js | 26 +- ...en-moving-non-jsx-content-from-jsx-file.js | 14 +- ...en-moving-non-tsx-content-from-tsx-file.js | 14 +- .../skips-lib.d.ts-files.js | 14 +- ...ggests-only-.js-file-for-a-.js-filepath.js | 14 +- ...ggests-only-.ts-file-for-a-.ts-filepath.js | 14 +- ...excluding-node_modules-within-a-project.js | 14 +- .../import-helpers-successfully.js | 48 +- .../should-not-crash-in-tsserver.js | 14 +- .../should-not-error-2.js | 14 +- .../should-not-error.js | 14 +- .../closing-file-with-shared-resolutions.js | 28 +- .../create-inferred-project.js | 14 +- .../project-settings-for-inferred-projects.js | 34 +- ...or-inferred-projects-when-set-undefined.js | 24 +- ...-project-created-while-opening-the-file.js | 240 +++++-- ...should-support-files-without-extensions.js | 18 +- ...project-if-useOneInferredProject-is-set.js | 46 +- ...ting-inferred-project-has-no-root-files.js | 40 +- ...Open-request-does-not-corrupt-documents.js | 22 +- ...-string-for-a-working-link-in-a-comment.js | 14 +- ...y-parts-for-a-working-link-in-a-comment.js | 14 +- ...-string-for-a-working-link-in-a-comment.js | 14 +- ...y-parts-for-a-working-link-in-a-comment.js | 14 +- ...-string-for-a-working-link-in-a-comment.js | 14 +- ...de-a-string-for-a-working-link-in-a-tag.js | 14 +- ...y-parts-for-a-working-link-in-a-comment.js | 14 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 14 +- ...-string-for-a-working-link-in-a-comment.js | 14 +- ...de-a-string-for-a-working-link-in-a-tag.js | 14 +- ...-a-span-for-a-working-link-in-a-comment.js | 14 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 14 +- ...-string-for-a-working-link-in-a-comment.js | 14 +- ...y-parts-for-a-working-link-in-a-comment.js | 14 +- ...-string-for-a-working-link-in-a-comment.js | 14 +- ...y-parts-for-a-working-link-in-a-comment.js | 14 +- ...ame-file-under-differing-paths-settings.js | 24 +- ...orrectly-on-case-sensitive-file-systems.js | 14 +- ...when-referencing-file-from-another-file.js | 22 +- ...t-to-2-if-the-project-has-js-root-files.js | 24 +- ...-js-root-files-are-removed-from-project.js | 26 +- ...metadata-when-the-command-returns-array.js | 14 +- ...etadata-when-the-command-returns-object.js | 14 +- .../returns-undefined-correctly.js | 14 +- .../moduleResolution/alternateResult.js | 74 +- .../caches-importability-within-a-file.js | 22 +- .../caches-module-specifiers-within-a-file.js | 22 +- ...date-the-cache-when-new-files-are-added.js | 32 +- ...n-in-contained-node_modules-directories.js | 22 +- ...he-cache-when-local-packageJson-changes.js | 22 +- ...-when-module-resolution-settings-change.js | 24 +- ...ache-when-symlinks-are-added-or-removed.js | 30 +- ...-the-cache-when-user-preferences-change.js | 22 +- ...ate-symbols-when-searching-all-projects.js | 24 +- .../navTo/should-de-duplicate-symbols.js | 24 +- .../navTo/should-not-include-type-symbols.js | 18 +- .../navTo/should-work-with-Deprecated.js | 18 +- ...ould-be-marked-if-only-on-string-values.js | 14 +- .../openfile/can-open-same-file-again.js | 18 +- .../different-content-refreshes-sourceFile.js | 36 +- .../openfile/does-not-refresh-sourceFile.js | 32 +- ...ot-refresh-sourceFile-if-contents-match.js | 34 +- ...ile-and-then-close-refreshes-sourceFile.js | 38 +- ...ot-is-used-with-case-insensitive-system.js | 58 +- ...root-is-used-with-case-sensitive-system.js | 74 +- .../openfile/realoaded-with-empty-content.js | 20 +- ...ject-even-if-project-refresh-is-pending.js | 22 +- ...-directives,-they-are-handled-correcrly.js | 22 +- ...re-added,-caches-them,-and-watches-them.js | 26 +- ...ultiple-package.json-files-when-present.js | 26 +- ...r-deletion,-and-removes-them-from-cache.js | 34 +- .../handles-empty-package.json.js | 32 +- ...-errors-in-json-parsing-of-package.json.js | 32 +- .../files-are-added-to-inferred-project.js | 18 +- ...ternal-module-name-resolution-is-reused.js | 28 +- ...oImportProvider-or-handle-package-jsons.js | 10 +- ...-include-auto-type-reference-directives.js | 10 +- ...de-referenced-files-from-unopened-files.js | 10 +- ...t-go-to-definition-on-module-specifiers.js | 10 +- ...-diagnostics-are-returned-with-no-error.js | 10 +- .../throws-unsupported-commands.js | 10 +- .../tsserver/pasteEdits/adds-paste-edits.js | 20 +- .../tsserver/pasteEdits/should-not-error.js | 14 +- .../tsserver/plugins/With-global-plugins.js | 14 +- .../tsserver/plugins/With-local-plugins.js | 14 +- ...ith-session-and-custom-protocol-message.js | 14 +- .../getSupportedCodeFixes-can-be-proxied.js | 22 +- ...-external-files-with-config-file-reload.js | 18 +- ...on-ts-extensions-with-wildcard-matching.js | 30 +- ...LS-to-get-program-and-update-is-pending.js | 26 +- ...criptKind-changes-for-the-external-file.js | 18 +- .../pluginsAsync/adds-external-files.js | 14 +- .../plugins-are-not-loaded-immediately.js | 14 +- ...er-even-if-imports-resolve-out-of-order.js | 14 +- ...ect-is-closed-before-plugins-are-loaded.js | 30 +- ...ferred-closed-before-plugins-are-loaded.js | 14 +- ...sends-projectsUpdatedInBackground-event.js | 14 +- ...-generated-when-the-config-file-changes.js | 18 +- ...when-the-config-file-doesnt-have-errors.js | 14 +- ...nerated-when-the-config-file-has-errors.js | 14 +- ...-file-opened-and-config-file-has-errors.js | 32 +- ...le-opened-and-doesnt-contain-any-errors.js | 32 +- ...rs-but-suppressDiagnosticEvents-is-true.js | 14 +- ...s-contains-the-project-reference-errors.js | 14 +- ...ts---diagnostics-for-corrupted-config-1.js | 20 +- ...ts---diagnostics-for-corrupted-config-2.js | 20 +- ...rojects---diagnostics-for-missing-files.js | 26 +- ...-same-ambient-module-and-is-also-module.js | 18 +- ...iagnostics-after-noUnusedLabels-changes.js | 16 +- .../document-is-not-contained-in-project.js | 14 +- ...long-to-common-root-with-declarationDir.js | 14 +- ...s-when-files-dont-belong-to-common-root.js | 14 +- ...project---diagnostics-for-missing-files.js | 38 +- .../projectErrors/file-rename-on-wsl2.js | 40 +- ...project-structure-and-reports-no-errors.js | 26 +- .../projectErrors/for-external-project.js | 20 +- .../projectErrors/for-inferred-project.js | 26 +- ...-when-timeout-occurs-after-installation.js | 28 +- ...n-timeout-occurs-inbetween-installation.js | 28 +- ...pened-right-after-closing-the-root-file.js | 78 ++- ...hen-json-is-root-file-found-by-tsconfig.js | 14 +- ...json-is-not-root-file-found-by-tsconfig.js | 14 +- ...esnt-exist-on-disk-yet-with-projectRoot.js | 14 +- ...t-exist-on-disk-yet-without-projectRoot.js | 14 +- .../projectErrors/when-options-change.js | 16 +- ...-global-error-gerErr-with-sync-commands.js | 14 +- ...or-returns-includes-global-error-getErr.js | 14 +- ...-includes-global-error-geterrForProject.js | 36 +- ...-as-project-build-with-external-project.js | 52 +- ...-on-dependency-and-change-to-dependency.js | 45 +- .../save-on-dependency-and-change-to-usage.js | 40 +- ...pendency-and-local-change-to-dependency.js | 42 +- ...on-dependency-and-local-change-to-usage.js | 40 +- ...y-with-project-and-change-to-dependency.js | 43 +- ...ndency-with-project-and-change-to-usage.js | 38 +- ...-project-and-local-change-to-dependency.js | 40 +- ...-with-project-and-local-change-to-usage.js | 38 +- .../save-on-dependency-with-project.js | 36 +- ...-usage-project-and-change-to-dependency.js | 28 +- ...-with-usage-project-and-change-to-usage.js | 28 +- ...-project-and-local-change-to-dependency.js | 28 +- ...usage-project-and-local-change-to-usage.js | 28 +- .../save-on-dependency-with-usage-project.js | 24 +- .../save-on-dependency.js | 36 +- .../save-on-usage-and-change-to-dependency.js | 40 +- .../save-on-usage-and-change-to-usage.js | 41 +- ...nd-local-change-to-dependency-with-file.js | 38 +- ...on-usage-and-local-change-to-dependency.js | 40 +- ...-and-local-change-to-usage-with-project.js | 38 +- ...save-on-usage-and-local-change-to-usage.js | 38 +- ...e-with-project-and-change-to-dependency.js | 38 +- ...-usage-with-project-and-change-to-usage.js | 41 +- .../save-on-usage-with-project.js | 34 +- .../save-on-usage.js | 34 +- ...-on-dependency-and-change-to-dependency.js | 20 +- ...-save-on-dependency-and-change-to-usage.js | 18 +- ...pendency-and-local-change-to-dependency.js | 20 +- ...on-dependency-and-local-change-to-usage.js | 18 +- ...y-with-project-and-change-to-dependency.js | 20 +- ...ndency-with-project-and-change-to-usage.js | 18 +- ...-project-and-local-change-to-dependency.js | 20 +- ...-with-project-and-local-change-to-usage.js | 18 +- ...pen-and-save-on-dependency-with-project.js | 14 +- ...ject-is-not-open-and-save-on-dependency.js | 14 +- ...save-on-usage-and-change-to-depenedency.js | 30 +- ...n-and-save-on-usage-and-change-to-usage.js | 31 +- ...on-usage-and-local-change-to-dependency.js | 30 +- ...save-on-usage-and-local-change-to-usage.js | 28 +- ...-with-project-and-change-to-depenedency.js | 30 +- ...-usage-with-project-and-change-to-usage.js | 31 +- ...-project-and-local-change-to-dependency.js | 30 +- ...-with-project-and-local-change-to-usage.js | 28 +- ...not-open-and-save-on-usage-with-project.js | 24 +- ...y-project-is-not-open-and-save-on-usage.js | 24 +- ...roject-are-different-from-usage-project.js | 42 +- ...t-is-not-open-gerErr-with-sync-commands.js | 14 +- ...n-dependency-project-is-not-open-getErr.js | 14 +- ...cy-project-is-not-open-geterrForProject.js | 82 +-- ...-file-is-open-gerErr-with-sync-commands.js | 24 +- ...-when-the-depedency-file-is-open-getErr.js | 24 +- ...depedency-file-is-open-geterrForProject.js | 82 +-- ...t-is-not-open-gerErr-with-sync-commands.js | 14 +- ...n-dependency-project-is-not-open-getErr.js | 14 +- ...cy-project-is-not-open-geterrForProject.js | 82 +-- ...-file-is-open-gerErr-with-sync-commands.js | 24 +- ...-when-the-depedency-file-is-open-getErr.js | 24 +- ...depedency-file-is-open-geterrForProject.js | 82 +-- .../ancestor-and-project-ref-management.js | 98 +-- ...disableSourceOfProjectReferenceRedirect.js | 38 +- ...port-with-referenced-project-when-built.js | 38 +- .../auto-import-with-referenced-project.js | 14 +- ...ssfully-find-references-with-out-option.js | 50 +- ...indirect-project-but-not-in-another-one.js | 66 +- ...dProjectLoad-is-set-in-indirect-project.js | 66 +- ...-if-disableReferencedProjectLoad-is-set.js | 66 +- ...oes-not-error-on-container-only-project.js | 46 +- ...-are-disabled-and-a-decl-map-is-missing.js | 26 +- ...-are-disabled-and-a-decl-map-is-present.js | 28 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 24 +- ...s-are-enabled-and-a-decl-map-is-present.js | 24 +- ...-are-disabled-and-a-decl-map-is-missing.js | 26 +- ...-are-disabled-and-a-decl-map-is-present.js | 28 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 24 +- ...s-are-enabled-and-a-decl-map-is-present.js | 24 +- ...-are-disabled-and-a-decl-map-is-missing.js | 16 +- ...-are-disabled-and-a-decl-map-is-present.js | 18 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 14 +- ...s-are-enabled-and-a-decl-map-is-present.js | 14 +- ...-are-disabled-and-a-decl-map-is-missing.js | 16 +- ...-are-disabled-and-a-decl-map-is-present.js | 24 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 24 +- ...s-are-enabled-and-a-decl-map-is-present.js | 24 +- ...e-doesnt-load-ancestor-sibling-projects.js | 24 +- ...ding-references-in-overlapping-projects.js | 36 +- ...solution-is-built-with-preserveSymlinks.js | 54 +- ...-and-has-index.ts-and-solution-is-built.js | 54 +- ...tion-is-not-built-with-preserveSymlinks.js | 18 +- ...-has-index.ts-and-solution-is-not-built.js | 18 +- ...solution-is-built-with-preserveSymlinks.js | 54 +- ...th-scoped-package-and-solution-is-built.js | 54 +- ...tion-is-not-built-with-preserveSymlinks.js | 18 +- ...coped-package-and-solution-is-not-built.js | 18 +- ...solution-is-built-with-preserveSymlinks.js | 54 +- ...le-from-subFolder-and-solution-is-built.js | 54 +- ...tion-is-not-built-with-preserveSymlinks.js | 18 +- ...rom-subFolder-and-solution-is-not-built.js | 18 +- ...solution-is-built-with-preserveSymlinks.js | 54 +- ...th-scoped-package-and-solution-is-built.js | 54 +- ...tion-is-not-built-with-preserveSymlinks.js | 18 +- ...coped-package-and-solution-is-not-built.js | 18 +- ...disableSourceOfProjectReferenceRedirect.js | 48 +- ...ect-when-referenced-project-is-not-open.js | 24 +- ...disableSourceOfProjectReferenceRedirect.js | 66 +- ...project-when-referenced-project-is-open.js | 40 +- ...ject-is-directly-referenced-by-solution.js | 146 ++-- ...ct-is-indirectly-referenced-by-solution.js | 182 ++--- ...erenced-project-with-preserveConstEnums.js | 14 +- ...om-composite-and-non-composite-projects.js | 28 +- ...nced-project-and-using-declaration-maps.js | 65 +- ...ot-file-is-file-from-referenced-project.js | 61 +- ...indirect-project-but-not-in-another-one.js | 90 +-- ...dProjectLoad-is-set-in-indirect-project.js | 66 +- ...-if-disableReferencedProjectLoad-is-set.js | 66 +- ...ces-open-file-through-project-reference.js | 180 ++--- ...ct-is-indirectly-referenced-by-solution.js | 226 +++--- ...nction-as-object-literal-property-types.js | 30 +- ...row-function-as-object-literal-property.js | 24 +- ...ss-when-using-arrow-function-assignment.js | 30 +- ...s-when-using-method-of-class-expression.js | 30 +- ...ness-when-using-object-literal-property.js | 30 +- ...-composite-with-file-open-before-revert.js | 50 +- ...nfig-tree-found-appConfig-not-composite.js | 50 +- ...fig-change-with-file-open-before-revert.js | 58 +- ...rst-config-tree-found-demoConfig-change.js | 58 +- ...config-tree-found-finds-default-project.js | 58 +- ...first-config-tree-found-reload-projects.js | 34 +- ...fig-delete-with-file-open-before-revert.js | 34 +- ...config-tree-found-solutionConfig-delete.js | 34 +- ...ce-to-demo-with-file-open-before-revert.js | 56 +- ...olutionConfig-without-reference-to-demo.js | 42 +- ...cts-are-open-and-one-project-references.js | 64 +- ...ts-have-allowJs-and-emitDeclarationOnly.js | 14 +- ...ng-solution-and-siblings-are-not-loaded.js | 14 +- .../with-dts-file-next-to-ts-file.js | 30 +- ...ts-change-as-rename-action-before-write.js | 81 +-- ...endency-dts-change-as-rename-no-timeout.js | 81 +-- ...s-change-as-rename-timeout-after-delete.js | 81 +-- ...ts-change-as-rename-timeout-after-write.js | 81 +-- ...dts-changes-with-timeout-before-request.js | 79 +-- .../dependency-dts-changes.js | 79 +-- .../dependency-dts-created.js | 105 ++- .../dependency-dts-deleted.js | 103 ++- .../dependency-dts-not-present.js | 99 ++- ...s-rewrite-as-rename-action-before-write.js | 81 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...s-rewrite-as-rename-timeout-after-write.js | 81 +-- ...ap-change-as-rename-action-before-write.js | 81 +-- ...ency-dtsMap-change-as-rename-no-timeout.js | 81 +-- ...p-change-as-rename-timeout-after-delete.js | 81 +-- ...ap-change-as-rename-timeout-after-write.js | 81 +-- ...Map-changes-with-timeout-before-request.js | 79 +-- .../dependency-dtsMap-changes.js | 79 +-- .../dependency-dtsMap-created.js | 109 ++- .../dependency-dtsMap-deleted.js | 103 ++- .../dependency-dtsMap-not-present.js | 101 ++- ...p-rewrite-as-rename-action-before-write.js | 81 +-- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...p-rewrite-as-rename-timeout-after-write.js | 81 +-- .../configHasNoReference/rename-locations.js | 101 ++- ...ile-changes-with-timeout-before-request.js | 79 +-- .../usage-file-changes.js | 79 +-- ...ts-change-as-rename-action-before-write.js | 81 +-- ...endency-dts-change-as-rename-no-timeout.js | 81 +-- ...s-change-as-rename-timeout-after-delete.js | 81 +-- ...ts-change-as-rename-timeout-after-write.js | 81 +-- ...dts-changes-with-timeout-before-request.js | 79 +-- .../dependency-dts-changes.js | 79 +-- .../dependency-dts-created.js | 105 ++- .../dependency-dts-deleted.js | 103 ++- .../dependency-dts-not-present.js | 99 ++- ...s-rewrite-as-rename-action-before-write.js | 81 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...s-rewrite-as-rename-timeout-after-write.js | 81 +-- ...ap-change-as-rename-action-before-write.js | 81 +-- ...ency-dtsMap-change-as-rename-no-timeout.js | 81 +-- ...p-change-as-rename-timeout-after-delete.js | 81 +-- ...ap-change-as-rename-timeout-after-write.js | 81 +-- ...Map-changes-with-timeout-before-request.js | 79 +-- .../dependency-dtsMap-changes.js | 79 +-- .../dependency-dtsMap-created.js | 109 ++- .../dependency-dtsMap-deleted.js | 103 ++- .../dependency-dtsMap-not-present.js | 101 ++- ...p-rewrite-as-rename-action-before-write.js | 81 +-- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...p-rewrite-as-rename-timeout-after-write.js | 81 +-- ...rce-changes-with-timeout-before-request.js | 79 +-- .../dependency-source-changes.js | 79 +-- .../configWithReference/rename-locations.js | 101 ++- ...ile-changes-with-timeout-before-request.js | 79 +-- .../configWithReference/usage-file-changes.js | 79 +-- .../when-projects-are-not-built.js | 52 +- ...ts-change-as-rename-action-before-write.js | 81 +-- ...endency-dts-change-as-rename-no-timeout.js | 81 +-- ...s-change-as-rename-timeout-after-delete.js | 81 +-- ...ts-change-as-rename-timeout-after-write.js | 81 +-- ...dts-changes-with-timeout-before-request.js | 79 +-- .../dependency-dts-changes.js | 79 +-- .../dependency-dts-created.js | 105 ++- .../dependency-dts-deleted.js | 103 ++- .../dependency-dts-not-present.js | 99 ++- ...s-rewrite-as-rename-action-before-write.js | 81 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...s-rewrite-as-rename-timeout-after-write.js | 81 +-- ...ap-change-as-rename-action-before-write.js | 81 +-- ...ency-dtsMap-change-as-rename-no-timeout.js | 81 +-- ...p-change-as-rename-timeout-after-delete.js | 81 +-- ...ap-change-as-rename-timeout-after-write.js | 81 +-- ...Map-changes-with-timeout-before-request.js | 79 +-- .../dependency-dtsMap-changes.js | 79 +-- .../dependency-dtsMap-created.js | 109 ++- .../dependency-dtsMap-deleted.js | 103 ++- .../dependency-dtsMap-not-present.js | 101 ++- ...p-rewrite-as-rename-action-before-write.js | 81 +-- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...p-rewrite-as-rename-timeout-after-write.js | 81 +-- .../disabledSourceRef/rename-locations.js | 101 ++- ...ile-changes-with-timeout-before-request.js | 79 +-- .../disabledSourceRef/usage-file-changes.js | 79 +-- ...ts-change-as-rename-action-before-write.js | 103 ++- ...endency-dts-change-as-rename-no-timeout.js | 97 ++- ...s-change-as-rename-timeout-after-delete.js | 103 ++- ...ts-change-as-rename-timeout-after-write.js | 99 ++- ...dts-changes-with-timeout-before-request.js | 93 ++- .../dependency-dts-changes.js | 91 ++- .../dependency-dts-created.js | 131 ++-- .../dependency-dts-deleted.js | 129 ++-- .../dependency-dts-not-present.js | 119 ++-- ...s-rewrite-as-rename-action-before-write.js | 103 ++- ...ndency-dts-rewrite-as-rename-no-timeout.js | 97 ++- ...-rewrite-as-rename-timeout-after-delete.js | 103 ++- ...s-rewrite-as-rename-timeout-after-write.js | 97 ++- ...ap-change-as-rename-action-before-write.js | 91 ++- ...ency-dtsMap-change-as-rename-no-timeout.js | 91 ++- ...p-change-as-rename-timeout-after-delete.js | 91 ++- ...ap-change-as-rename-timeout-after-write.js | 91 ++- ...Map-changes-with-timeout-before-request.js | 89 ++- .../dependency-dtsMap-changes.js | 89 ++- .../dependency-dtsMap-created.js | 129 ++-- .../dependency-dtsMap-deleted.js | 123 ++-- .../dependency-dtsMap-not-present.js | 121 ++-- ...p-rewrite-as-rename-action-before-write.js | 91 ++- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 91 ++- ...-rewrite-as-rename-timeout-after-delete.js | 91 ++- ...p-rewrite-as-rename-timeout-after-write.js | 91 ++- ...name-locations-and-deleting-config-file.js | 201 +++--- .../goToDef-and-rename-locations.js | 121 ++-- ...ile-changes-with-timeout-before-request.js | 93 ++- .../usage-file-changes.js | 93 ++- ...ts-change-as-rename-action-before-write.js | 91 ++- ...endency-dts-change-as-rename-no-timeout.js | 91 ++- ...s-change-as-rename-timeout-after-delete.js | 91 ++- ...ts-change-as-rename-timeout-after-write.js | 91 ++- ...dts-changes-with-timeout-before-request.js | 89 ++- .../dependency-dts-changes.js | 89 ++- .../dependency-dts-created.js | 125 ++-- .../dependency-dts-deleted.js | 123 ++-- .../dependency-dts-not-present.js | 119 ++-- ...s-rewrite-as-rename-action-before-write.js | 91 ++- ...ndency-dts-rewrite-as-rename-no-timeout.js | 91 ++- ...-rewrite-as-rename-timeout-after-delete.js | 91 ++- ...s-rewrite-as-rename-timeout-after-write.js | 91 ++- ...ap-change-as-rename-action-before-write.js | 91 ++- ...ency-dtsMap-change-as-rename-no-timeout.js | 91 ++- ...p-change-as-rename-timeout-after-delete.js | 91 ++- ...ap-change-as-rename-timeout-after-write.js | 91 ++- ...Map-changes-with-timeout-before-request.js | 89 ++- .../dependency-dtsMap-changes.js | 89 ++- .../dependency-dtsMap-created.js | 129 ++-- .../dependency-dtsMap-deleted.js | 123 ++-- .../dependency-dtsMap-not-present.js | 121 ++-- ...p-rewrite-as-rename-action-before-write.js | 91 ++- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 91 ++- ...-rewrite-as-rename-timeout-after-delete.js | 91 ++- ...p-rewrite-as-rename-timeout-after-write.js | 91 ++- ...rce-changes-with-timeout-before-request.js | 91 ++- .../dependency-source-changes.js | 91 ++- ...name-locations-and-deleting-config-file.js | 245 ++++--- .../goToDef-and-rename-locations.js | 121 ++-- ...ile-changes-with-timeout-before-request.js | 93 ++- .../configWithReference/usage-file-changes.js | 93 ++- .../when-projects-are-not-built.js | 72 +- ...ts-change-as-rename-action-before-write.js | 103 ++- ...endency-dts-change-as-rename-no-timeout.js | 97 ++- ...s-change-as-rename-timeout-after-delete.js | 103 ++- ...ts-change-as-rename-timeout-after-write.js | 99 ++- ...dts-changes-with-timeout-before-request.js | 93 ++- .../dependency-dts-changes.js | 91 ++- .../dependency-dts-created.js | 131 ++-- .../dependency-dts-deleted.js | 129 ++-- .../dependency-dts-not-present.js | 119 ++-- ...s-rewrite-as-rename-action-before-write.js | 103 ++- ...ndency-dts-rewrite-as-rename-no-timeout.js | 97 ++- ...-rewrite-as-rename-timeout-after-delete.js | 103 ++- ...s-rewrite-as-rename-timeout-after-write.js | 97 ++- ...ap-change-as-rename-action-before-write.js | 91 ++- ...ency-dtsMap-change-as-rename-no-timeout.js | 91 ++- ...p-change-as-rename-timeout-after-delete.js | 91 ++- ...ap-change-as-rename-timeout-after-write.js | 91 ++- ...Map-changes-with-timeout-before-request.js | 89 ++- .../dependency-dtsMap-changes.js | 89 ++- .../dependency-dtsMap-created.js | 129 ++-- .../dependency-dtsMap-deleted.js | 123 ++-- .../dependency-dtsMap-not-present.js | 121 ++-- ...p-rewrite-as-rename-action-before-write.js | 91 ++- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 91 ++- ...-rewrite-as-rename-timeout-after-delete.js | 91 ++- ...p-rewrite-as-rename-timeout-after-write.js | 91 ++- ...name-locations-and-deleting-config-file.js | 221 +++--- .../goToDef-and-rename-locations.js | 121 ++-- ...ile-changes-with-timeout-before-request.js | 93 ++- .../disabledSourceRef/usage-file-changes.js | 93 ++- .../can-go-to-definition-correctly.js | 101 ++- ...ts-change-as-rename-action-before-write.js | 93 ++- ...endency-dts-change-as-rename-no-timeout.js | 87 ++- ...s-change-as-rename-timeout-after-delete.js | 93 ++- ...ts-change-as-rename-timeout-after-write.js | 89 ++- ...dts-changes-with-timeout-before-request.js | 83 +-- .../dependency-dts-changes.js | 81 +-- .../dependency-dts-created.js | 107 ++- .../dependency-dts-deleted.js | 109 ++- .../dependency-dts-not-present.js | 97 ++- ...s-rewrite-as-rename-action-before-write.js | 93 ++- ...ndency-dts-rewrite-as-rename-no-timeout.js | 87 ++- ...-rewrite-as-rename-timeout-after-delete.js | 93 ++- ...s-rewrite-as-rename-timeout-after-write.js | 87 ++- ...ap-change-as-rename-action-before-write.js | 81 +-- ...ency-dtsMap-change-as-rename-no-timeout.js | 81 +-- ...p-change-as-rename-timeout-after-delete.js | 81 +-- ...ap-change-as-rename-timeout-after-write.js | 81 +-- ...Map-changes-with-timeout-before-request.js | 79 +-- .../dependency-dtsMap-changes.js | 79 +-- .../dependency-dtsMap-created.js | 105 ++- .../dependency-dtsMap-deleted.js | 103 ++- .../dependency-dtsMap-not-present.js | 99 ++- ...p-rewrite-as-rename-action-before-write.js | 81 +-- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...p-rewrite-as-rename-timeout-after-write.js | 81 +-- ...ile-changes-with-timeout-before-request.js | 79 +-- .../usage-file-changes.js | 79 +-- .../can-go-to-definition-correctly.js | 97 ++- ...ts-change-as-rename-action-before-write.js | 71 +- ...endency-dts-change-as-rename-no-timeout.js | 71 +- ...s-change-as-rename-timeout-after-delete.js | 71 +- ...ts-change-as-rename-timeout-after-write.js | 71 +- ...dts-changes-with-timeout-before-request.js | 71 +- .../dependency-dts-changes.js | 71 +- .../dependency-dts-created.js | 97 ++- .../dependency-dts-deleted.js | 97 ++- .../dependency-dts-not-present.js | 97 ++- ...s-rewrite-as-rename-action-before-write.js | 71 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 71 +- ...-rewrite-as-rename-timeout-after-delete.js | 71 +- ...s-rewrite-as-rename-timeout-after-write.js | 71 +- ...ap-change-as-rename-action-before-write.js | 71 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 71 +- ...p-change-as-rename-timeout-after-delete.js | 71 +- ...ap-change-as-rename-timeout-after-write.js | 71 +- ...Map-changes-with-timeout-before-request.js | 71 +- .../dependency-dtsMap-changes.js | 71 +- .../dependency-dtsMap-created.js | 97 ++- .../dependency-dtsMap-deleted.js | 97 ++- .../dependency-dtsMap-not-present.js | 97 ++- ...p-rewrite-as-rename-action-before-write.js | 71 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 71 +- ...-rewrite-as-rename-timeout-after-delete.js | 71 +- ...p-rewrite-as-rename-timeout-after-write.js | 71 +- ...rce-changes-with-timeout-before-request.js | 77 +- .../dependency-source-changes.js | 77 +- ...ile-changes-with-timeout-before-request.js | 75 +- .../configWithReference/usage-file-changes.js | 75 +- .../when-projects-are-not-built.js | 50 +- .../can-go-to-definition-correctly.js | 101 ++- ...ts-change-as-rename-action-before-write.js | 93 ++- ...endency-dts-change-as-rename-no-timeout.js | 87 ++- ...s-change-as-rename-timeout-after-delete.js | 93 ++- ...ts-change-as-rename-timeout-after-write.js | 89 ++- ...dts-changes-with-timeout-before-request.js | 83 +-- .../dependency-dts-changes.js | 81 +-- .../dependency-dts-created.js | 107 ++- .../dependency-dts-deleted.js | 109 ++- .../dependency-dts-not-present.js | 97 ++- ...s-rewrite-as-rename-action-before-write.js | 93 ++- ...ndency-dts-rewrite-as-rename-no-timeout.js | 87 ++- ...-rewrite-as-rename-timeout-after-delete.js | 93 ++- ...s-rewrite-as-rename-timeout-after-write.js | 87 ++- ...ap-change-as-rename-action-before-write.js | 81 +-- ...ency-dtsMap-change-as-rename-no-timeout.js | 81 +-- ...p-change-as-rename-timeout-after-delete.js | 81 +-- ...ap-change-as-rename-timeout-after-write.js | 81 +-- ...Map-changes-with-timeout-before-request.js | 79 +-- .../dependency-dtsMap-changes.js | 79 +-- .../dependency-dtsMap-created.js | 105 ++- .../dependency-dtsMap-deleted.js | 103 ++- .../dependency-dtsMap-not-present.js | 99 ++- ...p-rewrite-as-rename-action-before-write.js | 81 +-- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 81 +-- ...-rewrite-as-rename-timeout-after-delete.js | 81 +-- ...p-rewrite-as-rename-timeout-after-write.js | 81 +-- ...ile-changes-with-timeout-before-request.js | 79 +-- .../disabledSourceRef/usage-file-changes.js | 79 +-- ...-referenced-project-and-shared-is-first.js | 28 +- ...en-root-file-is-from-referenced-project.js | 28 +- ...projects-at-opened-and-closed-correctly.js | 42 +- ...-are-handled-correctly-on-watch-trigger.js | 24 +- .../Properly-handle-Windows-style-outDir.js | 14 +- .../projects/assert-when-removing-project.js | 30 +- ...iles-are-reflected-in-project-structure.js | 36 +- .../clear-mixed-content-file-after-closing.js | 28 +- .../projects/config-file-is-deleted.js | 34 +- ...orrectly-migrate-files-between-projects.js | 70 +- ...zyConfiguredProjectsFromExternalProject.js | 8 +- .../deferred-files-in-the-project-context.js | 14 +- .../deleted-files-affect-project-structure.js | 36 +- ...folders-for-default-configured-projects.js | 26 +- ...configured-project-that-will-be-removed.js | 28 +- ...ith-typeAcquisition-when-safe-type-list.js | 16 +- ...-and-closed-affecting-multiple-projects.js | 46 +- ...ith-mixed-content-are-handled-correctly.js | 22 +- ...getting-project-from-orphan-script-info.js | 18 +- ...directory-watch-invoke-on-file-creation.js | 38 +- ...issing-files-added-with-tripleslash-ref.js | 26 +- ...les-excluded-by-a-custom-safe-type-list.js | 16 +- ...les-excluded-by-a-legacy-safe-type-list.js | 16 +- ...files-excluded-by-the-default-type-list.js | 16 +- ...configured-project-that-will-be-removed.js | 28 +- .../loading-files-with-correct-priority.js | 72 +- ...irectory-watch-invoke-on-open-file-save.js | 14 +- ...tsconfig-script-block-diagnostic-errors.js | 70 +- ...erred-if-files-are-not-added-or-removed.js | 32 +- ...configured-project-that-will-be-removed.js | 30 +- ...st-for-crash-in-acquireOrUpdateDocument.js | 40 +- .../reload-regular-file-after-closing.js | 32 +- ...Reload-but-has-svc-for-previous-version.js | 26 +- ...iles-excluded-from-a-configured-project.js | 32 +- ...e-features-when-the-files-are-too-large.js | 32 +- ...-from-different-caches-are-incompatible.js | 30 +- ...t-provides-redirect-info-when-requested.js | 28 +- ...updates-to-redirect-info-when-requested.js | 42 +- ...resolved-and-redirect-info-is-requested.js | 16 +- ...e-configuration-file-cannot-be-resolved.js | 16 +- .../projects/tsconfig-script-block-support.js | 34 +- .../projectsWithReferences/sample-project.js | 28 +- ...es-with-deleting-referenced-config-file.js | 34 +- ...ing-transitively-referenced-config-file.js | 18 +- ...ces-with-edit-in-referenced-config-file.js | 34 +- ...ive-references-with-edit-on-config-file.js | 34 +- ...ansitive-references-with-non-local-edit.js | 20 +- ...es-with-deleting-referenced-config-file.js | 34 +- ...ing-transitively-referenced-config-file.js | 18 +- ...les-with-edit-in-referenced-config-file.js | 34 +- ...-without-files-with-edit-on-config-file.js | 34 +- ...ences-without-files-with-non-local-edit.js | 20 +- ...ndles-canonicalization-of-tsconfig-path.js | 14 +- ...es-moving-statement-to-an-existing-file.js | 14 +- ...-that-is-not-included-in-the-TS-project.js | 14 +- ...dles-moving-statements-to-a-non-TS-file.js | 14 +- .../handles-text-changes-in-tsconfig.js | 14 +- .../refactors/use-formatting-options.js | 14 +- ...nodes-and-whole-file-for-multiple-files.js | 38 +- ...stics-for-select-nodes-in-a-single-file.js | 14 +- ...nostics-is-skipped-for-@ts-nocheck-file.js | 14 +- ...n-diagnostics-is-skipped-for-small-file.js | 14 +- .../region-does-not-have-suggestion.js | 27 +- .../region-has-suggestion.js | 40 +- ...cript-info-doesnt-have-any-project-open.js | 42 +- .../reload/should-work-with-temp-file.js | 20 +- .../reloadProjects/configured-project.js | 44 +- .../external-project-with-config-file.js | 48 +- .../reloadProjects/external-project.js | 48 +- .../reloadProjects/inferred-project.js | 44 +- ...prefixText-and-suffixText-when-disabled.js | 14 +- .../rename-TS-file-with-js-extension.js | 28 +- ...r-is-based-on-file-of-rename-initiation.js | 28 +- .../with-symlinks-and-case-difference.js | 24 +- .../rename/works-with-fileToRename.js | 14 +- ...-prefixText-and-suffixText-when-enabled.js | 14 +- ...unnecessary-lookup-invalidation-on-save.js | 18 +- ...an-load-typings-that-are-proper-modules.js | 18 +- .../disable-suggestion-diagnostics.js | 24 +- ...le-name-from-files-in-different-folders.js | 36 +- ...e-module-name-from-files-in-same-folder.js | 24 +- ...ative-module-name-from-inferred-project.js | 42 +- .../not-sharing-across-references.js | 20 +- .../npm-install-@types-works.js | 39 +- ...le-name-from-files-in-different-folders.js | 36 +- ...e-module-name-from-files-in-same-folder.js | 24 +- ...tore-the-states-for-configured-projects.js | 38 +- ...estore-the-states-for-inferred-projects.js | 38 +- .../sharing-across-references.js | 20 +- ...ld-property-handle-missing-config-files.js | 30 +- ...hould-remove-the-module-not-found-error.js | 26 +- .../resolutionCache/suggestion-diagnostics.js | 24 +- .../suppressed-diagnostic-events.js | 14 +- ...-from-config-file-path-if-config-exists.js | 14 +- ...exists-but-does-not-specifies-typeRoots.js | 14 +- ...wild-card-directories-in-config-project.js | 14 +- ...t-for-failed-lookup-closed-script-infos.js | 14 +- ...ectly-when-typings-are-added-or-removed.js | 34 +- ...rnal-project-with-skipLibCheck-as-false.js | 16 +- .../skipLibCheck/jsonly-external-project.js | 16 +- .../skipLibCheck/jsonly-inferred-project.js | 70 +- ...r-in-configured-js-project-with-tscheck.js | 18 +- ...rror-in-configured-project-with-tscheck.js | 18 +- .../reports-semantic-error-with-tscheck.js | 24 +- ...eclaration-files-with-skipLibCheck=true.js | 18 +- .../works-for-simple-JavaScript.js | 24 +- ...tion-when-project-compiles-from-sources.js | 28 +- ...s-in-typings-folder-and-then-recompiles.js | 24 +- ...mpiles-after-deleting-generated-folders.js | 36 +- ...ping-when-project-compiles-from-sources.js | 28 +- ...s-in-typings-folder-and-then-recompiles.js | 24 +- ...mpiles-after-deleting-generated-folders.js | 36 +- ...-project-folder-Linux-canUseWatchEvents.js | 154 ++-- .../packages-outside-project-folder-Linux.js | 166 ++--- ...-project-folder-MacOs-canUseWatchEvents.js | 154 ++-- .../packages-outside-project-folder-MacOs.js | 158 ++--- ...roject-folder-Windows-canUseWatchEvents.js | 154 ++-- ...packages-outside-project-folder-Windows.js | 142 +--- ...ct-folder-built-Linux-canUseWatchEvents.js | 142 +--- ...ages-outside-project-folder-built-Linux.js | 150 +--- ...ct-folder-built-MacOs-canUseWatchEvents.js | 142 +--- ...ages-outside-project-folder-built-MacOs.js | 146 +--- ...-folder-built-Windows-canUseWatchEvents.js | 142 +--- ...es-outside-project-folder-built-Windows.js | 132 +--- ...name-in-common-file-renames-all-project.js | 32 +- .../when-not-symlink-but-differs-in-casing.js | 50 +- ...ences-resolution-after-program-creation.js | 14 +- ...emoved-and-added-with-different-content.js | 52 +- .../telemetry/counts-files-by-extension.js | 14 +- ...s-whether-language-service-was-disabled.js | 14 +- .../does-nothing-for-inferred-project.js | 24 +- ...ven-for-project-with-ts-check-in-config.js | 18 +- .../tsserver/telemetry/not-for-ts-file.js | 14 +- .../telemetry/only-sends-an-event-once.js | 44 +- .../sends-event-for-inferred-project.js | 40 +- ...es,-include,-exclude,-and-compileOnSave.js | 14 +- .../sends-telemetry-for-file-sizes.js | 18 +- ...-telemetry-for-typeAcquisition-settings.js | 18 +- .../telemetry/works-with-external-project.js | 46 +- ...-JS-file-is-too-large-to-load-into-text.js | 24 +- .../does-not-depend-on-extension.js | 18 +- .../prefer-typings-in-second-pass.js | 18 +- ...portDefault-exportDefault-importDefault.js | 14 +- ...OnlyNamedImport-namedExport-namedImport.js | 14 +- ...lyExportFrom-exportStarFrom-namedImport.js | 14 +- ...OnlyNamedImport-namedExport-namedImport.js | 14 +- ...spaceImport-exportDefault-importDefault.js | 14 +- ...mespaceImport-exportEquals-importEquals.js | 27 +- ...NamespaceImport-namedExport-namedImport.js | 14 +- ...ortFrom-exportNamespaceFrom-namedImport.js | 14 +- ...enceDirective-contains-UpperCasePackage.js | 20 +- ...s-relative-path-and-in-a-sibling-folder.js | 14 +- ...ted-if-program-structure-did-not-change.js | 28 +- ...projects-discover-from-bower_components.js | 30 +- .../typingsInstaller/configured-projects.js | 30 +- .../typingsInstaller/discover-from-bower.js | 30 +- ...rom-node_modules-empty-types-has-import.js | 36 +- .../discover-from-node_modules-empty-types.js | 20 +- ...scover-from-node_modules-explicit-types.js | 20 +- .../discover-from-node_modules.js | 32 +- .../expired-cache-entry-lockFile3.js | 40 +- .../typingsInstaller/expired-cache-entry.js | 40 +- .../external-projects-autoDiscovery.js | 18 +- .../external-projects-duplicate-package.js | 18 +- .../external-projects-no-auto-typings.js | 14 +- ...s-no-type-acquisition-with-enable-false.js | 14 +- ...ts-no-type-acquisition-with-js-ts-files.js | 14 +- .../external-projects-no-type-acquisition.js | 30 +- ...ith-disableFilenameBasedTypeAcquisition.js | 18 +- .../external-projects-type-acquisition.js | 30 +- .../typingsInstaller/external-projects.js | 14 +- ...ith-disableFilenameBasedTypeAcquisition.js | 18 +- .../typingsInstaller/inferred-projects.js | 40 +- .../install-typings-for-unresolved-imports.js | 42 +- ...date-the-resolutions-with-trimmed-names.js | 44 +- .../invalidate-the-resolutions.js | 46 +- .../local-module-should-not-be-picked-up.js | 18 +- .../typingsInstaller/malformed-packagejson.js | 50 +- .../typingsInstaller/multiple-projects.js | 52 +- .../non-expired-cache-entry-lockFile3.js | 22 +- .../non-expired-cache-entry.js | 22 +- ...mes-from-nonrelative-unresolved-imports.js | 24 +- .../progress-notification-for-error.js | 20 +- .../typingsInstaller/progress-notification.js | 42 +- ...utions-pointing-to-js-on-typing-install.js | 42 +- .../typingsInstaller/scoped-name-discovery.js | 40 +- .../should-handle-node-core-modules.js | 72 +- ...d-not-initialize-invaalid-package-names.js | 24 +- .../typingsInstaller/telemetry-events.js | 42 +- .../throttle-delayed-run-install-requests.js | 48 +- .../throttle-delayed-typings-to-install.js | 30 +- ...n-install-requests-with-defer-refreshed.js | 42 +- ...requests-with-defer-while-queuing-again.js | 50 +- ...heduled-run-install-requests-with-defer.js | 36 +- ...install-requests-without-reaching-limit.js | 40 +- .../external-project-watch-options-errors.js | 18 +- ...ect-watch-options-in-host-configuration.js | 18 +- .../external-project-watch-options.js | 18 +- .../watchEnvironment/files-at-root.js | 14 +- .../files-at-windows-style-root.js | 14 +- .../watchEnvironment/files-not-at-root.js | 14 +- .../files-not-at-windows-style-root.js | 14 +- .../inferred-project-watch-options-errors.js | 14 +- ...ect-watch-options-in-host-configuration.js | 14 +- .../inferred-project-watch-options.js | 14 +- .../perVolumeCasing-and-new-file-addition.js | 24 +- .../project-with-ascii-file-names-with-i.js | 14 +- .../project-with-ascii-file-names.js | 14 +- .../project-with-unicode-file-names.js | 14 +- ...files-starting-with-dot-in-node_modules.js | 16 +- ...polling-when-file-is-added-to-subfolder.js | 30 +- ...rectory-when-file-is-added-to-subfolder.js | 28 +- ...tchFile-when-file-is-added-to-subfolder.js | 30 +- ...watching-files-with-network-style-paths.js | 118 ++-- ...ere-workspaces-folder-is-hosted-at-root.js | 52 +- ...en-watchFile-is-single-watcher-per-file.js | 14 +- ...excludeDirectories-option-in-configFile.js | 14 +- ...ludeDirectories-option-in-configuration.js | 14 +- ...ackPolling-option-as-host-configuration.js | 14 +- ...th-fallbackPolling-option-in-configFile.js | 14 +- ...hDirectory-option-as-host-configuration.js | 16 +- ...ith-watchDirectory-option-in-configFile.js | 16 +- ...-watchFile-option-as-host-configuration.js | 14 +- .../with-watchFile-option-in-configFile.js | 14 +- .../underscoreThisInDerivedClass01.js | 34 +- .../underscoreThisInDerivedClass02.js | 33 +- 3797 files changed, 49960 insertions(+), 64575 deletions(-) diff --git a/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js b/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js index 93f03c1eeb785..f702ecbe87880 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js @@ -14,11 +14,8 @@ var x = new 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكو //// [collisionCodeGenModuleWithUnicodeNames.js] var 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123; (function (才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123_1) { - var 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 = /** @class */ (function () { - function 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123() { - } - return 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123; - }()); + class 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 { + } 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123_1.才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 = 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123; })(才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 || (才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 = {})); var x = new 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123.才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123(); diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json index 18a7babc76d29..5ce76adf7bce8 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json @@ -4,6 +4,7 @@ "target": "es5", "module": "commonjs", "strict": true, + "useDefineForClassFields": false, "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json index 0052b1327f123..bdab1e076a2bc 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json @@ -1,6 +1,8 @@ { "compilerOptions": { "target": "es5", - "jsx": "react" + "jsx": "react", + "module": "commonjs", + "useDefineForClassFields": false } } diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json index 598b92b5eb8a9..39dbce441227c 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json @@ -27,7 +27,8 @@ "emitDecoratorMetadata": true, "resolveJsonModule": true, "resolvePackageJsonExports": false, - "resolvePackageJsonImports": false + "resolvePackageJsonImports": false, + "useDefineForClassFields": false }, "include": [ "./src/**/*" diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json index 0c16b16a784bb..2ed31560e1a31 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json @@ -1,9 +1,7 @@ { "compilerOptions": { "module": "nodenext", - "target": "esnext", "moduleResolution": "nodenext", - "moduleDetection": "force", - "useDefineForClassFields": true + "moduleDetection": "force" } } diff --git a/tests/baselines/reference/customTransforms/after.js b/tests/baselines/reference/customTransforms/after.js index 8bda237545f4c..e0a0e724b92c6 100644 --- a/tests/baselines/reference/customTransforms/after.js +++ b/tests/baselines/reference/customTransforms/after.js @@ -1,12 +1,8 @@ // [source.js] function f1() { } -//@after -var c = /** @class */ (function () { - function c() { - } - return c; -}()); -(function () { }); +class c { +} +() => { }; //@after var e; (function (e) { diff --git a/tests/baselines/reference/customTransforms/before.js b/tests/baselines/reference/customTransforms/before.js index a2729fc4529f4..234fd967e2f51 100644 --- a/tests/baselines/reference/customTransforms/before.js +++ b/tests/baselines/reference/customTransforms/before.js @@ -1,12 +1,9 @@ // [source.js] /*@before*/ function f1() { } -var c = /** @class */ (function () { - function c() { - } - return c; -}()); -(function () { }); +class c { +} +() => { }; var e; (function (e) { })(e || (e = {})); diff --git a/tests/baselines/reference/customTransforms/both.js b/tests/baselines/reference/customTransforms/both.js index b759c76ce3816..fc91c4aeb55a0 100644 --- a/tests/baselines/reference/customTransforms/both.js +++ b/tests/baselines/reference/customTransforms/both.js @@ -1,13 +1,9 @@ // [source.js] /*@before*/ function f1() { } -//@after -var c = /** @class */ (function () { - function c() { - } - return c; -}()); -(function () { }); +class c { +} +() => { }; //@after var e; (function (e) { diff --git a/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js b/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js index 7191d615fc65b..f29a8198cc13f 100644 --- a/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js +++ b/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js @@ -1,7 +1,8 @@ // [source.js.map] -{"version":3,"file":"source.js","sourceRoot":"","sources":["source.ts","another.html"],"names":[],"mappings":"AAAA,iCACyB,CAAA;ACDzB,QAAS,CDED"} +{"version":3,"file":"source.js","sourceRoot":"","sources":["source.ts","another.html"],"names":[],"mappings":"AAAA;yBACyB,CAAA;ACDzB,QAAS,CDED"} // [source.js] -"multi\n line"; +`multi + line`; 'change'; //# sourceMappingURL=source.js.map \ No newline at end of file diff --git a/tests/baselines/reference/deprecatedCompilerOptions1.js b/tests/baselines/reference/deprecatedCompilerOptions1.js index 777f182437350..353733f4b8979 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions1.js +++ b/tests/baselines/reference/deprecatedCompilerOptions1.js @@ -5,4 +5,4 @@ const a = 1; //// [a.js] -var a = 1; +const a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions3.js b/tests/baselines/reference/deprecatedCompilerOptions3.js index 3e175cce84226..702c0f3a0c5bf 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions3.js +++ b/tests/baselines/reference/deprecatedCompilerOptions3.js @@ -5,4 +5,4 @@ const a = 1; //// [a.js] -var a = 1; +const a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions4.js b/tests/baselines/reference/deprecatedCompilerOptions4.js index 1557f74b2011d..3497aaae0519a 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions4.js +++ b/tests/baselines/reference/deprecatedCompilerOptions4.js @@ -5,4 +5,4 @@ const a = 1; //// [a.js] -var a = 1; +const a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions5.js b/tests/baselines/reference/deprecatedCompilerOptions5.js index ed591b33fa618..d7a434882079b 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions5.js +++ b/tests/baselines/reference/deprecatedCompilerOptions5.js @@ -5,4 +5,4 @@ const a = 1; //// [a.js] -var a = 1; +const a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions6.js b/tests/baselines/reference/deprecatedCompilerOptions6.js index 2d8cb9f10c3d2..9db646aa73f22 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions6.js +++ b/tests/baselines/reference/deprecatedCompilerOptions6.js @@ -5,4 +5,4 @@ const a = 1; //// [a.js] -var a = 1; +const a = 1; diff --git a/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline b/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline index 9a39e03997412..fc63874b893e1 100644 --- a/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline +++ b/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline @@ -3,11 +3,10 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js var x = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} FileName : /tests/cases/fourslash/inputFile1.d.ts declare var x: number; @@ -20,11 +19,10 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js var x1 = "hello world"; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} FileName : /tests/cases/fourslash/inputFile2.d.ts declare var x1: string; diff --git a/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline b/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline index 241ba6f3a5016..b7f7671b76fc7 100644 --- a/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline +++ b/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline @@ -3,17 +3,15 @@ EmitSkipped: false FileName : declSingleFile.js var x = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} var x1 = "hello world"; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} FileName : declSingleFile.d.ts declare var x: number; diff --git a/tests/baselines/reference/getEmitOutputExternalModule.baseline b/tests/baselines/reference/getEmitOutputExternalModule.baseline index 9dfdf9a63620d..632783493510c 100644 --- a/tests/baselines/reference/getEmitOutputExternalModule.baseline +++ b/tests/baselines/reference/getEmitOutputExternalModule.baseline @@ -3,9 +3,8 @@ EmitSkipped: false FileName : declSingleFile.js var x = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} diff --git a/tests/baselines/reference/getEmitOutputExternalModule2.baseline b/tests/baselines/reference/getEmitOutputExternalModule2.baseline index cbd532561ab74..6b5aaa272a531 100644 --- a/tests/baselines/reference/getEmitOutputExternalModule2.baseline +++ b/tests/baselines/reference/getEmitOutputExternalModule2.baseline @@ -3,15 +3,13 @@ EmitSkipped: false FileName : declSingleFile.js var x = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} var x = "world"; -var Bar2 = /** @class */ (function () { - function Bar2() { - } - return Bar2; -}()); +class Bar2 { + x; + y; +} diff --git a/tests/baselines/reference/getEmitOutputMapRoots.baseline b/tests/baselines/reference/getEmitOutputMapRoots.baseline index c87a6205f62b6..ed653a29b2b6b 100644 --- a/tests/baselines/reference/getEmitOutputMapRoots.baseline +++ b/tests/baselines/reference/getEmitOutputMapRoots.baseline @@ -2,13 +2,12 @@ EmitSkipped: false FileName : declSingleFile.js.map -{"version":3,"file":"declSingleFile.js","sourceRoot":"","sources":["../inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"declSingleFile.js","sourceRoot":"","sources":["../inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,MAAM,CAAC;IACL,CAAC,CAAS;IACV,CAAC,CAAS;CACX"} FileName : declSingleFile.js var x = 109; var foo = "hello world"; -var M = /** @class */ (function () { - function M() { - } - return M; -}()); +class M { + x; + y; +} //# sourceMappingURL=tests/cases/fourslash/mapRootDir/declSingleFile.js.map diff --git a/tests/baselines/reference/getEmitOutputNoErrors.baseline b/tests/baselines/reference/getEmitOutputNoErrors.baseline index a1c99f0589950..f85817be98fec 100644 --- a/tests/baselines/reference/getEmitOutputNoErrors.baseline +++ b/tests/baselines/reference/getEmitOutputNoErrors.baseline @@ -3,9 +3,8 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js var x; -var M = /** @class */ (function () { - function M() { - } - return M; -}()); +class M { + x; + y; +} diff --git a/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline b/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline index 3a845632cfbb5..301779a24c017 100644 --- a/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline +++ b/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline @@ -3,9 +3,8 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js var x; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} diff --git a/tests/baselines/reference/getEmitOutputOutFile.baseline b/tests/baselines/reference/getEmitOutputOutFile.baseline index bb6ab294ec0e5..d464995328425 100644 --- a/tests/baselines/reference/getEmitOutputOutFile.baseline +++ b/tests/baselines/reference/getEmitOutputOutFile.baseline @@ -3,17 +3,15 @@ EmitSkipped: false FileName : outFile.js var x = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} var x1 = "hello world"; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} FileName : outFile.d.ts declare var x: number; diff --git a/tests/baselines/reference/getEmitOutputSingleFile.baseline b/tests/baselines/reference/getEmitOutputSingleFile.baseline index 274e040bfbb0a..77b85a9683576 100644 --- a/tests/baselines/reference/getEmitOutputSingleFile.baseline +++ b/tests/baselines/reference/getEmitOutputSingleFile.baseline @@ -3,15 +3,13 @@ EmitSkipped: false FileName : outputDir/singleFile.js var x; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} var x; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} diff --git a/tests/baselines/reference/getEmitOutputSingleFile2.baseline b/tests/baselines/reference/getEmitOutputSingleFile2.baseline index 241ba6f3a5016..b7f7671b76fc7 100644 --- a/tests/baselines/reference/getEmitOutputSingleFile2.baseline +++ b/tests/baselines/reference/getEmitOutputSingleFile2.baseline @@ -3,17 +3,15 @@ EmitSkipped: false FileName : declSingleFile.js var x = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} var x1 = "hello world"; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} FileName : declSingleFile.d.ts declare var x: number; diff --git a/tests/baselines/reference/getEmitOutputSourceMap.baseline b/tests/baselines/reference/getEmitOutputSourceMap.baseline index 566225e0f17a4..3d36675c8bf06 100644 --- a/tests/baselines/reference/getEmitOutputSourceMap.baseline +++ b/tests/baselines/reference/getEmitOutputSourceMap.baseline @@ -2,13 +2,12 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js.map -{"version":3,"file":"inputFile.js","sourceRoot":"","sources":["inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile.js","sourceRoot":"","sources":["inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,MAAM,CAAC;IACL,CAAC,CAAS;IACV,CAAC,CAAS;CACX"} FileName : /tests/cases/fourslash/inputFile.js var x = 109; var foo = "hello world"; -var M = /** @class */ (function () { - function M() { - } - return M; -}()); +class M { + x; + y; +} //# sourceMappingURL=inputFile.js.map diff --git a/tests/baselines/reference/getEmitOutputSourceMap2.baseline b/tests/baselines/reference/getEmitOutputSourceMap2.baseline index c954be858ac03..227e0f42eec94 100644 --- a/tests/baselines/reference/getEmitOutputSourceMap2.baseline +++ b/tests/baselines/reference/getEmitOutputSourceMap2.baseline @@ -2,15 +2,14 @@ EmitSkipped: false FileName : sample/outDir/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,MAAM,CAAC;IACL,CAAC,CAAS;IACV,CAAC,CAAS;CACX"} FileName : sample/outDir/inputFile1.js var x = 109; var foo = "hello world"; -var M = /** @class */ (function () { - function M() { - } - return M; -}()); +class M { + x; + y; +} //# sourceMappingURL=inputFile1.js.map EmitSkipped: false diff --git a/tests/baselines/reference/getEmitOutputSourceRoot.baseline b/tests/baselines/reference/getEmitOutputSourceRoot.baseline index eb5eef155b52f..89d954c89714e 100644 --- a/tests/baselines/reference/getEmitOutputSourceRoot.baseline +++ b/tests/baselines/reference/getEmitOutputSourceRoot.baseline @@ -2,13 +2,12 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js.map -{"version":3,"file":"inputFile.js","sourceRoot":"sourceRootDir/","sources":["inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile.js","sourceRoot":"sourceRootDir/","sources":["inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,MAAM,CAAC;IACL,CAAC,CAAS;IACV,CAAC,CAAS;CACX"} FileName : /tests/cases/fourslash/inputFile.js var x = 109; var foo = "hello world"; -var M = /** @class */ (function () { - function M() { - } - return M; -}()); +class M { + x; + y; +} //# sourceMappingURL=inputFile.js.map diff --git a/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline b/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline index f840171abc8a7..185405e006658 100644 --- a/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline +++ b/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline @@ -2,25 +2,23 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"sourceRootDir/","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"sourceRootDir/","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB,MAAM,CAAC;IACL,CAAC,CAAS;IACV,CAAC,CAAS;CACX"} FileName : /tests/cases/fourslash/inputFile1.js var x = 109; var foo = "hello world"; -var M = /** @class */ (function () { - function M() { - } - return M; -}()); +class M { + x; + y; +} //# sourceMappingURL=inputFile1.js.map EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js.map -{"version":3,"file":"inputFile2.js","sourceRoot":"sourceRootDir/","sources":["inputFile2.ts"],"names":[],"mappings":"AAAA,IAAI,GAAG,GAAG,wBAAwB,CAAC;AACnC;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile2.js","sourceRoot":"sourceRootDir/","sources":["inputFile2.ts"],"names":[],"mappings":"AAAA,IAAI,GAAG,GAAG,wBAAwB,CAAC;AACnC,MAAM,CAAC;IACL,CAAC,CAAS;IACV,CAAC,CAAW;CACb"} FileName : /tests/cases/fourslash/inputFile2.js var bar = "hello world Typescript"; -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { + x; + y; +} //# sourceMappingURL=inputFile2.js.map diff --git a/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline b/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline index 1639e59986e07..23a46408b3c62 100644 --- a/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline +++ b/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline @@ -2,15 +2,14 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB;IAAA;IAGA,CAAC;IAAD,UAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB,MAAM,GAAG;IACN,CAAC,CAAU;IACX,CAAC,CAAS;CACZ"} FileName : /tests/cases/fourslash/inputFile1.js // regular ts file var t = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} //# sourceMappingURL=inputFile1.js.map FileName : /tests/cases/fourslash/inputFile1.d.ts declare var t: number; diff --git a/tests/baselines/reference/getEmitOutputTsxFile_React.baseline b/tests/baselines/reference/getEmitOutputTsxFile_React.baseline index 5fa94301498d5..1cbee21f47d7e 100644 --- a/tests/baselines/reference/getEmitOutputTsxFile_React.baseline +++ b/tests/baselines/reference/getEmitOutputTsxFile_React.baseline @@ -2,15 +2,14 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB;IAAA;IAGA,CAAC;IAAD,UAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB,MAAM,GAAG;IACN,CAAC,CAAU;IACX,CAAC,CAAS;CACZ"} FileName : /tests/cases/fourslash/inputFile1.js // regular ts file var t = 5; -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); +class Bar { + x; + y; +} //# sourceMappingURL=inputFile1.js.map FileName : /tests/cases/fourslash/inputFile1.d.ts declare var t: number; diff --git a/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline b/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline index 0b61cbd061f4a..467be6c45033e 100644 --- a/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline +++ b/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline @@ -5,9 +5,8 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js var x1 = "hello world"; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { + x; + y; +} diff --git a/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline b/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline index 388b00a459391..c930842ea7de8 100644 --- a/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline +++ b/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline @@ -7,11 +7,8 @@ FileName : /tests/cases/fourslash/inputFile2.js "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Foo = void 0; -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); +class Foo { +} exports.Foo = Foo; EmitSkipped: false diff --git a/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline b/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline index 70fb57556271d..8975858e60d3b 100644 --- a/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline +++ b/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline @@ -3,5 +3,5 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js // File contains early errors. All outputs should be skipped. -var uninitialized_const_error; +const uninitialized_const_error; diff --git a/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline b/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline index 2328e3b7e1aab..861a9aa66e03e 100644 --- a/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline +++ b/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline @@ -4,11 +4,8 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js var M; (function (M) { - var C = /** @class */ (function () { - function C() { - } - return C; - }()); + class C { + } M.foo = new C(); })(M || (M = {})); diff --git a/tests/baselines/reference/getEmitOutputWithEmitterErrors2.baseline b/tests/baselines/reference/getEmitOutputWithEmitterErrors2.baseline index fe6614c163964..3a9536b5eeb39 100644 --- a/tests/baselines/reference/getEmitOutputWithEmitterErrors2.baseline +++ b/tests/baselines/reference/getEmitOutputWithEmitterErrors2.baseline @@ -6,11 +6,8 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.M = void 0; - var C = /** @class */ (function () { - function C() { - } - return C; - }()); + class C { + } var M; (function (M) { M.foo = new C(); diff --git a/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js b/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js index 6ce750c0848c9..71a193c369210 100644 --- a/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js +++ b/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js @@ -14,7 +14,7 @@ declare var x: number; Program1 Options Diagnostics:: error TS6053: File 'lib.d.ts' not found. The file is in the program because: - Default library for target 'es5' + Default library for target 'es2024' Program Reused:: Completely @@ -22,5 +22,5 @@ Program Reused:: Completely Program2 Options Diagnostics:: error TS6053: File 'lib.d.ts' not found. The file is in the program because: - Default library for target 'es5' + Default library for target 'es2024' diff --git a/tests/baselines/reference/project/baseline/node/emit.js b/tests/baselines/reference/project/baseline/node/emit.js index 90c9a1547d2fa..ab6608c594d2f 100644 --- a/tests/baselines/reference/project/baseline/node/emit.js +++ b/tests/baselines/reference/project/baseline/node/emit.js @@ -1,4 +1,4 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var g = require("./decl"); +const g = require("./decl"); var p = g.point(10, 20); diff --git a/tests/baselines/reference/project/baseline3/amd/nestedModule.js b/tests/baselines/reference/project/baseline3/amd/nestedModule.js index bdb6e6a442456..1ba623a086ca5 100644 --- a/tests/baselines/reference/project/baseline3/amd/nestedModule.js +++ b/tests/baselines/reference/project/baseline3/amd/nestedModule.js @@ -4,7 +4,7 @@ define(["require", "exports"], function (require, exports) { exports.outer = void 0; var outer; (function (outer) { - var inner; + let inner; (function (inner) { var local = 1; inner.a = local; diff --git a/tests/baselines/reference/project/baseline3/node/nestedModule.js b/tests/baselines/reference/project/baseline3/node/nestedModule.js index edce8c4ed550e..b7d91dcc46527 100644 --- a/tests/baselines/reference/project/baseline3/node/nestedModule.js +++ b/tests/baselines/reference/project/baseline3/node/nestedModule.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.outer = void 0; var outer; (function (outer) { - var inner; + let inner; (function (inner) { var local = 1; inner.a = local; diff --git a/tests/baselines/reference/project/declarationDir/amd/a.js b/tests/baselines/reference/project/declarationDir/amd/a.js index 4e257cd41bc9e..33bf471ad46da 100644 --- a/tests/baselines/reference/project/declarationDir/amd/a.js +++ b/tests/baselines/reference/project/declarationDir/amd/a.js @@ -2,10 +2,8 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.A = void 0; - var A = /** @class */ (function () { - function A() { - } - return A; - }()); + class A { + b; + } exports.A = A; }); diff --git a/tests/baselines/reference/project/declarationDir/amd/subfolder/b.js b/tests/baselines/reference/project/declarationDir/amd/subfolder/b.js index 5e6b87619375a..e02ed9d01f60f 100644 --- a/tests/baselines/reference/project/declarationDir/amd/subfolder/b.js +++ b/tests/baselines/reference/project/declarationDir/amd/subfolder/b.js @@ -2,10 +2,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.B = void 0; - var B = /** @class */ (function () { - function B() { - } - return B; - }()); + class B { + } exports.B = B; }); diff --git a/tests/baselines/reference/project/declarationDir/amd/subfolder/c.js b/tests/baselines/reference/project/declarationDir/amd/subfolder/c.js index 5ed8c2c1bebb9..d178bf9b77f2b 100644 --- a/tests/baselines/reference/project/declarationDir/amd/subfolder/c.js +++ b/tests/baselines/reference/project/declarationDir/amd/subfolder/c.js @@ -2,10 +2,8 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.C = void 0; - var C = /** @class */ (function () { - function C() { - } - return C; - }()); + class C { + a; + } exports.C = C; }); diff --git a/tests/baselines/reference/project/declarationDir/node/a.js b/tests/baselines/reference/project/declarationDir/node/a.js index 9b82278796bf2..602cd9ba20825 100644 --- a/tests/baselines/reference/project/declarationDir/node/a.js +++ b/tests/baselines/reference/project/declarationDir/node/a.js @@ -1,9 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); +class A { + b; +} exports.A = A; diff --git a/tests/baselines/reference/project/declarationDir/node/subfolder/b.js b/tests/baselines/reference/project/declarationDir/node/subfolder/b.js index e7fbf54aa876a..c1edfd4de191a 100644 --- a/tests/baselines/reference/project/declarationDir/node/subfolder/b.js +++ b/tests/baselines/reference/project/declarationDir/node/subfolder/b.js @@ -1,9 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.B = void 0; -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { +} exports.B = B; diff --git a/tests/baselines/reference/project/declarationDir/node/subfolder/c.js b/tests/baselines/reference/project/declarationDir/node/subfolder/c.js index 71ec7af2e2324..453cfa8522c29 100644 --- a/tests/baselines/reference/project/declarationDir/node/subfolder/c.js +++ b/tests/baselines/reference/project/declarationDir/node/subfolder/c.js @@ -1,9 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.C = void 0; -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { + a; +} exports.C = C; diff --git a/tests/baselines/reference/project/declarationDir2/amd/out/a.js b/tests/baselines/reference/project/declarationDir2/amd/out/a.js index 4e257cd41bc9e..33bf471ad46da 100644 --- a/tests/baselines/reference/project/declarationDir2/amd/out/a.js +++ b/tests/baselines/reference/project/declarationDir2/amd/out/a.js @@ -2,10 +2,8 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.A = void 0; - var A = /** @class */ (function () { - function A() { - } - return A; - }()); + class A { + b; + } exports.A = A; }); diff --git a/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/b.js b/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/b.js index 5e6b87619375a..e02ed9d01f60f 100644 --- a/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/b.js +++ b/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/b.js @@ -2,10 +2,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.B = void 0; - var B = /** @class */ (function () { - function B() { - } - return B; - }()); + class B { + } exports.B = B; }); diff --git a/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/c.js b/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/c.js index 5ed8c2c1bebb9..d178bf9b77f2b 100644 --- a/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/c.js +++ b/tests/baselines/reference/project/declarationDir2/amd/out/subfolder/c.js @@ -2,10 +2,8 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.C = void 0; - var C = /** @class */ (function () { - function C() { - } - return C; - }()); + class C { + a; + } exports.C = C; }); diff --git a/tests/baselines/reference/project/declarationDir2/node/out/a.js b/tests/baselines/reference/project/declarationDir2/node/out/a.js index 9b82278796bf2..602cd9ba20825 100644 --- a/tests/baselines/reference/project/declarationDir2/node/out/a.js +++ b/tests/baselines/reference/project/declarationDir2/node/out/a.js @@ -1,9 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); +class A { + b; +} exports.A = A; diff --git a/tests/baselines/reference/project/declarationDir2/node/out/subfolder/b.js b/tests/baselines/reference/project/declarationDir2/node/out/subfolder/b.js index e7fbf54aa876a..c1edfd4de191a 100644 --- a/tests/baselines/reference/project/declarationDir2/node/out/subfolder/b.js +++ b/tests/baselines/reference/project/declarationDir2/node/out/subfolder/b.js @@ -1,9 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.B = void 0; -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { +} exports.B = B; diff --git a/tests/baselines/reference/project/declarationDir2/node/out/subfolder/c.js b/tests/baselines/reference/project/declarationDir2/node/out/subfolder/c.js index 71ec7af2e2324..453cfa8522c29 100644 --- a/tests/baselines/reference/project/declarationDir2/node/out/subfolder/c.js +++ b/tests/baselines/reference/project/declarationDir2/node/out/subfolder/c.js @@ -1,9 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.C = void 0; -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { + a; +} exports.C = C; diff --git a/tests/baselines/reference/project/declarationDir3/amd/out.js b/tests/baselines/reference/project/declarationDir3/amd/out.js index e96aa78af3368..94917052fa3e0 100644 --- a/tests/baselines/reference/project/declarationDir3/amd/out.js +++ b/tests/baselines/reference/project/declarationDir3/amd/out.js @@ -2,32 +2,25 @@ define("subfolder/b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.B = void 0; - var B = /** @class */ (function () { - function B() { - } - return B; - }()); + class B { + } exports.B = B; }); define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.A = void 0; - var A = /** @class */ (function () { - function A() { - } - return A; - }()); + class A { + b; + } exports.A = A; }); define("subfolder/c", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.C = void 0; - var C = /** @class */ (function () { - function C() { - } - return C; - }()); + class C { + a; + } exports.C = C; }); diff --git a/tests/baselines/reference/project/declarationsCascadingImports/amd/m4.js b/tests/baselines/reference/project/declarationsCascadingImports/amd/m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsCascadingImports/amd/m4.js +++ b/tests/baselines/reference/project/declarationsCascadingImports/amd/m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsCascadingImports/node/m4.js b/tests/baselines/reference/project/declarationsCascadingImports/node/m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsCascadingImports/node/m4.js +++ b/tests/baselines/reference/project/declarationsCascadingImports/node/m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsGlobalImport/amd/glo_m4.js b/tests/baselines/reference/project/declarationsGlobalImport/amd/glo_m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsGlobalImport/amd/glo_m4.js +++ b/tests/baselines/reference/project/declarationsGlobalImport/amd/glo_m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsGlobalImport/node/glo_m4.js b/tests/baselines/reference/project/declarationsGlobalImport/node/glo_m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsGlobalImport/node/glo_m4.js +++ b/tests/baselines/reference/project/declarationsGlobalImport/node/glo_m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsGlobalImport/node/useModule.js b/tests/baselines/reference/project/declarationsGlobalImport/node/useModule.js index 06d31e03adeb3..96a700c9fb9fb 100644 --- a/tests/baselines/reference/project/declarationsGlobalImport/node/useModule.js +++ b/tests/baselines/reference/project/declarationsGlobalImport/node/useModule.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useGlo_m4_f4 = exports.useGlo_m4_d4 = exports.useGlo_m4_x4 = void 0; -var glo_m4 = require("glo_m4"); +const glo_m4 = require("glo_m4"); exports.useGlo_m4_x4 = glo_m4.x; exports.useGlo_m4_d4 = glo_m4.d; exports.useGlo_m4_f4 = glo_m4.foo(); diff --git a/tests/baselines/reference/project/declarationsImportedInPrivate/amd/private_m4.js b/tests/baselines/reference/project/declarationsImportedInPrivate/amd/private_m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsImportedInPrivate/amd/private_m4.js +++ b/tests/baselines/reference/project/declarationsImportedInPrivate/amd/private_m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsImportedInPrivate/node/private_m4.js b/tests/baselines/reference/project/declarationsImportedInPrivate/node/private_m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsImportedInPrivate/node/private_m4.js +++ b/tests/baselines/reference/project/declarationsImportedInPrivate/node/private_m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsImportedInPrivate/node/useModule.js b/tests/baselines/reference/project/declarationsImportedInPrivate/node/useModule.js index 9ff595c1f2cbc..a1d53ebbd68d8 100644 --- a/tests/baselines/reference/project/declarationsImportedInPrivate/node/useModule.js +++ b/tests/baselines/reference/project/declarationsImportedInPrivate/node/useModule.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.usePrivate_m4_m1 = void 0; // only used privately no need to emit -var private_m4 = require("private_m4"); +const private_m4 = require("private_m4"); var usePrivate_m4_m1; (function (usePrivate_m4_m1) { var x3 = private_m4.x; diff --git a/tests/baselines/reference/project/declarationsImportedUseInFunction/amd/fncOnly_m4.js b/tests/baselines/reference/project/declarationsImportedUseInFunction/amd/fncOnly_m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsImportedUseInFunction/amd/fncOnly_m4.js +++ b/tests/baselines/reference/project/declarationsImportedUseInFunction/amd/fncOnly_m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsImportedUseInFunction/node/fncOnly_m4.js b/tests/baselines/reference/project/declarationsImportedUseInFunction/node/fncOnly_m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsImportedUseInFunction/node/fncOnly_m4.js +++ b/tests/baselines/reference/project/declarationsImportedUseInFunction/node/fncOnly_m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsImportedUseInFunction/node/useModule.js b/tests/baselines/reference/project/declarationsImportedUseInFunction/node/useModule.js index 43d6a39148827..0f4bab0ad1e12 100644 --- a/tests/baselines/reference/project/declarationsImportedUseInFunction/node/useModule.js +++ b/tests/baselines/reference/project/declarationsImportedUseInFunction/node/useModule.js @@ -1,5 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useFncOnly_m4_f4 = void 0; -var fncOnly_m4 = require("fncOnly_m4"); +const fncOnly_m4 = require("fncOnly_m4"); exports.useFncOnly_m4_f4 = fncOnly_m4.foo(); diff --git a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/amd/m4.js b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/amd/m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/amd/m4.js +++ b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/amd/m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m4.js b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m4.js +++ b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m5.js b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m5.js index 1cce97c5d72d7..b2c65b8fc70fb 100644 --- a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m5.js +++ b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/m5.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.foo2 = foo2; -var m4 = require("m4"); // Emit used +const m4 = require("m4"); // Emit used function foo2() { return new m4.d(); } diff --git a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/useModule.js b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/useModule.js index a819d1be3bccb..4045cd3d81f98 100644 --- a/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/useModule.js +++ b/tests/baselines/reference/project/declarationsIndirectImportShouldResultInError/node/useModule.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.n = n; // Do not emit unused import -var m5 = require("m5"); +const m5 = require("m5"); exports.d = m5.foo2(); exports.x = m5.foo2; function n() { diff --git a/tests/baselines/reference/project/declarationsMultipleTimesImport/amd/m4.js b/tests/baselines/reference/project/declarationsMultipleTimesImport/amd/m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesImport/amd/m4.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesImport/amd/m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsMultipleTimesImport/node/m4.js b/tests/baselines/reference/project/declarationsMultipleTimesImport/node/m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesImport/node/m4.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesImport/node/m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsMultipleTimesImport/node/useModule.js b/tests/baselines/reference/project/declarationsMultipleTimesImport/node/useModule.js index b93f8769dea93..fe6aaebf57242 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesImport/node/useModule.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesImport/node/useModule.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useMultiImport_m4_f4 = exports.useMultiImport_m4_d4 = exports.useMultiImport_m4_x4 = exports.m1 = exports.f4 = exports.d4 = exports.x4 = void 0; -var m4 = require("m4"); // Emit used +const m4 = require("m4"); // Emit used exports.x4 = m4.x; exports.d4 = m4.d; exports.f4 = m4.foo(); @@ -15,7 +15,7 @@ var m1; var f3 = m4.foo(); })(m1 || (exports.m1 = m1 = {})); // Do not emit multiple used import statements -var multiImport_m4 = require("m4"); // Emit used +const multiImport_m4 = require("m4"); // Emit used exports.useMultiImport_m4_x4 = multiImport_m4.x; exports.useMultiImport_m4_d4 = multiImport_m4.d; exports.useMultiImport_m4_f4 = multiImport_m4.foo(); diff --git a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/m4.js b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/m4.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m4.js b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m4.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m5.js b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m5.js index 1cce97c5d72d7..b2c65b8fc70fb 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m5.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m5.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.foo2 = foo2; -var m4 = require("m4"); // Emit used +const m4 = require("m4"); // Emit used function foo2() { return new m4.d(); } diff --git a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/useModule.js b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/useModule.js index a26837ad5d51d..ea8d6a32264c6 100644 --- a/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/useModule.js +++ b/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/useModule.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.d = exports.m1 = exports.f4 = exports.d4 = exports.x4 = void 0; -var m4 = require("m4"); // Emit used +const m4 = require("m4"); // Emit used exports.x4 = m4.x; exports.d4 = m4.d; exports.f4 = m4.foo(); @@ -15,5 +15,5 @@ var m1; var f3 = m4.foo(); })(m1 || (exports.m1 = m1 = {})); // Do not emit unused import -var m5 = require("m5"); +const m5 = require("m5"); exports.d = m5.foo2(); diff --git a/tests/baselines/reference/project/declarationsSimpleImport/amd/m4.js b/tests/baselines/reference/project/declarationsSimpleImport/amd/m4.js index fe3cf3130b8d9..f37802484fbbd 100644 --- a/tests/baselines/reference/project/declarationsSimpleImport/amd/m4.js +++ b/tests/baselines/reference/project/declarationsSimpleImport/amd/m4.js @@ -3,11 +3,8 @@ define(["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; - var d = /** @class */ (function () { - function d() { - } - return d; - }()); + class d { + } exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsSimpleImport/node/m4.js b/tests/baselines/reference/project/declarationsSimpleImport/node/m4.js index 2a821673d97e2..31d540e5649a5 100644 --- a/tests/baselines/reference/project/declarationsSimpleImport/node/m4.js +++ b/tests/baselines/reference/project/declarationsSimpleImport/node/m4.js @@ -2,11 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.x = exports.d = void 0; exports.foo = foo; -var d = /** @class */ (function () { - function d() { - } - return d; -}()); +class d { +} exports.d = d; ; function foo() { diff --git a/tests/baselines/reference/project/declarationsSimpleImport/node/useModule.js b/tests/baselines/reference/project/declarationsSimpleImport/node/useModule.js index f23e7203f6d2a..a67cefc836da5 100644 --- a/tests/baselines/reference/project/declarationsSimpleImport/node/useModule.js +++ b/tests/baselines/reference/project/declarationsSimpleImport/node/useModule.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.m1 = exports.f4 = exports.d4 = exports.x4 = void 0; -var m4 = require("m4"); // Emit used +const m4 = require("m4"); // Emit used exports.x4 = m4.x; exports.d4 = m4.d; exports.f4 = m4.foo(); diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js index 6878376147c14..b6b386eeec4da 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js index 5514241b4156e..48dd61689973c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map index 1a510a89f7ad9..7ec20dbf16a8c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js index db37300f93570..be9edd7bd8356 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map index 778fac3d2fa32..23f66ac1296b0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js index 6878376147c14..b6b386eeec4da 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js index e4883083f94db..f81c2a95d0b36 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map index a2fb9c7334c35..c38989305fabb 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js index db37300f93570..be9edd7bd8356 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map index 778fac3d2fa32..23f66ac1296b0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 6878376147c14..b6b386eeec4da 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 5514241b4156e..48dd61689973c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 1a510a89f7ad9..7ec20dbf16a8c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index db37300f93570..be9edd7bd8356 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 778fac3d2fa32..23f66ac1296b0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 6878376147c14..b6b386eeec4da 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index e4883083f94db..f81c2a95d0b36 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index a2fb9c7334c35..c38989305fabb 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index db37300f93570..be9edd7bd8356 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 778fac3d2fa32..23f66ac1296b0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index f06b816b75375..a8ccf0ebe9038 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 44f3fc33253a4..91e51125c73bc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 236378f78f5fe..024105d091686 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index ecfb4b8efdd61..380e1206c5929 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index d8a1d0943ca48..749e5704b02f4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 22c66b6ef94ec..91534750ba95b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index a9609eb4c28b7..34269ffa33732 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index c9f06095b7244..eef70e128bc8c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map index 0380b84599365..b65cc36e1b6fc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js index 8775a922f7cc2..b65588acb320f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js index fd62147a0b0f5..f6c93b10e7830 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map index 82d0433a53d6d..5bf81464ad417 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js index 79ad5452ed777..29520dfeb9bb9 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map index 304ad20873bed..371f5800bf048 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map index f99fd04afa526..7998aebbf602c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js index 38d1ceb17b6aa..70eaf8daec852 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js index e9566a908f101..98fed6e733ccb 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map index 3a2c919de9a4e..fab66d62affaf 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js index 43ec782ed73f4..fd7a1b3cf2e74 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map index a64cba0308b6c..b42645bf6b0e8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index fd62147a0b0f5..f6c93b10e7830 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 82d0433a53d6d..5bf81464ad417 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 79ad5452ed777..29520dfeb9bb9 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index 304ad20873bed..371f5800bf048 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 8775a922f7cc2..b65588acb320f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 0380b84599365..b65cc36e1b6fc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index e9566a908f101..98fed6e733ccb 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 3a2c919de9a4e..fab66d62affaf 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index 43ec782ed73f4..fd7a1b3cf2e74 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index a64cba0308b6c..b42645bf6b0e8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 38d1ceb17b6aa..70eaf8daec852 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index f99fd04afa526..7998aebbf602c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js index e1df08253bd2c..16da3ca359c6b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index d3cceac2d7d28..51baf921e4f31 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_module_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_module_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js index 2dab07f4a2d31..bac126994fa60 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map index 3ace4c7d8d7a7..7c292da66c86d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js index 17115887dec0f..c4b01a97357c0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map index 55b0f1b25a94d..8af958a0426a6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js index 92af9cfef3261..2be52a3030077 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map index 89c18097a8d31..aa76de1301256 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js index 06d59cba8a799..492fbe73c300c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map index aa66af618c0c0..78612212d2b70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 2dab07f4a2d31..bac126994fa60 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 3ace4c7d8d7a7..7c292da66c86d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 17115887dec0f..c4b01a97357c0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 55b0f1b25a94d..8af958a0426a6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 92af9cfef3261..2be52a3030077 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 89c18097a8d31..aa76de1301256 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 06d59cba8a799..492fbe73c300c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index aa66af618c0c0..78612212d2b70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js index b2721283717ab..5ca280d993850 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index fb17e922193fa..8d2d3d08f013c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js index c282ec0891700..c2318efff3768 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map index 9cdd5e0a7b825..29e2970f72fe4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js index e35b5aba976d2..234d98c134317 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map index 55b0f1b25a94d..8af958a0426a6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js index 73d3bb8fdd8ef..84285a9bfbfe2 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map index fd05c335f88db..e3cdbf5971d66 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js index 91296094e22a2..fc49dd7f245b6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map index ae11232e37ef3..fb3c4bb1a332b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index c282ec0891700..c2318efff3768 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 9cdd5e0a7b825..29e2970f72fe4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index e35b5aba976d2..234d98c134317 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 55b0f1b25a94d..8af958a0426a6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 73d3bb8fdd8ef..84285a9bfbfe2 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index fd05c335f88db..e3cdbf5971d66 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 91296094e22a2..fc49dd7f245b6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index ae11232e37ef3..fb3c4bb1a332b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 5a5ba7d7ff5dc..138cf1d62420e 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index 9067e7756daff..6125538aaed2e 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map index 73cff5f8681a9..a2ef2c3060591 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js index 0209a1e52cb3c..cfe833fcb9737 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js index 59d88164993e7..70fe43c7a5265 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js index 8dcdfe90435b6..a315468de24e5 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map index 915871dd31794..c8f11570aba87 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map index 73cff5f8681a9..a2ef2c3060591 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js index 0209a1e52cb3c..cfe833fcb9737 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js index 59d88164993e7..70fe43c7a5265 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js index 8dcdfe90435b6..a315468de24e5 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map index 915871dd31794..c8f11570aba87 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 59d88164993e7..70fe43c7a5265 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 8dcdfe90435b6..a315468de24e5 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 915871dd31794..c8f11570aba87 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 0209a1e52cb3c..cfe833fcb9737 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 73cff5f8681a9..a2ef2c3060591 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 59d88164993e7..70fe43c7a5265 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 8dcdfe90435b6..a315468de24e5 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 915871dd31794..c8f11570aba87 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 0209a1e52cb3c..cfe833fcb9737 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 73cff5f8681a9..a2ef2c3060591 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js index 33d2121f2dac9..94c98215c69e6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index c193441236121..40063e69e4166 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js index 33d2121f2dac9..94c98215c69e6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map index c193441236121..40063e69e4166 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js index 9212991194f3a..afae530a97d97 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map index f02cfe4b99478..73369c1bad386 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js index 3bfd41bf7a272..a0eb4e963b47d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map index 478d381f83c14..e29498c5fb942 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js index 9212991194f3a..afae530a97d97 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map index f02cfe4b99478..73369c1bad386 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js index 3bfd41bf7a272..a0eb4e963b47d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map index 478d381f83c14..e29498c5fb942 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 9212991194f3a..afae530a97d97 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index f02cfe4b99478..73369c1bad386 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 3bfd41bf7a272..a0eb4e963b47d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 478d381f83c14..e29498c5fb942 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 9212991194f3a..afae530a97d97 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index f02cfe4b99478..73369c1bad386 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 3bfd41bf7a272..a0eb4e963b47d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 478d381f83c14..e29498c5fb942 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js index ad38ecf77a18b..e93b0f99f96c1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map index 46dc91ceb1be2..67e8b8cb1eb7c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js index ad38ecf77a18b..e93b0f99f96c1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map index 46dc91ceb1be2..67e8b8cb1eb7c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js index 6e93c5d9730df..c28df6f9695b4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js index 6e93c5d9730df..c28df6f9695b4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index 6e93c5d9730df..c28df6f9695b4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index 6e93c5d9730df..c28df6f9695b4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js index 6e93c5d9730df..c28df6f9695b4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js index 6e93c5d9730df..c28df6f9695b4 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js index ee0a86fef01ed..c0942c3f0047f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js index a8d5c333e73fa..8be15783a2b69 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map index 08e20c706ff74..17ea39b3a816a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js index ee0a86fef01ed..c0942c3f0047f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js index a8d5c333e73fa..8be15783a2b69 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map index 08e20c706ff74..17ea39b3a816a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index ee0a86fef01ed..c0942c3f0047f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index a8d5c333e73fa..8be15783a2b69 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 08e20c706ff74..17ea39b3a816a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index ee0a86fef01ed..c0942c3f0047f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 185ca9d604a3f..6b187ab760c54 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index a8d5c333e73fa..8be15783a2b69 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 08e20c706ff74..17ea39b3a816a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js index 5cb9a2c6f06f3..d89ba333289c3 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index fc8a830e8a3a5..9bd8c25616323 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js index 5cb9a2c6f06f3..d89ba333289c3 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map index fc8a830e8a3a5..9bd8c25616323 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js index cc0713358fa6d..80a4c5c3ca172 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index 4ae10d747239a..e8c1bd58fa0aa 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js index 1582de502cb98..7e84f66492318 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map index 347ce9b84a9c1..30b0014e1adbf 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js index f65122a725c4a..5d4f61baea4d2 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map index c37800aafca4f..03fa00addf655 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js index cc0713358fa6d..80a4c5c3ca172 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map index 4ae10d747239a..e8c1bd58fa0aa 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js index c06a6017c8451..885f1e0d33b9f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map index ab1320af01033..167d6051428bd 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js index f65122a725c4a..5d4f61baea4d2 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map index c37800aafca4f..03fa00addf655 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 07de769111d7d..33d537d16937e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 4ae10d747239a..e8c1bd58fa0aa 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index f0bdc14d1dc61..8702eacbb1f57 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 347ce9b84a9c1..30b0014e1adbf 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 4c8d72f111961..ad218860e45d9 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index c37800aafca4f..03fa00addf655 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 07de769111d7d..33d537d16937e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 4ae10d747239a..e8c1bd58fa0aa 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index c424ec5f62e9e..c22ed83c52687 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index ab1320af01033..167d6051428bd 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 4c8d72f111961..ad218860e45d9 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index c37800aafca4f..03fa00addf655 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 941359a0261db..2fd31baac4a82 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 5276c78b2945f..add7240d531ee 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 52016b11f6543..095b5fc7dfa21 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 58f139fdeea60..53c321c46ee33 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index 9642b9151213e..b07708b368747 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 140983a1cfdf4..c38306266897e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 629413012de17..f57ce4f2c3b98 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index c55e9ded38560..7c6b7d488c814 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map index 5851dd5fec2e9..dfa0a8b90ce17 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js index d37aa42357c09..47cfb0ab4a0ce 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js index 26dfaf6a97f3a..86ddbb3b48e0d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map index 487529f751831..fac8d423d2a8f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js index a8a9c418ba2be..3ae9c2712ab1d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map index 26249c8d06e95..42a95aabd9e4a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map index ecd34bc50162d..b38328c65ba2d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js index 15108fb240149..2bc7d9aa8b635 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js index 2676a9a38dc93..62c92b8d9734e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map index 9f0d224ebf9a8..70fb796d18979 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js index c62997f27a760..23738a54d7e71 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js.map index 8e44f7a886087..a97824e4deb99 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index 54a71f7d55665..01be0851d559c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 487529f751831..fac8d423d2a8f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 382b62236150f..d67fb0e7f011a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index 26249c8d06e95..42a95aabd9e4a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 070560f1406bd..2eda0b36ad6c5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 5851dd5fec2e9..dfa0a8b90ce17 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index cb8142f84382d..f6eb4c5b15cdf 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 9f0d224ebf9a8..70fb796d18979 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index e8934e8ec1f5d..6b2af991a6883 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 8e44f7a886087..a97824e4deb99 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 4d4d63b0cd648..70b6a6507d610 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index ecd34bc50162d..b38328c65ba2d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 157441cf3c38a..ab03986152b28 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index 591851bbf5be0..4ab38cfc50e0a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_module_multifolder/ref/m1.ts","../projects/outputdir_module_multifolder_ref/m2.ts","../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_module_multifolder/ref/m1.ts","../projects/outputdir_module_multifolder_ref/m2.ts","../projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js index f872dbb10f7c9..2a92632ff1828 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map index 7f765095b443c..36201fca01c58 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js index adf443d653043..3a1b370397e81 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js.map index 11c3824c19d63..2cd7a28bc7c2f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js index 90985df72eaeb..bd706ec7e8506 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js.map index f69d05ef29a27..34d68250a829b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js index 558864d7049bc..bcf4fafd77a22 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js.map index 0cb504a9c5b29..69c4f3675ff3a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 568a2e50322ba..6b9ab12b11131 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 7f765095b443c..36201fca01c58 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index b96bc179d988c..2df0f05269848 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 11c3824c19d63..2cd7a28bc7c2f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index e361ff7546f2a..1f805a738a88f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index f69d05ef29a27..34d68250a829b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index a27110d3bfb26..a06ec293b8338 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 0cb504a9c5b29..69c4f3675ff3a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js index eca172ad40a2d..d6d95c8a49aad 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index cfa9b9c5a66ab..f7b751d5173ff 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts","../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_simple/m1.ts","../outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js index fefccc32b36c7..440ac532211b5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map index b60b99094fd5e..62c3f5baeae76 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js index 687b1f35ffbee..748c3d8a29a1b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map index 77c2397227b9a..673aa39bb9e77 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js index fdbee82da3caa..634465b9bf7a3 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map index fd63acc089498..9db11d367ad6c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js index 9829c74155ce9..ea1b13e9b9f3d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js.map index ac494517abb93..8e9c0628c546f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index c1e22ec04747b..cf94c1227cf4b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index b60b99094fd5e..62c3f5baeae76 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index ba011ba59f957..194d63ae7747e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 77c2397227b9a..673aa39bb9e77 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index d1633a4c3cd49..7aceb6ecca623 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index fd63acc089498..9db11d367ad6c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index f0ee3f2eeb4c7..0b707542b9c10 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index ac494517abb93..8e9c0628c546f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 88b065635c378..d5c6d2d49c28a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index 24e99d94f970a..ec0e8fab1100f 100644 --- a/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/ref/m1.ts","../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_module_subfolder/ref/m1.ts","../outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map index 7684fc08caa60..3dd8a23d9b531 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js index b43aaf0f3471a..a56669ca8e1c5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js index f88e78c731287..f7f396510f3be 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map index cf9bb7978b8f0..28b7d4693a6fb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js index 253a5e4816f95..b2427bd708d14 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map index 2ac5cd31d8cef..dffcd7c1be3b0 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map index 7684fc08caa60..3dd8a23d9b531 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js index b43aaf0f3471a..a56669ca8e1c5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js index f88e78c731287..f7f396510f3be 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map index cf9bb7978b8f0..28b7d4693a6fb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js index 253a5e4816f95..b2427bd708d14 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map index 2ac5cd31d8cef..dffcd7c1be3b0 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 1ca8cf7b35511..92d35904cb211 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index cf9bb7978b8f0..28b7d4693a6fb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 7df31b5ec466b..92e1b58986afa 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 2ac5cd31d8cef..dffcd7c1be3b0 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 28ae66d438360..4f5943e6ef4ae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7684fc08caa60..3dd8a23d9b531 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 1ca8cf7b35511..92d35904cb211 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index cf9bb7978b8f0..28b7d4693a6fb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 7df31b5ec466b..92e1b58986afa 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 2ac5cd31d8cef..dffcd7c1be3b0 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 28ae66d438360..4f5943e6ef4ae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7684fc08caa60..3dd8a23d9b531 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js index edd701b1b184a..ed2ecb76bc56b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index 44a0bf03adb92..95cce9d4ca438 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js index edd701b1b184a..ed2ecb76bc56b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map index 44a0bf03adb92..95cce9d4ca438 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js index d67d18300f5c8..23cf0fa016b22 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map index e8a5de6561dc6..d623d803a9b35 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js index bd29f7956bd1b..6f0940d93c936 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map index be4772c744112..f670b29c6425b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js index d67d18300f5c8..23cf0fa016b22 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map index e8a5de6561dc6..d623d803a9b35 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js index bd29f7956bd1b..6f0940d93c936 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map index be4772c744112..f670b29c6425b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4f89f9d70815f..f09910df75363 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index e8a5de6561dc6..d623d803a9b35 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 5fce84ff18c36..f00f640ff50d0 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index be4772c744112..f670b29c6425b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4f89f9d70815f..f09910df75363 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index e8a5de6561dc6..d623d803a9b35 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 5fce84ff18c36..f00f640ff50d0 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index be4772c744112..f670b29c6425b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js index ded03237e0857..777286de3cc81 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map index 0ee5b3301c7f7..03e3256a3ff33 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js index ded03237e0857..777286de3cc81 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map index 0ee5b3301c7f7..03e3256a3ff33 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js index 291871e9e51b0..cc2390e9f89a1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map index 7373602f8988a..7b3b348c1f881 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js index 291871e9e51b0..cc2390e9f89a1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map index 7373602f8988a..7b3b348c1f881 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index e4746de99231b..769486d51b372 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 7373602f8988a..7b3b348c1f881 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index e4746de99231b..769486d51b372 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 7373602f8988a..7b3b348c1f881 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js index 9cadbc896e05d..fec8f4b09edcf 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 7373602f8988a..7b3b348c1f881 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js index 9cadbc896e05d..fec8f4b09edcf 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 7373602f8988a..7b3b348c1f881 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js index cc0713358fa6d..80a4c5c3ca172 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map index 6b51432ef509b..3bba42c8058de 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js index 69db0240b76ea..42a5a7a0dc1b9 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map index e8bfa2a885651..4db016a430015 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js index cc0713358fa6d..80a4c5c3ca172 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map index 6b51432ef509b..3bba42c8058de 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js index 69db0240b76ea..42a5a7a0dc1b9 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map index e8bfa2a885651..4db016a430015 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 07de769111d7d..33d537d16937e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 6b51432ef509b..3bba42c8058de 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 0e1644b962ee2..e11fcdbbfd497 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index e8bfa2a885651..4db016a430015 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 07de769111d7d..33d537d16937e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 6b51432ef509b..3bba42c8058de 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 0e1644b962ee2..e11fcdbbfd497 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index e8bfa2a885651..4db016a430015 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js index 4901f9e34030d..d4f4b69ff7473 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index 35e4dd7db1fc7..4ec3c05f1e863 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js index 4901f9e34030d..d4f4b69ff7473 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map index 35e4dd7db1fc7..4ec3c05f1e863 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map index 923cdd5a4a751..5f32dc21d3136 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js index 11c7498d9741c..306da08b577d8 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map index daaadc44fe861..fc01306401a0a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map index 99c81e7d028e1..4e37730bad8b7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map index 923cdd5a4a751..5f32dc21d3136 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js index c7676298ec86a..2c85edb26c66c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map index 20ad0017ed9f5..af7a9f47d3c64 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map index 99c81e7d028e1..4e37730bad8b7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 923cdd5a4a751..5f32dc21d3136 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 11c7498d9741c..306da08b577d8 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index daaadc44fe861..fc01306401a0a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 99c81e7d028e1..4e37730bad8b7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 923cdd5a4a751..5f32dc21d3136 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index c7676298ec86a..2c85edb26c66c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index 20ad0017ed9f5..af7a9f47d3c64 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 99c81e7d028e1..4e37730bad8b7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 9ef5676bc1812..6347615188147 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index e5d86bb8c3ce4..be384bfe6dea5 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js index a9815ec3ad152..afb53bac478e3 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 7b06c6165f452..ff31b96c0b9be 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index e93aac43b8e60..912f0b468e425 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 8cae1763b0827..6f032a881bcb6 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 1186e804d6307..7053f51de27fb 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index b6085481c03e0..b0d57bdf82a2a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map index f2589111180e7..b873eafdd52f6 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile1.js index 51700dd56103b..af98757eb4747 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js index 718f5e667de49..457d5271c68e8 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map index 0be628f3a4ce6..a46a4ac2eacd1 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js index 50f7ae8010da7..3596d0ee7036e 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js.map index f2a3b07e0ee81..abc73d364ec5e 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map index d1767adc81c7d..e9c4989e1f09b 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile1.js index 746e4bc4c3aff..1dd641d2e4ceb 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js index eaa8d1064071e..575da469a323b 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map index d29d7cfb970b6..6aa8491cdde5f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js index 88ac057ff41d4..3195414b99087 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js.map index 0adf882e8a1e1..ca21b0d7eb3e3 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index 718f5e667de49..457d5271c68e8 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 0be628f3a4ce6..a46a4ac2eacd1 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 50f7ae8010da7..3596d0ee7036e 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index f2a3b07e0ee81..abc73d364ec5e 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 51700dd56103b..af98757eb4747 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index f2589111180e7..b873eafdd52f6 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index eaa8d1064071e..575da469a323b 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index d29d7cfb970b6..6aa8491cdde5f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index 88ac057ff41d4..3195414b99087 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 0adf882e8a1e1..ca21b0d7eb3e3 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 746e4bc4c3aff..1dd641d2e4ceb 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index d1767adc81c7d..e9c4989e1f09b 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 60d7c3bdc33b4..89a83d13b0327 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index f3ac85b0fdc6d..0a947a361cee3 100644 --- a/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_module_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js index 56038292babc5..bb8e5e69c5f7a 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js.map index 995ec11ab445e..cc6224489b9d7 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js index 50c7955643cdf..731b94a7d72af 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js.map index 8365c8d68e38b..f2fd11e890645 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js index 6f839d55b56ac..d670c2e66793a 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js.map index 69ac8c0055f46..855261cd216d0 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js index 0a5c0a1f95ddf..65feda92485d7 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js.map index 0d8d5f6c3c91c..173a7048df74f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 56038292babc5..bb8e5e69c5f7a 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 995ec11ab445e..cc6224489b9d7 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 50c7955643cdf..731b94a7d72af 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 8365c8d68e38b..f2fd11e890645 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 6f839d55b56ac..d670c2e66793a 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 69ac8c0055f46..855261cd216d0 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 0a5c0a1f95ddf..65feda92485d7 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 0d8d5f6c3c91c..173a7048df74f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js index 1f34945847f91..b75d6a5041bb8 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index 33d010fb5427b..82fc36bfa862f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts","file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_simple/m1.ts","file:///tests/cases/projects/outputdir_module_simple/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js index 7a0aa6de6345b..d67cf4123848c 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map index b305ea6a3ab66..00243c7d5ea27 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js index cbc9a074845b1..537f18c44ad42 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js.map index 59f4c99ac79e5..945917d4160e2 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js index 4268bda933476..b58ecc91d3b61 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map index c9e756dcba5bc..0c659dc0bd886 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js index 7c2a8cd366052..3e61eb475b88f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js.map index b0fa497adf66e..38281d35ffd13 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 7a0aa6de6345b..d67cf4123848c 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index b305ea6a3ab66..00243c7d5ea27 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index cbc9a074845b1..537f18c44ad42 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 59f4c99ac79e5..945917d4160e2 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4268bda933476..b58ecc91d3b61 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index c9e756dcba5bc..0c659dc0bd886 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 7c2a8cd366052..3e61eb475b88f 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index b0fa497adf66e..38281d35ffd13 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 01716e0bf5244..32691110cf5a8 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index 6bbe82cff03cb..dda12bb8f9a81 100644 --- a/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_module_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_module_subfolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map index 4ff21e2c86676..120e1120e8098 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map index 9f55dd6bc9362..549bc5e412430 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map index 4f6f20b55bf14..c824c74c5afcd 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map index 4ff21e2c86676..120e1120e8098 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map index 9f55dd6bc9362..549bc5e412430 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map index 4f6f20b55bf14..c824c74c5afcd 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index 9f55dd6bc9362..549bc5e412430 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 4f6f20b55bf14..c824c74c5afcd 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 4ff21e2c86676..120e1120e8098 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index 9f55dd6bc9362..549bc5e412430 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 4f6f20b55bf14..c824c74c5afcd 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 4ff21e2c86676..120e1120e8098 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js index 2ab8779418fb3..10811f7c721f0 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map index 33081fa8be631..3a6d13e63ce52 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js index 2ab8779418fb3..10811f7c721f0 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map index 33081fa8be631..3a6d13e63ce52 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map index aa3fcbe541f26..cdfa8bde74331 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map index 14b7b6d60da25..6fd14a3565d75 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map index aa3fcbe541f26..cdfa8bde74331 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map index 14b7b6d60da25..6fd14a3565d75 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index aa3fcbe541f26..cdfa8bde74331 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 14b7b6d60da25..6fd14a3565d75 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index aa3fcbe541f26..cdfa8bde74331 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 14b7b6d60da25..6fd14a3565d75 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js index 44dec645a14c9..56728929cad5d 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map index f365040759fa1..1183d188a4c0f 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js index 44dec645a14c9..56728929cad5d 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map index f365040759fa1..1183d188a4c0f 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map index e0e9f00527b72..d7ea58d58040d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map index e0e9f00527b72..d7ea58d58040d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index e0e9f00527b72..d7ea58d58040d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index e0e9f00527b72..d7ea58d58040d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map index e0e9f00527b72..d7ea58d58040d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map index e0e9f00527b72..d7ea58d58040d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map index 0ad2325d5b2a2..e252d43ba9019 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map index 1b93543e04364..bb8357ec5a116 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map index 0ad2325d5b2a2..e252d43ba9019 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map index 1b93543e04364..bb8357ec5a116 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 0ad2325d5b2a2..e252d43ba9019 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 1b93543e04364..bb8357ec5a116 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 0ad2325d5b2a2..e252d43ba9019 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 1b93543e04364..bb8357ec5a116 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js index 126bb93b34d61..238c8e183af57 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map index 96e6cfa529e6c..c14bf7649e3e4 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js index 126bb93b34d61..238c8e183af57 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map index 96e6cfa529e6c..c14bf7649e3e4 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js index 11c7498d9741c..306da08b577d8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map index 458dd69d6b987..2be20bccecd2d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js index c7676298ec86a..2c85edb26c66c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map index 88589061c7bf7..c3c50e27209cb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 11c7498d9741c..306da08b577d8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 458dd69d6b987..2be20bccecd2d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index c7676298ec86a..2c85edb26c66c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index 88589061c7bf7..c3c50e27209cb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index e36a1dc17c84a..10274678d9c4c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 9ef5676bc1812..6347615188147 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index daecf59cbc6e9..b9323be679b81 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js index a9815ec3ad152..afb53bac478e3 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 802e57a5e7cb9..83f49a878473e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index e93aac43b8e60..912f0b468e425 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index b790907b8c9c8..9121562bc8905 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 1186e804d6307..7053f51de27fb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index dc4a683ce9583..d7aab24364fb3 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map index 5442bbbd02313..538694cd2f949 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js index 51700dd56103b..af98757eb4747 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js index 718f5e667de49..457d5271c68e8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map index 33b809e9f920b..8aa09a342782e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js index 50f7ae8010da7..3596d0ee7036e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map index 7582b15ada7e0..f859139b0fe91 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map index 5cff5612c4d97..f1e23efd3629f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js index 746e4bc4c3aff..1dd641d2e4ceb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js index eaa8d1064071e..575da469a323b 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map index 1322b94962456..f9006e26a9fbc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js index 88ac057ff41d4..3195414b99087 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js.map index 81b8eb46ed056..121e5a6ce20d0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index 718f5e667de49..457d5271c68e8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 33b809e9f920b..8aa09a342782e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 50f7ae8010da7..3596d0ee7036e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index 7582b15ada7e0..f859139b0fe91 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 51700dd56103b..af98757eb4747 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 5442bbbd02313..538694cd2f949 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index eaa8d1064071e..575da469a323b 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 1322b94962456..f9006e26a9fbc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index 88ac057ff41d4..3195414b99087 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 81b8eb46ed056..121e5a6ce20d0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 746e4bc4c3aff..1dd641d2e4ceb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 5cff5612c4d97..f1e23efd3629f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 60d7c3bdc33b4..89a83d13b0327 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index 2416aa85d3752..a186783982573 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js index 56038292babc5..bb8e5e69c5f7a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map index e98871df0b3c1..d80458adec7ba 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js index 50c7955643cdf..731b94a7d72af 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js index 6f839d55b56ac..d670c2e66793a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js.map index 9b3210b593867..9ce0142d35887 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js index 0a5c0a1f95ddf..65feda92485d7 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js.map index 4cf9c76534f89..ad54b1137e3ea 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 56038292babc5..bb8e5e69c5f7a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index e98871df0b3c1..d80458adec7ba 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 50c7955643cdf..731b94a7d72af 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 6f839d55b56ac..d670c2e66793a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 9b3210b593867..9ce0142d35887 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 0a5c0a1f95ddf..65feda92485d7 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 4cf9c76534f89..ad54b1137e3ea 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js index 1f34945847f91..b75d6a5041bb8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index 1bd7664ea94e0..67db856bf8df9 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js index 7a0aa6de6345b..d67cf4123848c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map index 2bf09f723c357..bf991747ae1c6 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js index cbc9a074845b1..537f18c44ad42 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js index 4268bda933476..b58ecc91d3b61 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map index 39a86829afafe..8dc14a404565e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js index 7c2a8cd366052..3e61eb475b88f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js.map index 3814980bc98ed..e797ad11390b6 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 7a0aa6de6345b..d67cf4123848c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 2bf09f723c357..bf991747ae1c6 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index cbc9a074845b1..537f18c44ad42 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4268bda933476..b58ecc91d3b61 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 39a86829afafe..8dc14a404565e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 7c2a8cd366052..3e61eb475b88f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 3814980bc98ed..e797ad11390b6 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 01716e0bf5244..32691110cf5a8 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index c07a5f0b5f88b..4621c4ded4475 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..fbff6513eb1db 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..790a123f9a601 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..d549ebe57e747 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js index 2ab8779418fb3..10811f7c721f0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map index 7e28ae21c0cc5..0ee74eff3ec69 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js index 2ab8779418fb3..10811f7c721f0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map index 7e28ae21c0cc5..0ee74eff3ec69 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 7c46af25a8498..db5a923f10af9 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 34acdb6713b0d..48cd282082fab 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js index 44dec645a14c9..56728929cad5d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map index 2a11b14013ea4..8648c3ef71a29 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js index 44dec645a14c9..56728929cad5d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map index 2a11b14013ea4..8648c3ef71a29 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js index d5245491d39d8..ec63025b96443 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..1ae66539cb3fc 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 475fba0bd2a9b..cfc6697204ef5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js index 126bb93b34d61..238c8e183af57 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map index dc10a268c5522..409635506a2a1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js index 126bb93b34d61..238c8e183af57 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map index dc10a268c5522..409635506a2a1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/nodeModulesImportHigher/node/importHigher/root.js b/tests/baselines/reference/project/nodeModulesImportHigher/node/importHigher/root.js index f1fb849ef6505..96d263582088e 100644 --- a/tests/baselines/reference/project/nodeModulesImportHigher/node/importHigher/root.js +++ b/tests/baselines/reference/project/nodeModulesImportHigher/node/importHigher/root.js @@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -var m1 = __importStar(require("m1")); +const m1 = __importStar(require("m1")); m1.f1("test"); m1.f2.a = 10; m1.f2.person.age = "10"; // Error: Should be number (if direct import of m2 made the m3 module visible). diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/root.js b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/root.js index 016735824e83a..66f864e0fcee1 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/root.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/root.js @@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -var m1 = __importStar(require("m1")); +const m1 = __importStar(require("m1")); m1.f1("test"); m1.f2.a = "10"; // Error: Should be number m1.rel = 42; // Error: Should be boolean diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/maxDepthIncreased/root.js b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/maxDepthIncreased/root.js index 6fba760db90ef..3828e092f9783 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/maxDepthIncreased/root.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/maxDepthIncreased/root.js @@ -39,5 +39,5 @@ define(["require", "exports", "m1", "m4"], function (require, exports, m1, m4) { m1.f1("test"); m1.f2.a = 10; m1.f2.person.age = "10"; // Should error if loaded the .js files correctly - var r2 = 3 + m4.foo; // Should be OK if correctly using the @types .d.ts file + let r2 = 3 + m4.foo; // Should be OK if correctly using the @types .d.ts file }); diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/maxDepthIncreased/root.js b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/maxDepthIncreased/root.js index 12c1266cceb25..8df28f767a69e 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/maxDepthIncreased/root.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/maxDepthIncreased/root.js @@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -var m1 = __importStar(require("m1")); -var m4 = __importStar(require("m4")); +const m1 = __importStar(require("m1")); +const m4 = __importStar(require("m4")); m1.f1("test"); m1.f2.a = 10; m1.f2.person.age = "10"; // Should error if loaded the .js files correctly -var r2 = 3 + m4.foo; // Should be OK if correctly using the @types .d.ts file +let r2 = 3 + m4.foo; // Should be OK if correctly using the @types .d.ts file diff --git a/tests/baselines/reference/project/nonRelative/node/consume.js b/tests/baselines/reference/project/nonRelative/node/consume.js index 8812f79110e77..e13e48c561f63 100644 --- a/tests/baselines/reference/project/nonRelative/node/consume.js +++ b/tests/baselines/reference/project/nonRelative/node/consume.js @@ -1,8 +1,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var mod = require("decl"); -var x = require("lib/foo/a"); -var y = require("lib/bar/a"); +const mod = require("decl"); +const x = require("lib/foo/a"); +const y = require("lib/bar/a"); x.hello(); y.hello(); var str = mod.call(); diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m2.js index b6be44c604f85..658cbc39ee8b0 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js index 1208cf30a7a35..81df9d3e03fb0 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m2.js index c612d1b1d6ded..4816b929c643b 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js index 1208cf30a7a35..81df9d3e03fb0 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index b6be44c604f85..658cbc39ee8b0 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 1208cf30a7a35..81df9d3e03fb0 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index c612d1b1d6ded..4816b929c643b 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 1208cf30a7a35..81df9d3e03fb0 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 916f532ca2d23..cfa0f02551cbc 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js index eca745c76f148..0363a809ca4ec 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index 916f532ca2d23..cfa0f02551cbc 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index eca745c76f148..0363a809ca4ec 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/diskFile0.js b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/diskFile0.js index b6be44c604f85..658cbc39ee8b0 100644 --- a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/diskFile0.js +++ b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/diskFile0.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/ref/m1.js index f7d554478da86..c36518c1fc7d1 100644 --- a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/test.js index 2fc9d26073d4f..a79b3f8a0063a 100644 --- a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/diskFile0.js b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/diskFile0.js index c612d1b1d6ded..4816b929c643b 100644 --- a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/diskFile0.js +++ b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/diskFile0.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/ref/m1.js index 7e7360c3b219b..0f843397df86f 100644 --- a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/test.js index c01fc5e93b08a..4da96abe6406f 100644 --- a/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index f7d554478da86..c36518c1fc7d1 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 2fc9d26073d4f..a79b3f8a0063a 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index b6be44c604f85..658cbc39ee8b0 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index 7e7360c3b219b..0f843397df86f 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index c01fc5e93b08a..4da96abe6406f 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index c612d1b1d6ded..4816b929c643b 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/bin/test.js index e9b11185955f7..6d008edc4f21e 100644 --- a/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/m1.js index f7d554478da86..c36518c1fc7d1 100644 --- a/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/test.js index 315656c28e10c..16554d1ffc6c8 100644 --- a/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/m1.js index 7e7360c3b219b..0f843397df86f 100644 --- a/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/test.js index b566330d41c08..662485844b36f 100644 --- a/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index f7d554478da86..c36518c1fc7d1 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 315656c28e10c..16554d1ffc6c8 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 7e7360c3b219b..0f843397df86f 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index b566330d41c08..662485844b36f 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/bin/test.js index a1c4696f76b8d..98550b74223cb 100644 --- a/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/ref/m1.js index f7d554478da86..c36518c1fc7d1 100644 --- a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/test.js index b3e341938b3b3..fb81490203fea 100644 --- a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/ref/m1.js index 7e7360c3b219b..0f843397df86f 100644 --- a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/test.js index 07dfa327b4a7d..2703ec3e2f95c 100644 --- a/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index f7d554478da86..c36518c1fc7d1 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index b3e341938b3b3..fb81490203fea 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 7e7360c3b219b..0f843397df86f 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 07dfa327b4a7d..2703ec3e2f95c 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 4a967d6ac81de..fba02addc0a54 100644 --- a/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js index 1937fd25edbba..b8e56a0e966c8 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js index a870977dadf19..9b2287a119128 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js b/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js index 1937fd25edbba..b8e56a0e966c8 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js index a870977dadf19..9b2287a119128 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index a870977dadf19..9b2287a119128 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 1937fd25edbba..b8e56a0e966c8 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index a870977dadf19..9b2287a119128 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 1937fd25edbba..b8e56a0e966c8 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js index 1a787105db3b9..787e2bf85aaa8 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js index 1a787105db3b9..787e2bf85aaa8 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js index 42951778f6705..782353b441223 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js index 42951778f6705..782353b441223 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 42951778f6705..782353b441223 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 42951778f6705..782353b441223 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js index 335308fdbbad7..74e595142829d 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js index 335308fdbbad7..74e595142829d 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js index fc842c3ae565b..20610f59b804a 100644 --- a/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js index fc842c3ae565b..20610f59b804a 100644 --- a/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index fc842c3ae565b..20610f59b804a 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index fc842c3ae565b..20610f59b804a 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js index fc842c3ae565b..20610f59b804a 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js index fc842c3ae565b..20610f59b804a 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js index 5a71ed22c8cc3..a722535f50136 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js index 5a71ed22c8cc3..a722535f50136 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 5a71ed22c8cc3..a722535f50136 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 1b7fc06763718..aa602efb02734 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 5a71ed22c8cc3..a722535f50136 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js index dec9e93d53e9a..9c0e7a4435382 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js index dec9e93d53e9a..9c0e7a4435382 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js index f5353bdb697c1..fb62814f15aeb 100644 --- a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js +++ b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js @@ -1,18 +1,3 @@ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); var m2; (function (m2) { m2.c1 = new m2.mExported.me.class1; @@ -21,50 +6,30 @@ var m2; } m2.f1 = f1; m2.x1 = m2.mExported.me.x; - var class1 = /** @class */ (function (_super) { - __extends(class1, _super); - function class1() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class1; - }(m2.mExported.me.class1)); + class class1 extends m2.mExported.me.class1 { + } m2.class1 = class1; var c2 = new m2.mExported.me.class1; function f2() { return new m2.mExported.me.class1(); } var x2 = m2.mExported.me.x; - var class2 = /** @class */ (function (_super) { - __extends(class2, _super); - function class2() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class2; - }(m2.mExported.me.class1)); + class class2 extends m2.mExported.me.class1 { + } m2.c3 = new mNonExported.mne.class1; function f3() { return new mNonExported.mne.class1(); } m2.f3 = f3; m2.x3 = mNonExported.mne.x; - var class3 = /** @class */ (function (_super) { - __extends(class3, _super); - function class3() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class3; - }(mNonExported.mne.class1)); + class class3 extends mNonExported.mne.class1 { + } m2.class3 = class3; var c4 = new mNonExported.mne.class1; function f4() { return new mNonExported.mne.class1(); } var x4 = mNonExported.mne.x; - var class4 = /** @class */ (function (_super) { - __extends(class4, _super); - function class4() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class4; - }(mNonExported.mne.class1)); + class class4 extends mNonExported.mne.class1 { + } })(m2 || (m2 = {})); diff --git a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js index f5353bdb697c1..fb62814f15aeb 100644 --- a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js +++ b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js @@ -1,18 +1,3 @@ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); var m2; (function (m2) { m2.c1 = new m2.mExported.me.class1; @@ -21,50 +6,30 @@ var m2; } m2.f1 = f1; m2.x1 = m2.mExported.me.x; - var class1 = /** @class */ (function (_super) { - __extends(class1, _super); - function class1() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class1; - }(m2.mExported.me.class1)); + class class1 extends m2.mExported.me.class1 { + } m2.class1 = class1; var c2 = new m2.mExported.me.class1; function f2() { return new m2.mExported.me.class1(); } var x2 = m2.mExported.me.x; - var class2 = /** @class */ (function (_super) { - __extends(class2, _super); - function class2() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class2; - }(m2.mExported.me.class1)); + class class2 extends m2.mExported.me.class1 { + } m2.c3 = new mNonExported.mne.class1; function f3() { return new mNonExported.mne.class1(); } m2.f3 = f3; m2.x3 = mNonExported.mne.x; - var class3 = /** @class */ (function (_super) { - __extends(class3, _super); - function class3() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class3; - }(mNonExported.mne.class1)); + class class3 extends mNonExported.mne.class1 { + } m2.class3 = class3; var c4 = new mNonExported.mne.class1; function f4() { return new mNonExported.mne.class1(); } var x4 = mNonExported.mne.x; - var class4 = /** @class */ (function (_super) { - __extends(class4, _super); - function class4() { - return _super !== null && _super.apply(this, arguments) || this; - } - return class4; - }(mNonExported.mne.class1)); + class class4 extends mNonExported.mne.class1 { + } })(m2 || (m2 = {})); diff --git a/tests/baselines/reference/project/prologueEmit/amd/out.js b/tests/baselines/reference/project/prologueEmit/amd/out.js index 0761d85d74026..2c7a03f40d754 100644 --- a/tests/baselines/reference/project/prologueEmit/amd/out.js +++ b/tests/baselines/reference/project/prologueEmit/amd/out.js @@ -1,36 +1,12 @@ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var _this = this; // Add a lambda to ensure global 'this' capture is triggered -(function () { return _this.window; }); +(() => this.window); // class inheritance to ensure __extends is emitted var m; (function (m) { - var base = /** @class */ (function () { - function base() { - } - return base; - }()); + class base { + } m.base = base; - var child = /** @class */ (function (_super) { - __extends(child, _super); - function child() { - return _super !== null && _super.apply(this, arguments) || this; - } - return child; - }(base)); + class child extends base { + } m.child = child; })(m || (m = {})); diff --git a/tests/baselines/reference/project/prologueEmit/node/out.js b/tests/baselines/reference/project/prologueEmit/node/out.js index 0761d85d74026..2c7a03f40d754 100644 --- a/tests/baselines/reference/project/prologueEmit/node/out.js +++ b/tests/baselines/reference/project/prologueEmit/node/out.js @@ -1,36 +1,12 @@ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var _this = this; // Add a lambda to ensure global 'this' capture is triggered -(function () { return _this.window; }); +(() => this.window); // class inheritance to ensure __extends is emitted var m; (function (m) { - var base = /** @class */ (function () { - function base() { - } - return base; - }()); + class base { + } m.base = base; - var child = /** @class */ (function (_super) { - __extends(child, _super); - function child() { - return _super !== null && _super.apply(this, arguments) || this; - } - return child; - }(base)); + class child extends base { + } m.child = child; })(m || (m = {})); diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js index ed444649d06ca..9b8997d5d7a97 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js @@ -1,10 +1,7 @@ var test; (function (test) { - var ClassA = /** @class */ (function () { - function ClassA() { - } - ClassA.prototype.method = function () { }; - return ClassA; - }()); + class ClassA { + method() { } + } test.ClassA = ClassA; })(test || (test = {})); diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js index ce33f2150c13e..7e2175af9bb81 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js @@ -1,23 +1,3 @@ /// -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var ClassC = /** @class */ (function (_super) { - __extends(ClassC, _super); - function ClassC() { - return _super !== null && _super.apply(this, arguments) || this; - } - return ClassC; -}(test.ClassA)); +class ClassC extends test.ClassA { +} diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js index ed444649d06ca..9b8997d5d7a97 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js @@ -1,10 +1,7 @@ var test; (function (test) { - var ClassA = /** @class */ (function () { - function ClassA() { - } - ClassA.prototype.method = function () { }; - return ClassA; - }()); + class ClassA { + method() { } + } test.ClassA = ClassA; })(test || (test = {})); diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js index ce33f2150c13e..7e2175af9bb81 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js @@ -1,23 +1,3 @@ /// -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var ClassC = /** @class */ (function (_super) { - __extends(ClassC, _super); - function ClassC() { - return _super !== null && _super.apply(this, arguments) || this; - } - return ClassC; -}(test.ClassA)); +class ClassC extends test.ClassA { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js index 4c8204804afd1..fe962f5ed0346 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js @@ -1,7 +1,4 @@ /// // This is bar.ts -var bar = /** @class */ (function () { - function bar() { - } - return bar; -}()); +class bar { +} diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js index e8bb44a089b6d..f68cadcf68654 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js @@ -1,6 +1,3 @@ /// -var foo = /** @class */ (function () { - function foo() { - } - return foo; -}()); +class foo { +} diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js index 1662f0dfb881d..9daf401ddb30f 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js @@ -1,5 +1,2 @@ -var test = /** @class */ (function () { - function test() { - } - return test; -}()); +class test { +} diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js index 1662f0dfb881d..9daf401ddb30f 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js @@ -1,5 +1,2 @@ -var test = /** @class */ (function () { - function test() { - } - return test; -}()); +class test { +} diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js index 1662f0dfb881d..9daf401ddb30f 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js @@ -1,5 +1,2 @@ -var test = /** @class */ (function () { - function test() { - } - return test; -}()); +class test { +} diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js index 1662f0dfb881d..9daf401ddb30f 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js @@ -1,5 +1,2 @@ -var test = /** @class */ (function () { - function test() { - } - return test; -}()); +class test { +} diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..d0cb833b8165a 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js @@ -1,6 +1,3 @@ -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { +} //# sourceMappingURL=fileC.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map index d67fd5861cff8..194e9cbb3b290 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CACN"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js index de69db3ded8eb..981ab88becd54 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js @@ -1,7 +1,5 @@ /// -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { + c; +} //# sourceMappingURL=fileB.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map index 161ad8891f6b9..7ad918cadfb3f 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,MAAM,CAAC;IACI,CAAC,CAAI;CACf"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..d0cb833b8165a 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js @@ -1,6 +1,3 @@ -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { +} //# sourceMappingURL=fileC.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map index d67fd5861cff8..194e9cbb3b290 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CACN"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js index de69db3ded8eb..981ab88becd54 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js @@ -1,7 +1,5 @@ /// -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { + c; +} //# sourceMappingURL=fileB.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map index 161ad8891f6b9..7ad918cadfb3f 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,MAAM,CAAC;IACI,CAAC,CAAI;CACf"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js index e3580f23910ef..088df9b97a2f0 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js @@ -1,6 +1,4 @@ /// -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { + c; +} diff --git a/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js b/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js index 35b4a697f307e..f4885b3ca74d4 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js @@ -1,5 +1,2 @@ -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { +} diff --git a/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js index e3580f23910ef..088df9b97a2f0 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js @@ -1,6 +1,4 @@ /// -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { + c; +} diff --git a/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js b/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js index 35b4a697f307e..f4885b3ca74d4 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js @@ -1,5 +1,2 @@ -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { +} diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..d0cb833b8165a 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js @@ -1,6 +1,3 @@ -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { +} //# sourceMappingURL=fileC.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map index 45953aa1384d9..83cf54c2b4e16 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CACN"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js index de69db3ded8eb..981ab88becd54 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js @@ -1,7 +1,5 @@ /// -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { + c; +} //# sourceMappingURL=fileB.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map index bf8cdf049728e..1027a544bcfc7 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,MAAM,CAAC;IACI,CAAC,CAAI;CACf"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..d0cb833b8165a 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js @@ -1,6 +1,3 @@ -var C = /** @class */ (function () { - function C() { - } - return C; -}()); +class C { +} //# sourceMappingURL=fileC.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map index 45953aa1384d9..83cf54c2b4e16 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;CACN"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js index de69db3ded8eb..981ab88becd54 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js @@ -1,7 +1,5 @@ /// -var B = /** @class */ (function () { - function B() { - } - return B; -}()); +class B { + c; +} //# sourceMappingURL=fileB.js.map \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map index bf8cdf049728e..1027a544bcfc7 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,MAAM,CAAC;IACI,CAAC,CAAI;CACf"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index 69f95278c1529..78e80fe63ee83 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map index 444c39e79179e..e6f9aa51103f9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map index befa07547e50f..b100f94a97255 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map index 69f95278c1529..78e80fe63ee83 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map index 072298d5933f5..865c08a3dca98 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map index befa07547e50f..b100f94a97255 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 69f95278c1529..78e80fe63ee83 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 444c39e79179e..e6f9aa51103f9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index befa07547e50f..b100f94a97255 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 69f95278c1529..78e80fe63ee83 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index 072298d5933f5..865c08a3dca98 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index befa07547e50f..b100f94a97255 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..7f3aac3ee7e16 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 0c19aa286ac0f..97a4607ef1ef6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d1d8e9f51ed03 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 75fed673cb400..d63c28c945375 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..89fe446b0bb90 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 804336cab3218..a303712248dcd 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..e7eac799c540d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index dda03645ae193..362b03ea083c1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map index cfd265276c6b8..9e621601a4336 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map index b71dadb11bbad..04998199b0e5a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map index 20e69a486a8a2..769e10edf8f15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map index 524b6aba5fecb..003085154f37a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map index 7c5c3849b3ed6..7dfe9cbe8fdff 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map index 9af614b849f59..270eba79f6bb6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index b71dadb11bbad..04998199b0e5a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index 20e69a486a8a2..769e10edf8f15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index cfd265276c6b8..9e621601a4336 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 7c5c3849b3ed6..7dfe9cbe8fdff 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 9af614b849f59..270eba79f6bb6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 524b6aba5fecb..003085154f37a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 94f95b722ba93..985fce39cdbb5 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index 5c8752348add9..0737b149aef13 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_multifolder/src/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map index 49cce281eef84..391e60031ad6b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map index c4be7d7820fa7..7aedbfaccc76d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map index cd0341aba0316..486bc462cfc0c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map index 61d06d4dbd4e7..15b5333590119 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 49cce281eef84..391e60031ad6b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index c4be7d7820fa7..7aedbfaccc76d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index cd0341aba0316..486bc462cfc0c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 61d06d4dbd4e7..15b5333590119 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js index 540b2ebaa68c4..f33837f5c5bd0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index 71d6b320e1a0d..19cba19f21ca4 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map index 4dbb173579b29..1ca86edf3609d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map index 8cc4615ca16ed..7013f84c2261b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map index fc172219f08bb..826b9480021cf 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map index 27b168abebd5a..bb95d72934cf2 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 4dbb173579b29..1ca86edf3609d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 8cc4615ca16ed..7013f84c2261b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index fc172219f08bb..826b9480021cf 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 27b168abebd5a..bb95d72934cf2 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 5fc4b1b96ecd3..3fc8ea0c4a4c5 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index da62a07b62c86..af0ad036b37a2 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_module_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map index 911f4310eb967..966f51ce704ad 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map index 94102705a5934..9f587af36b727 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map index 32fd960386dc8..5daffa3f41420 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map index 911f4310eb967..966f51ce704ad 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map index 94102705a5934..9f587af36b727 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map index 32fd960386dc8..5daffa3f41420 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index 94102705a5934..9f587af36b727 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 32fd960386dc8..5daffa3f41420 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 911f4310eb967..966f51ce704ad 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index 94102705a5934..9f587af36b727 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 32fd960386dc8..5daffa3f41420 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 911f4310eb967..966f51ce704ad 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index fedaa1060392e..134018ff738ad 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map index fedaa1060392e..134018ff738ad 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map index 6e5af4690f828..b4e6bae735188 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map index 18c161b53b563..6219d71c7f768 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map index 6e5af4690f828..b4e6bae735188 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map index 18c161b53b563..6219d71c7f768 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 6e5af4690f828..b4e6bae735188 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 18c161b53b563..6219d71c7f768 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 6e5af4690f828..b4e6bae735188 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 18c161b53b563..6219d71c7f768 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map index 8bebf8f069787..e1cd7a97b7b92 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map index 8bebf8f069787..e1cd7a97b7b92 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map index 96b90e9e0cb3b..46c4eadf1ee64 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map index 96b90e9e0cb3b..46c4eadf1ee64 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 96b90e9e0cb3b..46c4eadf1ee64 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 96b90e9e0cb3b..46c4eadf1ee64 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 96b90e9e0cb3b..46c4eadf1ee64 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 96b90e9e0cb3b..46c4eadf1ee64 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map index 4002befdbf13e..3ad4d84271d0b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map index 2b61d7f4fd037..36c79f904c066 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map index 4002befdbf13e..3ad4d84271d0b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map index 2b61d7f4fd037..36c79f904c066 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 4002befdbf13e..3ad4d84271d0b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 2b61d7f4fd037..36c79f904c066 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 4002befdbf13e..3ad4d84271d0b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 2b61d7f4fd037..36c79f904c066 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index df501fedb3921..0104edbb96711 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map index df501fedb3921..0104edbb96711 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map index 720fdc0bbaf49..15c8cf9ef9021 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map index a27c034fb55f8..a6c43599b5026 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map index e21d08007f308..23b7e5fab4a55 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map index a27c034fb55f8..a6c43599b5026 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 720fdc0bbaf49..15c8cf9ef9021 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a27c034fb55f8..a6c43599b5026 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index e21d08007f308..23b7e5fab4a55 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a27c034fb55f8..a6c43599b5026 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..7f3aac3ee7e16 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 3e9c9b879de2c..1dfe8c2be68f3 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d1d8e9f51ed03 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 0b191fbe9f1d2..4ec7c8560cf0f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..89fe446b0bb90 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 619c03c354707..fde41010d5472 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..e7eac799c540d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index 985dc5b30fdeb..e3282ee0e7a7e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map index 56227eb1d9601..93ddf4c92f71c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map index b62b9de8f1731..70108bd99dcfb 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map index d369bae596b33..84e1a44524296 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map index b92f9abe980ee..b5ab83b18c8a6 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map index 49dc2e7415223..af960b6cfa4b2 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js.map index 0ba9f92c77986..ae9b6dc046973 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index b62b9de8f1731..70108bd99dcfb 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index d369bae596b33..84e1a44524296 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 56227eb1d9601..93ddf4c92f71c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 49dc2e7415223..af960b6cfa4b2 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 0ba9f92c77986..ae9b6dc046973 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index b92f9abe980ee..b5ab83b18c8a6 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 94f95b722ba93..985fce39cdbb5 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index dd887c36ba076..1ca4ca11d062a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map index 9863dff122c2e..846d75f39cc78 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js.map index cb13b67080062..ebfeee8071447 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js.map index 572249088414d..63b4a1aad10bd 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js.map index 8b127416472b1..f6c7b2263f65f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 9863dff122c2e..846d75f39cc78 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index cb13b67080062..ebfeee8071447 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 572249088414d..63b4a1aad10bd 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 8b127416472b1..f6c7b2263f65f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js index 540b2ebaa68c4..f33837f5c5bd0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index e64bc91f1f434..3fb5b6b0fcf7a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map index 4bbfdbf1cc3eb..4f065a6e0dee8 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map index cb13b67080062..ebfeee8071447 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map index e62e0a00ccadc..ff46af547939a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js.map index 637556766ccca..12af221f890a4 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 4bbfdbf1cc3eb..4f065a6e0dee8 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index cb13b67080062..ebfeee8071447 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index e62e0a00ccadc..ff46af547939a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 637556766ccca..12af221f890a4 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 5fc4b1b96ecd3..3fc8ea0c4a4c5 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index 911e61ed2d52c..0256469e56a7f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map index 7f9c1c00b653c..0a76d04bf2061 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map index d9564c6bc85c6..98cc8d9923ae4 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map index cc443abac7bac..a8f0e647689ec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map index 7f9c1c00b653c..0a76d04bf2061 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map index d9564c6bc85c6..98cc8d9923ae4 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map index cc443abac7bac..a8f0e647689ec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index d9564c6bc85c6..98cc8d9923ae4 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index cc443abac7bac..a8f0e647689ec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7f9c1c00b653c..0a76d04bf2061 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index d9564c6bc85c6..98cc8d9923ae4 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index cc443abac7bac..a8f0e647689ec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7f9c1c00b653c..0a76d04bf2061 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index a594ad77686ca..facba00996acc 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map index a594ad77686ca..facba00996acc 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map index a0c011ab06c47..e3081771fa5fd 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map index 5dcab2aa737af..c8be55c0e1842 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map index a0c011ab06c47..e3081771fa5fd 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map index 5dcab2aa737af..c8be55c0e1842 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index a0c011ab06c47..e3081771fa5fd 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 5dcab2aa737af..c8be55c0e1842 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index a0c011ab06c47..e3081771fa5fd 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 5dcab2aa737af..c8be55c0e1842 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map index d68a7ce755850..4ef7d26b3558c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map index d68a7ce755850..4ef7d26b3558c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map index 3ba8b406a08c6..09af4fdff30e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map index 3ba8b406a08c6..09af4fdff30e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 3ba8b406a08c6..09af4fdff30e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 3ba8b406a08c6..09af4fdff30e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 3ba8b406a08c6..09af4fdff30e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 3ba8b406a08c6..09af4fdff30e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map index 8245474604382..7186f9287029e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map index 8245474604382..7186f9287029e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 8245474604382..7186f9287029e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index ad88a195e02ea..eed49f4a6e36a 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 8245474604382..7186f9287029e 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index d35b8bd9bb00c..99cf802ff6501 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map index d35b8bd9bb00c..99cf802ff6501 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js.map index ca640eca847fc..34e2ed611755e 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map index 24d1a8155ab50..fcc440f5437c7 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js.map index fe1603340bd28..506c1c2aa7280 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map index 24d1a8155ab50..fcc440f5437c7 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 2e067a3cbabbd..4eec7ba4d81dd 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index bae91f73c9590..cec5e7e598342 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index 579c350af266b..0da5f885f0f44 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index bae91f73c9590..cec5e7e598342 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..7f3aac3ee7e16 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 44f3fc33253a4..91e51125c73bc 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d1d8e9f51ed03 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index ecfb4b8efdd61..380e1206c5929 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..89fe446b0bb90 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 22c66b6ef94ec..91534750ba95b 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..e7eac799c540d 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index c9f06095b7244..eef70e128bc8c 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile0.js.map index ca640eca847fc..34e2ed611755e 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile1.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js.map index d297d0fa632df..0ac378495bba7 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js.map index 6cb9643521363..b3303d9a9fec5 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile0.js.map index fe1603340bd28..506c1c2aa7280 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile1.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js.map index 7a1b17fad1152..83fd8b505a180 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js.map index cb81d09caab85..8c9051a9b6627 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index fd9b886d0b801..baec3f01b3c49 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index 3686819edbd84..1fbdf5dcf0f7e 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 978e4ce6c2d24..203e4ca028739 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index d71c632dd08ed..0edb4cb1a9bf5 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 8e79fbfa27ad0..4cf5dfecd66d0 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 07874e32c7f7a..88ac2a9a5e270 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 94f95b722ba93..985fce39cdbb5 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index d3cceac2d7d28..51baf921e4f31 100644 --- a/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_module_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_module_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js.map index d297d0fa632df..0ac378495bba7 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js.map index adbbf6c385451..db6e4514c7514 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js.map index 7a1b17fad1152..83fd8b505a180 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js.map index b7cba77dfece3..a5411266d4749 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 8723a600ff100..d1f26305d2ecb 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 002b656195891..30b938484cf7d 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index d86b154f0c8cd..289e7d34f925d 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 6eab88ce69ea6..5d35d704c63ed 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js index 540b2ebaa68c4..f33837f5c5bd0 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index fb17e922193fa..8d2d3d08f013c 100644 --- a/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js.map index d297d0fa632df..0ac378495bba7 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js.map index adbbf6c385451..db6e4514c7514 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js.map index 7a1b17fad1152..83fd8b505a180 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js.map index 11f58b3cfd923..1c0d62d22fb7b 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 82d0433a53d6d..5bf81464ad417 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 002b656195891..30b938484cf7d 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 3a2c919de9a4e..fab66d62affaf 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a1b1f218bafa1..37c8880307495 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 5fc4b1b96ecd3..3fc8ea0c4a4c5 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index 9067e7756daff..6125538aaed2e 100644 --- a/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map index 0fb7588351846..68e8f7b96b2a2 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map index 908a340c5966b..6a811c2596f56 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map index 0fb7588351846..68e8f7b96b2a2 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map index 908a340c5966b..6a811c2596f56 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index c739702c5e331..85901ae7f1d6a 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 2c2a35ddac761..d8cedd91c06b9 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 69dcd47623756..d8f1ef6553a8e 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index c739702c5e331..85901ae7f1d6a 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 2c2a35ddac761..d8cedd91c06b9 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 69dcd47623756..d8f1ef6553a8e 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map index c193441236121..40063e69e4166 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map index c193441236121..40063e69e4166 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map index 42ec9413cd347..3744a60f6f705 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map index 42ec9413cd347..3744a60f6f705 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 29e5e2dcb3ecd..acda4330224aa 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a476ad151865b..452fe84789b21 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 29e5e2dcb3ecd..acda4330224aa 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index a476ad151865b..452fe84789b21 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map index 46dc91ceb1be2..67e8b8cb1eb7c 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map index 46dc91ceb1be2..67e8b8cb1eb7c 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map index ace05a51e3ef6..5a6b37204a15b 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map index ace05a51e3ef6..5a6b37204a15b 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index d0ad680ed6e06..7d4e7bf803804 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index d0ad680ed6e06..7d4e7bf803804 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map index 4a81c411553ba..e3aa39ca3bf70 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map index a0603c8f8c001..a7c0f55a2fd15 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map index e793efbfb3839..df38a279114e7 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map index a0603c8f8c001..a7c0f55a2fd15 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a96415e622e8b..7418d3230745e 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 49f78f3d209ee..7070dd43eefdc 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a96415e622e8b..7418d3230745e 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map index fc8a830e8a3a5..9bd8c25616323 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map index fc8a830e8a3a5..9bd8c25616323 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map index 458dd69d6b987..2be20bccecd2d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map index 88589061c7bf7..c3c50e27209cb 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map index 458dd69d6b987..2be20bccecd2d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map index 88589061c7bf7..c3c50e27209cb 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..1768f1eaa7ff9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 63af98c5af8be..6038099d82847 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..7f3aac3ee7e16 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index daecf59cbc6e9..b9323be679b81 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d1d8e9f51ed03 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 802e57a5e7cb9..83f49a878473e 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..89fe446b0bb90 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -14,11 +12,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -28,11 +24,9 @@ define("ref/m2", ["require", "exports"], function (require, exports) { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index b790907b8c9c8..9121562bc8905 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..e7eac799c540d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; @@ -11,11 +9,9 @@ function m1_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index dc4a683ce9583..d7aab24364fb3 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map index 5442bbbd02313..538694cd2f949 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map index 33b809e9f920b..8aa09a342782e 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map index 7582b15ada7e0..f859139b0fe91 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map index 5cff5612c4d97..f1e23efd3629f 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map index 1322b94962456..f9006e26a9fbc 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js.map index 81b8eb46ed056..121e5a6ce20d0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 33b809e9f920b..8aa09a342782e 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js index 5a70e76abdef4..aebd0b9558c2b 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1", "../outputdir_module_multifolder_ref/m2" exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map index 7582b15ada7e0..f859139b0fe91 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAQA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js index 594d09397051b..5de7b1330f304 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 5442bbbd02313..538694cd2f949 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map index 1322b94962456..f9006e26a9fbc 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js index ec752dcead0cc..2b201448d59b8 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js @@ -2,14 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); -var m2 = require("../outputdir_module_multifolder_ref/m2"); +const m1 = require("ref/m1"); +const m2 = require("../outputdir_module_multifolder_ref/m2"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map index 81b8eb46ed056..121e5a6ce20d0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,2BAA8B;AAC9B,2DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;AAQA,gBAEC;AAVD,6BAA8B;AAC9B,6DAA8D;AACnD,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js index 2fe7b56d5c62a..11569818885d7 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map index 5cff5612c4d97..f1e23efd3629f 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder_ref/m2.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js index 94f95b722ba93..985fce39cdbb5 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("outputdir_module_multifolder/ref/m1", ["require", "exports"], function ( exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("outputdir_module_multifolder_ref/m2", ["require", "exports"], function ( exports.m2_instance1 = exports.m2_c1 = exports.m2_a1 = void 0; exports.m2_f1 = m2_f1; exports.m2_a1 = 10; - var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; - }()); + class m2_c1 { + m2_c1_p1; + } exports.m2_c1 = m2_c1; exports.m2_instance1 = new m2_c1(); function m2_f1() { @@ -38,11 +34,9 @@ define("outputdir_module_multifolder/test", ["require", "exports", "outputdir_mo exports.a3 = exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map index 2416aa85d3752..a186783982573 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_module_multifolder/ref/m1.ts","outputdir_module_multifolder_ref/m2.ts","outputdir_module_multifolder/test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICAD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACd,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map index e98871df0b3c1..d80458adec7ba 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js.map index 9b3210b593867..9ce0142d35887 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js.map index 4cf9c76534f89..ad54b1137e3ea 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index e98871df0b3c1..d80458adec7ba 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 90abed2dd7d17..b89d18cc045aa 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 9b3210b593867..9ce0142d35887 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 73fa4f98ae62a..7c00be04f587d 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("m1"); +const m1 = require("m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 4cf9c76534f89..ad54b1137e3ea 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,uBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,yBAA0B;AACf,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js index 540b2ebaa68c4..f33837f5c5bd0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map index 1bd7664ea94e0..67db856bf8df9 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map index 2bf09f723c357..bf991747ae1c6 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map index 39a86829afafe..8dc14a404565e 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js.map index 3814980bc98ed..e797ad11390b6 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index e739d7aac8a11..12a3596a7b331 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -4,11 +4,9 @@ define(["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 2bf09f723c357..bf991747ae1c6 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index c21e7d3a4878a..8cfe6055291fb 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -4,11 +4,9 @@ define(["require", "exports", "ref/m1"], function (require, exports, m1) { exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index f7619b182bdac..1beceaf5b60e0 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;;IAOA,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index e15cbb62ab4bd..2ac933315ab68 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 39a86829afafe..8dc14a404565e 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAFY,sBAAK;AAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";;;AAMA,sBAEC;AARU,QAAA,KAAK,GAAG,EAAE,CAAC;AACtB,MAAa,KAAK;IACP,QAAQ,CAAS;CAC3B;AAFD,sBAEC;AAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AACtC,SAAgB,KAAK;IACjB,OAAO,oBAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 1b5bc077240d3..beedfa7641391 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -2,13 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; -var m1 = require("ref/m1"); +const m1 = require("ref/m1"); exports.a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 3814980bc98ed..e797ad11390b6 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,2BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAFY,gBAAE;AAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";;;AAOA,gBAEC;AATD,6BAA8B;AACnB,QAAA,EAAE,GAAG,EAAE,CAAC;AACnB,MAAa,EAAE;IACJ,EAAE,CAAS;CACrB;AAFD,gBAEC;AAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AAChC,SAAgB,EAAE;IACd,OAAO,iBAAS,CAAC;AACrB,CAAC;AAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js index 5fc4b1b96ecd3..3fc8ea0c4a4c5 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js @@ -4,11 +4,9 @@ define("ref/m1", ["require", "exports"], function (require, exports) { exports.m1_instance1 = exports.m1_c1 = exports.m1_a1 = void 0; exports.m1_f1 = m1_f1; exports.m1_a1 = 10; - var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; - }()); + class m1_c1 { + m1_c1_p1; + } exports.m1_c1 = m1_c1; exports.m1_instance1 = new m1_c1(); function m1_f1() { @@ -21,11 +19,9 @@ define("test", ["require", "exports", "ref/m1"], function (require, exports, m1) exports.a2 = exports.instance1 = exports.c1 = exports.a1 = void 0; exports.f1 = f1; exports.a1 = 10; - var c1 = /** @class */ (function () { - function c1() { - } - return c1; - }()); + class c1 { + p1; + } exports.c1 = c1; exports.instance1 = new c1(); function f1() { diff --git a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map index c07a5f0b5f88b..4621c4ded4475 100644 --- a/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB;QAAA;QAEA,CAAC;QAAD,SAAC;IAAD,CAAC,AAFD,IAEC;IAFY,gBAAE;IAIJ,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";;;;IAMA,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB,MAAa,KAAK;QACP,QAAQ,CAAS;KAC3B;IAFD,sBAEC;IAEU,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;;;;;ICDD,gBAEC;IARU,QAAA,EAAE,GAAG,EAAE,CAAC;IACnB,MAAa,EAAE;QACJ,EAAE,CAAS;KACrB;IAFD,gBAEC;IAEU,QAAA,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;IAChC,SAAgB,EAAE;QACd,OAAO,iBAAS,CAAC;IACrB,CAAC;IAEU,QAAA,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..7b461ff7fbd55 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..b1cbeecfb522c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,11 +1,9 @@ /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..12a755e83bf4a 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..4ea8fa0848189 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,9 +1,7 @@ var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..583261261c5e1 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map index 7e28ae21c0cc5..0ee74eff3ec69 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..a00350eb848a2 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,19 +1,15 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } var m2_a1 = 10; -var m2_c1 = /** @class */ (function () { - function m2_c1() { - } - return m2_c1; -}()); +class m2_c1 { + m2_c1_p1; +} var m2_instance1 = new m2_c1(); function m2_f1() { return m2_instance1; @@ -21,11 +17,9 @@ function m2_f1() { /// /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map index 7e28ae21c0cc5..0ee74eff3ec69 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 0fe185ad05ae4..e0e59264b51cb 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..d20123fafbb5f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 9f98aaca6fe56..5fc230a935f52 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map index 2a11b14013ea4..8648c3ef71a29 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..366206b98ddb7 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map index 2a11b14013ea4..8648c3ef71a29 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..153b985abfb8e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,9 +1,7 @@ var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map index 40ad382956284..fd04fb5a4d873 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..dc36de0e5e57a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,9 +1,7 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..4c64a3a4cbaaa 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..7e37524762f8b 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,10 +1,8 @@ /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a61695ca4aaae..e895b4541085a 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map index dc10a268c5522..409635506a2a1 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..ae962863e67b1 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,20 +1,16 @@ var m1_a1 = 10; -var m1_c1 = /** @class */ (function () { - function m1_c1() { - } - return m1_c1; -}()); +class m1_c1 { + m1_c1_p1; +} var m1_instance1 = new m1_c1(); function m1_f1() { return m1_instance1; } /// var a1 = 10; -var c1 = /** @class */ (function () { - function c1() { - } - return c1; -}()); +class c1 { + p1; +} var instance1 = new c1(); function f1() { return instance1; diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map index dc10a268c5522..409635506a2a1 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf,MAAM,KAAK;IACA,QAAQ,CAAS;CAC3B;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ,MAAM,EAAE;IACG,EAAE,CAAS;CACrB;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/amd/fs.js b/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/amd/fs.js index bdcbf0f055d19..ca56ac84972db 100644 --- a/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/amd/fs.js +++ b/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/amd/fs.js @@ -2,19 +2,16 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RM = void 0; - var RM = /** @class */ (function () { - function RM() { - } - RM.prototype.getName = function () { + class RM { + getName() { return 'rm'; - }; - RM.prototype.getDescription = function () { + } + getDescription() { return "\t\t\tDelete file"; - }; - RM.prototype.run = function (configuration) { + } + run(configuration) { var absoluteWorkspacePath = configuration.workspace.toAbsolutePath(configuration.server); - }; - return RM; - }()); + } + } exports.RM = RM; }); diff --git a/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/node/fs.js b/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/node/fs.js index da0b3f17c4df9..d178d59c19952 100644 --- a/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/node/fs.js +++ b/tests/baselines/reference/project/visibilityOfTypeUsedAcrossModules/node/fs.js @@ -1,18 +1,15 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RM = void 0; -var RM = /** @class */ (function () { - function RM() { - } - RM.prototype.getName = function () { +class RM { + getName() { return 'rm'; - }; - RM.prototype.getDescription = function () { + } + getDescription() { return "\t\t\tDelete file"; - }; - RM.prototype.run = function (configuration) { + } + run(configuration) { var absoluteWorkspacePath = configuration.workspace.toAbsolutePath(configuration.server); - }; - return RM; -}()); + } +} exports.RM = RM; diff --git a/tests/baselines/reference/transformApi/transformsCorrectly.rewrittenNamespace.js b/tests/baselines/reference/transformApi/transformsCorrectly.rewrittenNamespace.js index 76d5d9a4dab86..ca8ee3d6d93d3 100644 --- a/tests/baselines/reference/transformApi/transformsCorrectly.rewrittenNamespace.js +++ b/tests/baselines/reference/transformApi/transformsCorrectly.rewrittenNamespace.js @@ -1,4 +1,4 @@ var Reflect; (function (Reflect) { - var x = 1; + const x = 1; })(Reflect || (Reflect = {})); diff --git a/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js b/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js index 409e3dd847890..c4de227a98391 100644 --- a/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js +++ b/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js @@ -38,17 +38,16 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/main.tsx Matched by include pattern 'src/**/*.tsx' in 'project/tsconfig.json' +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/project/src/main.d.ts] diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-discrepancies.js index 10a80338092bd..ebb3f9bd22947 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -54,7 +54,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -106,7 +106,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -155,7 +155,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -207,7 +207,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -256,7 +256,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental-discrepancies.js index 6958d0133182f..c32c8308cf3ce 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -49,7 +49,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -101,7 +101,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -145,7 +145,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental.js index 2523ec1b10f4b..cb160b0e57612 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options-with-incremental.js @@ -45,45 +45,35 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -98,7 +88,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -147,7 +137,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 857 + "size": 869 } @@ -164,21 +154,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (used version) /home/src/workspaces/project/c.ts (used version) @@ -202,44 +192,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -254,7 +232,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -306,20 +284,20 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 886 + "size": 898 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/b.js.map] -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/c.js.map] -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} //// [/home/src/workspaces/project/d.js.map] -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} Program root files: [ @@ -336,7 +314,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -364,44 +342,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -416,7 +382,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -465,7 +431,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 857 + "size": 869 } @@ -482,7 +448,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -510,12 +476,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -530,7 +496,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -598,7 +564,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1164 + "size": 1176 } //// [/home/src/workspaces/project/a.d.ts] @@ -632,7 +598,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -660,12 +626,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -680,7 +646,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -749,7 +715,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1186 + "size": 1198 } //// [/home/src/workspaces/project/a.d.ts] @@ -796,7 +762,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -843,20 +809,17 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -871,7 +834,7 @@ var aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -936,7 +899,7 @@ var aLocal = 100; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1146 } @@ -953,7 +916,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -983,12 +946,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1003,7 +966,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1072,7 +1035,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1187 + "size": 1199 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1099,7 +1062,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1143,44 +1106,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= +export const a = 10; +const aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEdBQUcsQ0FBQyJ9 //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= +export const b = 10; +const bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEVBQUUsQ0FBQyJ9 //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { a } from "./a"; +export const c = a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { b } from "./b"; +export const d = b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1195,7 +1146,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1263,7 +1214,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1169 + "size": 1181 } @@ -1281,7 +1232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1309,44 +1260,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1361,7 +1300,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1429,11 +1368,11 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1163 + "size": 1175 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,GAAG,CAAC"} //// [/home/src/workspaces/project/b.js.map] file written with same contents //// [/home/src/workspaces/project/c.js.map] file written with same contents @@ -1453,7 +1392,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1481,44 +1420,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1533,7 +1460,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1598,7 +1525,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1146 } @@ -1615,7 +1542,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1643,12 +1570,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1663,7 +1590,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1732,7 +1659,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1187 + "size": 1199 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1759,7 +1686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options.js index f7b5b7492e443..9018941ed4066 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options.js @@ -45,12 +45,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/a.d.ts] @@ -58,11 +57,8 @@ export declare const a = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -70,11 +66,8 @@ export declare const b = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/c.d.ts] @@ -82,11 +75,8 @@ export declare const c = 10; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/d.d.ts] @@ -94,12 +84,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -114,7 +104,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -183,7 +173,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -200,21 +190,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -238,44 +228,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -290,7 +268,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -360,20 +338,20 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1213 + "size": 1225 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/b.js.map] -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/c.js.map] -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} //// [/home/src/workspaces/project/d.js.map] -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} Program root files: [ @@ -390,7 +368,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -418,44 +396,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -470,7 +436,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -539,7 +505,7 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -556,7 +522,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -632,12 +598,12 @@ export declare const d = 10; //# sourceMappingURL=d.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -652,7 +618,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -723,7 +689,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1237 + "size": 1249 } //// [/home/src/workspaces/project/a.d.ts.map] @@ -754,7 +720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -798,12 +764,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -818,7 +784,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -887,7 +853,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -904,7 +870,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -967,20 +933,17 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -995,7 +958,7 @@ var aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1064,7 +1027,7 @@ var aLocal = 100; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1197 + "size": 1209 } @@ -1081,7 +1044,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1127,44 +1090,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= +export const a = 10; +const aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEdBQUcsQ0FBQyJ9 //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= +export const b = 10; +const bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEVBQUUsQ0FBQyJ9 //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { a } from "./a"; +export const c = a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { b } from "./b"; +export const d = b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1179,7 +1130,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1249,7 +1200,7 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1220 + "size": 1232 } @@ -1267,7 +1218,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1295,44 +1246,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1347,7 +1286,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1417,11 +1356,11 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1214 + "size": 1226 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,GAAG,CAAC"} //// [/home/src/workspaces/project/b.js.map] file written with same contents //// [/home/src/workspaces/project/c.js.map] file written with same contents @@ -1441,7 +1380,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-discrepancies.js index 6be4eaf824fb7..5db82aa736a44 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -54,7 +54,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -156,7 +156,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js index 12f931c45fd53..40e22bdfb74c6 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -53,7 +53,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -102,7 +102,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -153,7 +153,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index b874d75f21b4c..5b738db5bb561 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -87,6 +87,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/src/a.d.ts] export declare const a = 10; @@ -104,12 +106,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -124,7 +126,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -193,7 +195,7 @@ export declare const d = 10; ] }, "version": "FakeTSVersion", - "size": 1197 + "size": 1209 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -209,12 +211,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -230,7 +232,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -300,7 +302,7 @@ export declare const g = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -325,7 +327,7 @@ export declare const g = 10; ] ], "version": "FakeTSVersion", - "size": 1273 + "size": 1285 } @@ -344,21 +346,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -378,7 +380,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -388,7 +390,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -442,7 +444,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -492,12 +494,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/a.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -512,7 +514,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -581,7 +583,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1211 + "size": 1223 } @@ -600,7 +602,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -626,7 +628,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -672,12 +674,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -692,7 +694,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -761,16 +763,16 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1212 + "size": 1224 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -786,7 +788,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -856,7 +858,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -881,63 +883,42 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1274 + "size": 1286 } //// [/home/src/workspaces/solution/project1/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; +export const a = 10; +const aLocal = 10; +const aa = 10; //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/solution/project1/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/solution/project2/src/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = void 0; -exports.e = 10; +export const e = 10; //// [/home/src/workspaces/solution/project2/src/f.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; +import { a } from "../../project1/src/a"; +export const f = a; //// [/home/src/workspaces/solution/project2/src/g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; +import { b } from "../../project1/src/b"; +export const g = b; @@ -956,7 +937,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -980,7 +961,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1038,7 +1019,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1096,7 +1077,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1146,12 +1127,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/b.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1166,7 +1147,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1235,16 +1216,13 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1241 } //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var blocal = 10; +export const b = 10; +const bLocal = 10; +const blocal = 10; @@ -1263,7 +1241,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1289,7 +1267,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration.js index 4c2412ebeb7b7..79dcf3ca57731 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline-with-declaration.js @@ -85,6 +85,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/src/a.d.ts] export declare const a = 10; @@ -158,21 +160,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -191,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -201,7 +203,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -269,7 +271,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -339,21 +341,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -372,7 +374,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -382,7 +384,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -435,59 +437,38 @@ Found 1 error. //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/project1/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; +export const a = 10; +const aLocal = 10; +const aa = 10; //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/solution/project1/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/solution/project2/src/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = void 0; -exports.e = 10; +export const e = 10; //// [/home/src/workspaces/solution/project2/src/f.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; +import { a } from "../../project1/src/a"; +export const f = a; //// [/home/src/workspaces/solution/project2/src/g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; +import { b } from "../../project1/src/b"; +export const g = b; @@ -505,21 +486,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -538,7 +519,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -548,7 +529,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -606,7 +587,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -616,7 +597,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -677,7 +658,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -687,7 +668,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -744,12 +725,9 @@ Found 1 error. //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var blocal = 10; +export const b = 10; +const bLocal = 10; +const blocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] file written with same contents @@ -772,21 +750,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -805,7 +783,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -815,7 +793,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline.js index ff214a2320ea9..919f600264ea2 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-false-on-commandline.js @@ -73,6 +73,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/src/a.d.ts] export declare const a = 10; @@ -90,12 +92,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -110,7 +112,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -180,7 +182,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1229 + "size": 1241 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -196,12 +198,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -217,7 +219,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -287,7 +289,7 @@ export declare const g = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1262 + "size": 1274 } @@ -305,21 +307,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -338,7 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -346,7 +348,7 @@ Program files:: /home/src/workspaces/solution/project2/src/g.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -354,7 +356,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/workspaces/solution/project2/src/g.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -406,12 +408,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -426,7 +428,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -496,7 +498,7 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1243 + "size": 1255 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -515,7 +517,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -550,12 +552,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -570,7 +572,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -640,16 +642,16 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1244 + "size": 1256 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -665,7 +667,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -735,63 +737,42 @@ Output:: }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1263 + "size": 1275 } //// [/home/src/workspaces/solution/project1/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; +export const a = 10; +const aLocal = 10; +const aa = 10; //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/solution/project1/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/solution/project2/src/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = void 0; -exports.e = 10; +export const e = 10; //// [/home/src/workspaces/solution/project2/src/f.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; +import { a } from "../../project1/src/a"; +export const f = a; //// [/home/src/workspaces/solution/project2/src/g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; +import { b } from "../../project1/src/b"; +export const g = b; @@ -809,7 +790,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -832,7 +813,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -907,12 +888,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -927,7 +908,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -997,17 +978,14 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1261 + "size": 1273 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var blocal = 10; +export const b = 10; +const bLocal = 10; +const blocal = 10; @@ -1025,7 +1003,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-discrepancies.js index 5083ff27158da..af812c8084c96 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -54,7 +54,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -103,7 +103,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -155,7 +155,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -210,7 +210,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -262,7 +262,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js index fe05fb9ec5707..497bbdbe2704c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -53,7 +53,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -101,7 +101,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -152,7 +152,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -206,7 +206,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -257,7 +257,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index 0da480391c0d7..806d9414c78f9 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -85,6 +85,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/src/a.d.ts] export declare const a = 10; @@ -102,12 +104,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -122,7 +124,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -191,7 +193,7 @@ export declare const d = 10; ] }, "version": "FakeTSVersion", - "size": 1197 + "size": 1209 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -207,12 +209,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -228,7 +230,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -298,7 +300,7 @@ export declare const g = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -323,7 +325,7 @@ export declare const g = 10; ] ], "version": "FakeTSVersion", - "size": 1273 + "size": 1285 } @@ -342,21 +344,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -376,7 +378,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -386,7 +388,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -440,7 +442,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -490,12 +492,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/a.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -510,7 +512,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -579,7 +581,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1211 + "size": 1223 } @@ -598,7 +600,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -624,7 +626,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -679,12 +681,12 @@ export declare const aaa = 10; //// [/home/src/workspaces/solution/project1/src/c.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -699,7 +701,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -768,17 +770,17 @@ export declare const aaa = 10; ] }, "version": "FakeTSVersion", - "size": 1264 + "size": 1276 } //// [/home/src/workspaces/solution/project2/src/f.d.ts] file written with same contents //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -794,7 +796,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -864,7 +866,7 @@ export declare const aaa = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -889,7 +891,7 @@ export declare const aaa = 10; ] ], "version": "FakeTSVersion", - "size": 1305 + "size": 1317 } @@ -908,7 +910,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -936,7 +938,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -984,12 +986,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1004,7 +1006,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1072,16 +1074,16 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1237 + "size": 1249 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1097,7 +1099,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1166,7 +1168,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1191,64 +1193,43 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } //// [/home/src/workspaces/solution/project1/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; +export const a = 10; +const aLocal = 10; +const aa = 10; +export const aaa = 10; //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/solution/project1/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/solution/project2/src/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = void 0; -exports.e = 10; +export const e = 10; //// [/home/src/workspaces/solution/project2/src/f.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; +import { a } from "../../project1/src/a"; +export const f = a; //// [/home/src/workspaces/solution/project2/src/g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; +import { b } from "../../project1/src/b"; +export const g = b; @@ -1266,7 +1247,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1289,7 +1270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1347,7 +1328,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1397,12 +1378,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/b.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1417,7 +1398,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1485,16 +1466,13 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1255 + "size": 1267 } //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; +export const b = 10; +const bLocal = 10; +const alocal = 10; @@ -1512,7 +1490,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1537,7 +1515,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1587,12 +1565,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/b.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1607,7 +1585,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1676,7 +1654,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1298 + "size": 1310 } @@ -1695,7 +1673,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1721,7 +1699,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1776,12 +1754,12 @@ export declare const aaaaa = 10; //// [/home/src/workspaces/solution/project1/src/d.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1796,7 +1774,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1865,17 +1843,17 @@ export declare const aaaaa = 10; ] }, "version": "FakeTSVersion", - "size": 1355 + "size": 1367 } //// [/home/src/workspaces/solution/project2/src/g.d.ts] file written with same contents //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1891,7 +1869,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1961,7 +1939,7 @@ export declare const aaaaa = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1986,7 +1964,7 @@ export declare const aaaaa = 10; ] ], "version": "FakeTSVersion", - "size": 1338 + "size": 1350 } @@ -2005,7 +1983,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -2033,7 +2011,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -2091,12 +2069,12 @@ export declare const a2 = 10; //// [/home/src/workspaces/solution/project1/src/d.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -2111,7 +2089,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -2179,17 +2157,17 @@ export declare const a2 = 10; ] }, "version": "FakeTSVersion", - "size": 1382 + "size": 1394 } //// [/home/src/workspaces/solution/project2/src/g.d.ts] file written with same contents //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"declaration":true},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -2205,7 +2183,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -2274,7 +2252,7 @@ export declare const a2 = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2299,20 +2277,17 @@ export declare const a2 = 10; ] ], "version": "FakeTSVersion", - "size": 1343 + "size": 1355 } //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a2 = exports.aaaaa = exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; -var aaaa = 10; -exports.aaaaa = 10; -exports.a2 = 10; +export const b = 10; +const bLocal = 10; +const alocal = 10; +const aaaa = 10; +export const aaaaa = 10; +export const a2 = 10; //// [/home/src/workspaces/solution/project1/src/c.js] file written with same contents @@ -2335,7 +2310,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -2362,7 +2337,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration.js index 0b60a1aca8d43..4f91016bf6893 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline-with-declaration.js @@ -83,6 +83,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/src/a.d.ts] export declare const a = 10; @@ -156,21 +158,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -189,7 +191,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -199,7 +201,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -257,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -267,7 +269,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -337,21 +339,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -370,7 +372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -380,7 +382,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -454,21 +456,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -487,7 +489,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -497,7 +499,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -550,60 +552,39 @@ Found 1 error. //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/project1/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; +export const a = 10; +const aLocal = 10; +const aa = 10; +export const aaa = 10; //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/solution/project1/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/solution/project2/src/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = void 0; -exports.e = 10; +export const e = 10; //// [/home/src/workspaces/solution/project2/src/f.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; +import { a } from "../../project1/src/a"; +export const f = a; //// [/home/src/workspaces/solution/project2/src/g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; +import { b } from "../../project1/src/b"; +export const g = b; @@ -620,21 +601,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -652,7 +633,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -662,7 +643,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -720,7 +701,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -730,7 +711,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -787,12 +768,9 @@ Found 1 error. //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; +export const b = 10; +const bLocal = 10; +const alocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] file written with same contents @@ -814,21 +792,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -846,7 +824,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -856,7 +834,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -926,21 +904,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -959,7 +937,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -969,7 +947,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -1043,21 +1021,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -1076,7 +1054,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1086,7 +1064,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -1148,15 +1126,12 @@ export declare const a2 = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a2 = exports.aaaaa = exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; -var aaaa = 10; -exports.aaaaa = 10; -exports.a2 = 10; +export const b = 10; +const bLocal = 10; +const alocal = 10; +const aaaa = 10; +export const aaaaa = 10; +export const a2 = 10; //// [/home/src/workspaces/solution/project1/src/c.js] file written with same contents @@ -1178,21 +1153,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -1210,7 +1185,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1220,7 +1195,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline.js index 7971faa084f49..12a49b555cab0 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline.js @@ -71,6 +71,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/src/a.d.ts] export declare const a = 10; @@ -88,12 +90,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -108,7 +110,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -178,7 +180,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1229 + "size": 1241 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -194,12 +196,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -215,7 +217,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -285,7 +287,7 @@ export declare const g = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1262 + "size": 1274 } @@ -303,21 +305,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts /home/src/workspaces/solution/project1/src/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project1/src/a.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/b.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/c.ts (computed .d.ts during emit) @@ -336,7 +338,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -344,7 +346,7 @@ Program files:: /home/src/workspaces/solution/project2/src/g.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -352,7 +354,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/workspaces/solution/project2/src/g.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/project2/src/e.ts (computed .d.ts during emit) /home/src/workspaces/solution/project1/src/a.d.ts (used version) /home/src/workspaces/solution/project2/src/f.ts (computed .d.ts during emit) @@ -404,12 +406,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -424,7 +426,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -494,7 +496,7 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1243 + "size": 1255 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -513,7 +515,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -556,12 +558,12 @@ export declare const aaa = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -576,7 +578,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -646,16 +648,16 @@ export declare const aaa = 10; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -671,7 +673,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -741,7 +743,7 @@ export declare const aaa = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1294 + "size": 1306 } @@ -759,7 +761,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -786,7 +788,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -824,12 +826,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -844,7 +846,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -913,16 +915,16 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1269 + "size": 1281 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -938,7 +940,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1007,64 +1009,43 @@ Output:: }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1267 + "size": 1279 } //// [/home/src/workspaces/solution/project1/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; +export const a = 10; +const aLocal = 10; +const aa = 10; +export const aaa = 10; //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/solution/project1/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/solution/project1/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/solution/project2/src/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = void 0; -exports.e = 10; +export const e = 10; //// [/home/src/workspaces/solution/project2/src/f.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; +import { a } from "../../project1/src/a"; +export const f = a; //// [/home/src/workspaces/solution/project2/src/g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; +import { b } from "../../project1/src/b"; +export const g = b; @@ -1081,7 +1062,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1103,7 +1084,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1159,12 +1140,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1179,7 +1160,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1248,17 +1229,14 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1287 + "size": 1299 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; +export const b = 10; +const bLocal = 10; +const alocal = 10; @@ -1275,7 +1253,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1313,12 +1291,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1333,7 +1311,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1403,7 +1381,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1330 + "size": 1342 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -1422,7 +1400,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1465,12 +1443,12 @@ export declare const aaaaa = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1485,7 +1463,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1555,16 +1533,16 @@ export declare const aaaaa = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1387 + "size": 1399 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1580,7 +1558,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1650,7 +1628,7 @@ export declare const aaaaa = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1327 + "size": 1339 } @@ -1668,7 +1646,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1695,7 +1673,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1742,12 +1720,12 @@ export declare const a2 = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1762,7 +1740,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1831,16 +1809,16 @@ export declare const a2 = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1414 + "size": 1426 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileIdsList":[[3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1856,7 +1834,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1925,20 +1903,17 @@ export declare const a2 = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1332 + "size": 1344 } //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents //// [/home/src/workspaces/solution/project1/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a2 = exports.aaaaa = exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; -var aaaa = 10; -exports.aaaaa = 10; -exports.a2 = 10; +export const b = 10; +const bLocal = 10; +const alocal = 10; +const aaaa = 10; +export const aaaaa = 10; +export const a2 = 10; //// [/home/src/workspaces/solution/project1/src/c.js] file written with same contents @@ -1960,7 +1935,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1986,7 +1961,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project1/src/a.d.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-discrepancies.js index 0150b50b7cb26..79d56fa906ff8 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -38,7 +38,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -74,7 +74,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -107,7 +107,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -143,7 +143,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -176,7 +176,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental-discrepancies.js index b095f92cef9e5..f9ad7e748273b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -34,7 +34,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -69,7 +69,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -98,7 +98,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js index df084ccd3f4cc..b3742ce42a29d 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options-with-incremental.js @@ -60,20 +60,22 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -90,19 +92,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -128,7 +130,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -149,7 +151,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 883 + "size": 895 } @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -214,14 +216,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -238,19 +240,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -277,7 +279,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -298,11 +300,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 900 + "size": 912 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -367,14 +369,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -391,19 +393,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -429,7 +431,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -450,7 +452,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 883 + "size": 895 } @@ -469,7 +471,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -510,19 +512,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -549,7 +551,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -570,7 +572,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 902 + "size": 914 } //// [/home/src/workspaces/outFile.d.ts] @@ -605,7 +607,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -646,19 +648,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -686,7 +688,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -707,7 +709,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 924 + "size": 936 } //// [/home/src/workspaces/outFile.d.ts] @@ -746,7 +748,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -802,7 +804,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -851,14 +853,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -875,19 +877,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -913,7 +915,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -934,7 +936,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 884 + "size": 896 } @@ -953,7 +955,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -994,19 +996,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1034,7 +1036,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1055,7 +1057,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 925 + "size": 937 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1078,7 +1080,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1134,7 +1136,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1180,14 +1182,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1201,22 +1203,22 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = void 0; exports.d = b_1.b; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1243,7 +1245,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1264,7 +1266,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 907 + "size": 919 } @@ -1284,7 +1286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1330,14 +1332,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1354,19 +1356,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1393,7 +1395,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1414,11 +1416,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 901 + "size": 913 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -1437,7 +1439,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1483,14 +1485,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1507,19 +1509,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1545,7 +1547,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1566,7 +1568,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 884 + "size": 896 } @@ -1585,7 +1587,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1626,19 +1628,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1666,7 +1668,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1687,7 +1689,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 925 + "size": 937 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1710,7 +1712,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1768,7 +1770,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js index fb9f0732876c4..c45b6e454f4f0 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js @@ -60,20 +60,22 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -105,19 +107,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -144,7 +146,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -167,7 +169,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1183 + "size": 1195 } @@ -186,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -232,14 +234,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -256,19 +258,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -296,7 +298,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -319,11 +321,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1200 + "size": 1212 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -342,7 +344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -388,14 +390,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -412,19 +414,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -451,7 +453,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -474,7 +476,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1183 + "size": 1195 } @@ -493,7 +495,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -550,7 +552,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -606,7 +608,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -662,19 +664,19 @@ declare module "d" { //# sourceMappingURL=outFile.d.ts.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -703,7 +705,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -726,7 +728,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1224 + "size": 1236 } //// [/home/src/workspaces/outFile.d.ts.map] @@ -750,7 +752,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -806,19 +808,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -845,7 +847,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -868,7 +870,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1183 + "size": 1195 } @@ -887,7 +889,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -944,7 +946,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1000,7 +1002,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1049,14 +1051,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1073,19 +1075,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1112,7 +1114,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1135,7 +1137,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1184 + "size": 1196 } @@ -1154,7 +1156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1211,7 +1213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1257,14 +1259,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1278,22 +1280,22 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = void 0; exports.d = b_1.b; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1321,7 +1323,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1344,7 +1346,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1207 + "size": 1219 } @@ -1364,7 +1366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1410,14 +1412,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1434,19 +1436,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1474,7 +1476,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1497,11 +1499,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1201 + "size": 1213 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -1520,7 +1522,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-discrepancies.js index 89604e1643122..0fa77a8c52a2c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -38,7 +38,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -72,7 +72,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js index 80000267eb91f..12f41618081ef 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -36,7 +36,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -98,7 +98,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index a500899c6b6ac..d213bd530979f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -111,6 +111,8 @@ Found 5 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/outFile.d.ts] declare module "a" { export const a = 10; @@ -127,19 +129,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -167,7 +169,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -188,7 +190,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 919 + "size": 931 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -204,19 +206,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -243,7 +245,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -264,7 +266,7 @@ declare module "g" { ] ], "version": "FakeTSVersion", - "size": 1089 + "size": 1101 } @@ -285,7 +287,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -311,7 +313,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -393,7 +395,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -419,7 +421,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -488,19 +490,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -528,7 +530,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -549,7 +551,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 933 + "size": 945 } @@ -570,7 +572,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -596,7 +598,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -661,19 +663,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -701,7 +703,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -722,23 +724,23 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 934 + "size": 946 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -765,7 +767,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -786,7 +788,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1090 + "size": 1102 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -795,15 +797,15 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -858,7 +860,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -884,7 +886,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -966,7 +968,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -992,7 +994,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1074,7 +1076,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1100,7 +1102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1169,19 +1171,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1209,7 +1211,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1230,7 +1232,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 951 + "size": 963 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1239,16 +1241,16 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; - var blocal = 10; + const bLocal = 10; + const blocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1282,7 +1284,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1308,7 +1310,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js index 59e3a82a7fea1..eb481afc598dd 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline-with-declaration.js @@ -109,6 +109,8 @@ Found 5 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/outFile.d.ts] declare module "a" { export const a = 10; @@ -184,7 +186,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -209,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -296,7 +298,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -411,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -436,7 +438,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -512,15 +514,15 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -574,7 +576,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -599,7 +601,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -686,7 +688,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -711,7 +713,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -800,7 +802,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -825,7 +827,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -904,16 +906,16 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; - var blocal = 10; + const bLocal = 10; + const blocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -947,7 +949,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -972,7 +974,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js index 2658d09332b86..4200859d37ca9 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-false-on-commandline.js @@ -100,6 +100,8 @@ Found 4 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/outFile.d.ts] declare module "a" { export const a = 10; @@ -116,19 +118,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -156,7 +158,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -179,7 +181,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1200 + "size": 1212 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -195,19 +197,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -234,7 +236,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -257,7 +259,7 @@ declare module "g" { "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1317 + "size": 1329 } @@ -277,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -302,7 +304,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -374,7 +376,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -399,7 +401,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -458,19 +460,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -498,7 +500,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -521,7 +523,7 @@ Found 4 errors. "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1214 + "size": 1226 } @@ -541,7 +543,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -566,7 +568,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -622,19 +624,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -662,7 +664,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -685,23 +687,23 @@ Found 4 errors. "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1215 + "size": 1227 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -728,7 +730,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -751,7 +753,7 @@ Found 4 errors. "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1318 + "size": 1330 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -760,15 +762,15 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -822,7 +824,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -847,7 +849,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -919,7 +921,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -944,7 +946,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1016,7 +1018,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1041,7 +1043,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1100,19 +1102,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1140,7 +1142,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1163,7 +1165,7 @@ Found 4 errors. "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1232 + "size": 1244 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1172,16 +1174,16 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; - var blocal = 10; + const bLocal = 10; + const blocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1214,7 +1216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1239,7 +1241,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-discrepancies.js index 78f4486213620..db896de2030c9 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -38,7 +38,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -71,7 +71,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -103,7 +103,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -138,7 +138,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -170,7 +170,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js index 4400dc3a75b7b..48f71e5236cf7 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -36,7 +36,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -67,7 +67,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -97,7 +97,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -130,7 +130,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/soluti CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -160,7 +160,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index 99a2abbe62330..bf91bd8977361 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -109,6 +109,8 @@ Found 5 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/outFile.d.ts] declare module "a" { export const a = 10; @@ -125,19 +127,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -165,7 +167,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -186,7 +188,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 919 + "size": 931 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -202,19 +204,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -241,7 +243,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -262,7 +264,7 @@ declare module "g" { ] ], "version": "FakeTSVersion", - "size": 1089 + "size": 1101 } @@ -283,7 +285,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -309,7 +311,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -391,7 +393,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -417,7 +419,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -486,19 +488,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -526,7 +528,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -547,7 +549,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 933 + "size": 945 } @@ -568,7 +570,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -594,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -678,19 +680,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -718,7 +720,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -739,24 +741,24 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 954 + "size": 966 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -783,7 +785,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -804,7 +806,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1114 + "size": 1126 } @@ -825,7 +827,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -851,7 +853,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -916,19 +918,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -955,7 +957,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -976,23 +978,23 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 927 + "size": 939 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -1018,7 +1020,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1039,7 +1041,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1087 + "size": 1099 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1048,8 +1050,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -1057,7 +1059,7 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1111,7 +1113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1136,7 +1138,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1218,7 +1220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1244,7 +1246,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1313,19 +1315,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1352,7 +1354,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1373,7 +1375,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 945 + "size": 957 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1382,8 +1384,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -1391,8 +1393,8 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; - var alocal = 10; + const bLocal = 10; + const alocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1425,7 +1427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1450,7 +1452,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1519,19 +1521,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1559,7 +1561,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1580,7 +1582,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 988 + "size": 1000 } @@ -1601,7 +1603,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1627,7 +1629,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1712,19 +1714,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1752,7 +1754,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1773,24 +1775,24 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1012 + "size": 1024 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -1817,7 +1819,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1838,7 +1840,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1146 + "size": 1158 } @@ -1859,7 +1861,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1885,7 +1887,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1971,19 +1973,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -2010,7 +2012,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2031,24 +2033,24 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1007 + "size": 1019 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] file written with same contents //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -2074,7 +2076,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2095,7 +2097,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1145 + "size": 1157 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -2104,8 +2106,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -2113,9 +2115,9 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.aaaaa = exports.b = void 0; exports.b = 10; - var bLocal = 10; - var alocal = 10; - var aaaa = 10; + const bLocal = 10; + const alocal = 10; + const aaaa = 10; exports.aaaaa = 10; exports.a2 = 10; }); @@ -2151,7 +2153,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -2176,7 +2178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js index 6d7fc5e1bba59..ac76ef1a3a899 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline-with-declaration.js @@ -107,6 +107,8 @@ Found 5 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/outFile.d.ts] declare module "a" { export const a = 10; @@ -182,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -207,7 +209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -294,7 +296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -319,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -409,7 +411,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -434,7 +436,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -539,7 +541,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -564,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -640,8 +642,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -649,7 +651,7 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -702,7 +704,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -726,7 +728,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -813,7 +815,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -838,7 +840,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -917,8 +919,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -926,8 +928,8 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; - var alocal = 10; + const bLocal = 10; + const alocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -960,7 +962,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -984,7 +986,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1074,7 +1076,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1099,7 +1101,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1205,7 +1207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1230,7 +1232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1326,8 +1328,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -1335,9 +1337,9 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.aaaaa = exports.b = void 0; exports.b = 10; - var bLocal = 10; - var alocal = 10; - var aaaa = 10; + const bLocal = 10; + const alocal = 10; + const aaaa = 10; exports.aaaaa = 10; exports.a2 = 10; }); @@ -1372,7 +1374,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1396,7 +1398,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js index 63a674d058e6b..3ba91288e1fde 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js @@ -98,6 +98,8 @@ Found 4 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project1/outFile.d.ts] declare module "a" { export const a = 10; @@ -114,19 +116,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -154,7 +156,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -177,7 +179,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1200 + "size": 1212 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -193,19 +195,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -232,7 +234,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -255,7 +257,7 @@ declare module "g" { "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1317 + "size": 1329 } @@ -275,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -300,7 +302,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -372,7 +374,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -397,7 +399,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -456,19 +458,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -496,7 +498,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -519,7 +521,7 @@ Found 4 errors. "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1214 + "size": 1226 } @@ -539,7 +541,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -564,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -639,19 +641,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -679,7 +681,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -702,23 +704,23 @@ declare module "d" { "outSignature": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1260 + "size": 1272 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -745,7 +747,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -768,7 +770,7 @@ declare module "d" { "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1342 + "size": 1354 } @@ -788,7 +790,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -813,7 +815,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -869,19 +871,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -908,7 +910,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -931,23 +933,23 @@ Found 4 errors. "outSignature": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1233 + "size": 1245 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -973,7 +975,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -996,7 +998,7 @@ Found 4 errors. "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1315 + "size": 1327 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1005,8 +1007,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -1014,7 +1016,7 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1067,7 +1069,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1091,7 +1093,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1163,7 +1165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1188,7 +1190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1247,19 +1249,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1286,7 +1288,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1309,7 +1311,7 @@ Found 4 errors. "outSignature": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1251 + "size": 1263 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1318,8 +1320,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -1327,8 +1329,8 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; - var alocal = 10; + const bLocal = 10; + const alocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1360,7 +1362,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1384,7 +1386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1443,19 +1445,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1483,7 +1485,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1506,7 +1508,7 @@ Found 4 errors. "outSignature": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1294 + "size": 1306 } @@ -1526,7 +1528,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1551,7 +1553,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1627,19 +1629,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1667,7 +1669,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1690,23 +1692,23 @@ declare module "d" { "outSignature": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1350 + "size": 1362 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -1733,7 +1735,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1756,7 +1758,7 @@ declare module "d" { "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1374 + "size": 1386 } @@ -1776,7 +1778,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -1801,7 +1803,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts @@ -1878,19 +1880,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1917,7 +1919,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1940,23 +1942,23 @@ declare module "d" { "outSignature": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1371 + "size": 1383 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../project1/outfile.d.ts": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", @@ -1982,7 +1984,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2005,7 +2007,7 @@ declare module "d" { "outSignature": "-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1373 + "size": 1385 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -2014,8 +2016,8 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.aaa = exports.a = void 0; exports.a = 10; - var aLocal = 10; - var aa = 10; + const aLocal = 10; + const aa = 10; exports.aaa = 10; }); define("b", ["require", "exports"], function (require, exports) { @@ -2023,9 +2025,9 @@ define("b", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a2 = exports.aaaaa = exports.b = void 0; exports.b = 10; - var bLocal = 10; - var alocal = 10; - var aaaa = 10; + const bLocal = 10; + const alocal = 10; + const aaaa = 10; exports.aaaaa = 10; exports.a2 = 10; }); @@ -2060,7 +2062,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/src/a.ts /home/src/workspaces/solution/project1/src/b.ts /home/src/workspaces/solution/project1/src/c.ts @@ -2084,7 +2086,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/project1/outFile.d.ts /home/src/workspaces/solution/project2/src/e.ts /home/src/workspaces/solution/project2/src/f.ts diff --git a/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file-discrepancies.js b/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file-discrepancies.js index 18e0a7bc8d9eb..29df5971c4446 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file-discrepancies.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -37,7 +37,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js index c913ddf29f7c2..42883304958dd 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js @@ -44,11 +44,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/home/src/workspaces/project/a.d.ts] @@ -56,10 +55,7 @@ export declare function foo(): void; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/home/src/workspaces/project/b.d.ts] @@ -67,17 +63,17 @@ export declare function bar(): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./b.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./b.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -119,7 +115,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./b.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 865 + "size": 877 } @@ -176,12 +172,8 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -exports.fooBar = fooBar; -function foo() { } -function fooBar() { } +export function foo() { } +export function fooBar() { } //// [/home/src/workspaces/project/a.d.ts] @@ -190,17 +182,17 @@ export declare function fooBar(): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -243,7 +235,7 @@ export declare function fooBar(): void; "latestChangedDtsFile": "./a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 953 + "size": 965 } @@ -289,17 +281,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -341,7 +333,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 939 + "size": 951 } diff --git a/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file-discrepancies.js b/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file-discrepancies.js index df06354e36341..af9d67d83a0a1 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file-discrepancies.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "4646078106-export function foo() { }", "./project/b.ts": "1045484683-export function bar() { }" }, @@ -32,7 +32,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "4646078106-export function foo() { }", "./project/b.ts": "1045484683-export function bar() { }" }, diff --git a/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js index 57db1041e4a5e..45ad91f9c0697 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/outFile/reports-syntax-errors-in-config-file.js @@ -57,6 +57,8 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -82,17 +84,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4646078106-export function foo() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-5340070911-declare module \"a\" {\n export function foo(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4646078106-export function foo() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-5340070911-declare module \"a\" {\n export function foo(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "4646078106-export function foo() { }", "./project/b.ts": "1045484683-export function bar() { }" }, @@ -113,7 +115,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -128,7 +130,7 @@ declare module "b" { "outSignature": "-5340070911-declare module \"a\" {\n export function foo(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 903 + "size": 915 } @@ -235,17 +237,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9819159940-export function foo() { }export function fooBar() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-12543119676-declare module \"a\" {\n export function foo(): void;\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9819159940-export function foo() { }export function fooBar() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-12543119676-declare module \"a\" {\n export function foo(): void;\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "9819159940-export function foo() { }export function fooBar() { }", "./project/b.ts": "1045484683-export function bar() { }" }, @@ -267,7 +269,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -282,7 +284,7 @@ declare module "b" { "outSignature": "-12543119676-declare module \"a\" {\n export function foo(): void;\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 988 + "size": 1000 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index b19bc4a7e1310..f25e22af69e7a 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -85,23 +85,22 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/shared/tsconfig.json'... -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/shared/index.ts /home/src/workspaces/solution/shared/typings-base/globals.d.ts [HH:MM:SS AM] Project 'webpack/tsconfig.json' is out of date because output file 'target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/webpack/tsconfig.json'... -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/webpack/index.ts /home/src/workspaces/solution/shared/typings-base/globals.d.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/target-tsc-build/shared/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 1; +export const a = 1; //// [/home/src/workspaces/solution/target-tsc-build/shared/index.d.ts] @@ -109,17 +108,17 @@ export declare const a: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../shared/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -163,14 +162,11 @@ export declare const a: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 921 } //// [/home/src/workspaces/solution/target-tsc-build/webpack/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 1; +export const b = 1; //// [/home/src/workspaces/solution/target-tsc-build/webpack/index.d.ts] @@ -178,17 +174,17 @@ export declare const b: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../webpack/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -232,7 +228,7 @@ export declare const b: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 912 + "size": 924 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index 7aa8e97dd0b4f..82d8a199b7c54 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -86,23 +86,22 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/shared/tsconfig.json'... -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/shared/index.ts /home/src/workspaces/solution/shared/typings-base/globals.d.ts [HH:MM:SS AM] Project 'webpack/tsconfig.json' is out of date because output file 'target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/webpack/tsconfig.json'... -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/webpack/index.ts /home/src/workspaces/solution/shared/typings-base/globals.d.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/target-tsc-build/shared/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 1; +export const a = 1; //// [/home/src/workspaces/solution/target-tsc-build/shared/index.d.ts] @@ -110,17 +109,17 @@ export declare const a: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../shared/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -164,14 +163,11 @@ export declare const a: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 921 } //// [/home/src/workspaces/solution/target-tsc-build/webpack/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 1; +export const b = 1; //// [/home/src/workspaces/solution/target-tsc-build/webpack/index.d.ts] @@ -179,17 +175,17 @@ export declare const b: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../webpack/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -233,7 +229,7 @@ export declare const b: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 912 + "size": 924 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 59efd37db42e1..227e825be0a47 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -114,11 +114,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/src/folder/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/src/folder/index.d.ts] @@ -126,16 +125,16 @@ export declare const x = 10; //// [/home/src/workspaces/solution/src/folder/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/src/folder/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -164,14 +163,11 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 727 + "size": 739 } //// [/home/src/workspaces/solution/src/folder2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/src/folder2/index.d.ts] @@ -179,16 +175,16 @@ export declare const x = 10; //// [/home/src/workspaces/solution/src/folder2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/src/folder2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -217,14 +213,11 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 727 + "size": 739 } //// [/home/src/workspaces/solution/tests/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/tests/index.d.ts] @@ -232,16 +225,16 @@ export declare const x = 10; //// [/home/src/workspaces/solution/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -270,7 +263,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 724 + "size": 736 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js index ec773c80acc94..769efd9077664 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js @@ -79,33 +79,32 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project2/src/b.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'project3/tsconfig.json' is out of date because output file 'project3/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project3/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project3/src/c.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'project4/tsconfig.json' is out of date because output file 'project4/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project4/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project4/src/d.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project2/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/solution/project2/src/b.d.ts] @@ -113,16 +112,16 @@ export declare const b = 10; //// [/home/src/workspaces/solution/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/b.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -151,14 +150,11 @@ export declare const b = 10; }, "latestChangedDtsFile": "./src/b.d.ts", "version": "FakeTSVersion", - "size": 724 + "size": 736 } //// [/home/src/workspaces/solution/project3/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 10; +export const c = 10; //// [/home/src/workspaces/solution/project3/src/c.d.ts] @@ -166,16 +162,16 @@ export declare const c = 10; //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12077479510-export const c = 10;","signature":"-4160380540-export declare const c = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12077479510-export const c = 10;","signature":"-4160380540-export declare const c = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/c.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,14 +200,11 @@ export declare const c = 10; }, "latestChangedDtsFile": "./src/c.d.ts", "version": "FakeTSVersion", - "size": 724 + "size": 736 } //// [/home/src/workspaces/solution/project4/src/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -exports.d = 10; +export const d = 10; //// [/home/src/workspaces/solution/project4/src/d.d.ts] @@ -219,16 +212,16 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project4/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10786011541-export const d = 10;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10786011541-export const d = 10;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -257,7 +250,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./src/d.d.ts", "version": "FakeTSVersion", - "size": 724 + "size": 736 } @@ -284,16 +277,16 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project3/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project3/src/c.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'project4/tsconfig.json' is out of date because output 'project4/tsconfig.tsbuildinfo' is older than input 'project3' [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project4/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project4/src/d.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/solution/project4/tsconfig.json'... @@ -301,10 +294,7 @@ project4/src/d.ts //// [/home/src/workspaces/solution/project3/src/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.cc = void 0; -exports.cc = 10; +export const cc = 10; //// [/home/src/workspaces/solution/project3/src/c.d.ts] @@ -312,16 +302,16 @@ export declare const cc = 10; //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12481904019-export const cc = 10;","signature":"-2549218137-export declare const cc = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12481904019-export const cc = 10;","signature":"-2549218137-export declare const cc = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/c.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -350,7 +340,7 @@ export declare const cc = 10; }, "latestChangedDtsFile": "./src/c.d.ts", "version": "FakeTSVersion", - "size": 726 + "size": 738 } //// [/home/src/workspaces/solution/project4/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js index 282164166995d..fa2fd3b76ba55 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js @@ -68,8 +68,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" @@ -81,7 +81,7 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/index.js] import ky from 'ky'; @@ -89,12 +89,12 @@ export const api = ky.extend({}); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.esnext.full.d.ts","./node_modules/ky/distribution/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","impliedFormat":99},{"version":"-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n","impliedFormat":99}],"root":[3],"options":{"declaration":true,"module":199,"skipDefaultLibCheck":true,"skipLibCheck":true},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":34,"length":3,"messageText":"Exported variable 'api' has or is using name 'KyInstance' from external module \"/home/src/workspaces/project/node_modules/ky/distribution/index\" but cannot be named.","category":1,"code":4023}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/ky/distribution/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","impliedFormat":99},{"version":"-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n","impliedFormat":99}],"root":[3],"options":{"declaration":true,"module":199,"skipDefaultLibCheck":true,"skipLibCheck":true},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":34,"length":3,"messageText":"Exported variable 'api' has or is using name 'KyInstance' from external module \"/home/src/workspaces/project/node_modules/ky/distribution/index\" but cannot be named.","category":1,"code":4023}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.esnext.full.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/ky/distribution/index.d.ts", "./index.ts" ], @@ -104,7 +104,7 @@ export const api = ky.extend({}); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.esnext.full.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -190,8 +190,8 @@ Output:: 2 export const api = ky.extend({});    ~~~ -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors.js b/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors.js index 891bb03c10e9c..15dd62b19b376 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/multiFile/reports-dts-generation-errors.js @@ -67,8 +67,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" @@ -82,7 +82,7 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/index.js] import ky from 'ky'; @@ -125,8 +125,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js index 066310c598e95..89e8d2aec1932 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js @@ -75,8 +75,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -86,6 +86,8 @@ Found 4 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outFile.js] var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -100,17 +102,17 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","10101889135-type KyInstance = {\n extend(options: Record): 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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","10101889135-type KyInstance = {\n extend(options: Record): 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] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./ky.d.ts", "./src/index.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./ky.d.ts": "10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n", "./src/index.ts": "-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n" }, @@ -129,7 +131,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -156,7 +158,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky ] ], "version": "FakeTSVersion", - "size": 1131 + "size": 1143 } @@ -196,8 +198,8 @@ Output:: 8 "outFile": "./outFile.js"    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts diff --git a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js index a0d9bf9018fd7..966d6515f3135 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/outFile/reports-dts-generation-errors.js @@ -74,8 +74,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -87,6 +87,8 @@ Found 4 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outFile.js] var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -152,8 +154,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 0f95afd723f0c..6dab0eda662ee 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -126,10 +126,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/lib/src/common/nominal.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); /// +export {}; //// [/home/src/workspaces/solution/lib/src/common/nominal.d.ts] @@ -138,8 +139,7 @@ export declare type Nominal = MyNominal; //// [/home/src/workspaces/solution/lib/src/subProject/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/solution/lib/src/subProject/index.d.ts] @@ -148,13 +148,10 @@ export type MyNominal = Nominal; //// [/home/src/workspaces/solution/lib/src/subProject2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getVar = getVar; -var variable = { +const variable = { key: 'value', }; -function getVar() { +export function getVar() { return 'key'; } @@ -169,12 +166,12 @@ export {}; //// [/home/src/workspaces/solution/lib/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"fileIdsList":[[2],[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n"},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[[2,5]],"options":{"composite":true,"outDir":"./","rootDir":".."},"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./src/subProject2/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"fileIdsList":[[2],[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n"},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[[2,5]],"options":{"composite":true,"outDir":"./","rootDir":".."},"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./src/subProject2/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/common/types.d.ts", "../src/common/nominal.ts", "../src/subproject/index.ts", @@ -192,7 +189,7 @@ export {}; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -267,7 +264,7 @@ export {}; }, "latestChangedDtsFile": "./src/subProject2/index.d.ts", "version": "FakeTSVersion", - "size": 1964 + "size": 1976 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 3ff8acab2e6c2..be299617aced6 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -140,10 +140,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/lib/src/common/nominal.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); /// +export {}; //// [/home/src/workspaces/solution/lib/src/common/nominal.d.ts] @@ -152,12 +153,12 @@ export declare type Nominal = MyNominal; //// [/home/src/workspaces/solution/lib/src/common/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n"}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"referencedMap":[[3,1]],"latestChangedDtsFile":"./nominal.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n"}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"referencedMap":[[3,1]],"latestChangedDtsFile":"./nominal.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/lib/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../src/common/types.d.ts", "../../../src/common/nominal.ts" ], @@ -167,7 +168,7 @@ export declare type Nominal = MyNominal; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,12 +213,11 @@ export declare type Nominal = MyNominal; }, "latestChangedDtsFile": "./nominal.d.ts", "version": "FakeTSVersion", - "size": 1235 + "size": 1247 } //// [/home/src/workspaces/solution/lib/src/subProject/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/solution/lib/src/subProject/index.d.ts] @@ -226,12 +226,12 @@ export type MyNominal = Nominal; //// [/home/src/workspaces/solution/lib/src/subProject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-29966695877-/// \nexport declare type Nominal = MyNominal;\n",{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-29966695877-/// \nexport declare type Nominal = MyNominal;\n",{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/lib/src/subProject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../src/common/types.d.ts", "../common/nominal.d.ts", "../../../src/subproject/index.ts" @@ -245,7 +245,7 @@ export type MyNominal = Nominal; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -297,17 +297,14 @@ export type MyNominal = Nominal; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1355 + "size": 1367 } //// [/home/src/workspaces/solution/lib/src/subProject2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getVar = getVar; -var variable = { +const variable = { key: 'value', }; -function getVar() { +export function getVar() { return 'key'; } @@ -322,12 +319,12 @@ export {}; //// [/home/src/workspaces/solution/lib/src/subProject2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"fileIdsList":[[2],[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n",{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[5],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"fileIdsList":[[2],[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n",{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[5],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/lib/src/subProject2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../src/common/types.d.ts", "../common/nominal.d.ts", "../subproject/index.d.ts", @@ -345,7 +342,7 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -404,7 +401,7 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1657 + "size": 1669 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index fc0105fcd8d71..8e0c3f6325c65 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -101,9 +101,10 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/packages/pkg1/lib/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/packages/pkg1/lib/src/index.d.ts] @@ -116,16 +117,16 @@ export interface IThings { //// [/home/src/workspaces/project/packages/pkg1/lib/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/pkg1/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/index.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -155,7 +156,7 @@ export interface IThings { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -165,15 +166,12 @@ export interface IThings { ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 927 + "size": 939 } //// [/home/src/workspaces/project/packages/pkg2/lib/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn4 = fn4; -function fn4() { - var a = { thing1: { a: 'b' } }; +export function fn4() { + const a = { thing1: { a: 'b' } }; return a.thing1; } @@ -183,12 +181,12 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; //// [/home/src/workspaces/project/packages/pkg2/lib/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/pkg2/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../pkg1/lib/src/index.d.ts", "../src/index.ts" ], @@ -198,7 +196,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -237,7 +235,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -251,7 +249,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1129 + "size": 1141 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 15f31c9ec103d..4c2a7d1e1aa5d 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -48,11 +48,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.multiply = multiply; -function multiply(a, b) { return a * b; } +export function multiply(a, b) { return a * b; } //// [/home/src/workspaces/solution/core/index.d.ts.map] @@ -63,16 +62,16 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/home/src/workspaces/solution/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7987260467-export function multiply(a: number, b: number) { return a * b; }","signature":"-8675294677-export declare function multiply(a: number, b: number): number;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7987260467-export function multiply(a: number, b: number) { return a * b; }","signature":"-8675294677-export declare function multiply(a: number, b: number): number;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -104,7 +103,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 869 + "size": 881 } diff --git a/tests/baselines/reference/tsbuild/extends/configDir-template.js b/tests/baselines/reference/tsbuild/extends/configDir-template.js index f19257292ac83..2af5aa52d2f75 100644 --- a/tests/baselines/reference/tsbuild/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuild/extends/configDir-template.js @@ -96,7 +96,7 @@ Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -106,7 +106,7 @@ File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -145,8 +145,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -160,11 +160,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/myproject/outDir/types/sometype.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/projects/myproject/decls/types/sometype.d.ts] @@ -172,11 +171,8 @@ export declare const x = 10; //// [/home/src/projects/myproject/outDir/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; // some comment -exports.y = 10; +export const y = 10; //// [/home/src/projects/myproject/decls/main.d.ts] @@ -184,11 +180,8 @@ export declare const y = 10; //// [/home/src/projects/myproject/outDir/src/secondary.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; // some comment -exports.z = 10; +export const z = 10; //// [/home/src/projects/myproject/decls/src/secondary.d.ts] diff --git a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js index 95197833011f8..2d75505c1e385 100644 --- a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js @@ -46,11 +46,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/user/projects/myproject/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/users/user/projects/myproject/src/index.d.ts] @@ -58,16 +57,16 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -97,7 +96,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 778 + "size": 790 } diff --git a/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js index 1bad490f93b23..8986721ec3751 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js @@ -43,12 +43,12 @@ Output:: ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/home/src/workspaces/solution/child/child2.ts'. ======== -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -56,21 +56,17 @@ child/child.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/child/child2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.child2 = child2; -function child2() { +export function child2() { } //// [/home/src/workspaces/solution/child/child.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.child = child; -var child2_1 = require("../child/child2"); -function child() { - (0, child2_1.child2)(); +import { child2 } from "../child/child2"; +export function child() { + child2(); } @@ -107,7 +103,7 @@ Output:: ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' does not exist. File '/home/src/workspaces/solution/child/child2.tsx' does not exist. @@ -121,8 +117,8 @@ Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping 1 import { child2 } from "../child/child2";    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js index 310f67bb4b66a..c8c25ca7e7097 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js @@ -65,12 +65,12 @@ Output:: ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/home/src/workspaces/solution/child/child2.ts'. ======== -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -82,12 +82,12 @@ child/child.ts ======== Resolving module '../child/child' from '/home/src/workspaces/solution/main/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child.ts' exists - use it as a name resolution result. ======== Module name '../child/child' was successfully resolved to '/home/src/workspaces/solution/child/child.ts'. ======== -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child.d.ts Imported via "../child/child" from file 'main/main.ts' File is output of project reference source 'child/child.ts' @@ -95,11 +95,10 @@ main/main.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/child/child2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.child2 = child2; -function child2() { +export function child2() { } @@ -108,12 +107,9 @@ export declare function child2(): void; //// [/home/src/workspaces/solution/child/child.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.child = child; -var child2_1 = require("../child/child2"); -function child() { - (0, child2_1.child2)(); +import { child2 } from "../child/child2"; +export function child() { + child2(); } @@ -122,12 +118,12 @@ export declare function child(): void; //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./child2.ts","./child.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6507293504-export function child2() {\n}\n","signature":"-5501507595-export declare function child2(): void;\n"},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n"}],"root":[2,3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./child.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./child2.ts","./child.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6507293504-export function child2() {\n}\n","signature":"-5501507595-export declare function child2(): void;\n"},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n"}],"root":[2,3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./child.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./child2.ts", "./child.ts" ], @@ -137,7 +133,7 @@ export declare function child(): void; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -183,16 +179,13 @@ export declare function child(): void; }, "latestChangedDtsFile": "./child.d.ts", "version": "FakeTSVersion", - "size": 989 + "size": 1001 } //// [/home/src/workspaces/solution/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.main = main; -var child_1 = require("../child/child"); -function main() { - (0, child_1.child)(); +import { child } from "../child/child"; +export function main() { + child(); } @@ -201,12 +194,12 @@ export declare function main(): void; //// [/home/src/workspaces/solution/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../child/child.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1814288093-export declare function child(): void;\n",{"version":"-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n","signature":"-2471343004-export declare function main(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../child/child.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1814288093-export declare function child(): void;\n",{"version":"-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n","signature":"-2471343004-export declare function main(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../child/child.d.ts", "./main.ts" ], @@ -216,7 +209,7 @@ export declare function main(): void; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -254,7 +247,7 @@ export declare function main(): void; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 917 + "size": 929 } @@ -279,7 +272,7 @@ Output:: ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' does not exist. File '/home/src/workspaces/solution/child/child2.tsx' does not exist. @@ -293,8 +286,8 @@ Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping 1 import { child2 } from "../child/child2";    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'main/tsconfig.json' is up to date with .d.ts files from its dependencies @@ -308,16 +301,16 @@ Found 1 error. //// [/home/src/workspaces/solution/child/child.js] file written with same contents //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./child.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":23,"length":17,"messageText":"Cannot find module '../child/child2' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./child.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./child.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":23,"length":17,"messageText":"Cannot find module '../child/child2' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./child.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./child.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -360,7 +353,7 @@ Found 1 error. ], "latestChangedDtsFile": "./child.d.ts", "version": "FakeTSVersion", - "size": 984 + "size": 996 } //// [/home/src/workspaces/solution/main/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js index 589ef057404d7..6458a8b3c230e 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/outFile/deleted-file-without-composite.js @@ -58,8 +58,8 @@ File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name r 4 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -70,6 +70,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/childResult.js] define("child2", ["require", "exports"], function (require, exports) { "use strict"; @@ -137,8 +139,8 @@ File '/home/src/workspaces/solution/child/child2.jsx' does not exist. 4 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js index e46aa983a25b3..642b89b8fd7c7 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/outFile/detects-deleted-file.js @@ -81,8 +81,8 @@ File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name r 5 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -142,8 +142,8 @@ File '/child.jsx' does not exist. 5 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' childResult.d.ts Output from referenced project 'child/tsconfig.json' included because '--outFile' specified main/main.ts @@ -153,6 +153,8 @@ Found 4 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/childResult.js] define("child2", ["require", "exports"], function (require, exports) { "use strict"; @@ -181,17 +183,17 @@ declare module "child" { //// [/home/src/workspaces/solution/childResult.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./child/child2.ts","./child/child.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","6507293504-export function child2() {\n}\n","-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./childResult.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","latestChangedDtsFile":"./childResult.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./child/child2.ts","./child/child.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","6507293504-export function child2() {\n}\n","-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./childResult.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","latestChangedDtsFile":"./childResult.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/childResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./child/child2.ts", "./child/child.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./child/child2.ts": "6507293504-export function child2() {\n}\n", "./child/child.ts": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n" }, @@ -212,7 +214,7 @@ declare module "child" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -227,7 +229,7 @@ declare module "child" { "outSignature": "2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n", "latestChangedDtsFile": "./childResult.d.ts", "version": "FakeTSVersion", - "size": 1005 + "size": 1017 } //// [/home/src/workspaces/solution/mainResult.js] @@ -248,17 +250,17 @@ declare module "main" { //// [/home/src/workspaces/solution/mainResult.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./childresult.d.ts","./main/main.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n"],"root":[3],"options":{"composite":true,"module":2,"outFile":"./mainResult.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"7955277823-declare module \"main\" {\n export function main(): void;\n}\n","latestChangedDtsFile":"./mainResult.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./childresult.d.ts","./main/main.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n"],"root":[3],"options":{"composite":true,"module":2,"outFile":"./mainResult.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"7955277823-declare module \"main\" {\n export function main(): void;\n}\n","latestChangedDtsFile":"./mainResult.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/mainResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./childresult.d.ts", "./main/main.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./childresult.d.ts": "2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n", "./main/main.ts": "-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n" }, @@ -275,7 +277,7 @@ declare module "main" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -290,7 +292,7 @@ declare module "main" { "outSignature": "7955277823-declare module \"main\" {\n export function main(): void;\n}\n", "latestChangedDtsFile": "./mainResult.d.ts", "version": "FakeTSVersion", - "size": 1020 + "size": 1032 } @@ -329,8 +331,8 @@ File '/home/src/workspaces/solution/child/child2.jsx' does not exist. 5 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' child/child.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'main/tsconfig.json' is out of date because buildinfo file 'mainResult.tsbuildinfo' indicates that program needs to report errors. @@ -387,8 +389,8 @@ File '/child.jsx' does not exist. 5 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' childResult.d.ts Output from referenced project 'child/tsconfig.json' included because '--outFile' specified main/main.ts @@ -416,16 +418,16 @@ declare module "child" { //// [/home/src/workspaces/solution/childResult.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./child/child.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n"],"root":[2],"options":{"composite":true,"module":2,"outFile":"./childResult.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"8966811613-declare module \"child\" {\n export function child(): void;\n}\n","latestChangedDtsFile":"./childResult.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./child/child.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n"],"root":[2],"options":{"composite":true,"module":2,"outFile":"./childResult.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"8966811613-declare module \"child\" {\n export function child(): void;\n}\n","latestChangedDtsFile":"./childResult.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/childResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./child/child.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./child/child.ts": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n" }, "root": [ @@ -441,7 +443,7 @@ declare module "child" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -452,22 +454,22 @@ declare module "child" { "outSignature": "8966811613-declare module \"child\" {\n export function child(): void;\n}\n", "latestChangedDtsFile": "./childResult.d.ts", "version": "FakeTSVersion", - "size": 867 + "size": 879 } //// [/home/src/workspaces/solution/mainResult.js] file written with same contents //// [/home/src/workspaces/solution/mainResult.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./childresult.d.ts","./main/main.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","8966811613-declare module \"child\" {\n export function child(): void;\n}\n","-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n"],"root":[3],"options":{"composite":true,"module":2,"outFile":"./mainResult.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"7955277823-declare module \"main\" {\n export function main(): void;\n}\n","latestChangedDtsFile":"./mainResult.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./childresult.d.ts","./main/main.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","8966811613-declare module \"child\" {\n export function child(): void;\n}\n","-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n"],"root":[3],"options":{"composite":true,"module":2,"outFile":"./mainResult.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"7955277823-declare module \"main\" {\n export function main(): void;\n}\n","latestChangedDtsFile":"./mainResult.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/mainResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./childresult.d.ts", "./main/main.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./childresult.d.ts": "8966811613-declare module \"child\" {\n export function child(): void;\n}\n", "./main/main.ts": "-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n" }, @@ -484,7 +486,7 @@ declare module "child" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -499,7 +501,7 @@ declare module "child" { "outSignature": "7955277823-declare module \"main\" {\n export function main(): void;\n}\n", "latestChangedDtsFile": "./mainResult.d.ts", "version": "FakeTSVersion", - "size": 951 + "size": 963 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index fbb7236756df9..a434eec566a60 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -128,6 +128,11 @@ interface Symbol { /home/src/tslibs/TS/Lib/tsc.js -b Output:: +common/nominal.js:3:20 - error TS2583: Cannot find name 'Symbol'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later. + +3 * @typedef {T & {[Symbol.species]: Name}} Nominal +   ~~~~~~ + sub-project/index.js:1:10 - error TS18042: 'Nominal' is a type and cannot be imported in JavaScript files. Use 'import("../common/nominal").Nominal' in a JSDoc type annotation. 1 import { Nominal } from '../common/nominal'; @@ -139,10 +144,12 @@ Output::    ~~~~~~~~~ -Found 2 errors. +Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/lib/common/nominal.js] /** * @template T, Name @@ -158,22 +165,22 @@ export type Nominal = T & { //// [/home/src/workspaces/lib/common/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../solution/common/nominal.js"],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n"}],"root":[2],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"latestChangedDtsFile":"./nominal.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../solution/common/nominal.js"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n"}],"root":[2],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"semanticDiagnosticsPerFile":[[2,[{"start":44,"length":6,"messageText":"Cannot find name 'Symbol'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]]],"latestChangedDtsFile":"./nominal.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/lib/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../solution/common/nominal.js" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../../solution/common/nominal.js": { @@ -200,15 +207,27 @@ export type Nominal = T & { "rootDir": "../../solution", "skipLibCheck": true }, + "semanticDiagnosticsPerFile": [ + [ + "../../solution/common/nominal.js", + [ + { + "start": 44, + "length": 6, + "messageText": "Cannot find name 'Symbol'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.", + "category": 1, + "code": 2583 + } + ] + ] + ], "latestChangedDtsFile": "./nominal.d.ts", "version": "FakeTSVersion", - "size": 1194 + "size": 1230 } //// [/home/src/workspaces/lib/sub-project/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var nominal_1 = require("../common/nominal"); +import { Nominal } from '../common/nominal'; /** * @typedef {Nominal} MyNominal */ @@ -220,12 +239,12 @@ import { Nominal } from '../common/nominal'; //// [/home/src/workspaces/lib/sub-project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../common/nominal.d.ts","../../solution/sub-project/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n",{"version":"-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n","signature":"-13328259909-export type MyNominal = Nominal;\nimport { Nominal } from '../common/nominal';\n"}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":7,"messageText":"'Nominal' is a type and cannot be imported in JavaScript files. Use 'import(\"../common/nominal\").Nominal' in a JSDoc type annotation.","category":1,"code":18042}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../common/nominal.d.ts","../../solution/sub-project/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n",{"version":"-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n","signature":"-13328259909-export type MyNominal = Nominal;\nimport { Nominal } from '../common/nominal';\n"}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":7,"messageText":"'Nominal' is a type and cannot be imported in JavaScript files. Use 'import(\"../common/nominal\").Nominal' in a JSDoc type annotation.","category":1,"code":18042}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/lib/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../common/nominal.d.ts", "../../solution/sub-project/index.js" ], @@ -235,13 +254,13 @@ import { Nominal } from '../common/nominal'; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../common/nominal.d.ts": { @@ -293,21 +312,18 @@ import { Nominal } from '../common/nominal'; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1628 + "size": 1431 } //// [/home/src/workspaces/lib/sub-project-2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getVar = getVar; -var index_1 = require("../sub-project/index"); -var variable = { +import { MyNominal } from '../sub-project/index'; +const variable = { key: /** @type {MyNominal} */ ('value'), }; /** * @return {keyof typeof variable} */ -function getVar() { +export function getVar() { return 'key'; } @@ -325,12 +341,12 @@ export {}; //// [/home/src/workspaces/lib/sub-project-2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../solution/sub-project-2/index.js"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n","-13328259909-export type MyNominal = Nominal;\nimport { Nominal } from '../common/nominal';\n",{"version":"9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n","signature":"33013066229-/**\n * @return {keyof typeof variable}\n */\nexport function getVar(): keyof typeof variable;\ndeclare namespace variable {\n let key: MyNominal;\n}\nimport { MyNominal } from '../sub-project/index';\nexport {};\n"}],"root":[4],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[4,[{"start":9,"length":9,"messageText":"'MyNominal' is a type and cannot be imported in JavaScript files. Use 'import(\"../sub-project/index\").MyNominal' in a JSDoc type annotation.","category":1,"code":18042}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../solution/sub-project-2/index.js"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n","-13328259909-export type MyNominal = Nominal;\nimport { Nominal } from '../common/nominal';\n",{"version":"9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n","signature":"33013066229-/**\n * @return {keyof typeof variable}\n */\nexport function getVar(): keyof typeof variable;\ndeclare namespace variable {\n let key: MyNominal;\n}\nimport { MyNominal } from '../sub-project/index';\nexport {};\n"}],"root":[4],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[4,[{"start":9,"length":9,"messageText":"'MyNominal' is a type and cannot be imported in JavaScript files. Use 'import(\"../sub-project/index\").MyNominal' in a JSDoc type annotation.","category":1,"code":18042}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/lib/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../common/nominal.d.ts", "../sub-project/index.d.ts", "../../solution/sub-project-2/index.js" @@ -344,13 +360,13 @@ export {}; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../common/nominal.d.ts": { @@ -409,8 +425,8 @@ export {}; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 2013 + "size": 1816 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 208597c9e740c..28dadc2a331a6 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -129,12 +129,30 @@ interface Symbol { /home/src/tslibs/TS/Lib/tsc.js -b Output:: +common/index.ts:1:1 - error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. + +1 import x = require("./obj.json"); +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +common/index.ts:2:1 - error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead. + +2 export = x; +  ~~~~~~~~~~~ + +sub-project/index.js:1:8 - error TS1192: Module '"/home/src/workspaces/solution/common/index"' has no default export. + +1 import mod from '../common'; +   ~~~ + + +Found 3 errors. + + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/solution/common/index.js] -"use strict"; -var x = require("./obj.json"); -module.exports = x; +export {}; //// [/home/src/workspaces/solution/common/index.d.ts] @@ -143,12 +161,12 @@ export = x; //// [/home/src/workspaces/solution/common/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./obj.json","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2353615672-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n"],"root":[2,3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"..","skipLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./obj.json","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2353615672-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n"],"root":[2,3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"..","skipLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":0,"length":33,"messageText":"Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.","category":1,"code":1202},{"start":34,"length":11,"messageText":"Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.","category":1,"code":1203}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./obj.json", "./index.ts" ], @@ -158,13 +176,13 @@ export = x; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./obj.json": { @@ -201,35 +219,48 @@ export = x; "./obj.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 0, + "length": 33, + "messageText": "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.", + "category": 1, + "code": 1202 + }, + { + "start": 34, + "length": 11, + "messageText": "Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.", + "category": 1, + "code": 1203 + } + ] + ] + ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1106 + "size": 1411 } //// [/home/src/workspaces/out/sub-project/index.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var common_1 = __importDefault(require("../common")); -exports.m = common_1.default; +import mod from '../common'; +export const m = mod; //// [/home/src/workspaces/out/sub-project/index.d.ts] -export const m: { - val: number; -}; +export const m: any; //// [/home/src/workspaces/out/sub-project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../solution/common/obj.json","../../solution/common/index.d.ts","../../solution/sub-project/index.js"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2353615672-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n",{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-12566182521-export const m: {\n val: number;\n};\n"}],"root":[4],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../solution/common/obj.json","../../solution/common/index.d.ts","../../solution/sub-project/index.js"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2353615672-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n",{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-12864240766-export const m: any;\n"}],"root":[4],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[4,[{"start":7,"length":3,"messageText":"Module '\"/home/src/workspaces/solution/common/index\"' has no default export.","category":1,"code":1192}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/out/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../solution/common/obj.json", "../../solution/common/index.d.ts", "../../solution/sub-project/index.js" @@ -243,13 +274,13 @@ export const m: { ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../../solution/common/obj.json": { @@ -263,10 +294,10 @@ export const m: { "../../solution/sub-project/index.js": { "original": { "version": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n", - "signature": "-12566182521-export const m: {\n val: number;\n};\n" + "signature": "-12864240766-export const m: any;\n" }, "version": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n", - "signature": "-12566182521-export const m: {\n val: number;\n};\n" + "signature": "-12864240766-export const m: any;\n" } }, "root": [ @@ -293,39 +324,48 @@ export const m: { "../../solution/common/index.d.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../solution/sub-project/index.js", + [ + { + "start": 7, + "length": 3, + "messageText": "Module '\"/home/src/workspaces/solution/common/index\"' has no default export.", + "category": 1, + "code": 1192 + } + ] + ] + ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1358 + "size": 1322 } //// [/home/src/workspaces/out/sub-project-2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getVar = getVar; -var index_1 = require("../sub-project/index"); -var variable = { - key: index_1.m, +import { m } from '../sub-project/index'; +const variable = { + key: m, }; -function getVar() { +export function getVar() { return variable; } //// [/home/src/workspaces/out/sub-project-2/index.d.ts] export function getVar(): { - key: { - val: number; - }; + key: any; }; //// [/home/src/workspaces/out/sub-project-2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../sub-project/index.d.ts","../../solution/sub-project-2/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-12566182521-export const m: {\n val: number;\n};\n",{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n"}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../sub-project/index.d.ts","../../solution/sub-project-2/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12864240766-export const m: any;\n",{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"4971200248-export function getVar(): {\n key: any;\n};\n"}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../solution","skipLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/out/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../sub-project/index.d.ts", "../../solution/sub-project-2/index.js" ], @@ -335,26 +375,26 @@ export function getVar(): { ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../sub-project/index.d.ts": { - "version": "-12566182521-export const m: {\n val: number;\n};\n", - "signature": "-12566182521-export const m: {\n val: number;\n};\n" + "version": "-12864240766-export const m: any;\n", + "signature": "-12864240766-export const m: any;\n" }, "../../solution/sub-project-2/index.js": { "original": { "version": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n", - "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n" + "signature": "4971200248-export function getVar(): {\n key: any;\n};\n" }, "version": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n", - "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n" + "signature": "4971200248-export function getVar(): {\n key: any;\n};\n" } }, "root": [ @@ -380,8 +420,8 @@ export function getVar(): { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1382 + "size": 1139 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 65b1a82a7705d..d6a47bc3f0337 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -58,25 +58,25 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/hkt.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var sym = Symbol(); -var x = 10; +const sym = Symbol(); +const x = 10; +export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileIdsList":[[3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }","-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n"],"root":[[2,4]],"options":{"rootDir":"./src"},"referencedMap":[[4,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileIdsList":[[3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }","-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n"],"root":[[2,4]],"options":{"rootDir":"./src"},"referencedMap":[[4,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/globals.d.ts", "./src/hkt.ts", "./src/main.ts" @@ -88,7 +88,7 @@ var x = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -138,7 +138,7 @@ var x = 10; ] }, "version": "FakeTSVersion", - "size": 1093 + "size": 1105 } @@ -174,18 +174,17 @@ Output:: //// [/home/src/workspaces/project/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var sym = Symbol(); +const sym = Symbol(); +export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileIdsList":[[3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }",{"version":"-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n"}],"root":[[2,4]],"options":{"rootDir":"./src"},"referencedMap":[[4,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileIdsList":[[3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }",{"version":"-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n"}],"root":[[2,4]],"options":{"rootDir":"./src"},"referencedMap":[[4,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/globals.d.ts", "./src/hkt.ts", "./src/main.ts" @@ -197,7 +196,7 @@ var sym = Symbol(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -251,7 +250,7 @@ var sym = Symbol(); ] }, "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } @@ -287,19 +286,18 @@ Output:: //// [/home/src/workspaces/project/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var sym = Symbol(); -var x = 10; +const sym = Symbol(); +const x = 10; +export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileIdsList":[[3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }",{"version":"-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n"}],"root":[[2,4]],"options":{"rootDir":"./src"},"referencedMap":[[4,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileIdsList":[[3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }",{"version":"-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n"}],"root":[[2,4]],"options":{"rootDir":"./src"},"referencedMap":[[4,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/globals.d.ts", "./src/hkt.ts", "./src/main.ts" @@ -311,7 +309,7 @@ var x = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -365,7 +363,7 @@ var x = 10; ] }, "version": "FakeTSVersion", - "size": 1290 + "size": 1302 } diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js index a5061838ffc72..7d20fd747d4ad 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js @@ -452,10 +452,7 @@ project4/utils.d.ts //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -472,10 +469,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -606,10 +600,7 @@ export declare const x = "type1"; } //// [/home/src/workspace/projects/project2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/home/src/workspace/projects/project2/index.d.ts] @@ -682,10 +673,7 @@ export declare const y = 10; } //// [/home/src/workspace/projects/project3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project3/index.d.ts] @@ -758,10 +746,7 @@ export declare const z = 10; } //// [/home/src/workspace/projects/project4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project4/index.d.ts] diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js index 7e62ffecd9314..61f6aa8228ae9 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js @@ -204,10 +204,7 @@ project4/utils.d.ts //// [/home/src/tslibs/TS/Lib/lib.esnext.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -224,10 +221,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -350,10 +344,7 @@ export declare const x = "type1"; } //// [/home/src/workspace/projects/project2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/home/src/workspace/projects/project2/index.d.ts] @@ -422,10 +413,7 @@ export declare const y = 10; } //// [/home/src/workspace/projects/project3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project3/index.d.ts] @@ -494,10 +482,7 @@ export declare const z = 10; } //// [/home/src/workspace/projects/project4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project4/index.d.ts] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js index 0bd937e5cc109..bc38739ae2296 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js @@ -74,8 +74,8 @@ File '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts' exists - u Resolving real path for '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts', result '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts'. ======== Type reference directive 'pg' was successfully resolved to '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts', primary: true. ======== File '/home/src/workspaces/project/node_modules/@types/pg/package.json' exists according to earlier cached lookups. -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/src/index.ts Matched by default include pattern '**/*' node_modules/@types/pg/index.d.ts @@ -117,8 +117,8 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist. File '/home/package.json' does not exist. File '/package.json' does not exist. -../../tslibs/TS/Lib/lib.es2022.full.d.ts - Default library for target 'es2022' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/pg/index.d.ts Imported via "pg" from file 'b/src/index.ts' Entry point for implicit type library 'pg' @@ -128,7 +128,7 @@ b/src/index.ts File is ECMAScript module because 'b/package.json' has field "type" with value "module" -//// [/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/a/src/index.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolution-from-d.ts-of-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/resolution-from-d.ts-of-referenced-project.js index 45750d3816c54..b0ef41b7d83f3 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolution-from-d.ts-of-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolution-from-d.ts-of-referenced-project.js @@ -191,7 +191,7 @@ File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/producer/index.js] "use strict"; @@ -207,12 +207,12 @@ export interface ValueProducerFromTs { //// [/home/src/workspaces/project/producer/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.esnext.full.d.ts","../common.d.ts","./in-js.d.ts","./index.ts"],"fileIdsList":[[2],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3658943742-export type OnValue = (value: number) => void","impliedFormat":1},{"version":"13199476566-import { OnValue } from \"@common\"\nexport interface ValueProducerDeclaration {\n onValue: OnValue;\n}\n","impliedFormat":1},{"version":"-18594017076-export { ValueProducerDeclaration } from \"./in-js\"\nimport { OnValue } from \"@common\"\nexport interface ValueProducerFromTs {\n onValue: OnValue;\n}\n","signature":"304566626-export { ValueProducerDeclaration } from \"./in-js\";\nimport { OnValue } from \"@common\";\nexport interface ValueProducerFromTs {\n onValue: OnValue;\n}\n","impliedFormat":1}],"root":[3,4],"options":{"composite":true,"module":199,"strict":true},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../common.d.ts","./in-js.d.ts","./index.ts"],"fileIdsList":[[2],[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3658943742-export type OnValue = (value: number) => void","impliedFormat":1},{"version":"13199476566-import { OnValue } from \"@common\"\nexport interface ValueProducerDeclaration {\n onValue: OnValue;\n}\n","impliedFormat":1},{"version":"-18594017076-export { ValueProducerDeclaration } from \"./in-js\"\nimport { OnValue } from \"@common\"\nexport interface ValueProducerFromTs {\n onValue: OnValue;\n}\n","signature":"304566626-export { ValueProducerDeclaration } from \"./in-js\";\nimport { OnValue } from \"@common\";\nexport interface ValueProducerFromTs {\n onValue: OnValue;\n}\n","impliedFormat":1}],"root":[3,4],"options":{"composite":true,"module":199,"strict":true},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/producer/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.esnext.full.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../common.d.ts", "./in-js.d.ts", "./index.ts" @@ -227,7 +227,7 @@ export interface ValueProducerFromTs { ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.esnext.full.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index ac6b5f454585f..c1344290c9076 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -69,7 +69,7 @@ Output:: ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. @@ -87,7 +87,7 @@ File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/packages/pkg1/package.json' does not exist. File '/user/username/projects/myproject/packages/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. @@ -118,7 +118,7 @@ File '/user/username/projects/myproject/node_modules/pkg2/package.json' exists a ======== Resolving module 'const' from '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. @@ -129,9 +129,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/pkg2/build/const.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/const.d.ts] @@ -139,8 +140,7 @@ export type TheNum = 42; //// [/user/username/projects/myproject/packages/pkg2/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/index.d.ts] @@ -148,12 +148,12 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../const.ts", "../index.ts" ], @@ -163,7 +163,7 @@ export type { TheNum } from 'const'; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +210,7 @@ export type { TheNum } from 'const'; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -224,14 +224,11 @@ export type { TheNum } from 'const'; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 987 + "size": 999 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.theNum = void 0; -exports.theNum = 42; +export const theNum = 42; //// [/user/username/projects/myproject/packages/pkg1/build/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index c426434f15081..4b6ff26eb1221 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -67,7 +67,7 @@ Output:: ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. @@ -85,7 +85,7 @@ File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/packages/pkg1/package.json' does not exist. File '/user/username/projects/myproject/packages/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. @@ -115,7 +115,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. @@ -126,9 +126,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/pkg2/build/const.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/const.d.ts] @@ -136,8 +137,7 @@ export type TheNum = 42; //// [/user/username/projects/myproject/packages/pkg2/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/index.d.ts] @@ -145,12 +145,12 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../const.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../const.ts", "../index.ts" ], @@ -160,7 +160,7 @@ export type { TheNum } from 'const'; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +207,7 @@ export type { TheNum } from 'const'; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -221,14 +221,11 @@ export type { TheNum } from 'const'; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 987 + "size": 999 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.theNum = void 0; -exports.theNum = 42; +export const theNum = 42; //// [/user/username/projects/myproject/packages/pkg1/build/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js b/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js index b8d7ec0e1cffd..15a97264577d4 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js @@ -109,8 +109,8 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist. File '/home/package.json' does not exist. File '/package.json' does not exist. -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' packages/a/index.js Matched by default include pattern '**/*' Imported via 'a' from file 'packages/a/test/index.js' with packageId 'a/index.js@0.0.0' @@ -140,8 +140,8 @@ File '/home/src/tslibs/package.json' does not exist according to earlier cached File '/home/src/package.json' does not exist according to earlier cached lookups. File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' packages/a/types/index.d.ts Imported via 'a' from file 'packages/b/index.js' with packageId 'a/index.js@0.0.0' File is output of project reference source 'packages/a/index.js' @@ -151,7 +151,7 @@ packages/b/index.js File is ECMAScript module because 'packages/b/package.json' has field "type" with value "module" -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/packages/a/types/index.d.ts] export const a: "a"; @@ -162,12 +162,12 @@ export {}; //// [/home/src/workspaces/project/packages/a/types/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.esnext.full.d.ts","../index.js","../test/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15642581130-export const a = 'a';","signature":"-13259723213-export const a: \"a\";\n","impliedFormat":99},{"version":"-3920874422-import 'a';","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[2,3],"options":{"checkJs":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"module":199,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./test/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../index.js","../test/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15642581130-export const a = 'a';","signature":"-13259723213-export const a: \"a\";\n","impliedFormat":99},{"version":"-3920874422-import 'a';","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[2,3],"options":{"checkJs":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"module":199,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./test/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/a/types/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.esnext.full.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../index.js", "../test/index.js" ], @@ -177,7 +177,7 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.esnext.full.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index ee3624fd2283b..3554c45b01f31 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -83,11 +83,10 @@ Resolving real path for '/home/src/workspaces/project/packages/typeroot2/sometyp ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspaces/project/packages/typeroot2/sometype/index.d.ts', primary: true. ======== +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/packages/pkg1_index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.theNum = void 0; -exports.theNum = "type1"; +export const theNum = "type1"; //// [/home/src/workspaces/project/packages/pkg1_index.d.ts] @@ -95,17 +94,17 @@ export declare const theNum: TheNum; //// [/home/src/workspaces/project/packages/pkg1.tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-11475605505-export declare const theNum: TheNum;\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg1_index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-11475605505-export declare const theNum: TheNum;\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg1_index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/pkg1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./pkg1_index.ts", "./typeroot1/sometype/index.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,14 +142,11 @@ export declare const theNum: TheNum; }, "latestChangedDtsFile": "./pkg1_index.d.ts", "version": "FakeTSVersion", - "size": 881 + "size": 893 } //// [/home/src/workspaces/project/packages/pkg2_index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.theNum = void 0; -exports.theNum = "type2"; +export const theNum = "type2"; //// [/home/src/workspaces/project/packages/pkg2_index.d.ts] @@ -158,17 +154,17 @@ export declare const theNum: TheNum2; //// [/home/src/workspaces/project/packages/pkg2.tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-13622769679-export declare const theNum: TheNum2;\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg2_index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-13622769679-export declare const theNum: TheNum2;\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg2_index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/pkg2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./pkg2_index.ts", "./typeroot2/sometype/index.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -206,7 +202,7 @@ export declare const theNum: TheNum2; }, "latestChangedDtsFile": "./pkg2_index.d.ts", "version": "FakeTSVersion", - "size": 884 + "size": 896 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js b/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js index 0898e497f30e4..7fc65cb805e2f 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js @@ -108,8 +108,8 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist. File '/home/package.json' does not exist. File '/package.json' does not exist. -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' packages/a/index.js Matched by default include pattern '**/*' Imported via 'a' from file 'packages/a/test/index.js' with packageId 'a/index.js@0.0.0' @@ -119,7 +119,7 @@ packages/a/test/index.js File is ECMAScript module because 'packages/a/package.json' has field "type" with value "module" -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/packages/a/types/index.d.ts] export const a: "a"; @@ -130,12 +130,12 @@ export {}; //// [/home/src/workspaces/project/packages/a/types/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.esnext.full.d.ts","../index.js","../test/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15642581130-export const a = 'a';","signature":"-13259723213-export const a: \"a\";\n","impliedFormat":99},{"version":"-3920874422-import 'a';","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[2,3],"options":{"checkJs":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"module":199,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./test/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../index.js","../test/index.js"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15642581130-export const a = 'a';","signature":"-13259723213-export const a: \"a\";\n","impliedFormat":99},{"version":"-3920874422-import 'a';","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[2,3],"options":{"checkJs":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"module":199,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./test/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/a/types/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.esnext.full.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../index.js", "../test/index.js" ], @@ -145,7 +145,7 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.esnext.full.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -251,8 +251,8 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist. File '/home/package.json' does not exist. File '/package.json' does not exist. -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' packages/a/types/index.d.ts Imported via 'a' from file 'packages/b/index.js' with packageId 'a/types/index.d.ts@0.0.0' File is ECMAScript module because 'packages/a/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 0af57851f5c55..6654e9e79a77e 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -130,7 +130,7 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/packages/src-types/dogconfig.js] export {}; @@ -151,12 +151,12 @@ export * from './dogconfig.js'; //// [/home/src/workspaces/packages/src-types/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.es2022.full.d.ts","./dogconfig.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5575793279-export interface DogConfig {\n name: string;\n}","signature":"-3612551765-export interface DogConfig {\n name: string;\n}\n","impliedFormat":99},{"version":"-6189272282-export * from './dogconfig.js';","signature":"-6677489680-export * from './dogconfig.js';\n","impliedFormat":99}],"root":[2,3],"options":{"composite":true,"declaration":true,"module":100},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./dogconfig.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5575793279-export interface DogConfig {\n name: string;\n}","signature":"-3612551765-export interface DogConfig {\n name: string;\n}\n","impliedFormat":99},{"version":"-6189272282-export * from './dogconfig.js';","signature":"-6677489680-export * from './dogconfig.js';\n","impliedFormat":99}],"root":[2,3],"options":{"composite":true,"declaration":true,"module":100},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/packages/src-types/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2022.full.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./dogconfig.ts", "./index.ts" ], @@ -166,7 +166,7 @@ export * from './dogconfig.js'; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2022.full.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -285,12 +285,12 @@ export * from './lassie/lassiedog.js'; //// [/home/src/workspaces/packages/src-dogs/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.es2022.full.d.ts","../src-types/dogconfig.d.ts","../src-types/index.d.ts","./dogconfig.ts","./dog.ts","./lassie/lassieconfig.ts","./lassie/lassiedog.ts","./index.ts"],"fileIdsList":[[3,4],[3],[3,7],[5,6],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3612551765-export interface DogConfig {\n name: string;\n}\n","impliedFormat":99},{"version":"-6677489680-export * from './dogconfig.js';\n","impliedFormat":99},{"version":"1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n","signature":"15679103984-import { DogConfig } from 'src-types';\nexport declare const DOG_CONFIG: DogConfig;\n","impliedFormat":99},{"version":"6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n","signature":"26984075437-import { DogConfig } from 'src-types';\nexport declare abstract class Dog {\n static getCapabilities(): DogConfig;\n}\n","impliedFormat":99},{"version":"4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n","signature":"17379560247-import { DogConfig } from 'src-types';\nexport declare const LASSIE_CONFIG: DogConfig;\n","impliedFormat":99},{"version":"-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n","signature":"-10239718190-import { Dog } from '../dog.js';\nexport declare class LassieDog extends Dog {\n protected static getDogConfig: () => import(\"src-types\").DogConfig;\n}\n","impliedFormat":99},{"version":"-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n","impliedFormat":99}],"root":[[4,8]],"options":{"composite":true,"declaration":true,"module":100},"referencedMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src-types/dogconfig.d.ts","../src-types/index.d.ts","./dogconfig.ts","./dog.ts","./lassie/lassieconfig.ts","./lassie/lassiedog.ts","./index.ts"],"fileIdsList":[[3,4],[3],[3,7],[5,6],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3612551765-export interface DogConfig {\n name: string;\n}\n","impliedFormat":99},{"version":"-6677489680-export * from './dogconfig.js';\n","impliedFormat":99},{"version":"1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n","signature":"15679103984-import { DogConfig } from 'src-types';\nexport declare const DOG_CONFIG: DogConfig;\n","impliedFormat":99},{"version":"6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n","signature":"26984075437-import { DogConfig } from 'src-types';\nexport declare abstract class Dog {\n static getCapabilities(): DogConfig;\n}\n","impliedFormat":99},{"version":"4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n","signature":"17379560247-import { DogConfig } from 'src-types';\nexport declare const LASSIE_CONFIG: DogConfig;\n","impliedFormat":99},{"version":"-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n","signature":"-10239718190-import { Dog } from '../dog.js';\nexport declare class LassieDog extends Dog {\n protected static getDogConfig: () => import(\"src-types\").DogConfig;\n}\n","impliedFormat":99},{"version":"-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n","impliedFormat":99}],"root":[[4,8]],"options":{"composite":true,"declaration":true,"module":100},"referencedMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/packages/src-dogs/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2022.full.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src-types/dogconfig.d.ts", "../src-types/index.d.ts", "./dogconfig.ts", @@ -320,7 +320,7 @@ export * from './lassie/lassiedog.js'; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2022.full.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 348deacf5d5c0..6304b127a63c1 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -142,6 +142,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/packages/solution/common/tsconfig.json'... +solution/common/nominal.ts:2:6 - error TS2583: Cannot find name 'Symbol'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later. + +2 [Symbol.species]: Name; +   ~~~~~~ + [HH:MM:SS AM] Project 'solution/sub-project/tsconfig.json' is out of date because output file 'lib/solution/sub-project/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/packages/solution/sub-project/tsconfig.json'... @@ -150,41 +155,47 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/packages/solution/sub-project-2/tsconfig.json'... + +Found 1 error. + + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/packages/lib/solution/common/nominal.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/packages/lib/solution/common/nominal.d.ts] -export declare type Nominal = T & { - [Symbol.species]: Name; -}; +export declare type Nominal = T & {}; //// [/home/src/workspaces/packages/lib/solution/common/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n"],"root":[2],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"latestChangedDtsFile":"./nominal.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","signature":"-16533634136-export declare type Nominal = T & {};\n"}],"root":[2],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"semanticDiagnosticsPerFile":[[2,[{"start":65,"length":6,"messageText":"Cannot find name 'Symbol'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]]],"latestChangedDtsFile":"./nominal.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/packages/lib/solution/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../solution/common/nominal.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../../../solution/common/nominal.ts": { + "original": { + "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", + "signature": "-16533634136-export declare type Nominal = T & {};\n" + }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" + "signature": "-16533634136-export declare type Nominal = T & {};\n" } }, "root": [ @@ -199,14 +210,27 @@ export declare type Nominal = T & { "rootDir": "../../..", "skipLibCheck": true }, + "semanticDiagnosticsPerFile": [ + [ + "../../../solution/common/nominal.ts", + [ + { + "start": 65, + "length": 6, + "messageText": "Cannot find name 'Symbol'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.", + "category": 1, + "code": 2583 + } + ] + ] + ], "latestChangedDtsFile": "./nominal.d.ts", "version": "FakeTSVersion", - "size": 1029 + "size": 1168 } //// [/home/src/workspaces/packages/lib/solution/sub-project/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/packages/lib/solution/sub-project/index.d.ts] @@ -215,12 +239,12 @@ export type MyNominal = Nominal; //// [/home/src/workspaces/packages/lib/solution/sub-project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n",{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-16533634136-export declare type Nominal = T & {};\n",{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/packages/lib/solution/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../common/nominal.d.ts", "../../../solution/sub-project/index.ts" ], @@ -230,18 +254,18 @@ export type MyNominal = Nominal; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" + "version": "-16533634136-export declare type Nominal = T & {};\n", + "signature": "-16533634136-export declare type Nominal = T & {};\n" }, "../../../solution/sub-project/index.ts": { "original": { @@ -271,17 +295,14 @@ export type MyNominal = Nominal; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1359 + "size": 1131 } //// [/home/src/workspaces/packages/lib/solution/sub-project-2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getVar = getVar; -var variable = { +const variable = { key: 'value', }; -function getVar() { +export function getVar() { return 'key'; } @@ -296,12 +317,12 @@ export {}; //// [/home/src/workspaces/packages/lib/solution/sub-project-2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n",{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-16533634136-export declare type Nominal = T & {};\n","-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n",{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/packages/lib/solution/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../common/nominal.d.ts", "../sub-project/index.d.ts", "../../../solution/sub-project-2/index.ts" @@ -315,18 +336,18 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "signature": "-25303837216-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" + "version": "-16533634136-export declare type Nominal = T & {};\n", + "signature": "-16533634136-export declare type Nominal = T & {};\n" }, "../sub-project/index.d.ts": { "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", @@ -363,8 +384,8 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1669 + "size": 1441 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js index 1bbce1cabcfa4..fe1a3c9bb549b 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -35,7 +35,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental.js index b5c928976fed1..fc0837999f840 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors-with-incremental.js @@ -53,23 +53,16 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -77,17 +70,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -124,7 +117,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -161,7 +154,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -178,14 +171,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -226,24 +219,21 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -284,7 +274,7 @@ exports.a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -298,7 +288,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } //// [/home/src/workspaces/project/a.d.ts] @@ -319,7 +309,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -362,17 +352,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -412,7 +402,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -428,12 +418,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -505,29 +495,23 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -597,7 +581,7 @@ exports.a = /** @class */ (function () { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1318 + "size": 1330 } @@ -614,7 +598,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -671,17 +655,17 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -744,7 +728,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1265 + "size": 1277 } @@ -760,7 +744,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -790,24 +774,21 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -854,7 +835,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 864 + "size": 876 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -872,7 +853,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -900,17 +881,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -950,7 +931,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -966,7 +947,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1004,18 +985,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1080,14 +1061,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -1108,7 +1086,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1153,30 +1131,24 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1269,7 +1241,7 @@ exports.a = /** @class */ (function () { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1571 + "size": 1583 } @@ -1287,7 +1259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1319,25 +1291,22 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1407,7 +1376,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1117 + "size": 1129 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1426,7 +1395,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1463,18 +1432,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1539,7 +1508,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } @@ -1556,7 +1525,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1621,7 +1590,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors.js index 65ffcacafdde3..34e54c66cbf84 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors.js @@ -54,23 +54,16 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -105,14 +98,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -166,14 +159,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -198,10 +191,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -237,14 +227,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -310,17 +300,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -392,15 +382,9 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -434,14 +418,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -523,17 +507,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -558,10 +542,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -594,14 +575,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -651,17 +632,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -713,10 +694,7 @@ Found 1 error. //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -736,19 +714,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -789,15 +767,9 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -835,7 +807,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -843,7 +815,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -869,10 +841,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -909,7 +878,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -917,7 +886,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -981,19 +950,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -1060,19 +1029,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js index 1bbce1cabcfa4..fe1a3c9bb549b 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -35,7 +35,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental.js index 0d12876db4d22..d7f4a79c00b81 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors-with-incremental.js @@ -40,11 +40,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] @@ -52,10 +51,7 @@ export declare const a: number; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -63,17 +59,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -114,7 +110,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -128,7 +124,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 872 + "size": 884 } @@ -145,14 +141,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -198,17 +194,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -249,7 +245,7 @@ export declare const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -263,7 +259,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -280,7 +276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -323,17 +319,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -373,7 +369,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -389,12 +385,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -458,17 +454,17 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -515,7 +511,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -532,7 +528,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -584,17 +580,17 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -648,7 +644,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 967 + "size": 979 } @@ -664,7 +660,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -699,17 +695,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -756,7 +752,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -773,7 +769,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -801,17 +797,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -851,7 +847,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -867,7 +863,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -905,18 +901,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -981,14 +977,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -1009,7 +1002,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1046,18 +1039,18 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1127,7 +1120,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1121 + "size": 1133 } @@ -1145,7 +1138,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1182,18 +1175,18 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1263,7 +1256,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1117 + "size": 1129 } @@ -1281,7 +1274,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1318,18 +1311,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1394,7 +1387,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } @@ -1411,7 +1404,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1476,7 +1469,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors.js index 6f9e44df669d9..5bf4415b83048 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors.js @@ -39,11 +39,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] @@ -51,10 +50,7 @@ export declare const a: number; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -88,14 +84,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -157,14 +153,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -230,17 +226,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -330,14 +326,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -412,17 +408,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -480,14 +476,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -537,17 +533,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -599,10 +595,7 @@ Found 1 error. } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -622,19 +615,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -697,7 +690,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -705,7 +698,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -755,7 +748,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -763,7 +756,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -827,19 +820,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -906,19 +899,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js index 1bbce1cabcfa4..fe1a3c9bb549b 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -35,7 +35,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental.js index 9fc51449efcd9..616f1ee3d03a3 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors-with-incremental.js @@ -48,11 +48,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] @@ -60,10 +59,7 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -71,17 +67,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -122,7 +118,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -136,7 +132,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 865 + "size": 877 } @@ -153,14 +149,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -201,25 +197,22 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -260,7 +253,7 @@ exports.a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -274,7 +267,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -291,7 +284,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -334,17 +327,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -384,7 +377,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -400,12 +393,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -472,25 +465,22 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -537,7 +527,7 @@ exports.a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 861 + "size": 873 } @@ -554,7 +544,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -606,17 +596,17 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -662,7 +652,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 841 + "size": 853 } @@ -678,7 +668,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -708,25 +698,22 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -773,7 +760,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -790,7 +777,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -818,17 +805,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -868,7 +855,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -884,7 +871,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -922,18 +909,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -998,14 +985,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -1026,7 +1010,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1066,26 +1050,23 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1155,7 +1136,7 @@ exports.a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1114 + "size": 1126 } @@ -1173,7 +1154,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1205,26 +1186,23 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1294,7 +1272,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1117 + "size": 1129 } @@ -1312,7 +1290,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1349,18 +1327,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1425,7 +1403,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } @@ -1442,7 +1420,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1507,7 +1485,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors.js index 1cbc49e351241..4fd6a508d23ec 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors.js @@ -47,11 +47,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] @@ -59,10 +58,7 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -97,14 +93,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -145,10 +141,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -181,14 +174,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -254,17 +247,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -329,10 +322,7 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -366,14 +356,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -448,14 +438,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -480,10 +470,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -516,14 +503,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -573,17 +560,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -635,10 +622,7 @@ Found 1 error. } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -658,19 +642,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -704,10 +688,7 @@ Found 1 error. //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -745,7 +726,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -753,7 +734,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -779,10 +760,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -819,7 +797,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -827,7 +805,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -891,19 +869,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -970,19 +948,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental-discrepancies.js index 60546efaaf56e..208b6a67828a7 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -30,7 +30,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -58,7 +58,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -87,7 +87,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js index 89fa4d559c78c..cf7efd9ac9fb3 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors-with-incremental.js @@ -65,17 +65,17 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -86,17 +86,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -117,7 +117,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -154,7 +154,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1055 + "size": 1067 } @@ -173,7 +173,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -246,17 +246,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -277,7 +277,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -291,7 +291,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } //// [/home/src/workspaces/outFile.d.ts] @@ -319,7 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -374,17 +374,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -405,7 +405,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -418,7 +418,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -436,7 +436,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -489,7 +489,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -561,12 +561,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -577,17 +575,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -608,7 +606,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -645,7 +643,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1055 + "size": 1067 } @@ -664,7 +662,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -729,17 +727,17 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -760,7 +758,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -796,7 +794,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } @@ -814,7 +812,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -871,17 +869,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -902,7 +900,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -916,7 +914,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -936,7 +934,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -975,17 +973,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -1006,7 +1004,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1019,7 +1017,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -1037,7 +1035,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1100,18 +1098,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1136,7 +1134,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1153,7 +1151,7 @@ define("c", ["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } //// [/home/src/workspaces/outFile.d.ts] @@ -1184,7 +1182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1241,12 +1239,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -1263,18 +1259,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1299,7 +1295,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1340,7 +1336,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1126 + "size": 1138 } @@ -1360,7 +1356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1424,18 +1420,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1460,7 +1456,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1478,7 +1474,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1499,7 +1495,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1539,18 +1535,18 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1575,7 +1571,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1592,7 +1588,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1611,7 +1607,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1682,7 +1678,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js index 1ab891c870575..149871f3ffed4 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js @@ -66,17 +66,17 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -116,7 +116,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -184,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -266,7 +266,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -350,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -406,7 +406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -480,12 +480,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -526,7 +524,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -622,7 +620,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -709,7 +707,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -777,7 +775,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -881,7 +879,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -940,12 +938,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -994,7 +990,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1076,7 +1072,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1147,7 +1143,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1221,7 +1217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental-discrepancies.js index 60546efaaf56e..208b6a67828a7 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -30,7 +30,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -58,7 +58,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -87,7 +87,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js index daa04897d2af2..72814f958a59a 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors-with-incremental.js @@ -55,6 +55,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -80,17 +82,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -111,7 +113,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -125,7 +127,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 742 + "size": 754 } @@ -144,7 +146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -212,17 +214,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -243,7 +245,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -257,7 +259,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -276,7 +278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -331,17 +333,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -362,7 +364,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -375,7 +377,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -393,7 +395,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -446,7 +448,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -514,17 +516,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -545,7 +547,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -559,7 +561,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 742 + "size": 754 } @@ -578,7 +580,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -633,17 +635,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -664,7 +666,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -677,7 +679,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 722 + "size": 734 } @@ -695,7 +697,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -747,17 +749,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -778,7 +780,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -792,7 +794,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -811,7 +813,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -850,17 +852,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -881,7 +883,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -894,7 +896,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -912,7 +914,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -987,18 +989,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1023,7 +1025,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1040,7 +1042,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1059,7 +1061,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1115,18 +1117,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1151,7 +1153,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1169,7 +1171,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 813 + "size": 825 } @@ -1189,7 +1191,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1245,18 +1247,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1281,7 +1283,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1299,7 +1301,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1319,7 +1321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1359,18 +1361,18 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1395,7 +1397,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1412,7 +1414,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1431,7 +1433,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1502,7 +1504,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js index e8cd1e21ad7f9..8852e4b161b95 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js @@ -54,6 +54,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -108,7 +110,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -192,7 +194,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -276,7 +278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -332,7 +334,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -429,7 +431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -513,7 +515,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -594,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -662,7 +664,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -766,7 +768,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -853,7 +855,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -926,7 +928,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -997,7 +999,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1071,7 +1073,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental-discrepancies.js index 60546efaaf56e..208b6a67828a7 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -30,7 +30,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -58,7 +58,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -87,7 +87,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js index 1af603fb1f81d..881b0a0b1eb10 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors-with-incremental.js @@ -50,6 +50,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -75,17 +77,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -106,7 +108,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -120,7 +122,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 731 + "size": 743 } @@ -139,7 +141,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -213,17 +215,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -244,7 +246,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -258,7 +260,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -277,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -332,17 +334,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -363,7 +365,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -376,7 +378,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -394,7 +396,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -447,7 +449,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -516,17 +518,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -547,7 +549,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -561,7 +563,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 731 + "size": 743 } @@ -580,7 +582,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -630,17 +632,17 @@ Found 1 error. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -661,7 +663,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -674,7 +676,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } @@ -692,7 +694,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -750,17 +752,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -781,7 +783,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -795,7 +797,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -814,7 +816,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -853,17 +855,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -884,7 +886,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -897,7 +899,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -915,7 +917,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -990,18 +992,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1026,7 +1028,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1043,7 +1045,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1062,7 +1064,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1122,18 +1124,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1158,7 +1160,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1176,7 +1178,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 802 + "size": 814 } @@ -1196,7 +1198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1261,18 +1263,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1297,7 +1299,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1315,7 +1317,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1335,7 +1337,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1375,18 +1377,18 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1411,7 +1413,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1428,7 +1430,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1447,7 +1449,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1518,7 +1520,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js index 95a100db4e85d..8e7bd19fd3de5 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js @@ -49,6 +49,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -103,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -193,7 +195,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -277,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -333,7 +335,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -431,7 +433,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -510,7 +512,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -597,7 +599,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -665,7 +667,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -769,7 +771,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -860,7 +862,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -942,7 +944,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1013,7 +1015,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1087,7 +1089,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite-discrepancies.js index a4dad40e8c9c5..524047e719cf9 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -72,7 +72,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -136,7 +136,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -203,7 +203,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -267,7 +267,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -334,7 +334,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -412,7 +412,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -479,7 +479,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -543,7 +543,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -610,7 +610,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -674,7 +674,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -741,7 +741,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -805,7 +805,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -872,7 +872,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -936,7 +936,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1003,7 +1003,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1081,7 +1081,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1148,7 +1148,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1212,7 +1212,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1279,7 +1279,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite.js index ec4b922fc3931..ac1a78e10eaea 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite.js @@ -58,27 +58,14 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -88,17 +75,10 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -109,10 +89,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -120,10 +98,8 @@ export {}; //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -131,10 +107,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -143,11 +116,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -156,12 +125,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -178,7 +147,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -268,28 +237,13 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2105 + "size": 1902 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -300,9 +254,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/noChangeFileWithEmitSpecificError.ts' is older than output 'tsconfig.tsbuildinfo' @@ -318,9 +270,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/noChangeFileWithEmitSpecificError.ts' is older than output 'tsconfig.tsbuildinfo' @@ -341,7 +291,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -371,12 +321,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-9508063301-export declare class classC {\n prop: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-9508063301-export declare class classC {\n prop: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -393,7 +343,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -519,19 +469,6 @@ Found 2 errors. ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "affectedFilesPendingEmit": [ @@ -572,7 +509,7 @@ Found 2 errors. ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2761 + "size": 2589 } @@ -596,25 +533,17 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/src/class.js] file written with same contents //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -631,7 +560,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -721,28 +650,13 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2105 + "size": 1902 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with emit @@ -753,22 +667,12 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -779,9 +683,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -797,9 +699,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -815,22 +715,12 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: Introduce error and emit @@ -846,7 +736,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -870,27 +760,15 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -901,12 +779,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -923,7 +801,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1057,24 +935,11 @@ export declare class classC { ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2641 + "size": 2469 } @@ -1113,13 +978,8 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. @@ -1241,13 +1101,8 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. @@ -1275,12 +1130,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1297,7 +1152,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1379,21 +1234,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -1440,7 +1280,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2187 + "size": 1984 } @@ -1455,31 +1295,16 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1490,12 +1315,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1512,7 +1337,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1602,28 +1427,13 @@ export declare class classC { "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2077 + "size": 1874 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -1634,9 +1444,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -1652,9 +1460,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -1670,19 +1476,9 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental-declaration.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental-declaration.js index f757495efcb18..4441a66a864f0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental-declaration.js @@ -59,27 +59,14 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -89,17 +76,10 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -110,10 +90,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -121,10 +99,8 @@ export {}; //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -132,10 +108,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -144,11 +117,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -157,12 +126,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -179,7 +148,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -269,27 +238,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -300,9 +254,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/noChangeFileWithEmitSpecificError.ts' is older than output 'tsconfig.tsbuildinfo' @@ -318,9 +270,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/noChangeFileWithEmitSpecificError.ts' is older than output 'tsconfig.tsbuildinfo' @@ -341,7 +291,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -371,12 +321,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -393,7 +343,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -519,19 +469,6 @@ Found 2 errors. ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "affectedFilesPendingEmit": [ @@ -557,7 +494,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 2540 + "size": 2368 } @@ -581,14 +518,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/src/class.js] file written with same contents @@ -598,12 +527,12 @@ Found 1 error. //// [/home/src/workspaces/project/src/directUse.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -620,7 +549,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -710,27 +639,12 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with emit @@ -741,22 +655,12 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -767,9 +671,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -785,9 +687,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -803,22 +703,12 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: Introduce error and emit @@ -834,7 +724,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -858,27 +748,15 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -892,12 +770,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -914,7 +792,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1048,23 +926,10 @@ export declare class classC { ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2601 + "size": 2429 } @@ -1103,13 +968,8 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. @@ -1231,13 +1091,8 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. @@ -1265,12 +1120,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1287,7 +1142,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1369,21 +1224,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -1415,7 +1255,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1992 + "size": 1789 } @@ -1430,31 +1270,16 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1468,12 +1293,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1490,7 +1315,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1580,27 +1405,12 @@ export declare class classC { "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -1611,9 +1421,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -1629,9 +1437,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -1647,19 +1453,9 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js index efdb3609b97a4..306cd00a38e79 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js @@ -58,81 +58,50 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -149,7 +118,7 @@ function someFunc(arguments) { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -215,27 +184,12 @@ function someFunc(arguments) { "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1490 + "size": 1287 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -246,9 +200,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/noChangeFileWithEmitSpecificError.ts' is older than output 'tsconfig.tsbuildinfo' @@ -264,9 +216,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/noChangeFileWithEmitSpecificError.ts' is older than output 'tsconfig.tsbuildinfo' @@ -287,7 +237,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -317,12 +267,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"affectedFilesPendingEmit":[2,4,3,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"affectedFilesPendingEmit":[2,4,3,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -339,7 +289,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -465,19 +415,6 @@ Found 2 errors. ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "affectedFilesPendingEmit": [ @@ -499,7 +436,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 2420 + "size": 2248 } @@ -523,14 +460,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/src/class.js] file written with same contents @@ -538,12 +467,12 @@ Found 1 error. //// [/home/src/workspaces/project/src/directUse.js] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -560,7 +489,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -634,27 +563,12 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1717 + "size": 1514 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with emit @@ -665,22 +579,12 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -691,9 +595,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -709,9 +611,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -727,22 +627,12 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: Introduce error and emit @@ -758,7 +648,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -782,37 +672,25 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -829,7 +707,7 @@ exports.classC = classC; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -947,23 +825,10 @@ exports.classC = classC; ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2281 + "size": 2109 } @@ -1002,13 +867,8 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. @@ -1130,13 +990,8 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. @@ -1164,12 +1019,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1186,7 +1041,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1260,21 +1115,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ "./src/class.ts", @@ -1286,7 +1126,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1547 } @@ -1301,41 +1141,26 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1352,7 +1177,7 @@ exports.classC = classC; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1426,27 +1251,12 @@ exports.classC = classC; "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1717 + "size": 1514 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -1457,9 +1267,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -1475,9 +1283,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' @@ -1493,19 +1299,9 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. - -[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... - -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. +[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'src/class.ts' is older than output 'tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js index 8da8062be3001..18a16077ca78b 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -72,7 +72,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite.js index 4740916426804..dc11f2383acfd 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-composite.js @@ -60,13 +60,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"emitSignatures":[2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"emitSignatures":[2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -83,7 +85,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -152,21 +154,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -220,7 +207,7 @@ Output:: "./src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1621 + "size": 1418 } @@ -235,27 +222,19 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -272,7 +251,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -362,37 +341,15 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2105 + "size": 1902 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -402,10 +359,8 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -413,17 +368,10 @@ export {}; //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -434,10 +382,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -445,10 +391,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -457,11 +400,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -470,7 +409,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: Introduce error with emit @@ -486,7 +425,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -510,23 +449,18 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -543,7 +477,7 @@ Found 3 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -677,37 +611,17 @@ Found 3 errors. ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2641 + "size": 2469 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -741,12 +655,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -763,7 +677,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -845,21 +759,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -906,7 +805,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2187 + "size": 1984 } @@ -921,27 +820,19 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -958,7 +849,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1048,37 +939,15 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2077 + "size": 1874 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1089,4 +958,4 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js index 1688231899ceb..666fb2f38cc06 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js @@ -61,13 +61,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -84,7 +86,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -153,21 +155,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -213,7 +200,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1592 + "size": 1389 } @@ -228,27 +215,19 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -265,7 +244,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -355,36 +334,14 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -394,10 +351,8 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -405,17 +360,10 @@ export {}; //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -426,10 +374,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -437,10 +383,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -449,11 +392,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -462,7 +401,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: Introduce error with emit @@ -478,7 +417,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -502,23 +441,18 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -535,7 +469,7 @@ Found 3 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -669,36 +603,16 @@ Found 3 errors. ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2601 + "size": 2429 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -735,12 +649,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -757,7 +671,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -839,21 +753,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -885,7 +784,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1992 + "size": 1789 } @@ -900,27 +799,19 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -937,7 +828,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1027,36 +918,14 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1070,4 +939,4 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental.js index f684c4bd3a283..154801b21e9de 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-with-initial-noEmit-incremental.js @@ -60,13 +60,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -83,7 +85,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -149,21 +151,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ "./src/class.ts", @@ -191,7 +178,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1531 + "size": 1328 } @@ -206,27 +193,19 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -243,7 +222,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -309,85 +288,45 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1490 + "size": 1287 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success Change:: Introduce error with emit @@ -403,7 +342,7 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'src/class.ts' [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... @@ -427,23 +366,18 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors. +Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -460,7 +394,7 @@ Found 3 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -586,36 +520,16 @@ Found 3 errors. ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2383 + "size": 2211 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/directUse.js] file written with same contents @@ -645,12 +559,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -667,7 +581,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -741,21 +655,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ "./src/class.ts", @@ -767,7 +666,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1547 } @@ -782,27 +681,19 @@ Output:: [HH:MM:SS AM] Projects in this build: * tsconfig.json -[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that program needs to report errors. +[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'... -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error. - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -819,7 +710,7 @@ Found 1 error. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -893,38 +784,16 @@ Found 1 error. "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1717 + "size": 1514 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js index 2a0f6ac067b90..207a5ee5a0384 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/project/ CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -31,7 +31,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -65,7 +65,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/project/ CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -95,7 +95,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js index 7c96fe2268d56..a7d9fd8f55577 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js @@ -39,18 +39,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -89,7 +91,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 683 + "size": 695 } @@ -105,17 +107,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -166,17 +168,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -247,7 +249,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1030 + "size": 1042 } @@ -264,7 +266,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -290,17 +292,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,49]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,49]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -349,7 +351,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 746 + "size": 758 } @@ -367,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -422,17 +424,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -491,26 +493,17 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1056 + "size": 1068 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -530,7 +523,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -559,17 +552,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -612,7 +605,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 861 + "size": 873 } @@ -628,7 +621,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -656,17 +649,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,16]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -722,7 +715,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 904 + "size": 916 } @@ -739,7 +732,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js index af8b7743a68b2..086d7026b45e8 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/project/ CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -25,7 +25,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -53,7 +53,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/project/ CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -77,7 +77,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental.js index 0ced65d8003d2..6f914f954c66c 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-incremental.js @@ -36,17 +36,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -78,7 +80,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 664 + "size": 676 } @@ -93,15 +95,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -151,16 +153,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -221,7 +223,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -237,7 +239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -262,16 +264,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -310,7 +312,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 722 + "size": 734 } @@ -327,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -381,16 +383,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -442,16 +444,13 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 968 + "size": 980 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -466,7 +465,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -494,16 +493,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9520728827-const a = class { public p = 10; };","signature":"13034998770-declare const a: {\n new (): {\n p: number;\n };\n};\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9520728827-const a = class { public p = 10; };","signature":"13034998770-declare const a: {\n new (): {\n p: number;\n };\n};\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -536,7 +535,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 757 + "size": 769 } @@ -551,11 +550,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -579,16 +578,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9520728827-const a = class { public p = 10; };","signature":"13034998770-declare const a: {\n new (): {\n p: number;\n };\n};\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9520728827-const a = class { public p = 10; };","signature":"13034998770-declare const a: {\n new (): {\n p: number;\n };\n};\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -627,7 +626,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 793 + "size": 805 } @@ -643,7 +642,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js index 451ea9edfd509..721e914867c8b 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/project/ CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -41,7 +41,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js index 21217ea27804d..4977b0d186de5 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js @@ -45,20 +45,22 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"affectedFilesPendingEmit":[2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"affectedFilesPendingEmit":[2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -117,7 +119,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 823 + "size": 835 } @@ -135,21 +137,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts /home/src/projects/project/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts /home/src/projects/project/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) /home/src/projects/project/c.ts (used version) @@ -222,19 +224,19 @@ Found 3 errors. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17],[5,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17],[5,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -373,7 +375,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1738 + "size": 1750 } @@ -392,7 +394,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -420,19 +422,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,49],[4,49],[5,49]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,49],[4,49],[5,49]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -507,7 +509,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 896 + "size": 908 } @@ -527,7 +529,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -604,19 +606,19 @@ Found 3 errors. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -729,26 +731,17 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1762 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -756,27 +749,15 @@ export declare const b = 10; //// [/home/src/projects/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const c = class { + p = 10; +}; //// [/home/src/projects/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -exports.d = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const d = class { + p = 10; +}; @@ -794,7 +775,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -825,19 +806,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -936,7 +917,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1582 + "size": 1594 } @@ -954,7 +935,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1007,19 +988,19 @@ Found 2 errors. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,16],[4,16],[5,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,16],[4,16],[5,16]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1145,7 +1126,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 1639 + "size": 1651 } @@ -1164,7 +1145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1192,19 +1173,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,48],[5,48]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,48],[5,48]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1287,7 +1268,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1076 + "size": 1088 } @@ -1307,7 +1288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1338,19 +1319,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-15184115393-export const c = class { public p = 10; };","signature":"-1507017290-export declare const c: {\n new (): {\n p: number;\n };\n};\n"},"2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,49],[5,48]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-15184115393-export const c = class { public p = 10; };","signature":"-1507017290-export declare const c: {\n new (): {\n p: number;\n };\n};\n"},"2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,49],[5,48]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1437,7 +1418,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1188 + "size": 1200 } @@ -1457,7 +1438,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes.js index 8131b79ba78c1..bdcd50f8e5db7 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-declaration-enable-changes.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"version":"FakeTSVersion"} @@ -57,15 +59,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -98,15 +100,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -164,15 +166,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -220,15 +222,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -271,15 +273,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -328,12 +330,9 @@ Found 1 error. } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -347,15 +346,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -401,15 +400,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -443,15 +442,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -486,15 +485,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental-as-modules.js index 3e6c7f55ca487..2af487fae9b5d 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental-as-modules.js @@ -53,18 +53,20 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -135,7 +137,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1030 + "size": 1042 } @@ -152,17 +154,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -239,17 +241,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -301,7 +303,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -318,7 +320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -362,17 +364,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -412,14 +414,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -427,10 +426,7 @@ export declare const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -450,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -508,17 +504,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -590,7 +586,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1301 + "size": 1313 } @@ -607,7 +603,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -648,17 +644,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -721,19 +717,13 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1265 + "size": 1277 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -749,7 +739,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -801,7 +791,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental.js index 948547ed96cd8..430ef3cf074a3 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-with-incremental.js @@ -50,17 +50,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -121,7 +123,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -137,15 +139,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -191,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -219,16 +221,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -267,7 +269,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 741 + "size": 753 } @@ -283,11 +285,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -327,16 +329,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -366,11 +368,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 705 + "size": 717 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -389,7 +391,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -446,16 +448,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -517,7 +519,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1192 + "size": 1204 } @@ -533,11 +535,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -574,16 +576,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -636,16 +638,13 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1156 + "size": 1168 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -660,7 +659,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -710,7 +709,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index f4d4043ceae2b..151e8c1a5cc99 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -39,18 +39,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -89,7 +91,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 683 + "size": 695 } @@ -105,17 +107,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -156,17 +158,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +211,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -225,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -269,17 +271,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -312,21 +314,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -341,7 +337,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -386,17 +382,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -435,7 +431,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 890 + "size": 902 } @@ -451,7 +447,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -479,17 +475,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -522,19 +518,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 859 + "size": 871 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -549,7 +539,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js index 3349272de926b..142b6e9294f64 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js @@ -36,17 +36,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -78,7 +80,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 664 + "size": 676 } @@ -93,15 +95,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -141,16 +143,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -183,7 +185,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -198,11 +200,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -242,16 +244,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -278,11 +280,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -296,7 +298,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -340,16 +342,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -382,7 +384,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 852 + "size": 864 } @@ -397,11 +399,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -425,16 +427,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -461,16 +463,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 821 + "size": 833 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -484,7 +483,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled.js index cef368ba82c11..546a07cadf9b6 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors-without-dts-enabled.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"version":"FakeTSVersion"} @@ -57,15 +59,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -98,15 +100,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -142,15 +144,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -183,15 +185,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -214,7 +216,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -227,15 +229,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -287,15 +289,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -318,12 +320,9 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -336,15 +335,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors.js index 14017495d8f87..3ac7ae46d4a09 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors.js @@ -49,6 +49,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -74,15 +76,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -129,15 +131,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -184,15 +186,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -226,15 +228,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -257,7 +259,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -275,15 +277,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts during emit) exitCode:: ExitStatus.Success @@ -360,15 +362,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -406,12 +408,9 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; //// [/home/src/projects/project/a.d.ts] file changed its modified time @@ -426,15 +425,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -481,15 +480,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js index 770d790a479c3..c34d7cda419fc 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js @@ -47,18 +47,20 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -111,7 +113,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } @@ -127,17 +129,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -179,7 +181,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -208,17 +210,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -261,7 +263,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -277,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -321,17 +323,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -364,21 +366,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -393,7 +389,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -446,17 +442,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -509,7 +505,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 897 + "size": 909 } @@ -525,7 +521,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -561,17 +557,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -618,7 +614,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 866 + "size": 878 } //// [/home/src/projects/project/a.js] file written with same contents @@ -634,7 +630,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -680,7 +676,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental.js index 258d604ec5b9c..7a31788d932a8 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors-with-incremental.js @@ -44,17 +44,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -100,7 +102,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 806 + "size": 818 } @@ -115,15 +117,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -163,7 +165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -191,16 +193,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -233,7 +235,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -248,11 +250,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -292,16 +294,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -328,11 +330,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -346,7 +348,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -398,16 +400,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -454,7 +456,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 858 + "size": 870 } @@ -469,11 +471,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -505,16 +507,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -555,7 +557,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } //// [/home/src/projects/project/a.js] file written with same contents @@ -570,7 +572,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -614,7 +616,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors.js index 2d6954fab3641..d3667a94398ae 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors.js @@ -42,6 +42,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -66,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -115,15 +117,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -169,15 +171,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -210,15 +212,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -241,7 +243,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -254,15 +256,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -333,15 +335,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -382,15 +384,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -431,15 +433,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js index 9d274953d88ec..3adde767265bc 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js @@ -47,18 +47,20 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -95,10 +97,10 @@ Found 1 error. "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -114,7 +116,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -160,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -189,17 +191,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -246,7 +248,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 813 + "size": 825 } @@ -262,19 +264,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) /home/src/projects/project/b.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.Success @@ -310,17 +312,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -357,21 +359,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 780 + "size": 792 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -386,7 +382,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -439,17 +435,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -489,7 +485,7 @@ Found 1 error. "./a.ts" ], "version": "FakeTSVersion", - "size": 797 + "size": 809 } @@ -505,7 +501,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -540,17 +536,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -593,14 +589,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 810 + "size": 822 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; @@ -615,7 +608,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -663,7 +656,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental.js index f3329ad40769d..fc8c197dbf0bd 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors-with-incremental.js @@ -44,17 +44,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -81,10 +83,10 @@ Found 1 error. ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 672 + "size": 684 } @@ -99,7 +101,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -143,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -171,16 +173,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +215,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -228,16 +230,16 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.Success @@ -273,16 +275,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -309,11 +311,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -327,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -379,16 +381,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -418,7 +420,7 @@ Found 1 error. "./a.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 703 } @@ -433,7 +435,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -467,16 +469,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -509,11 +511,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 704 + "size": 716 } //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -527,7 +529,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -573,7 +575,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors.js index 19ea114e41c45..5a6bfda96a982 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors.js @@ -42,6 +42,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -66,7 +68,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -111,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -161,15 +163,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -202,15 +204,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -233,7 +235,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -246,15 +248,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -325,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -360,7 +362,7 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -373,13 +375,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -420,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite-discrepancies.js index 466dd8bb27224..0feed821b5afd 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -39,7 +39,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -79,7 +79,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -113,7 +113,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -153,7 +153,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -187,7 +187,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -227,7 +227,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -261,7 +261,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -301,7 +301,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -335,7 +335,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -375,7 +375,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -409,7 +409,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -449,7 +449,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -483,7 +483,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -523,7 +523,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -557,7 +557,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -597,7 +597,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -631,7 +631,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -671,7 +671,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -705,7 +705,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js index d3f116793fafe..fb4977f3895b8 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js @@ -75,29 +75,25 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -117,11 +113,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -146,12 +138,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -160,7 +152,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -191,7 +183,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -222,7 +214,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } @@ -324,12 +316,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -338,7 +330,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -373,7 +365,7 @@ Found 2 errors. "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1822 + "size": 1834 } @@ -414,12 +406,12 @@ Found 2 errors. //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -428,7 +420,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -459,7 +451,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -490,7 +482,7 @@ Found 2 errors. "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } @@ -658,24 +650,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -695,11 +681,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -724,12 +706,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -738,7 +720,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -769,7 +751,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -800,7 +782,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1849 + "size": 1861 } @@ -964,12 +946,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -978,7 +960,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1013,7 +995,7 @@ Found 2 errors. "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1822 + "size": 1834 } @@ -1052,24 +1034,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -1089,11 +1065,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -1118,12 +1090,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1132,7 +1104,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1163,7 +1135,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1194,7 +1166,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js index 2c866005e9eba..e25e5de589414 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js @@ -82,29 +82,25 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -124,11 +120,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -153,12 +145,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -167,7 +159,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -198,7 +190,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -227,7 +219,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } @@ -329,12 +321,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -343,7 +335,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -376,7 +368,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1273 + "size": 1285 } @@ -424,12 +416,12 @@ Found 3 errors. //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -438,7 +430,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -469,7 +461,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -498,7 +490,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } @@ -684,24 +676,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -721,11 +707,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -750,12 +732,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -764,7 +746,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -795,7 +777,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -824,7 +806,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1298 + "size": 1310 } @@ -1000,12 +982,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1014,7 +996,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1047,7 +1029,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1271 + "size": 1283 } @@ -1092,24 +1074,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -1129,11 +1105,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -1158,12 +1130,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1172,7 +1144,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1203,7 +1175,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1232,7 +1204,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js index ed6be5054fd9b..2069357d9f871 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js @@ -81,29 +81,25 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -123,21 +119,17 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -146,7 +138,7 @@ function someFunc(arguments) { "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -176,7 +168,7 @@ function someFunc(arguments) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -205,7 +197,7 @@ function someFunc(arguments) { ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } @@ -307,12 +299,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -321,7 +313,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -353,7 +345,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1254 + "size": 1266 } @@ -400,12 +392,12 @@ Found 3 errors. //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -414,7 +406,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -444,7 +436,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -473,7 +465,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } @@ -659,24 +651,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -696,21 +682,17 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -719,7 +701,7 @@ function someFunc(arguments) { "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -749,7 +731,7 @@ function someFunc(arguments) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -778,7 +760,7 @@ function someFunc(arguments) { ] ], "version": "FakeTSVersion", - "size": 1279 + "size": 1291 } @@ -954,12 +936,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -968,7 +950,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1000,7 +982,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1252 + "size": 1264 } @@ -1045,24 +1027,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -1082,21 +1058,17 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1105,7 +1077,7 @@ function someFunc(arguments) { "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1135,7 +1107,7 @@ function someFunc(arguments) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1164,7 +1136,7 @@ function someFunc(arguments) { ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js index 8c0eaf1af771e..8681363881813 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -39,7 +39,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js index 265c54ce47dc5..f182a4de7fd4e 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-composite.js @@ -75,13 +75,15 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -90,7 +92,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -120,7 +122,7 @@ Found 2 errors. "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -129,7 +131,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1281 + "size": 1293 } @@ -164,12 +166,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -178,7 +180,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -209,7 +211,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -240,7 +242,7 @@ Found 2 errors. "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } //// [/home/src/workspaces/outFile.js] @@ -248,24 +250,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -285,11 +281,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -350,12 +342,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -364,7 +356,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -395,7 +387,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -426,7 +418,7 @@ Found 2 errors. "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1849 + "size": 1861 } //// [/home/src/workspaces/outFile.js] @@ -434,24 +426,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -471,11 +457,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -536,12 +518,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -550,7 +532,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -585,7 +567,7 @@ Found 2 errors. "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1822 + "size": 1834 } @@ -620,12 +602,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -634,7 +616,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -665,7 +647,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -696,7 +678,7 @@ Found 2 errors. "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } //// [/home/src/workspaces/outFile.js] @@ -704,24 +686,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -741,11 +717,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js index c8c96a3aa41c8..d3cf99fe09c71 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js @@ -76,13 +76,15 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -91,7 +93,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -121,7 +123,7 @@ Found 2 errors. "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -130,7 +132,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1283 + "size": 1295 } @@ -171,12 +173,12 @@ Found 3 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -185,7 +187,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -216,7 +218,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -245,7 +247,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } //// [/home/src/workspaces/outFile.js] @@ -253,24 +255,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -290,11 +286,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -361,12 +353,12 @@ Found 3 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -375,7 +367,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -406,7 +398,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -435,7 +427,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1298 + "size": 1310 } //// [/home/src/workspaces/outFile.js] @@ -443,24 +435,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -480,11 +466,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -545,12 +527,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -559,7 +541,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -592,7 +574,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1271 + "size": 1283 } @@ -633,12 +615,12 @@ Found 3 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -647,7 +629,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -678,7 +660,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -707,7 +689,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } //// [/home/src/workspaces/outFile.js] @@ -715,24 +697,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -752,11 +728,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js index 17c73b43f2055..864f6cf327cdc 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-with-initial-noEmit-incremental.js @@ -75,13 +75,15 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -90,7 +92,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -119,7 +121,7 @@ Found 2 errors. "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -128,7 +130,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1264 + "size": 1276 } @@ -169,12 +171,12 @@ Found 3 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -183,7 +185,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -213,7 +215,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -242,7 +244,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } //// [/home/src/workspaces/outFile.js] @@ -250,24 +252,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -287,11 +283,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -338,12 +330,12 @@ Found 3 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -352,7 +344,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -382,7 +374,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -411,7 +403,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1279 + "size": 1291 } //// [/home/src/workspaces/outFile.js] @@ -419,24 +411,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -456,11 +442,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -501,12 +483,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -515,7 +497,7 @@ Found 2 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -547,7 +529,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1252 + "size": 1264 } @@ -588,12 +570,12 @@ Found 3 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -602,7 +584,7 @@ Found 3 errors. "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -632,7 +614,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -661,7 +643,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } //// [/home/src/workspaces/outFile.js] @@ -669,24 +651,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -706,11 +682,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js index 7a7a540bcded3..51338d32b5de4 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/outfile. CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -28,7 +28,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js index 26ade643379c1..b1bbbe1c0ac58 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-as-modules.js @@ -54,18 +54,20 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -86,10 +88,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 709 } @@ -107,7 +109,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -160,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -199,17 +201,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -231,10 +233,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } @@ -253,7 +255,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -292,17 +294,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -325,10 +327,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 738 + "size": 750 } @@ -348,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -401,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -450,17 +452,17 @@ Found 3 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -481,7 +483,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -517,7 +519,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } //// [/home/src/projects/outFile.js] @@ -525,12 +527,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -555,7 +555,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -597,17 +597,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -629,7 +629,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 692 + "size": 704 } @@ -647,7 +647,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -686,17 +686,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -719,7 +719,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } @@ -738,7 +738,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -777,17 +777,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -811,7 +811,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 733 + "size": 745 } @@ -831,7 +831,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js index 081a74d7b0a56..7e45ef9074d31 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/outfile. CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -22,7 +22,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js index 020d52163065f..8473ee3913ace 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-incremental.js @@ -45,17 +45,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -69,10 +71,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 621 + "size": 633 } @@ -88,7 +90,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -133,7 +135,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -166,16 +168,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -190,10 +192,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -243,16 +245,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -268,10 +270,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 662 + "size": 674 } @@ -289,7 +291,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -334,7 +336,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -377,16 +379,16 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -401,7 +403,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -433,16 +435,13 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -458,7 +457,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -494,16 +493,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "9520728827-const a = class { public p = 10; };" }, "root": [ @@ -519,7 +518,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } @@ -535,7 +534,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -568,16 +567,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "9520728827-const a = class { public p = 10; };" }, "root": [ @@ -594,7 +593,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 637 + "size": 649 } @@ -611,7 +610,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -644,16 +643,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9520728827-const a = class { public p = 10; };"],"root":[2],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "9520728827-const a = class { public p = 10; };" }, "root": [ @@ -671,7 +670,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 659 + "size": 671 } @@ -689,7 +688,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js index f6e3860b1a803..af5b631eff751 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/outfile. CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -34,7 +34,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js index c691a6a26e7c0..6f80663bc55d0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js @@ -60,20 +60,22 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -102,10 +104,10 @@ Found 2 errors. "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 853 + "size": 865 } @@ -125,7 +127,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -182,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -223,19 +225,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -265,10 +267,10 @@ Found 2 errors. "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 872 + "size": 884 } @@ -289,7 +291,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -330,19 +332,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -373,10 +375,10 @@ Found 2 errors. "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 894 + "size": 906 } @@ -398,7 +400,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -455,7 +457,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -526,19 +528,19 @@ Found 5 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -565,7 +567,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -651,7 +653,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1749 + "size": 1761 } //// [/home/src/projects/outFile.js] @@ -659,12 +661,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -676,23 +676,19 @@ define("c", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.c = void 0; - exports.c = /** @class */ (function () { - function class_2() { - this.p = 10; - } - return class_2; - }()); + const c = class { + p = 10; + }; + exports.c = c; }); define("d", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.d = void 0; - exports.d = /** @class */ (function () { - function class_3() { - this.p = 10; - } - return class_3; - }()); + const d = class { + p = 10; + }; + exports.d = d; }); @@ -713,7 +709,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -757,19 +753,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -797,7 +793,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 844 + "size": 856 } @@ -817,7 +813,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -858,19 +854,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -899,7 +895,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 863 + "size": 875 } @@ -920,7 +916,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -961,19 +957,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -1003,7 +999,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 885 + "size": 897 } @@ -1025,7 +1021,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1069,19 +1065,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-15184115393-export const c = class { public p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-15184115393-export const c = class { public p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,4],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-15184115393-export const c = class { public p = 10; };", @@ -1112,7 +1108,7 @@ Found 2 errors. "./project/c.ts" ], "version": "FakeTSVersion", - "size": 886 + "size": 898 } @@ -1134,7 +1130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js index ddb56267d229e..34e62109f83f0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-declaration-enable-changes.js @@ -44,6 +44,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -69,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -115,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -162,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -303,12 +305,9 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -323,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -372,7 +371,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -419,7 +418,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -467,7 +466,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js index c31c43cffeb6f..a952d630a7adf 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js @@ -3,12 +3,12 @@ Incremental build contains ./project/a.ts file has emit errors, clean build does not have errors or does not mark is as pending emit: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: Incremental buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -29,7 +29,7 @@ Incremental buildInfoText:: { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -65,16 +65,16 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -96,8 +96,8 @@ Clean buildInfoText:: { "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js index dd0446789b1b6..153a3d869b3d5 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -55,18 +55,20 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -88,10 +90,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } @@ -110,7 +112,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -206,17 +208,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -238,10 +240,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 713 } @@ -260,7 +262,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -314,7 +316,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -353,17 +355,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -384,7 +386,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -397,7 +399,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } //// [/home/src/projects/outFile.js] @@ -439,7 +441,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -493,7 +495,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -535,17 +537,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -568,7 +570,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 712 + "size": 724 } @@ -587,7 +589,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -636,17 +638,17 @@ Found 3 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -667,7 +669,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -703,7 +705,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } //// [/home/src/projects/outFile.js] @@ -711,12 +713,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -741,7 +741,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -795,7 +795,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js index 66153cdb54a8b..e5979f680ae6b 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental-discrepancies.js @@ -3,11 +3,11 @@ Incremental build contains ./project/a.ts file has emit errors, clean build does not have errors or does not mark is as pending emit: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: Incremental buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -22,7 +22,7 @@ Incremental buildInfoText:: { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -54,15 +54,15 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -77,8 +77,8 @@ Clean buildInfoText:: { }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js index f2d69f3dc3087..e50172a7ea941 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-with-incremental.js @@ -46,17 +46,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -71,10 +73,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } @@ -91,7 +93,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -137,7 +139,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -173,16 +175,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -197,10 +199,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 636 } @@ -217,7 +219,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -263,7 +265,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -296,16 +298,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -320,7 +322,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -329,11 +331,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 637 + "size": 649 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -353,7 +355,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -399,7 +401,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -435,16 +437,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -461,7 +463,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 638 + "size": 650 } @@ -478,7 +480,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -521,16 +523,16 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -545,7 +547,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -577,16 +579,13 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -602,7 +601,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -648,7 +647,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index b643a2cdac0a3..bf45ce517bd33 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -54,18 +54,20 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -86,10 +88,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 709 } @@ -107,7 +109,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -160,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -202,17 +204,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -233,10 +235,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -254,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -307,7 +309,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -346,17 +348,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -376,7 +378,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -389,7 +391,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -421,7 +423,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -474,7 +476,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -516,17 +518,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -548,7 +550,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 693 + "size": 705 } @@ -566,7 +568,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -605,17 +607,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -635,7 +637,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -648,7 +650,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 710 + "size": 722 } //// [/home/src/projects/outFile.js] @@ -656,12 +658,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -685,7 +685,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -738,7 +738,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index e94a304888a25..f8d08acab8228 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -45,17 +45,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -69,10 +71,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 621 + "size": 633 } @@ -88,7 +90,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -133,7 +135,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -169,16 +171,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -192,10 +194,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -211,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -289,16 +291,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -312,7 +314,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -321,11 +323,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -340,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -385,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -421,16 +423,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -446,7 +448,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 631 } @@ -462,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -495,16 +497,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -518,7 +520,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -527,16 +529,13 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 634 + "size": 646 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -551,7 +550,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -596,7 +595,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js index 526b18fe060b3..fdc923230568b 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -44,6 +44,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -69,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -115,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -245,7 +247,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -354,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -389,12 +391,9 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -408,7 +407,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -454,7 +453,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js index 6dc24a6d845ec..866261e15aeed 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js @@ -45,6 +45,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -71,7 +73,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -215,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -250,7 +252,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -269,7 +271,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -316,7 +318,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -366,7 +368,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -413,12 +415,9 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; //// [/home/src/projects/outFile.d.ts] file changed its modified time @@ -434,7 +433,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -481,7 +480,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index 2af3574f27a74..dbb6307fd5363 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -54,18 +54,20 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -86,10 +88,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 689 + "size": 701 } @@ -107,7 +109,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -160,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -202,17 +204,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -233,10 +235,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -254,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -307,7 +309,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -346,17 +348,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -376,7 +378,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -389,7 +391,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -421,7 +423,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -474,7 +476,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -516,17 +518,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -548,7 +550,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 685 + "size": 697 } @@ -566,7 +568,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -605,17 +607,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -635,7 +637,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -648,7 +650,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 702 + "size": 714 } //// [/home/src/projects/outFile.js] file written with same contents @@ -666,7 +668,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -719,7 +721,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js index 5985796bf2ec8..092fe78f28cb0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors-with-incremental.js @@ -45,17 +45,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -69,10 +71,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 624 } @@ -88,7 +90,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -133,7 +135,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -169,16 +171,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -192,10 +194,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -211,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -289,16 +291,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -312,7 +314,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -321,11 +323,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -340,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -385,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -421,16 +423,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -446,7 +448,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 610 + "size": 622 } @@ -462,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -495,16 +497,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -518,7 +520,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -527,7 +529,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 625 + "size": 637 } //// [/home/src/projects/outFile.js] file written with same contents @@ -543,7 +545,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -588,7 +590,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js index d2bf5b8024622..a72de25ef26a0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js @@ -44,6 +44,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -69,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -115,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -245,7 +247,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -354,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -400,7 +402,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -446,7 +448,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 02a5d82842ea7..cdcd554500600 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -49,18 +49,20 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -81,10 +83,10 @@ Found 1 error. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 679 + "size": 691 } @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -150,7 +152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -192,17 +194,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -223,10 +225,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -244,7 +246,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -297,7 +299,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -336,17 +338,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -366,7 +368,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -379,7 +381,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -411,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -464,7 +466,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -501,17 +503,17 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -533,7 +535,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 675 + "size": 687 } @@ -551,7 +553,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -585,17 +587,17 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -615,7 +617,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -628,7 +630,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 692 + "size": 704 } //// [/home/src/projects/outFile.js] @@ -660,7 +662,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -708,7 +710,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js index cd3d94682ef05..f02a92193899f 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors-with-incremental.js @@ -45,17 +45,19 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -69,10 +71,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 602 + "size": 614 } @@ -88,7 +90,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -133,7 +135,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -169,16 +171,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -192,10 +194,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -211,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -289,16 +291,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -312,7 +314,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -321,11 +323,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -340,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -385,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -421,16 +423,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -446,7 +448,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 600 + "size": 612 } @@ -462,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -495,16 +497,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -518,7 +520,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -527,11 +529,11 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 615 + "size": 627 } //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -546,7 +548,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -591,7 +593,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js index f15bf8c13b527..f47508a19867b 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js @@ -44,6 +44,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -69,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -115,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -245,7 +247,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -354,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -389,7 +391,7 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -403,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -449,7 +451,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js index fbdcc4b2aa69b..eaee5a1836e3c 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js @@ -65,13 +65,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -82,7 +84,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -174,7 +176,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1292 + "size": 1304 } @@ -193,19 +195,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -288,12 +290,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -304,7 +306,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -358,12 +360,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1091 + "size": 1103 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -373,15 +374,9 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -393,9 +388,8 @@ export declare const a: { //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -418,7 +412,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration.js index 4aaec66aba284..b95d4272a89f5 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-declaration.js @@ -64,6 +64,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -94,19 +96,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -158,19 +160,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -212,8 +214,7 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -223,15 +224,9 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -243,9 +238,8 @@ export declare const a: { //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -267,19 +261,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (computed .d.ts during emit) /user/username/projects/noemitonerror/src/other.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-incremental.js index 53375ced082b9..d32b9c5a9355a 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors-with-incremental.js @@ -51,36 +51,30 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -91,7 +85,7 @@ console.log("hi"); ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,7 +130,7 @@ console.log("hi"); ] }, "version": "FakeTSVersion", - "size": 917 + "size": 929 } @@ -154,19 +148,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -211,12 +205,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file written with same contents //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -227,7 +221,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -276,7 +270,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1021 + "size": 1033 } @@ -294,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors.js index 34f171d78ae4b..21a98deb625c9 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors.js @@ -50,27 +50,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] @@ -101,19 +95,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -175,19 +169,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js index b246887bb38d4..264761c9059ba 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js @@ -59,13 +59,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -76,7 +78,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -150,7 +152,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1101 + "size": 1113 } @@ -169,19 +171,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -227,7 +229,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -258,12 +260,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -274,7 +276,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -328,12 +330,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1022 + "size": 1034 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -343,9 +344,8 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -353,9 +353,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -378,7 +377,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration.js index 893b3baf2c940..e6f368f57ce38 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-declaration.js @@ -58,6 +58,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -88,19 +90,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -147,19 +149,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -200,8 +202,7 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -211,9 +212,8 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -221,9 +221,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -245,19 +244,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (computed .d.ts during emit) /user/username/projects/noemitonerror/src/other.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-incremental.js index 3753d8a634d36..941673844f667 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors-with-incremental.js @@ -58,13 +58,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -75,7 +77,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -148,7 +150,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1082 + "size": 1094 } @@ -166,19 +168,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -223,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -254,12 +256,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -270,7 +272,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -319,24 +321,21 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 952 + "size": 964 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -354,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors.js index c955311e2424c..7cedb25f8210f 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors.js @@ -57,6 +57,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -86,19 +88,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -144,19 +146,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -197,20 +199,17 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -227,19 +226,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js index ddc9cde659e10..339d141d2c57c 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js @@ -62,13 +62,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -79,7 +81,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,7 +142,7 @@ Found 1 error. ], "errors": true, "version": "FakeTSVersion", - "size": 979 + "size": 991 } @@ -159,19 +161,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -217,7 +219,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -250,12 +252,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -266,7 +268,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -320,12 +322,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1031 + "size": 1043 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -335,11 +336,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -347,9 +347,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -372,7 +371,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration.js index fce084fc96db9..9f079fc1c72d1 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-declaration.js @@ -61,6 +61,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -91,19 +93,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -150,19 +152,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -205,8 +207,7 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -216,11 +217,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -228,9 +228,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -252,19 +251,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (computed .d.ts during emit) /user/username/projects/noemitonerror/src/other.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-incremental.js index 029cb203df4e8..983ba99dc7240 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors-with-incremental.js @@ -61,13 +61,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -78,7 +80,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -138,7 +140,7 @@ Found 1 error. ], "errors": true, "version": "FakeTSVersion", - "size": 960 + "size": 972 } @@ -156,19 +158,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -213,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -246,12 +248,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -262,7 +264,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -311,26 +313,23 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -348,7 +347,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors.js index 19b836953bded..2b9516e8a78ab 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors.js @@ -60,6 +60,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -89,19 +91,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -147,19 +149,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -202,22 +204,19 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -234,19 +233,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js index 994d32036782a..69fc8d6c16b5b 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js @@ -66,19 +66,21 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -108,7 +110,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 945 + "size": 957 } @@ -128,13 +130,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -188,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -233,18 +235,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -274,7 +276,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 937 + "size": 949 } @@ -294,13 +296,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -354,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js index 2be925ecb127f..a790d8896b248 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-declaration.js @@ -65,6 +65,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -96,13 +98,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -157,13 +159,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -223,13 +225,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -284,13 +286,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js index 5264416734cb8..b61ed221cf8c4 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors-with-incremental.js @@ -65,19 +65,21 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -106,7 +108,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 926 + "size": 938 } @@ -125,13 +127,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -184,7 +186,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -229,18 +231,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -269,7 +271,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 918 + "size": 930 } @@ -288,13 +290,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -347,7 +349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js index 57be6bf61faf5..2289333c42a70 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js @@ -64,6 +64,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -94,13 +96,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -154,13 +156,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -219,13 +221,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -279,13 +281,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js index f9a895c718cb3..836e5ce2df2d9 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js @@ -70,19 +70,21 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -125,7 +127,7 @@ Found 3 errors. false ], "version": "FakeTSVersion", - "size": 1061 + "size": 1073 } @@ -145,13 +147,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -210,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -254,18 +256,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -295,7 +297,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 929 + "size": 941 } @@ -315,13 +317,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -375,7 +377,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js index 247b4ecfff1e8..ac61accb80dbe 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-declaration.js @@ -69,6 +69,8 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -100,13 +102,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -166,13 +168,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -231,13 +233,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -292,13 +294,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js index f14f2440a6178..b8b6ecde0ec0a 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors-with-incremental.js @@ -69,19 +69,21 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -123,7 +125,7 @@ Found 3 errors. false ], "version": "FakeTSVersion", - "size": 1042 + "size": 1054 } @@ -142,13 +144,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -206,7 +208,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -250,18 +252,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -290,7 +292,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 910 + "size": 922 } @@ -309,13 +311,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -368,7 +370,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js index 3d46e17b85781..6538fd9e3d21b 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js @@ -68,6 +68,8 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -98,13 +100,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -163,13 +165,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -227,13 +229,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -287,13 +289,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js index d599ed33c650f..a5d4587ffae7b 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js @@ -73,19 +73,21 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -115,7 +117,7 @@ Found 3 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 939 + "size": 951 } @@ -135,13 +137,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -200,7 +202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -246,18 +248,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -287,7 +289,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 950 } @@ -307,13 +309,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -367,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js index 09d1fa72123dc..bd541c4779f57 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-declaration.js @@ -72,6 +72,8 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -103,13 +105,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -169,13 +171,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -236,13 +238,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -297,13 +299,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js index d6ffc777b8f17..42197eb30be1c 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors-with-incremental.js @@ -72,19 +72,21 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -113,7 +115,7 @@ Found 3 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 920 + "size": 932 } @@ -132,13 +134,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -196,7 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -242,18 +244,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -282,7 +284,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 919 + "size": 931 } @@ -301,13 +303,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -360,7 +362,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js index b3052ef1c41b1..0e09c8df8ebb6 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js @@ -71,6 +71,8 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -101,13 +103,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -166,13 +168,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -232,13 +234,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -292,13 +294,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index c9d30cc89f6ce..79cbdac3ce154 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -37,11 +37,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/dist/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/dist/src/index.d.ts] @@ -49,16 +48,16 @@ export declare const x = 10; //// [/home/src/workspaces/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -88,7 +87,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index 1a27b5e868394..606875b8e0eaf 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -45,11 +45,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/dist/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/dist/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 4d090226cd87a..14273c4213646 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -48,11 +48,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/dist/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/dist/index.d.ts] @@ -60,8 +59,7 @@ export declare const x = 10; //// [/home/src/workspaces/project/types/type.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/types/type.d.ts] @@ -69,17 +67,17 @@ export type t = string; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/index.ts","./types/type.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-4885977236-export type t = string;","signature":"-6618426122-export type t = string;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./types/type.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/index.ts","./types/type.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-4885977236-export type t = string;","signature":"-6618426122-export type t = string;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./types/type.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/index.ts", "./types/type.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -122,7 +120,7 @@ export type t = string; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -136,7 +134,7 @@ export type t = string; ], "latestChangedDtsFile": "./types/type.d.ts", "version": "FakeTSVersion", - "size": 925 + "size": 937 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js index 98f4910e00020..9222b56c5c450 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js @@ -47,16 +47,14 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/dist/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/types/type.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index 2f23e31580ff4..5a11143a30b03 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -37,11 +37,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/dist/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 150d3fcfe6199..c7c55e4d0e845 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -61,11 +61,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/dist/other/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Other = void 0; -exports.Other = 0; +export const Other = 0; //// [/home/src/workspaces/solution/dist/other/other.d.ts] @@ -73,16 +72,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/other/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/other/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/other/other.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -115,14 +114,11 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 831 + "size": 843 } //// [/home/src/workspaces/solution/dist/main/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 0; +export const b = 0; //// [/home/src/workspaces/solution/dist/main/b.d.ts] @@ -130,10 +126,8 @@ export declare const b = 0; //// [/home/src/workspaces/solution/dist/main/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a = b_1.b; +import { b } from './b'; +const a = b; //// [/home/src/workspaces/solution/dist/main/a.d.ts] @@ -141,12 +135,12 @@ export {}; //// [/home/src/workspaces/solution/dist/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n"},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n"},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/main/b.ts", "../../src/main/a.ts" ], @@ -156,7 +150,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -206,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 989 + "size": 1001 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 4f98378b7b3ee..b9e006fffa530 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -87,11 +87,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/dist/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Other = void 0; -exports.Other = 0; +export const Other = 0; //// [/home/src/workspaces/solution/dist/other.d.ts] @@ -99,16 +98,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,14 +139,11 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 803 + "size": 815 } //// [/home/src/workspaces/solution/dist/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 0; +export const b = 0; //// [/home/src/workspaces/solution/dist/b.d.ts] @@ -155,10 +151,8 @@ export declare const b = 0; //// [/home/src/workspaces/solution/dist/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a = b_1.b; +import { b } from './b'; +const a = b; //// [/home/src/workspaces/solution/dist/a.d.ts] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental-with-tsc.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental-with-tsc.js index e6c99a3187b36..fa6d3444d6789 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental-with-tsc.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental-with-tsc.js @@ -73,11 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/dist/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Other = void 0; -exports.Other = 0; +export const Other = 0; //// [/home/src/workspaces/solution/dist/other.d.ts] @@ -85,16 +84,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -124,7 +123,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 757 + "size": 769 } @@ -139,17 +138,12 @@ Output:: //// [/home/src/workspaces/solution/dist/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 0; +export const b = 0; //// [/home/src/workspaces/solution/dist/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a = b_1.b; +import { b } from './b'; +const a = b; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental.js index 179f6ad2f4d7e..d307a835ddb09 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-without-incremental.js @@ -92,11 +92,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/dist/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Other = void 0; -exports.Other = 0; +export const Other = 0; //// [/home/src/workspaces/solution/dist/other.d.ts] @@ -104,16 +103,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,21 +142,16 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 757 + "size": 769 } //// [/home/src/workspaces/solution/dist/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 0; +export const b = 0; //// [/home/src/workspaces/solution/dist/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a = b_1.b; +import { b } from './b'; +const a = b; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 20e317c241e9f..5f98883a5c25b 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -93,11 +93,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/dist/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Other = void 0; -exports.Other = 0; +export const Other = 0; //// [/home/src/workspaces/solution/dist/other.d.ts] @@ -105,16 +104,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -144,14 +143,11 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 757 + "size": 769 } //// [/home/src/workspaces/solution/dist/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 0; +export const b = 0; //// [/home/src/workspaces/solution/dist/b.d.ts] @@ -159,10 +155,8 @@ export declare const b = 0; //// [/home/src/workspaces/solution/dist/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a = b_1.b; +import { b } from './b'; +const a = b; //// [/home/src/workspaces/solution/dist/a.d.ts] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index e825ef5790906..e73f86aa6bceb 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -79,11 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/dist/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Other = void 0; -exports.Other = 0; +export const Other = 0; //// [/home/src/workspaces/solution/dist/other.d.ts] @@ -91,16 +90,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.other.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/tsconfig.other.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -130,14 +129,11 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 757 + "size": 769 } //// [/home/src/workspaces/solution/dist/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 0; +export const b = 0; //// [/home/src/workspaces/solution/dist/b.d.ts] @@ -145,10 +141,8 @@ export declare const b = 0; //// [/home/src/workspaces/solution/dist/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a = b_1.b; +import { b } from './b'; +const a = b; //// [/home/src/workspaces/solution/dist/a.d.ts] @@ -156,12 +150,12 @@ export {}; //// [/home/src/workspaces/solution/dist/tsconfig.main.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n"},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/main/b.ts","../src/main/a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n"},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/dist/tsconfig.main.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/main/b.ts", "../src/main/a.ts" ], @@ -171,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -218,7 +212,7 @@ export {}; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 912 + "size": 924 } diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index a76608c40f5fb..33e7dd622f05b 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -78,28 +78,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/shared/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = exports.c = void 0; -exports.f1 = f1; -exports.f2 = f2; /*@before/home/src/workspaces/solution/shared/tsconfig.json*/ -function f1() { } -//@after/home/src/workspaces/solution/shared/tsconfig.json -var c = /** @class */ (function () { - function c() { - } - return c; -}()); -exports.c = c; +export function f1() { } +export class c { +} //@after/home/src/workspaces/solution/shared/tsconfig.json -var e; +export var e; (function (e) { -})(e || (exports.e = e = {})); +})(e || (e = {})); // leading /*@before/home/src/workspaces/solution/shared/tsconfig.json*/ -function f2() { } // trailing +export function f2() { } // trailing //// [/home/src/workspaces/solution/shared/index.d.ts] @@ -112,16 +104,16 @@ export declare function f2(): void; //// [/home/src/workspaces/solution/shared/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -152,31 +144,21 @@ export declare function f2(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 915 + "size": 927 } //// [/home/src/workspaces/solution/webpack/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e2 = exports.c2 = void 0; -exports.f2 = f2; -exports.f22 = f22; /*@before/home/src/workspaces/solution/webpack/tsconfig.json*/ -function f2() { } -//@after/home/src/workspaces/solution/webpack/tsconfig.json -var c2 = /** @class */ (function () { - function c2() { - } - return c2; -}()); -exports.c2 = c2; +export function f2() { } +export class c2 { +} //@after/home/src/workspaces/solution/webpack/tsconfig.json -var e2; +export var e2; (function (e2) { -})(e2 || (exports.e2 = e2 = {})); +})(e2 || (e2 = {})); // leading /*@before/home/src/workspaces/solution/webpack/tsconfig.json*/ -function f22() { } // trailing +export function f22() { } // trailing //// [/home/src/workspaces/solution/webpack/index.d.ts] @@ -189,16 +171,16 @@ export declare function f22(): void; //// [/home/src/workspaces/solution/webpack/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -229,7 +211,7 @@ export declare function f22(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 922 + "size": 934 } @@ -243,15 +225,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/shared/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/shared/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/shared/index.ts (used version) Program root files: [ @@ -264,15 +246,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/webpack/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/webpack/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/webpack/index.ts (used version) exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js index 2e79c0efce892..68a09002334ea 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js @@ -66,8 +66,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -78,6 +78,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -90,7 +92,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 2b3dbfe100d2a..5f4874d185538 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -62,8 +62,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -74,6 +74,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -86,7 +88,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -96,12 +98,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -111,7 +113,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -158,7 +160,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -172,7 +174,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1063 + "size": 1075 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js index 00f8d22fddcea..e52a6560194ed 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js @@ -68,8 +68,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Part of 'files' list in tsconfig.json Imported via "./hello.json" from file 'project/src/index.ts' @@ -80,6 +80,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -92,7 +94,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 3063e855a069b..211240004b138 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -64,8 +64,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Part of 'files' list in tsconfig.json Imported via "./hello.json" from file 'project/src/index.ts' @@ -76,6 +76,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -88,7 +90,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -98,12 +100,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -113,7 +115,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -160,7 +162,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -174,7 +176,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1063 + "size": 1075 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js index 0f31737d5482d..044309f8b4f96 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js @@ -66,8 +66,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/index.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/index.json Imported via "./index.json" from file 'project/src/index.ts' Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' @@ -78,6 +78,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/index.json] { "hello": "world" @@ -90,7 +92,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var index_json_1 = __importDefault(require("./index.json")); +const index_json_1 = __importDefault(require("./index.json")); exports.default = index_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 90db90c7d5317..3c658ebdf2207 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -62,8 +62,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/index.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/index.json Imported via "./index.json" from file 'project/src/index.ts' Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' @@ -74,6 +74,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/index.json] { "hello": "world" @@ -86,7 +88,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var index_json_1 = __importDefault(require("./index.json")); +const index_json_1 = __importDefault(require("./index.json")); exports.default = index_json_1.default.hello; @@ -96,12 +98,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/index.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/index.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/index.json", "../src/index.ts" ], @@ -111,7 +113,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -158,7 +160,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -172,7 +174,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1064 + "size": 1076 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js index c727680dcfcbf..bfff2f0412e0f 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js @@ -66,8 +66,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' @@ -78,6 +78,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -90,7 +92,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index d26c9e07a80ea..6faf4e0f07143 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -62,8 +62,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' @@ -74,6 +74,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -86,7 +88,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -96,12 +98,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -111,7 +113,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -158,7 +160,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -172,7 +174,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1063 + "size": 1075 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js index 66ae25243b56e..59f9facfc6169 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js @@ -65,8 +65,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -76,6 +76,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -88,7 +90,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js index af7a342bbbc64..73a3eb1407ba5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js @@ -59,8 +59,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/hello.json Imported via "../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -70,13 +70,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("../hello.json")); +const hello_json_1 = __importDefault(require("../hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js index 005214afd209d..528705a3fd104 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js @@ -61,8 +61,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/index.d.ts TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/hello.json Imported via "../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -72,13 +72,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("../hello.json")); +const hello_json_1 = __importDefault(require("../hello.json")); exports.default = hello_json_1.default.hello; @@ -88,12 +90,12 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./dist/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./dist/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./hello.json", "./src/index.ts" ], @@ -103,7 +105,7 @@ export default _default; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -147,7 +149,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -161,7 +163,7 @@ export default _default; ], "latestChangedDtsFile": "./dist/index.d.ts", "version": "FakeTSVersion", - "size": 1077 + "size": 1089 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js index 957b959131c5f..fcf332558268d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js @@ -64,8 +64,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' hello.json Imported via "../../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -75,13 +75,15 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("../../hello.json")); +const hello_json_1 = __importDefault(require("../../hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js index a6c0e12d26c57..022d5e2d4129c 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js @@ -60,8 +60,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' hello.json Imported via "../../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -71,13 +71,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("../../hello.json")); +const hello_json_1 = __importDefault(require("../../hello.json")); exports.default = hello_json_1.default.hello; @@ -87,12 +89,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../hello.json", "../src/index.ts" ], @@ -102,7 +104,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -145,7 +147,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -159,7 +161,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1065 + "size": 1077 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js index e03bb893f6729..6497c7a033201 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js @@ -57,8 +57,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -68,13 +68,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js index e1dd18bcfb7cf..3bfb6b466d889 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js @@ -59,8 +59,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -70,13 +70,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -86,12 +88,12 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/hello.json", "./src/index.ts" ], @@ -101,7 +103,7 @@ export default _default; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,7 +145,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -157,7 +159,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1042 + "size": 1054 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index cb0553ba7d8a6..83b3109c5fe35 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -61,8 +61,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -72,6 +72,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -84,7 +86,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -94,12 +96,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -109,7 +111,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -152,7 +154,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -166,7 +168,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1061 + "size": 1073 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js index 5e4b9284008a7..ad1f7ef87bcfd 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js @@ -68,8 +68,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.js.map TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -80,6 +80,8 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -87,7 +89,7 @@ Found 2 errors. //// [/home/src/workspaces/solution/project/dist/src/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAgC;AAChC,kBAAe,oBAAK,CAAC,KAAK,CAAA"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAgC;AAChC,kBAAe,oBAAK,CAAC,KAAK,CAAA"} //// [/home/src/workspaces/solution/project/dist/src/index.js] "use strict"; @@ -95,7 +97,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; //# sourceMappingURL=index.js.map @@ -145,8 +147,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.js.map TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index c7d6a0fb0b201..9027abdb0b014 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -64,8 +64,8 @@ TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.js.map TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -76,6 +76,8 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/dist/src/hello.json] { "hello": "world" @@ -83,7 +85,7 @@ Found 1 error. //// [/home/src/workspaces/solution/project/dist/src/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAgC;AAChC,kBAAe,oBAAK,CAAC,KAAK,CAAA"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAgC;AAChC,kBAAe,oBAAK,CAAC,KAAK,CAAA"} //// [/home/src/workspaces/solution/project/dist/src/index.js] "use strict"; @@ -91,7 +93,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; //# sourceMappingURL=index.js.map @@ -101,12 +103,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -116,7 +118,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -164,7 +166,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -178,7 +180,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1092 } @@ -203,8 +205,8 @@ Output:: 4 "moduleResolution": "node",    ~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js index 2a1c66b0bb8fe..ee5c47d998310 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js @@ -58,8 +58,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -70,13 +70,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -118,8 +120,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 3d3f7303490c9..137cbff914022 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -60,8 +60,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -72,13 +72,15 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var hello_json_1 = __importDefault(require("./hello.json")); +const hello_json_1 = __importDefault(require("./hello.json")); exports.default = hello_json_1.default.hello; @@ -88,12 +90,12 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/hello.json", "./src/index.ts" ], @@ -103,7 +105,7 @@ export default _default; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -149,7 +151,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -163,7 +165,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1044 + "size": 1056 } @@ -188,8 +190,8 @@ Output:: 4 "moduleResolution": "node",    ~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js b/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js index 5bb5adec76f33..fedd9b5513f87 100644 --- a/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js +++ b/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js @@ -75,11 +75,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/file1.d.ts] @@ -87,10 +86,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = "world"; +export const y = "world"; //// [/home/src/workspaces/project/file2.d.ts] @@ -98,10 +94,7 @@ export declare const y = "world"; //// [/home/src/workspaces/project/nonconsecutive.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.nonConsecutive = void 0; -exports.nonConsecutive = "hello"; +export const nonConsecutive = "hello"; //// [/home/src/workspaces/project/nonconsecutive.d.ts] @@ -109,10 +102,7 @@ export declare const nonConsecutive = "hello"; //// [/home/src/workspaces/project/asArray1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/asArray1.d.ts] @@ -120,10 +110,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/asArray2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/asArray2.d.ts] @@ -131,10 +118,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/asArray3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/asArray3.d.ts] @@ -142,10 +126,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/anotherNonConsecutive.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.nonConsecutive = void 0; -exports.nonConsecutive = "hello"; +export const nonConsecutive = "hello"; //// [/home/src/workspaces/project/anotherNonConsecutive.d.ts] @@ -153,12 +134,12 @@ export declare const nonConsecutive = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileIdsList":[[10],[6],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"}],"root":[2,3,5,[7,9],11],"options":{"composite":true},"referencedMap":[[11,1],[7,2],[5,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileIdsList":[[10],[6],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"}],"root":[2,3,5,[7,9],11],"options":{"composite":true},"referencedMap":[[11,1],[7,2],[5,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts", "./random.d.ts", @@ -182,7 +163,7 @@ export declare const nonConsecutive = "hello"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -305,7 +286,7 @@ export declare const nonConsecutive = "hello"; }, "latestChangedDtsFile": "./anotherNonConsecutive.d.ts", "version": "FakeTSVersion", - "size": 2023 + "size": 2035 } @@ -330,12 +311,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileIdsList":[[9],[5],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"}],"root":[2,4,[6,8],10],"options":{"composite":true},"referencedMap":[[10,1],[6,2],[4,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileIdsList":[[9],[5],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"}],"root":[2,4,[6,8],10],"options":{"composite":true},"referencedMap":[[10,1],[6,2],[4,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file2.ts", "./random.d.ts", "./nonconsecutive.ts", @@ -358,7 +339,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -469,7 +450,7 @@ Output:: }, "latestChangedDtsFile": "./anotherNonConsecutive.d.ts", "version": "FakeTSVersion", - "size": 1888 + "size": 1900 } diff --git a/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js index db1366bca4033..8d468743d6324 100644 --- a/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js @@ -47,11 +47,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/file1.d.ts] @@ -59,10 +58,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = "world"; +export const y = "world"; //// [/home/src/workspaces/project/file2.d.ts] @@ -70,12 +66,12 @@ export declare const y = "world"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file1.ts","./random.d.ts","./file2.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-12516578989-export const random = \"world\";",{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2,4],"options":{"composite":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./random.d.ts","./file2.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-12516578989-export const random = \"world\";",{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2,4],"options":{"composite":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./random.d.ts", "./file2.ts" @@ -86,7 +82,7 @@ export declare const y = "world"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,7 +132,7 @@ export declare const y = "world"; }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 1017 + "size": 1029 } @@ -161,12 +157,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./random.d.ts","./file2.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12516578989-export const random = \"world\";",{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./random.d.ts","./file2.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12516578989-export const random = \"world\";",{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./random.d.ts", "./file2.ts" ], @@ -176,7 +172,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -214,7 +210,7 @@ Output:: }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 883 + "size": 895 } diff --git a/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js index 5d63669fd6f67..8d6cba561cc8e 100644 --- a/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js @@ -48,11 +48,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/file1.d.ts] @@ -60,10 +59,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = "world"; +export const y = "world"; //// [/home/src/workspaces/project/file2.d.ts] @@ -71,10 +67,7 @@ export declare const y = "world"; //// [/home/src/workspaces/project/file3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = "world"; +export const y = "world"; //// [/home/src/workspaces/project/file3.d.ts] @@ -82,10 +75,7 @@ export declare const y = "world"; //// [/home/src/workspaces/project/file4.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = "world"; +export const y = "world"; //// [/home/src/workspaces/project/file4.d.ts] @@ -93,19 +83,19 @@ export declare const y = "world"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts", "./file3.ts", "./file4.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -166,7 +156,7 @@ export declare const y = "world"; }, "latestChangedDtsFile": "./file4.d.ts", "version": "FakeTSVersion", - "size": 1135 + "size": 1147 } @@ -191,18 +181,18 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file2.ts", "./file3.ts", "./file4.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -254,7 +244,7 @@ Output:: }, "latestChangedDtsFile": "./file4.d.ts", "version": "FakeTSVersion", - "size": 1003 + "size": 1015 } diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index a2390c547dca1..e62b644292e72 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -95,8 +95,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -109,7 +109,7 @@ projects/shared/src/random.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -124,8 +124,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -143,11 +143,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } @@ -157,15 +156,8 @@ export declare function log(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MyClass = void 0; -var MyClass = /** @class */ (function () { - function MyClass() { - } - return MyClass; -}()); -exports.MyClass = MyClass; +export class MyClass { +} //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts] @@ -174,10 +166,7 @@ export declare class MyClass { //// [/home/src/workspaces/solution/projects/shared/dist/src/random.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.randomFn = randomFn; -function randomFn(str) { +export function randomFn(str) { console.log(str); } @@ -187,18 +176,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -251,13 +240,12 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1146 + "size": 1158 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log('Hello, world!'); +export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.d.ts] @@ -265,12 +253,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2292560907-export declare function log(str: string): void;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2292560907-export declare function log(str: string): void;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -285,7 +273,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -373,7 +361,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -395,7 +383,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1345 + "size": 1357 } @@ -419,7 +407,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -434,8 +422,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -476,8 +464,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -490,7 +478,7 @@ projects/shared/src/random.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -505,8 +493,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -525,14 +513,10 @@ Found 1 error. //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts] @@ -541,18 +525,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -605,16 +589,16 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -629,7 +613,7 @@ export declare const x = 10; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -717,7 +701,7 @@ export declare const x = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -739,7 +723,7 @@ export declare const x = 10; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1376 + "size": 1388 } @@ -763,7 +747,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -778,8 +762,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -815,8 +799,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -827,7 +811,7 @@ projects/shared/src/myClass.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -842,8 +826,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -859,17 +843,17 @@ Found 1 error. //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -911,16 +895,16 @@ Found 1 error. }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1001 + "size": 1013 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", @@ -933,7 +917,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1006,7 +990,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1024,7 +1008,7 @@ Found 1 error. ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1228 + "size": 1240 } @@ -1048,7 +1032,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -1063,8 +1047,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js index eb98a336f9eac..359fe517a1a1b 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js @@ -95,8 +95,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -109,7 +109,7 @@ projects/shared/src/random.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -124,8 +124,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -143,11 +143,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } @@ -157,15 +156,8 @@ export declare function log(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MyClass = void 0; -var MyClass = /** @class */ (function () { - function MyClass() { - } - return MyClass; -}()); -exports.MyClass = MyClass; +export class MyClass { +} //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts] @@ -174,10 +166,7 @@ export declare class MyClass { //// [/home/src/workspaces/solution/projects/shared/dist/src/random.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.randomFn = randomFn; -function randomFn(str) { +export function randomFn(str) { console.log(str); } @@ -187,18 +176,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -251,13 +240,12 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1146 + "size": 1158 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log('Hello, world!'); +export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.d.ts] @@ -265,12 +253,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"2292560907-export declare function log(str: string): void;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"2292560907-export declare function log(str: string): void;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -285,7 +273,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -373,7 +361,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -395,7 +383,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1345 + "size": 1357 } @@ -419,7 +407,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -434,8 +422,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -476,8 +464,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -490,7 +478,7 @@ projects/shared/src/random.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -505,8 +493,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -525,14 +513,10 @@ Found 1 error. //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts] @@ -541,18 +525,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -605,16 +589,16 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -629,7 +613,7 @@ export declare const x = 10; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -717,7 +701,7 @@ export declare const x = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -739,7 +723,7 @@ export declare const x = 10; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1376 + "size": 1388 } @@ -763,7 +747,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -778,8 +762,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -815,8 +799,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -827,7 +811,7 @@ projects/shared/src/myClass.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -842,8 +826,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -859,17 +843,17 @@ Found 1 error. //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -911,16 +895,16 @@ Found 1 error. }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1001 + "size": 1013 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -933,7 +917,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1006,7 +990,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1024,7 +1008,7 @@ Found 1 error. ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1228 + "size": 1240 } @@ -1048,7 +1032,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -1063,8 +1047,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' diff --git a/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js index 47be84fe28f3a..2ed010ebc3a4a 100644 --- a/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js @@ -42,11 +42,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "hello"; +export const x = "hello"; //// [/home/src/workspaces/project/file1.d.ts] @@ -54,10 +53,7 @@ export declare const x = "hello"; //// [/home/src/workspaces/project/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = "world"; +export const y = "world"; //// [/home/src/workspaces/project/file2.d.ts] @@ -65,17 +61,17 @@ export declare const y = "world"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -116,7 +112,7 @@ export declare const y = "world"; }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 869 + "size": 881 } @@ -141,16 +137,16 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file2.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -179,7 +175,7 @@ Output:: }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 735 + "size": 747 } diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 58b5c86812eca..66071caa8b777 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -98,11 +98,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -113,14 +112,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -133,18 +127,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -200,56 +194,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -259,12 +216,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -276,7 +233,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -322,52 +279,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -376,12 +297,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -398,7 +319,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -451,7 +372,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index d84875afdca0e..60c9e3ba48fbf 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -110,11 +110,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -125,14 +124,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -145,18 +139,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,56 +206,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -271,12 +228,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -288,7 +245,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -334,7 +291,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index dbcbe28fc9d53..8fcd86fa8f0a7 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -97,11 +97,10 @@ Project Result:: { "project": "/user/username/projects/sample1/core/tsconfig.json", "result": 0 } +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -112,14 +111,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -132,18 +126,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +193,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } @@ -208,52 +202,15 @@ Project Result:: { "result": 0 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -263,12 +220,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -280,7 +237,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -326,7 +283,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } @@ -335,48 +292,12 @@ Project Result:: { "result": 0 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -385,12 +306,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -407,7 +328,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -460,7 +381,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 876c64be4fb38..d4dc983b7f201 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -97,11 +97,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -112,14 +111,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -132,18 +126,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,56 +193,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/out/decls/index.d.ts] @@ -258,12 +215,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./out/decls/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./out/decls/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -275,7 +232,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -321,52 +278,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./out/decls/index.d.ts", "version": "FakeTSVersion", - "size": 1418 + "size": 1430 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -375,12 +296,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/out/decls/index.d.ts", @@ -397,7 +318,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -450,7 +371,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1552 + "size": 1564 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 0f4bc0dd27b57..2fe32b89f74a3 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -97,11 +97,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -112,14 +111,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -132,18 +126,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,56 +193,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/outDir/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/outDir/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/outDir/index.d.ts] @@ -258,12 +215,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../core/index.d.ts", "../../core/anothermodule.d.ts", "../index.ts" @@ -275,7 +232,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -321,52 +278,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1401 + "size": 1413 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -375,12 +296,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/outdir/index.d.ts", @@ -397,7 +318,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -450,7 +371,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1549 + "size": 1561 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index b1ab795ea0581..f1ffd8c688938 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -105,11 +105,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -120,14 +119,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/sample1/builds-downstream-projects-even-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/builds-downstream-projects-even-if-upstream-projects-have-errors.js index 0ee2eb98e94cd..2f8536e40c0af 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-downstream-projects-even-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-downstream-projects-even-if-upstream-projects-have-errors.js @@ -123,11 +123,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -138,14 +137,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -158,18 +152,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -225,56 +219,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC;AACvB,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC;AACvB,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.muitply(); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -284,12 +241,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-5620866737-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":85,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/user/username/projects/sample1/core/index\")'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-5620866737-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":85,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/user/username/projects/sample1/core/index\")'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -301,7 +258,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -361,52 +318,16 @@ export declare const m: typeof mod; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1604 + "size": 1616 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -415,12 +336,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-5620866737-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-5620866737-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -437,7 +358,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -490,7 +411,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1539 + "size": 1551 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js index fd87597866adc..c1e4f7ee02827 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -95,11 +95,10 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --build logic/tsconfig.json +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -110,14 +109,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -130,18 +124,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -197,56 +191,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -256,12 +213,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -273,7 +230,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -319,7 +276,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index d2fc5c9de290f..2e72e57095a81 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -493,7 +414,7 @@ Output:: //// [/user/username/projects/sample1/tests/index.js] -var m = 10; +const m = 10; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -501,16 +422,16 @@ declare const m = 10; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -543,7 +464,7 @@ declare const m = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 794 + "size": 806 } @@ -581,32 +502,27 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "WELCOME PLANET"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "WELCOME PLANET"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAyB,CAAC;AACnD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -662,7 +578,7 @@ function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1360 + "size": 1372 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -714,10 +630,7 @@ Output:: //// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* -//// [/user/username/projects/sample1/tests/index.js] -const m = 10; - - +//// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] {"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2020.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":7},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index 2dd1003dc8723..ec89ecb437b7a 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index f69bb860b3f2e..359ca5726813e 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js index 9eefefd186ae2..15536d5094c5d 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -131,52 +125,15 @@ export declare function multiply(a: number, b: number): number; {"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -189,48 +146,12 @@ export declare const m: typeof mod; {"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 8e5061e1c0fe6..df8ad9490c8d1 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -105,8 +105,8 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -117,8 +117,8 @@ core/some_decl.d.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -131,8 +131,8 @@ logic/index.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -147,11 +147,10 @@ tests/index.ts Part of 'files' list in tsconfig.json +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -162,14 +161,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -182,18 +176,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -249,56 +243,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -308,12 +265,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -325,7 +282,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -371,52 +328,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -425,12 +346,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -447,7 +368,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -500,7 +421,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -528,8 +449,8 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -540,8 +461,8 @@ core/some_decl.d.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -554,8 +475,8 @@ logic/index.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -571,20 +492,11 @@ tests/index.ts //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -599,18 +511,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -666,18 +578,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1422 + "size": 1434 } //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -689,7 +601,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -735,17 +647,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -762,7 +674,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -815,7 +727,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1579 + "size": 1591 } @@ -844,8 +756,8 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -863,41 +775,29 @@ core/some_decl.d.ts //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} +class someClass2 { +} //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -953,7 +853,7 @@ var someClass2 = /** @class */ (function () { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1444 + "size": 1456 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 563d86cce1ea4..d7e065fb8619b 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index ecaa2bd8dfd8b..d9f4552360004 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -92,11 +92,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -107,14 +106,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -127,18 +121,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -194,56 +188,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -253,12 +210,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -270,7 +227,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -316,52 +273,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -370,12 +291,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -392,7 +313,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -445,7 +366,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -461,62 +382,25 @@ export const m = mod; function foo() {} //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAI,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAI,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -528,7 +412,7 @@ function foo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -574,7 +458,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1421 + "size": 1433 } @@ -592,59 +476,18 @@ export const m = mod; function foo() {}export class cNew {} //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAI,CAAC;AAAA;IAAA;IAAmB,CAAC;IAAD,WAAC;AAAD,CAAC,AAApB,IAAoB;AAAP,oBAAI"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAI,CAAC;AAAA,MAAM,OAAO,IAAI;CAAG"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.cNew = exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; function foo() { } -var cNew = /** @class */ (function () { - function cNew() { - } - return cNew; -}()); -exports.cNew = cNew; +export class cNew { +} //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -656,12 +499,12 @@ export declare class cNew { //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -673,7 +516,7 @@ export declare class cNew { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -719,19 +562,19 @@ export declare class cNew { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1474 + "size": 1486 } Dts change to Logic:: After building next project //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -748,7 +591,7 @@ Dts change to Logic:: After building next project ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -801,6 +644,6 @@ Dts change to Logic:: After building next project }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1575 + "size": 1587 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index ea715f2643b35..d917275949fb9 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -112,11 +112,10 @@ TSFILE: /user/username/projects/sample1/tests/index.d.ts TSFILE: /user/username/projects/sample1/tests/tsconfig.tsbuildinfo +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -127,14 +126,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -147,18 +141,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -214,56 +208,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -273,12 +230,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -290,7 +247,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -336,52 +293,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -390,12 +311,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -412,7 +333,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -465,7 +386,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -496,20 +417,11 @@ TSFILE: /user/username/projects/sample1/tests/tsconfig.tsbuildinfo //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -524,18 +436,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -591,18 +503,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1422 + "size": 1434 } //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -614,7 +526,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -660,17 +572,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -687,7 +599,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -740,7 +652,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1579 + "size": 1591 } @@ -766,41 +678,29 @@ TSFILE: /user/username/projects/sample1/core/tsconfig.tsbuildinfo //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} +class someClass2 { +} //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -856,7 +756,7 @@ var someClass2 = /** @class */ (function () { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1444 + "size": 1456 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index abb926380e328..84b7bdb4f28f6 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -96,26 +96,25 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --b tests --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -126,14 +125,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -146,18 +140,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,56 +207,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -272,12 +229,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -289,7 +246,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -335,52 +292,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -389,12 +310,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -411,7 +332,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -464,7 +385,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -483,15 +404,15 @@ export class someClass { } /home/src/tslibs/TS/Lib/tsc.js --b tests --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -499,20 +420,11 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -527,18 +439,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -594,18 +506,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1422 + "size": 1434 } //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -617,7 +529,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -663,17 +575,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -690,7 +602,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -743,7 +655,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1579 + "size": 1591 } @@ -763,48 +675,36 @@ class someClass2 { } /home/src/tslibs/TS/Lib/tsc.js --b tests --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} +class someClass2 { +} //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -860,7 +760,7 @@ var someClass2 = /** @class */ (function () { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1444 + "size": 1456 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 3d085ab99643d..c90d2efda9011 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -478,18 +399,18 @@ Output:: //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSCurrentVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSCurrentVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -545,19 +466,19 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSCurrentVersion", - "size": 1364 + "size": 1376 } //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSCurrentVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSCurrentVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -569,7 +490,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -615,18 +536,18 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSCurrentVersion", - "size": 1411 + "size": 1423 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSCurrentVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSCurrentVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -643,7 +564,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -696,7 +617,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSCurrentVersion", - "size": 1549 + "size": 1561 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 8fffd9fb4c770..5db4f990f0c15 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index d4a08daa6b19f..cd9765f0332b5 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -122,13 +122,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/tslibs/TS/Lib/lib.es6.d.ts] *Lib* //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -139,14 +138,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -159,18 +153,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -226,56 +220,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -285,12 +242,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -302,7 +259,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,7 +305,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] @@ -474,58 +431,14 @@ Output:: -//// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); -c.leftPad("", 10); -logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; - - +//// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -542,7 +455,7 @@ exports.m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -595,7 +508,7 @@ exports.m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index 318ea2172848b..28ea3fa33b161 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js index ed4edc21ede05..4fe487e1c0d86 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -136,15 +136,12 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts] @@ -154,17 +151,17 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -206,7 +203,7 @@ export declare function multiply(a: number, b: number): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -220,56 +217,19 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1189 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -278,12 +238,12 @@ export declare const m: any; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n"}],"root":[3],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":126,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n"}],"root":[3],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":126,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "./index.ts" ], @@ -293,7 +253,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,52 +308,16 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1450 + "size": 1462 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -401,12 +325,12 @@ export declare const m: any; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-5014854126-export declare const m: any;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":144,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-5014854126-export declare const m: any;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":144,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" @@ -418,7 +342,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -477,7 +401,7 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1525 + "size": 1537 } diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js index 9df64aa60bb1f..a698730045e68 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -136,15 +136,12 @@ Found 3 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts] @@ -154,17 +151,17 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -206,7 +203,7 @@ export declare function multiply(a: number, b: number): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -220,56 +217,19 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1177 + "size": 1189 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -278,12 +238,12 @@ export declare const m: any; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n"}],"root":[3],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":126,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n"}],"root":[3],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":126,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "./index.ts" ], @@ -293,7 +253,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,52 +308,16 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1450 + "size": 1462 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -401,12 +325,12 @@ export declare const m: any; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-5014854126-export declare const m: any;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":144,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-4481271033-export declare function getSecondsInDay(): number;\nexport declare const m: any;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-5014854126-export declare const m: any;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":144,"length":23,"messageText":"Cannot find module '../core/anotherModule' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" @@ -418,7 +342,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -477,7 +401,7 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1525 + "size": 1537 } diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 0cf44515183df..3579a63b228bb 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -115,11 +115,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -130,14 +129,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -150,18 +144,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -217,56 +211,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -276,12 +233,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -293,7 +250,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -339,52 +296,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -393,12 +314,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -415,7 +336,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -468,7 +389,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } //// [/user/username/projects/sample1/core/anothermodule.d.ts.map.baseline.txt] @@ -632,77 +553,46 @@ sources: index.ts emittedFile:/user/username/projects/sample1/logic/index.js sourceFile:index.ts ------------------------------------------------------------------- ->>>"use strict"; ->>>var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { ->>> if (k2 === undefined) k2 = k; ->>> var desc = Object.getOwnPropertyDescriptor(m, k); ->>> if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { ->>> desc = { enumerable: true, get: function() { return m[k]; } }; ->>> } ->>> Object.defineProperty(o, k2, desc); ->>>}) : (function(o, m, k, k2) { ->>> if (k2 === undefined) k2 = k; ->>> o[k2] = m[k]; ->>>})); ->>>var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { ->>> Object.defineProperty(o, "default", { enumerable: true, value: v }); ->>>}) : function(o, v) { ->>> o["default"] = v; ->>>}); ->>>var __importStar = (this && this.__importStar) || (function () { ->>> var ownKeys = function(o) { ->>> ownKeys = Object.getOwnPropertyNames || function (o) { ->>> var ar = []; ->>> for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; ->>> return ar; ->>> }; ->>> return ownKeys(o); ->>> }; ->>> return function (mod) { ->>> if (mod && mod.__esModule) return mod; ->>> var result = {}; ->>> if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); ->>> __setModuleDefault(result, mod); ->>> return result; ->>> }; ->>>})(); ->>>Object.defineProperty(exports, "__esModule", { value: true }); ->>>exports.m = void 0; ->>>exports.getSecondsInDay = getSecondsInDay; +>>>import * as c from '../core/index'; 1 > -2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -3 > ^^^^^-> -1 >import * as c from '../core/index'; - > -2 >export function getSecondsInDay() { - > return c.multiply(10, 15); - >} -1 >Emitted(37, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(37, 43) Source(4, 2) + SourceIndex(0) ---- ->>>var c = __importStar(require("../core/index")); -1-> -2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -1-> -2 >import * as c from '../core/index'; -1->Emitted(38, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(38, 48) Source(1, 36) + SourceIndex(0) +2 >^^^^^^^ +3 > ^^^^^ +4 > ^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^^^ +7 > ^ +1 > +2 >import +3 > * as +4 > c +5 > from +6 > '../core/index' +7 > ; +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 8) Source(1, 8) + SourceIndex(0) +3 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) +4 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) +5 >Emitted(1, 20) Source(1, 20) + SourceIndex(0) +6 >Emitted(1, 35) Source(1, 35) + SourceIndex(0) +7 >Emitted(1, 36) Source(1, 36) + SourceIndex(0) --- ->>>function getSecondsInDay() { +>>>export function getSecondsInDay() { 1 > -2 >^^^^^^^^^ -3 > ^^^^^^^^^^^^^^^ -4 > ^^^^^^-> +2 >^^^^^^ +3 > ^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^ 1 > > -2 >export function -3 > getSecondsInDay -1 >Emitted(39, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(39, 10) Source(2, 17) + SourceIndex(0) -3 >Emitted(39, 25) Source(2, 32) + SourceIndex(0) +2 >export +3 > function +4 > getSecondsInDay +1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(2, 7) Source(2, 7) + SourceIndex(0) +3 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) +4 >Emitted(2, 32) Source(2, 32) + SourceIndex(0) --- >>> return c.multiply(10, 15); -1->^^^^ +1 >^^^^ 2 > ^^^^^^^ 3 > ^ 4 > ^ @@ -713,7 +603,7 @@ sourceFile:index.ts 9 > ^^ 10> ^ 11> ^ -1->() { +1 >() { > 2 > return 3 > c @@ -725,58 +615,79 @@ sourceFile:index.ts 9 > 15 10> ) 11> ; -1->Emitted(40, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(3, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(3, 13) + SourceIndex(0) -4 >Emitted(40, 14) Source(3, 14) + SourceIndex(0) -5 >Emitted(40, 22) Source(3, 22) + SourceIndex(0) -6 >Emitted(40, 23) Source(3, 23) + SourceIndex(0) -7 >Emitted(40, 25) Source(3, 25) + SourceIndex(0) -8 >Emitted(40, 27) Source(3, 27) + SourceIndex(0) -9 >Emitted(40, 29) Source(3, 29) + SourceIndex(0) -10>Emitted(40, 30) Source(3, 30) + SourceIndex(0) -11>Emitted(40, 31) Source(3, 31) + SourceIndex(0) +1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(3, 12) + SourceIndex(0) +3 >Emitted(3, 13) Source(3, 13) + SourceIndex(0) +4 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) +5 >Emitted(3, 22) Source(3, 22) + SourceIndex(0) +6 >Emitted(3, 23) Source(3, 23) + SourceIndex(0) +7 >Emitted(3, 25) Source(3, 25) + SourceIndex(0) +8 >Emitted(3, 27) Source(3, 27) + SourceIndex(0) +9 >Emitted(3, 29) Source(3, 29) + SourceIndex(0) +10>Emitted(3, 30) Source(3, 30) + SourceIndex(0) +11>Emitted(3, 31) Source(3, 31) + SourceIndex(0) --- >>>} 1 > 2 >^ -3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > > 2 >} -1 >Emitted(41, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(4, 2) + SourceIndex(0) --- ->>>var mod = __importStar(require("../core/anotherModule")); +>>>import * as mod from '../core/anotherModule'; 1-> -2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2 >^^^^^^^ +3 > ^^^^^ +4 > ^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^ 1-> > -2 >import * as mod from '../core/anotherModule'; -1->Emitted(42, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(42, 58) Source(5, 46) + SourceIndex(0) +2 >import +3 > * as +4 > mod +5 > from +6 > '../core/anotherModule' +7 > ; +1->Emitted(5, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(5, 8) Source(5, 8) + SourceIndex(0) +3 >Emitted(5, 13) Source(5, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(5, 16) + SourceIndex(0) +5 >Emitted(5, 22) Source(5, 22) + SourceIndex(0) +6 >Emitted(5, 45) Source(5, 45) + SourceIndex(0) +7 >Emitted(5, 46) Source(5, 46) + SourceIndex(0) --- ->>>exports.m = mod; +>>>export const m = mod; 1 > -2 >^^^^^^^^ -3 > ^ -4 > ^^^ -5 > ^^^ -6 > ^ -7 > ^^^^^^^^^^^^^^^^-> +2 >^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +6 > ^^^ +7 > ^^^ +8 > ^ +9 > ^^^^^^^^^^^-> 1 > - >export const -2 > -3 > m -4 > = -5 > mod -6 > ; -1 >Emitted(43, 1) Source(6, 14) + SourceIndex(0) -2 >Emitted(43, 9) Source(6, 14) + SourceIndex(0) -3 >Emitted(43, 10) Source(6, 15) + SourceIndex(0) -4 >Emitted(43, 13) Source(6, 18) + SourceIndex(0) -5 >Emitted(43, 16) Source(6, 21) + SourceIndex(0) -6 >Emitted(43, 17) Source(6, 22) + SourceIndex(0) + > +2 >export +3 > +4 > const +5 > m +6 > = +7 > mod +8 > ; +1 >Emitted(6, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(6, 7) Source(6, 7) + SourceIndex(0) +3 >Emitted(6, 8) Source(6, 8) + SourceIndex(0) +4 >Emitted(6, 14) Source(6, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(6, 15) + SourceIndex(0) +6 >Emitted(6, 18) Source(6, 18) + SourceIndex(0) +7 >Emitted(6, 21) Source(6, 21) + SourceIndex(0) +8 >Emitted(6, 22) Source(6, 22) + SourceIndex(0) --- >>>//# sourceMappingURL=index.js.map @@ -829,20 +740,11 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -857,18 +759,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -924,18 +826,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1422 + "size": 1434 } //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -947,7 +849,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -993,17 +895,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1020,7 +922,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1073,7 +975,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1579 + "size": 1591 } //// [/user/username/projects/sample1/core/index.d.ts.map.baseline.txt] @@ -1265,41 +1167,29 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} +class someClass2 { +} //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1355,7 +1245,7 @@ var someClass2 = /** @class */ (function () { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1444 + "size": 1456 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -1448,12 +1338,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1465,7 +1355,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1512,17 +1402,17 @@ Output:: }, "latestChangedDtsFile": "./decls/index.d.ts", "version": "FakeTSVersion", - "size": 1474 + "size": 1486 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/decls/index.d.ts", @@ -1539,7 +1429,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1592,7 +1482,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1585 + "size": 1597 } //// [/user/username/projects/sample1/logic/index.js.map.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js index 6b5f1e7e03683..7147d4fb9a218 100644 --- a/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js +++ b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js @@ -125,11 +125,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -140,14 +139,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } multiply(); @@ -161,18 +155,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -251,7 +245,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1631 + "size": 1643 } @@ -330,30 +324,25 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -409,56 +398,19 @@ function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -468,12 +420,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -485,7 +437,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -531,52 +483,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -585,12 +501,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -607,7 +523,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -660,7 +576,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js index 263130100ecf5..a90d28a753050 100644 --- a/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js +++ b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js @@ -128,11 +128,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -143,14 +142,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } multiply(); @@ -164,18 +158,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -254,7 +248,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1631 + "size": 1643 } @@ -333,30 +327,25 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -412,56 +401,19 @@ function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -471,12 +423,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -488,7 +440,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -534,52 +486,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -588,12 +504,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -610,7 +526,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -663,7 +579,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js index bf7b26ed4c327..ced8a680237fa 100644 --- a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js @@ -36,23 +36,22 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -73,7 +72,7 @@ exports.x = 10; ] ], "version": "FakeTSVersion", - "size": 584 + "size": 596 } @@ -83,7 +82,7 @@ Change:: tsbuildinfo written has error Input:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -Some random string{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +Some random string{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} /home/src/tslibs/TS/Lib/tsc.js --b -i -v @@ -98,7 +97,7 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/main.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 833f0a05857d7..cc4d2fe171ed8 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -103,37 +103,31 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"skipDefaultLibCheck":true},"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"skipDefaultLibCheck":true},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -177,7 +171,7 @@ function multiply(a, b) { return a * b; } "skipDefaultLibCheck": true }, "version": "FakeTSVersion", - "size": 971 + "size": 983 } @@ -207,18 +201,18 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"declaration":true,"skipDefaultLibCheck":true},"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"declaration":true,"skipDefaultLibCheck":true},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -271,7 +265,7 @@ Output:: "skipDefaultLibCheck": true }, "version": "FakeTSVersion", - "size": 1280 + "size": 1292 } //// [/user/username/projects/sample1/core/anotherModule.d.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js index 6f971e09e4f17..47d4767f83a08 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -115,11 +115,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -130,14 +129,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -150,18 +144,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -217,56 +211,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -276,12 +233,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -293,7 +250,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -339,52 +296,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -393,12 +314,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -415,7 +336,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -468,7 +389,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -520,18 +441,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -587,7 +508,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1358 + "size": 1370 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -643,18 +564,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -710,7 +631,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 207acea404ca8..94c03eb73a311 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -124,11 +124,10 @@ Found 1 error. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -139,14 +138,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -159,18 +153,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -226,56 +220,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -285,12 +242,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -302,7 +259,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,19 +305,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = require("../core/index"); -var logic = require("../logic/index"); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = require("../core/anotherModule"); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -369,12 +323,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -391,7 +345,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -445,7 +399,7 @@ export declare const m: typeof mod; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -467,7 +421,7 @@ export declare const m: typeof mod; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1607 + "size": 1619 } @@ -516,58 +470,14 @@ Output:: -//// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); -c.leftPad("", 10); -logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; - - +//// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -584,7 +494,7 @@ exports.m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -638,7 +548,7 @@ exports.m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1565 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js index 8495c21f157c6..fde60c7483392 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -115,11 +115,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -130,14 +129,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -150,18 +144,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -217,56 +211,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -276,12 +233,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -293,7 +250,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -339,52 +296,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -393,12 +314,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -415,7 +336,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -468,7 +389,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 58624ebfd1f67..9d4b91b0bf78a 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -116,11 +116,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -131,14 +130,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -151,18 +145,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -218,56 +212,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -277,12 +234,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/ownFile.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/ownFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -294,7 +251,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -341,52 +298,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1446 + "size": 1458 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -395,12 +316,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -417,7 +338,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -470,7 +391,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } //// [/user/username/projects/sample1/core/anothermodule.d.ts.map.baseline.txt] @@ -634,77 +555,46 @@ sources: index.ts emittedFile:/user/username/projects/sample1/logic/index.js sourceFile:index.ts ------------------------------------------------------------------- ->>>"use strict"; ->>>var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { ->>> if (k2 === undefined) k2 = k; ->>> var desc = Object.getOwnPropertyDescriptor(m, k); ->>> if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { ->>> desc = { enumerable: true, get: function() { return m[k]; } }; ->>> } ->>> Object.defineProperty(o, k2, desc); ->>>}) : (function(o, m, k, k2) { ->>> if (k2 === undefined) k2 = k; ->>> o[k2] = m[k]; ->>>})); ->>>var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { ->>> Object.defineProperty(o, "default", { enumerable: true, value: v }); ->>>}) : function(o, v) { ->>> o["default"] = v; ->>>}); ->>>var __importStar = (this && this.__importStar) || (function () { ->>> var ownKeys = function(o) { ->>> ownKeys = Object.getOwnPropertyNames || function (o) { ->>> var ar = []; ->>> for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; ->>> return ar; ->>> }; ->>> return ownKeys(o); ->>> }; ->>> return function (mod) { ->>> if (mod && mod.__esModule) return mod; ->>> var result = {}; ->>> if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); ->>> __setModuleDefault(result, mod); ->>> return result; ->>> }; ->>>})(); ->>>Object.defineProperty(exports, "__esModule", { value: true }); ->>>exports.m = void 0; ->>>exports.getSecondsInDay = getSecondsInDay; +>>>import * as c from '../core/index'; 1 > -2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -3 > ^^^^^-> -1 >import * as c from '../core/index'; - > -2 >export function getSecondsInDay() { - > return c.multiply(10, 15); - >} -1 >Emitted(37, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(37, 43) Source(4, 2) + SourceIndex(0) ---- ->>>var c = __importStar(require("../core/index")); -1-> -2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -1-> -2 >import * as c from '../core/index'; -1->Emitted(38, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(38, 48) Source(1, 36) + SourceIndex(0) +2 >^^^^^^^ +3 > ^^^^^ +4 > ^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^^^ +7 > ^ +1 > +2 >import +3 > * as +4 > c +5 > from +6 > '../core/index' +7 > ; +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 8) Source(1, 8) + SourceIndex(0) +3 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) +4 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) +5 >Emitted(1, 20) Source(1, 20) + SourceIndex(0) +6 >Emitted(1, 35) Source(1, 35) + SourceIndex(0) +7 >Emitted(1, 36) Source(1, 36) + SourceIndex(0) --- ->>>function getSecondsInDay() { +>>>export function getSecondsInDay() { 1 > -2 >^^^^^^^^^ -3 > ^^^^^^^^^^^^^^^ -4 > ^^^^^^-> +2 >^^^^^^ +3 > ^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^ 1 > > -2 >export function -3 > getSecondsInDay -1 >Emitted(39, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(39, 10) Source(2, 17) + SourceIndex(0) -3 >Emitted(39, 25) Source(2, 32) + SourceIndex(0) +2 >export +3 > function +4 > getSecondsInDay +1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(2, 7) Source(2, 7) + SourceIndex(0) +3 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) +4 >Emitted(2, 32) Source(2, 32) + SourceIndex(0) --- >>> return c.multiply(10, 15); -1->^^^^ +1 >^^^^ 2 > ^^^^^^^ 3 > ^ 4 > ^ @@ -715,7 +605,7 @@ sourceFile:index.ts 9 > ^^ 10> ^ 11> ^ -1->() { +1 >() { > 2 > return 3 > c @@ -727,58 +617,79 @@ sourceFile:index.ts 9 > 15 10> ) 11> ; -1->Emitted(40, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(3, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(3, 13) + SourceIndex(0) -4 >Emitted(40, 14) Source(3, 14) + SourceIndex(0) -5 >Emitted(40, 22) Source(3, 22) + SourceIndex(0) -6 >Emitted(40, 23) Source(3, 23) + SourceIndex(0) -7 >Emitted(40, 25) Source(3, 25) + SourceIndex(0) -8 >Emitted(40, 27) Source(3, 27) + SourceIndex(0) -9 >Emitted(40, 29) Source(3, 29) + SourceIndex(0) -10>Emitted(40, 30) Source(3, 30) + SourceIndex(0) -11>Emitted(40, 31) Source(3, 31) + SourceIndex(0) +1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(3, 12) + SourceIndex(0) +3 >Emitted(3, 13) Source(3, 13) + SourceIndex(0) +4 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) +5 >Emitted(3, 22) Source(3, 22) + SourceIndex(0) +6 >Emitted(3, 23) Source(3, 23) + SourceIndex(0) +7 >Emitted(3, 25) Source(3, 25) + SourceIndex(0) +8 >Emitted(3, 27) Source(3, 27) + SourceIndex(0) +9 >Emitted(3, 29) Source(3, 29) + SourceIndex(0) +10>Emitted(3, 30) Source(3, 30) + SourceIndex(0) +11>Emitted(3, 31) Source(3, 31) + SourceIndex(0) --- >>>} 1 > 2 >^ -3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > > 2 >} -1 >Emitted(41, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(4, 2) + SourceIndex(0) --- ->>>var mod = __importStar(require("../core/anotherModule")); +>>>import * as mod from '../core/anotherModule'; 1-> -2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2 >^^^^^^^ +3 > ^^^^^ +4 > ^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^ 1-> > -2 >import * as mod from '../core/anotherModule'; -1->Emitted(42, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(42, 58) Source(5, 46) + SourceIndex(0) +2 >import +3 > * as +4 > mod +5 > from +6 > '../core/anotherModule' +7 > ; +1->Emitted(5, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(5, 8) Source(5, 8) + SourceIndex(0) +3 >Emitted(5, 13) Source(5, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(5, 16) + SourceIndex(0) +5 >Emitted(5, 22) Source(5, 22) + SourceIndex(0) +6 >Emitted(5, 45) Source(5, 45) + SourceIndex(0) +7 >Emitted(5, 46) Source(5, 46) + SourceIndex(0) --- ->>>exports.m = mod; +>>>export const m = mod; 1 > -2 >^^^^^^^^ -3 > ^ -4 > ^^^ -5 > ^^^ -6 > ^ -7 > ^^^^^^^^^^^^^^^^-> +2 >^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +6 > ^^^ +7 > ^^^ +8 > ^ +9 > ^^^^^^^^^^^-> 1 > - >export const -2 > -3 > m -4 > = -5 > mod -6 > ; -1 >Emitted(43, 1) Source(6, 14) + SourceIndex(0) -2 >Emitted(43, 9) Source(6, 14) + SourceIndex(0) -3 >Emitted(43, 10) Source(6, 15) + SourceIndex(0) -4 >Emitted(43, 13) Source(6, 18) + SourceIndex(0) -5 >Emitted(43, 16) Source(6, 21) + SourceIndex(0) -6 >Emitted(43, 17) Source(6, 22) + SourceIndex(0) + > +2 >export +3 > +4 > const +5 > m +6 > = +7 > mod +8 > ; +1 >Emitted(6, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(6, 7) Source(6, 7) + SourceIndex(0) +3 >Emitted(6, 8) Source(6, 8) + SourceIndex(0) +4 >Emitted(6, 14) Source(6, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(6, 15) + SourceIndex(0) +6 >Emitted(6, 18) Source(6, 18) + SourceIndex(0) +7 >Emitted(6, 21) Source(6, 21) + SourceIndex(0) +8 >Emitted(6, 22) Source(6, 22) + SourceIndex(0) --- >>>//# sourceMappingURL=index.js.map diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes-discrepancies.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes-discrepancies.js index a4c8e54197d92..9bf3475ce1458 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes-discrepancies.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes-discrepancies.js @@ -4,7 +4,7 @@ TsBuild info text without affectedFilesPendingEmit:: /user/username/projects/sam CleanBuild: { "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -40,7 +40,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 95dda68e24c81..30f6f1635fb2e 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -103,6 +103,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -122,18 +124,18 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"module":1},"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"module":1},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -177,7 +179,7 @@ function multiply(a, b) { return a * b; } "module": 1 }, "version": "FakeTSVersion", - "size": 955 + "size": 967 } @@ -237,18 +239,18 @@ define(["require", "exports"], function (require, exports) { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"module":2},"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"module":2},"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -293,7 +295,7 @@ define(["require", "exports"], function (require, exports) { }, "errors": true, "version": "FakeTSVersion", - "size": 969 + "size": 981 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 13842f3141c28..a63f6059b78ae 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -83,14 +83,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --b tsconfig.c.json --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.ts tsconfig.b.json:4:25 - error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "moduleResolution": "classic"    ~~~~~~~~~ -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.ts tsconfig.c.json:6:5 - error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. @@ -99,7 +99,7 @@ Output:: 6 "baseUrl": "./",    ~~~~~~~~~ -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -109,16 +109,11 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a.d.ts] @@ -127,16 +122,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -165,15 +160,12 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 725 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("a"); -exports.b = new a_1.A(); +import { A } from 'a'; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b.d.ts] @@ -182,12 +174,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"6078874460-import { A } from 'a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"6078874460-import { A } from 'a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.d.ts", "./b.ts" ], @@ -197,7 +189,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -235,7 +227,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -249,16 +241,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 912 + "size": 924 } //// [/user/username/projects/transitiveReferences/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from './b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/tsconfig.c.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 0b8f26c51dcf9..42d106068be60 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -89,7 +89,7 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --b tsconfig.c.json --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.ts tsconfig.b.json:4:5 - error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. @@ -97,7 +97,7 @@ Output:: 4 "baseUrl": "./",    ~~~~~~~~~ -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.ts tsconfig.c.json:6:5 - error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. @@ -106,7 +106,7 @@ Output:: 6 "baseUrl": "./",    ~~~~~~~~~ -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -116,16 +116,11 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a.d.ts] @@ -134,16 +129,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -172,15 +167,12 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 725 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); +import { A } from '@ref/a'; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b.d.ts] @@ -189,12 +181,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.d.ts", "./b.ts" ], @@ -204,7 +196,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -242,7 +234,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -256,16 +248,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 924 + "size": 936 } //// [/user/username/projects/transitiveReferences/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from './b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/tsconfig.c.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index c2609737f39bd..ab5b3fb448fae 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -83,7 +83,7 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --b tsconfig.c.json --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.ts tsconfig.b.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. @@ -91,7 +91,7 @@ Output:: 4 "moduleResolution": "node"    ~~~~~~ -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/b.ts tsconfig.c.json:6:5 - error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. @@ -99,7 +99,7 @@ Output:: 6 "baseUrl": "./",    ~~~~~~~~~ -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/c.ts @@ -108,16 +108,11 @@ Found 2 errors. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a.d.ts] @@ -126,16 +121,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -164,15 +159,12 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 725 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("a"); -exports.b = new a_1.A(); +import { A } from 'a'; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b.d.ts] @@ -180,16 +172,16 @@ export declare const b: any; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-5666291609-export declare const b: any;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-5666291609-export declare const b: any;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -218,7 +210,7 @@ export declare const b: any; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -228,16 +220,14 @@ export declare const b: any; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 790 + "size": 802 } //// [/user/username/projects/transitiveReferences/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from './b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/tsconfig.c.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js index 637712331dfb4..1351d46279db3 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/multiFile/reports-syntax-errors-in-config-file.js @@ -46,11 +46,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/a.d.ts] @@ -58,10 +57,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/b.d.ts] @@ -69,17 +65,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./b.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./b.d.ts","errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -121,7 +117,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./b.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 880 + "size": 892 } @@ -145,17 +141,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) @@ -213,7 +209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -252,10 +248,7 @@ Output:: //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fooBar = fooBar; -function fooBar() { } +export function fooBar() { } //// [/user/username/projects/myproject/a.d.ts] @@ -263,17 +256,17 @@ export declare function fooBar(): void; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -316,7 +309,7 @@ export declare function fooBar(): void; "latestChangedDtsFile": "./a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 906 + "size": 918 } @@ -334,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -387,7 +380,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -430,17 +423,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -482,7 +475,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 892 + "size": 904 } @@ -500,7 +493,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js index f1c5eefb8d828..652393392f98b 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/outFile/reports-syntax-errors-in-config-file.js @@ -59,6 +59,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -84,17 +86,17 @@ declare module "b" { //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.ts","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4646078106-export function foo() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-5340070911-declare module \"a\" {\n export function foo(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/a.ts","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4646078106-export function foo() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-5340070911-declare module \"a\" {\n export function foo(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/a.ts", "./myproject/b.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/a.ts": "4646078106-export function foo() { }", "./myproject/b.ts": "1045484683-export function bar() { }" }, @@ -115,7 +117,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -130,7 +132,7 @@ declare module "b" { "outSignature": "-5340070911-declare module \"a\" {\n export function foo(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 922 + "size": 934 } @@ -156,7 +158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -233,7 +235,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -306,17 +308,17 @@ declare module "b" { //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.ts","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3260843409-export function fooBar() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"771185302-declare module \"a\" {\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/a.ts","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3260843409-export function fooBar() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"771185302-declare module \"a\" {\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/a.ts", "./myproject/b.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/a.ts": "-3260843409-export function fooBar() { }", "./myproject/b.ts": "1045484683-export function bar() { }" }, @@ -338,7 +340,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -353,7 +355,7 @@ declare module "b" { "outSignature": "771185302-declare module \"a\" {\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 946 + "size": 958 } @@ -373,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -436,7 +438,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -507,7 +509,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js index 7429e03860d9a..cdfd00f73e2ee 100644 --- a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js @@ -98,7 +98,7 @@ Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -108,7 +108,7 @@ File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -147,8 +147,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -175,11 +175,10 @@ FileWatcher:: Added:: WatchInfo: /package.json 2000 {"excludeFiles":["/home/src/ FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/myproject/outDir/types/sometype.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/projects/myproject/decls/types/sometype.d.ts] @@ -187,11 +186,8 @@ export declare const x = 10; //// [/home/src/projects/myproject/outDir/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; // some comment -exports.y = 10; +export const y = 10; //// [/home/src/projects/myproject/decls/main.d.ts] @@ -199,11 +195,8 @@ export declare const y = 10; //// [/home/src/projects/myproject/outDir/src/secondary.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; // some comment -exports.z = 10; +export const z = 10; //// [/home/src/projects/myproject/decls/src/secondary.d.ts] @@ -288,7 +281,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/myproject/types/sometype.ts /home/src/projects/myproject/main.ts /home/src/projects/myproject/root2/other/sometype2/index.d.ts @@ -297,7 +290,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/myproject/types/sometype.ts (computed .d.ts during emit) /home/src/projects/myproject/main.ts (computed .d.ts during emit) /home/src/projects/myproject/root2/other/sometype2/index.d.ts (used version) @@ -345,7 +338,7 @@ Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -355,7 +348,7 @@ File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -393,8 +386,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -440,7 +433,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/myproject/types/sometype.ts /home/src/projects/myproject/main.ts /home/src/projects/myproject/root2/other/sometype2/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js index bb8581ae9c96b..005121d7e0cdc 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js @@ -493,10 +493,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@type //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -513,10 +510,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -647,10 +641,7 @@ export declare const x = "type1"; } //// [/home/src/workspace/projects/project2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/home/src/workspace/projects/project2/index.d.ts] @@ -723,10 +714,7 @@ export declare const y = 10; } //// [/home/src/workspace/projects/project3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project3/index.d.ts] @@ -799,10 +787,7 @@ export declare const z = 10; } //// [/home/src/workspace/projects/project4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project4/index.d.ts] diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js index cef3a0ac2a43d..b9e8fb228c211 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js @@ -233,10 +233,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project4/utils.d.t //// [/home/src/tslibs/TS/Lib/lib.esnext.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -253,10 +250,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -379,10 +373,7 @@ export declare const x = "type1"; } //// [/home/src/workspace/projects/project2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/home/src/workspace/projects/project2/index.d.ts] @@ -451,10 +442,7 @@ export declare const y = 10; } //// [/home/src/workspace/projects/project3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project3/index.d.ts] @@ -523,10 +511,7 @@ export declare const z = 10; } //// [/home/src/workspace/projects/project4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 10; +export const z = 10; //// [/home/src/workspace/projects/project4/index.d.ts] diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 8a77a5c3c8c83..3eef777f60ce7 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -80,7 +80,7 @@ Output:: ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. @@ -97,7 +97,7 @@ File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -121,7 +121,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. @@ -132,9 +132,10 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exists - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/pkg2/build/const.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/const.d.ts] @@ -142,8 +143,7 @@ export type TheNum = 42; //// [/user/username/projects/myproject/packages/pkg2/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/index.d.ts] @@ -151,8 +151,7 @@ export type { TheNum } from './const.js'; //// [/user/username/projects/myproject/packages/pkg2/build/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/packages/pkg2/build/other.d.ts] @@ -160,12 +159,12 @@ export type TheStr = string; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n"},{"version":"-4609154030-export type TheStr = string;","signature":"-6073194916-export type TheStr = string;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../const.ts","../index.ts","../other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n"},{"version":"-4609154030-export type TheStr = string;","signature":"-6073194916-export type TheStr = string;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../const.ts", "../index.ts", "../other.ts" @@ -176,7 +175,7 @@ export type TheStr = string; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -234,7 +233,7 @@ export type TheStr = string; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -252,14 +251,11 @@ export type TheStr = string; ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 1127 + "size": 1139 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.theNum = void 0; -exports.theNum = 42; +export const theNum = 42; //// [/user/username/projects/myproject/packages/pkg1/build/tsconfig.tsbuildinfo] @@ -315,7 +311,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/const.ts /user/username/projects/myproject/packages/pkg2/index.ts /user/username/projects/myproject/packages/pkg2/other.ts @@ -323,7 +319,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/pkg2/const.ts (computed .d.ts during emit) /user/username/projects/myproject/packages/pkg2/index.ts (computed .d.ts during emit) /user/username/projects/myproject/packages/pkg2/other.ts (computed .d.ts during emit) @@ -340,19 +336,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.ts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.ts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/pkg2/build/const.d.ts (used version) /user/username/projects/myproject/packages/pkg2/build/index.d.ts (used version) /user/username/projects/myproject/packages/pkg1/index.ts (used version) @@ -388,7 +384,7 @@ Output:: ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -452,7 +448,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/other.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -495,7 +491,7 @@ Output:: ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -519,7 +515,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. @@ -563,7 +559,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.ts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 3a81235efec31..a8ccc3ffc8c8a 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -138,7 +138,7 @@ File '/package.json' does not exist according to earlier cached lookups. -//// [/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/user/username/projects/myproject/packages/pkg2/build/const.cjs] "use strict"; @@ -158,12 +158,12 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2022.full.d.ts","../const.cts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":99}],"root":[2,3],"options":{"composite":true,"module":100,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../const.cts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":99}],"root":[2,3],"options":{"composite":true,"module":100,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2022.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../const.cts", "../index.ts" ], @@ -173,7 +173,7 @@ export type { TheNum } from './const.cjs'; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2022.full.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -300,17 +300,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/const.cts /user/username/projects/myproject/packages/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/const.cts /user/username/projects/myproject/packages/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2022.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/pkg2/const.cts (computed .d.ts during emit) /user/username/projects/myproject/packages/pkg2/index.ts (computed .d.ts during emit) @@ -327,19 +327,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.cts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.cts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2022.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/pkg2/build/const.d.cts (used version) /user/username/projects/myproject/packages/pkg2/build/index.d.ts (used version) /user/username/projects/myproject/packages/pkg1/index.ts (used version) @@ -460,7 +460,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.cts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -574,7 +574,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.cts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -701,7 +701,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.cts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -762,12 +762,12 @@ File '/package.json' does not exist. //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2022.full.d.ts","../const.cts","../index.cts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":100,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.cts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../const.cts","../index.cts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":100,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.cts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2022.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../const.cts", "../index.cts" ], @@ -777,7 +777,7 @@ File '/package.json' does not exist. ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2022.full.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -971,7 +971,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/const.cts /user/username/projects/myproject/packages/pkg2/index.cts @@ -994,7 +994,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.cts /user/username/projects/myproject/packages/pkg2/build/index.d.cts /user/username/projects/myproject/packages/pkg1/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 09303ad5cae87..f26bb7ef3bc8d 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -101,9 +101,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/project1/index.d.ts] @@ -111,12 +112,12 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/file/index.d.ts", "./index.ts", "../node_modules/@types/foo/index.d.ts", @@ -128,7 +129,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -189,12 +190,11 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1090 + "size": 1102 } //// [/user/username/projects/myproject/project2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/project2/index.d.ts] @@ -202,12 +202,12 @@ export {}; //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file.d.ts", "./index.ts", "../node_modules/@types/foo/index.d.ts" @@ -218,7 +218,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -265,7 +265,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -283,7 +283,7 @@ export {}; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 972 + "size": 984 } @@ -340,21 +340,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/project1/node_modules/file/index.d.ts /user/username/projects/myproject/project1/index.ts /user/username/projects/myproject/node_modules/@types/foo/index.d.ts /user/username/projects/myproject/node_modules/@types/bar/index.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/project1/node_modules/file/index.d.ts /user/username/projects/myproject/project1/index.ts /user/username/projects/myproject/node_modules/@types/foo/index.d.ts /user/username/projects/myproject/node_modules/@types/bar/index.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/project1/node_modules/file/index.d.ts (used version) /user/username/projects/myproject/project1/index.ts (computed .d.ts during emit) /user/username/projects/myproject/node_modules/@types/foo/index.d.ts (used version) @@ -375,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/project2/file.d.ts /user/username/projects/myproject/project2/index.ts /user/username/projects/myproject/node_modules/@types/foo/index.d.ts @@ -383,7 +383,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/project2/file.d.ts (used version) /user/username/projects/myproject/project2/index.ts (computed .d.ts during emit) /user/username/projects/myproject/node_modules/@types/foo/index.d.ts (used version) @@ -423,18 +423,17 @@ Output:: //// [/user/username/projects/myproject/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar = 10; +const bar = 10; +export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/file/index.d.ts", "./index.ts", "../node_modules/@types/foo/index.d.ts", @@ -446,7 +445,7 @@ var bar = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -507,7 +506,7 @@ var bar = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1105 + "size": 1117 } @@ -527,7 +526,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/project1/node_modules/file/index.d.ts /user/username/projects/myproject/project1/index.ts /user/username/projects/myproject/node_modules/@types/foo/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 5d4861a15c47c..e2c756c2ba6e9 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -45,18 +45,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"5381-","5381-"],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"5381-","5381-"],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.js", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -98,7 +100,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 647 + "size": 659 } @@ -128,17 +130,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.js (used version) /user/username/projects/myproject/b.ts (used version) @@ -199,17 +201,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.js", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -257,7 +259,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 753 + "size": 765 } @@ -276,12 +278,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 086f7fa027341..32e5a69e74e25 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -45,6 +45,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] {"root":["./a.js","./b.ts"],"version":"FakeTSVersion"} @@ -84,17 +86,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.js (used version) /user/username/projects/myproject/b.ts (used version) @@ -140,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -194,12 +196,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js index bed7e95966994..0136015287012 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js @@ -56,18 +56,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -138,7 +140,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1030 + "size": 1042 } @@ -168,17 +170,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -212,17 +214,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -274,7 +276,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -293,7 +295,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -338,17 +340,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -388,14 +390,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -403,10 +402,7 @@ export declare const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -428,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -487,7 +483,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -535,17 +531,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -617,7 +613,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1301 + "size": 1313 } @@ -636,7 +632,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -691,17 +687,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -764,19 +760,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1265 + "size": 1277 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -794,7 +784,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -863,7 +853,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental.js index 5375d9fa9eb4a..c975622c67a71 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-with-incremental.js @@ -53,17 +53,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -124,7 +126,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -151,15 +153,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -192,16 +194,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -240,7 +242,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 741 + "size": 753 } @@ -258,11 +260,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -303,16 +305,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -342,11 +344,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 705 + "size": 717 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -367,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -424,7 +426,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -471,16 +473,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -542,7 +544,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1192 + "size": 1204 } @@ -560,11 +562,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -615,16 +617,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -677,16 +679,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1156 + "size": 1168 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -703,7 +702,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -770,7 +769,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 503a8d6051f19..8e04aa70baeec 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -45,18 +45,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -95,7 +97,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 683 + "size": 695 } @@ -124,17 +126,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -168,17 +170,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -221,7 +223,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -239,7 +241,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -283,17 +285,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -326,21 +328,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -357,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -414,7 +410,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -452,17 +448,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -501,7 +497,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 890 + "size": 902 } @@ -519,7 +515,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -563,17 +559,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -606,19 +602,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 859 + "size": 871 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -635,7 +625,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -692,7 +682,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js index fcad5419fc6e9..82e9e0f2ea61c 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js @@ -42,17 +42,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -84,7 +86,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 664 + "size": 676 } @@ -110,15 +112,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -151,16 +153,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -193,7 +195,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -210,11 +212,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -254,16 +256,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -290,11 +292,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -310,7 +312,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -365,7 +367,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -402,16 +404,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -444,7 +446,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 852 + "size": 864 } @@ -461,11 +463,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -505,16 +507,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -541,16 +543,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 821 + "size": 833 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -566,7 +565,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -621,7 +620,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js index 92ff62c580bbd..5726219bdc48a 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js @@ -41,6 +41,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"version":"FakeTSVersion"} @@ -75,15 +77,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -130,11 +132,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -174,7 +176,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -189,7 +191,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -242,7 +244,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -293,11 +295,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -337,12 +339,9 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -357,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -410,7 +409,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors.js index ad1931c399f4c..2ae4df4c3720b 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors.js @@ -52,6 +52,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -88,15 +90,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -154,11 +156,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -200,7 +202,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -275,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -348,11 +350,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -406,12 +408,9 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; //// [/home/src/projects/project/a.d.ts] file changed its modified time @@ -428,7 +427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -493,7 +492,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js index ca27c2e2e03ca..274a601da9cfc 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js @@ -50,18 +50,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -114,7 +116,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } @@ -143,17 +145,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -187,17 +189,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -240,7 +242,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -258,7 +260,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -302,17 +304,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -345,21 +347,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -376,7 +372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -433,7 +429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -476,17 +472,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -539,7 +535,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 897 + "size": 909 } @@ -557,7 +553,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -606,17 +602,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -663,7 +659,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 866 + "size": 878 } //// [/home/src/projects/project/a.js] file written with same contents @@ -681,7 +677,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -743,7 +739,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental.js index 9cdcb26e9138f..0fde79ef5c49a 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors-with-incremental.js @@ -47,17 +47,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -103,7 +105,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 806 + "size": 818 } @@ -129,15 +131,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -170,16 +172,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +214,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -229,11 +231,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -273,16 +275,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -309,11 +311,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -329,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -384,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -426,16 +428,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -482,7 +484,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 858 + "size": 870 } @@ -499,11 +501,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -548,16 +550,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -598,7 +600,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } //// [/home/src/projects/project/a.js] file written with same contents @@ -615,7 +617,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -675,7 +677,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors.js index 1e975a9aead51..a19fb9e2aea5c 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors.js @@ -46,6 +46,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -81,15 +83,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -146,11 +148,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -190,7 +192,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -205,7 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -258,7 +260,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -325,11 +327,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -386,7 +388,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -444,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js index 356103805e81c..e98b9b37efc26 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js @@ -50,18 +50,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -98,10 +100,10 @@ Output:: "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -130,7 +132,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -168,17 +170,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -225,7 +227,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 813 + "size": 825 } @@ -243,17 +245,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) /home/src/projects/project/b.ts (computed .d.ts) @@ -291,17 +293,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -338,21 +340,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 780 + "size": 792 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -369,7 +365,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -426,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -469,17 +465,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -519,7 +515,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 797 + "size": 809 } @@ -537,7 +533,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -585,17 +581,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -638,14 +634,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 810 + "size": 822 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; @@ -662,7 +655,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -726,7 +719,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental.js index 0db50ec9700d4..6b4ade0b34b93 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors-with-incremental.js @@ -47,17 +47,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -84,10 +86,10 @@ Output:: ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 672 + "size": 684 } @@ -113,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -150,16 +152,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -192,7 +194,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -209,15 +211,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -254,16 +256,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -290,11 +292,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -310,7 +312,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -365,7 +367,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -407,16 +409,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +448,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 703 } @@ -463,7 +465,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -510,16 +512,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -552,11 +554,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 704 + "size": 716 } //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -572,7 +574,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -634,7 +636,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors.js index f76555ee0f393..c3c55705f8efb 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors.js @@ -46,6 +46,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -81,7 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,15 +144,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -187,7 +189,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -202,7 +204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -255,7 +257,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -322,7 +324,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -369,7 +371,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -384,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -444,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 04e83e413f79b..9341db4125e92 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -51,18 +51,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/out.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.js","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5381-","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/a.js","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5381-","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/a.js": "5381-", "./myproject/b.ts": "5381-" }, @@ -81,12 +83,12 @@ Output:: "outFile": "./out.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "version": "FakeTSVersion", - "size": 638 + "size": 650 } @@ -117,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -174,7 +176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -217,17 +219,17 @@ Output:: //// [/user/username/projects/out.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/a.js","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/a.js","./myproject/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","5381-"],"root":[2,3],"options":{"allowJs":true,"outFile":"./out.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/a.js": "5029505981-const x = 10;", "./myproject/b.ts": "5381-" }, @@ -246,12 +248,12 @@ Output:: "outFile": "./out.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "version": "FakeTSVersion", - "size": 657 + "size": 669 } @@ -271,7 +273,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 90311c88e3750..7f628ed8abfd2 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -51,6 +51,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/out.tsbuildinfo] {"root":["./myproject/a.js","./myproject/b.ts"],"errors":true,"version":"FakeTSVersion"} @@ -92,7 +94,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -148,7 +150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -208,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js index bb41749b27833..82bbc009778d5 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -58,18 +58,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -91,10 +93,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } @@ -126,7 +128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -174,17 +176,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -206,10 +208,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 713 } @@ -230,7 +232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -285,17 +287,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -316,7 +318,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -329,7 +331,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } //// [/home/src/projects/outFile.js] @@ -373,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -446,7 +448,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -494,17 +496,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -527,7 +529,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 712 + "size": 724 } @@ -548,7 +550,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -613,17 +615,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -644,7 +646,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -680,7 +682,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } //// [/home/src/projects/outFile.js] @@ -688,12 +690,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -720,7 +720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -793,7 +793,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js index e9f064f8835a9..99e6366b67f83 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-with-incremental.js @@ -49,17 +49,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -74,10 +76,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } @@ -105,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -147,16 +149,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -171,10 +173,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 636 } @@ -193,7 +195,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -241,16 +243,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -265,7 +267,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -274,11 +276,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 637 + "size": 649 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -300,7 +302,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -364,7 +366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -406,16 +408,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -432,7 +434,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 638 + "size": 650 } @@ -451,7 +453,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -509,16 +511,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -533,7 +535,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -565,16 +567,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -592,7 +591,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -656,7 +655,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 4036280adaba3..98ecfbe53058f 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -57,18 +57,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -89,10 +91,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 709 } @@ -123,7 +125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -171,17 +173,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -202,10 +204,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -225,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -279,17 +281,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -309,7 +311,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -322,7 +324,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -356,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -427,7 +429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -475,17 +477,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -507,7 +509,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 693 + "size": 705 } @@ -527,7 +529,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -581,17 +583,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -611,7 +613,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -624,7 +626,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 710 + "size": 722 } //// [/home/src/projects/outFile.js] @@ -632,12 +634,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -663,7 +663,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -734,7 +734,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index 7fb7c72bd2cfc..cb4f1e2b87ced 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -48,17 +48,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -72,10 +74,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 621 + "size": 633 } @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -144,16 +146,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -167,10 +169,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -188,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -235,16 +237,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -258,7 +260,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -267,11 +269,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -288,7 +290,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -350,7 +352,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -392,16 +394,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -417,7 +419,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 631 } @@ -435,7 +437,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -482,16 +484,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -505,7 +507,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -514,16 +516,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 634 + "size": 646 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -540,7 +539,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -602,7 +601,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js index ac2c86429352a..f654a0b494f97 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -47,6 +47,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -83,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -140,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -188,7 +190,7 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -204,7 +206,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -264,7 +266,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -369,12 +371,9 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -390,7 +389,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -450,7 +449,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js index 0059841fd9d41..e497c954e4084 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js @@ -48,6 +48,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -85,7 +87,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -143,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -192,7 +194,7 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -213,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -275,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -333,7 +335,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -394,12 +396,9 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; //// [/home/src/projects/outFile.d.ts] file changed its modified time @@ -417,7 +416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -479,7 +478,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index eff098df4a817..fdee6b1dcf416 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -57,18 +57,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -89,10 +91,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 689 + "size": 701 } @@ -123,7 +125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -171,17 +173,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -202,10 +204,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -225,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -279,17 +281,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -309,7 +311,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -322,7 +324,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -356,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -427,7 +429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -475,17 +477,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -507,7 +509,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 685 + "size": 697 } @@ -527,7 +529,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -581,17 +583,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -611,7 +613,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -624,7 +626,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 702 + "size": 714 } //// [/home/src/projects/outFile.js] file written with same contents @@ -644,7 +646,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -715,7 +717,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js index 50dd988ff4862..eb2d8b7d249a6 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors-with-incremental.js @@ -48,17 +48,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -72,10 +74,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 624 } @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -144,16 +146,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -167,10 +169,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -188,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -235,16 +237,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -258,7 +260,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -267,11 +269,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -288,7 +290,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -350,7 +352,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -392,16 +394,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -417,7 +419,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 610 + "size": 622 } @@ -435,7 +437,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -482,16 +484,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -505,7 +507,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -514,7 +516,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 625 + "size": 637 } //// [/home/src/projects/outFile.js] file written with same contents @@ -532,7 +534,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -594,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js index b3fba3fddb143..978214ee78c6e 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js @@ -47,6 +47,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -83,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -140,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -188,7 +190,7 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -204,7 +206,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -264,7 +266,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -382,7 +384,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -442,7 +444,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 76425e70cead2..64153b0e1d55d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -52,18 +52,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -84,10 +86,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 679 + "size": 691 } @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -166,17 +168,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -197,10 +199,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -274,17 +276,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -304,7 +306,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -317,7 +319,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -351,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -422,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -465,17 +467,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -497,7 +499,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 675 + "size": 687 } @@ -517,7 +519,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -566,17 +568,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -596,7 +598,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -609,7 +611,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 692 + "size": 704 } //// [/home/src/projects/outFile.js] @@ -643,7 +645,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -709,7 +711,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js index 1da1f7f877411..0d4c428085ed5 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors-with-incremental.js @@ -48,17 +48,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -72,10 +74,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 602 + "size": 614 } @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -144,16 +146,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -167,10 +169,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -188,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -235,16 +237,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -258,7 +260,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -267,11 +269,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -288,7 +290,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -350,7 +352,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -392,16 +394,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -417,7 +419,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 600 + "size": 612 } @@ -435,7 +437,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -482,16 +484,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -505,7 +507,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -514,11 +516,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 615 + "size": 627 } //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -535,7 +537,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -597,7 +599,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js index 008cd87df2e58..e645208bf099d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js @@ -47,6 +47,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] {"root":["./project/a.ts"],"errors":true,"version":"FakeTSVersion"} @@ -83,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -140,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -188,7 +190,7 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -204,7 +206,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -264,7 +266,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -369,7 +371,7 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] file written with same contents //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -385,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -445,7 +447,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js index f7bf323731bb2..8b01a95cd2aa2 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js @@ -64,13 +64,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -81,7 +83,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,7 +144,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 979 + "size": 991 } @@ -176,19 +178,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -243,7 +245,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -285,12 +287,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -301,7 +303,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -355,12 +357,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1031 + "size": 1043 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -370,11 +371,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -382,9 +382,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -409,7 +408,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -486,12 +485,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -502,7 +501,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -576,7 +575,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1199 + "size": 1211 } @@ -597,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -658,7 +657,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -698,12 +697,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -714,7 +713,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -768,13 +767,12 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1022 + "size": 1034 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents @@ -796,7 +794,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -879,12 +877,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[3,17]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -895,7 +893,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -981,7 +979,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1537 + "size": 1549 } @@ -1002,7 +1000,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1068,7 +1066,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1109,12 +1107,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -1125,7 +1123,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1179,19 +1177,13 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1091 + "size": 1103 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -1220,7 +1212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js index 53974cd5b073d..91cfdd1a90c4c 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js @@ -63,6 +63,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -108,19 +110,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -174,7 +176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -230,8 +232,7 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -241,11 +242,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -253,9 +253,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -279,7 +278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -343,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -419,7 +418,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -479,7 +478,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -537,9 +536,8 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents @@ -562,7 +560,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -626,7 +624,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -708,7 +706,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -773,7 +771,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -832,15 +830,9 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -870,7 +862,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -934,7 +926,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js index 98db787ca3aff..b179723e35dde 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js @@ -63,13 +63,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -80,7 +82,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,7 +142,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 960 + "size": 972 } @@ -173,19 +175,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -239,7 +241,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -281,12 +283,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -297,7 +299,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -346,26 +348,23 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -385,7 +384,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -462,12 +461,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -478,7 +477,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -547,7 +546,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1129 + "size": 1141 } @@ -567,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -627,7 +626,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -667,12 +666,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -683,7 +682,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -732,13 +731,12 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 952 + "size": 964 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; @@ -758,7 +756,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -831,12 +829,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -847,7 +845,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -896,19 +894,13 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1125 + "size": 1137 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -928,7 +920,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1001,12 +993,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -1017,7 +1009,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1066,7 +1058,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1021 + "size": 1033 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file written with same contents @@ -1087,7 +1079,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError.js index a336f50d2b804..52d18dcd96112 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError.js @@ -62,6 +62,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"root":["../shared/types/db.ts","../src/main.ts","../src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -106,19 +108,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -171,7 +173,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -227,22 +229,19 @@ Output:: } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -261,7 +260,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -321,7 +320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -396,7 +395,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -455,7 +454,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -512,9 +511,8 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time @@ -534,7 +532,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -594,7 +592,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -640,15 +638,9 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time @@ -668,7 +660,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -728,7 +720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -791,7 +783,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -851,7 +843,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js index 4f360cee97449..49b28b2cbaf8e 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js @@ -75,19 +75,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -117,7 +119,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 939 + "size": 951 } @@ -152,13 +154,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -226,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -278,18 +280,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -319,7 +321,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 950 } @@ -341,13 +343,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -410,7 +412,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -465,18 +467,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -519,7 +521,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1061 + "size": 1073 } @@ -541,13 +543,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -615,7 +617,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -665,18 +667,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -706,7 +708,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 929 + "size": 941 } @@ -728,13 +730,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -797,7 +799,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -848,18 +850,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -889,7 +891,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 945 + "size": 957 } @@ -911,13 +913,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -980,7 +982,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1031,18 +1033,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -1072,7 +1074,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 937 + "size": 949 } @@ -1094,13 +1096,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1163,7 +1165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js index d90d1bebdd4d5..f8c339540915e 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js @@ -74,6 +74,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -120,13 +122,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -193,7 +195,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -264,13 +266,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -332,7 +334,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -406,13 +408,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -479,7 +481,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -548,13 +550,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -616,7 +618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -686,13 +688,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -754,7 +756,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -824,13 +826,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -892,7 +894,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js index 9d90adca29d41..42a0406f21451 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js @@ -74,19 +74,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -115,7 +117,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 920 + "size": 932 } @@ -149,13 +151,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -222,7 +224,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -274,18 +276,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -314,7 +316,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 919 + "size": 931 } @@ -335,13 +337,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -403,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -458,18 +460,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -511,7 +513,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1042 + "size": 1054 } @@ -532,13 +534,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -605,7 +607,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -655,18 +657,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -695,7 +697,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 910 + "size": 922 } @@ -716,13 +718,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -784,7 +786,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -835,18 +837,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -875,7 +877,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 926 + "size": 938 } @@ -896,13 +898,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -964,7 +966,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1015,18 +1017,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -1055,7 +1057,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 918 + "size": 930 } @@ -1076,13 +1078,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1144,7 +1146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js index 217af9c06486c..f3101b4e09166 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js @@ -73,6 +73,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] {"root":["./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"errors":true,"version":"FakeTSVersion"} @@ -118,13 +120,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -190,7 +192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -260,13 +262,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -327,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -400,13 +402,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -472,7 +474,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -540,13 +542,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -607,7 +609,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -676,13 +678,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -743,7 +745,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -812,13 +814,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -879,7 +881,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index eee221d2644c3..cd714c25c6725 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,52 +284,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -381,12 +302,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -403,7 +324,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +377,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -532,19 +453,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -563,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 8d48a4aaac49d..0167668389a24 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -120,11 +120,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -135,14 +134,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -155,18 +149,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -222,56 +216,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -281,12 +238,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -298,7 +255,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -344,52 +301,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -398,12 +319,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -420,7 +341,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -473,7 +394,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -517,19 +438,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -549,19 +470,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -580,21 +501,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -641,62 +562,25 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AAErB,SAAS,MAAM,KAAK,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAErB,SAAS,MAAM,KAAK,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; function someFn() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -708,7 +592,7 @@ function someFn() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -754,7 +638,7 @@ function someFn() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1428 + "size": 1440 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -775,7 +659,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -821,54 +705,16 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAID,wBAA4B;AAP5B,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AAErB,SAAgB,MAAM,KAAK,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAErB,MAAM,UAAU,MAAM,KAAK,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -exports.someFn = someFn; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; -function someFn() { } +import * as mod from '../core/anotherModule'; +export const m = mod; +export function someFn() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -879,12 +725,12 @@ export declare function someFn(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -896,7 +742,7 @@ export declare function someFn(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -942,7 +788,7 @@ export declare function someFn(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1475 + "size": 1487 } @@ -965,12 +811,12 @@ Output:: //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -987,7 +833,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1040,7 +886,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1583 + "size": 1595 } @@ -1060,7 +906,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1085,7 +931,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index b73eb60e66105..6f89ce3b00c10 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -40,16 +40,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function myClassWithError() { - } - myClassWithError.prototype.tags = function () { }; - return myClassWithError; -}()); +export var myClassWithError = class { + tags() { } +}; //// [/user/username/projects/solution/app/fileWithError.d.ts] @@ -61,15 +57,8 @@ export declare var myClassWithError: { //// [/user/username/projects/solution/app/fileWithoutError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClass = void 0; -var myClass = /** @class */ (function () { - function myClass() { - } - return myClass; -}()); -exports.myClass = myClass; +export class myClass { +} //// [/user/username/projects/solution/app/fileWithoutError.d.ts] @@ -78,17 +67,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,7 +118,7 @@ export declare class myClass { }, "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -157,17 +146,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (computed .d.ts during emit) /user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) @@ -210,30 +199,24 @@ Output:: //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function class_1() { - this.p = 12; - } - class_1.prototype.tags = function () { }; - return class_1; -}()); +export var myClassWithError = class { + tags() { } + p = 12; +}; //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"1132390746-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"1132390746-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -303,7 +286,7 @@ exports.myClassWithError = /** @class */ (function () { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1603 } @@ -320,7 +303,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts @@ -366,15 +349,8 @@ Output:: //// [/user/username/projects/solution/app/fileWithoutError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClass2 = void 0; -var myClass2 = /** @class */ (function () { - function myClass2() { - } - return myClass2; -}()); -exports.myClass2 = myClass2; +export class myClass2 { +} //// [/user/username/projects/solution/app/fileWithoutError.d.ts] @@ -383,17 +359,17 @@ export declare class myClass2 { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"1132390746-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"1132390746-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -463,7 +439,7 @@ export declare class myClass2 { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1593 + "size": 1605 } @@ -480,7 +456,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 5faab19f6eb7f..de5bded251253 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -40,16 +40,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function myClassWithError() { - } - myClassWithError.prototype.tags = function () { }; - return myClassWithError; -}()); +export var myClassWithError = class { + tags() { } +}; //// [/user/username/projects/solution/app/fileWithError.d.ts] @@ -61,15 +57,8 @@ export declare var myClassWithError: { //// [/user/username/projects/solution/app/fileWithoutError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClass = void 0; -var myClass = /** @class */ (function () { - function myClass() { - } - return myClass; -}()); -exports.myClass = myClass; +export class myClass { +} //// [/user/username/projects/solution/app/fileWithoutError.d.ts] @@ -78,17 +67,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,7 +118,7 @@ export declare class myClass { }, "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -157,17 +146,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (computed .d.ts during emit) /user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) @@ -210,30 +199,24 @@ Output:: //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function class_1() { - this.p = 12; - } - class_1.prototype.tags = function () { }; - return class_1; -}()); +export var myClassWithError = class { + tags() { } + p = 12; +}; //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"1132390746-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"1132390746-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -303,7 +286,7 @@ exports.myClassWithError = /** @class */ (function () { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1603 } @@ -320,7 +303,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts @@ -359,29 +342,23 @@ Output:: //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function myClassWithError() { - } - myClassWithError.prototype.tags = function () { }; - return myClassWithError; -}()); +export var myClassWithError = class { + tags() { } +}; //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -422,7 +399,7 @@ exports.myClassWithError = /** @class */ (function () { }, "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -439,7 +416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index d9bdf4fb135d7..793e4846dfa20 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -50,29 +50,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function class_1() { - this.p = 12; - } - class_1.prototype.tags = function () { }; - return class_1; -}()); +export var myClassWithError = class { + tags() { } + p = 12; +}; //// [/user/username/projects/solution/app/fileWithoutError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClass = void 0; -var myClass = /** @class */ (function () { - function myClass() { - } - return myClass; -}()); -exports.myClass = myClass; +export class myClass { +} //// [/user/username/projects/solution/app/fileWithoutError.d.ts] @@ -81,17 +70,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[2],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[2],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -154,7 +143,7 @@ export declare class myClass { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1241 + "size": 1253 } @@ -182,17 +171,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (used version) /user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) @@ -232,15 +221,8 @@ Output:: //// [/user/username/projects/solution/app/fileWithoutError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClass2 = void 0; -var myClass2 = /** @class */ (function () { - function myClass2() { - } - return myClass2; -}()); -exports.myClass2 = myClass2; +export class myClass2 { +} //// [/user/username/projects/solution/app/fileWithoutError.d.ts] @@ -249,17 +231,17 @@ export declare class myClass2 { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[2],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[2],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -322,7 +304,7 @@ export declare class myClass2 { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1243 + "size": 1255 } @@ -339,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 00525a866589e..ca9011cf1b856 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -50,29 +50,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function class_1() { - this.p = 12; - } - class_1.prototype.tags = function () { }; - return class_1; -}()); +export var myClassWithError = class { + tags() { } + p = 12; +}; //// [/user/username/projects/solution/app/fileWithoutError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClass = void 0; -var myClass = /** @class */ (function () { - function myClass() { - } - return myClass; -}()); -exports.myClass = myClass; +export class myClass { +} //// [/user/username/projects/solution/app/fileWithoutError.d.ts] @@ -81,17 +70,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[2],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"emitDiagnosticsPerFile":[[2,[{"start":11,"length":16,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":11,"length":16,"messageText":"Add a type annotation to the variable myClassWithError.","category":1,"code":9027}]}]]],"emitSignatures":[2],"latestChangedDtsFile":"./fileWithoutError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -154,7 +143,7 @@ export declare class myClass { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1241 + "size": 1253 } @@ -182,17 +171,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (used version) /user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) @@ -225,29 +214,23 @@ Output:: //// [/user/username/projects/solution/app/fileWithError.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.myClassWithError = void 0; -exports.myClassWithError = /** @class */ (function () { - function myClassWithError() { - } - myClassWithError.prototype.tags = function () { }; - return myClassWithError; -}()); +export var myClassWithError = class { + tags() { } +}; //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithError.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -288,7 +271,7 @@ exports.myClassWithError = /** @class */ (function () { }, "latestChangedDtsFile": "./fileWithError.d.ts", "version": "FakeTSVersion", - "size": 1008 + "size": 1020 } //// [/user/username/projects/solution/app/fileWithError.d.ts] @@ -313,7 +296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index ac1a3eeaf8708..bc2f69c0e1a86 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,52 +284,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -381,12 +302,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -403,7 +324,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +377,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -532,19 +453,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -563,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -621,62 +542,25 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; -var y = 10; +import * as mod from '../core/anotherModule'; +export const m = mod; +let y = 10; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -688,7 +572,7 @@ var y = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -748,7 +632,7 @@ var y = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1578 + "size": 1590 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -769,7 +653,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -813,31 +697,26 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var x = 10; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +let x = 10; //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -907,7 +786,7 @@ var x = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1531 + "size": 1543 } @@ -949,7 +828,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -975,7 +854,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1021,61 +900,24 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1087,7 +929,7 @@ exports.m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1133,7 +975,7 @@ exports.m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -1154,7 +996,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index b8d83d90855fa..998b00a365bd9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -102,11 +102,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -117,14 +116,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -137,18 +131,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,56 +198,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -263,12 +220,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -280,7 +237,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -326,52 +283,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -380,12 +301,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -402,7 +323,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -455,7 +376,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -533,19 +454,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -565,21 +486,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -622,62 +543,25 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; -var y = 10; +import * as mod from '../core/anotherModule'; +export const m = mod; +let y = 10; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -689,7 +573,7 @@ var y = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -749,7 +633,7 @@ var y = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1578 + "size": 1590 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -771,7 +655,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -814,31 +698,26 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var x = 10; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +let x = 10; //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -908,7 +787,7 @@ var x = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1531 + "size": 1543 } @@ -951,7 +830,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -978,7 +857,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1023,61 +902,24 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1089,7 +931,7 @@ exports.m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1135,7 +977,7 @@ exports.m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -1157,7 +999,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js index 3e58bc9121216..519fbf3800391 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,52 +284,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -381,12 +302,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -403,7 +324,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +377,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -532,19 +453,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -563,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -621,62 +542,25 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; -var y = 10; +import * as mod from '../core/anotherModule'; +export const m = mod; +let y = 10; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -688,7 +572,7 @@ var y = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -748,7 +632,7 @@ var y = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1578 + "size": 1590 } @@ -768,7 +652,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -819,31 +703,26 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var x = 10; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +let x = 10; //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -913,7 +792,7 @@ var x = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1531 + "size": 1543 } @@ -938,7 +817,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index b0dbeb660a476..8ba56e35ec5d5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -108,11 +108,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/outDir/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/outDir/anotherModule.d.ts] @@ -120,14 +119,9 @@ export declare const World = "hello"; //// [/user/username/projects/sample1/core/outDir/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/outDir/index.d.ts] @@ -137,18 +131,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../anothermodule.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../anothermodule.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../anothermodule.ts", "../index.ts", "../some_decl.d.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -202,7 +196,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1309 + "size": 1321 } @@ -234,19 +228,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -288,19 +282,19 @@ Output:: //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file3.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../anothermodule.ts","../file3.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file3.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../anothermodule.ts", "../file3.ts", "../index.ts", "../some_decl.d.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -363,14 +357,11 @@ Output:: }, "latestChangedDtsFile": "./file3.d.ts", "version": "FakeTSVersion", - "size": 1428 + "size": 1440 } //// [/user/username/projects/sample1/core/outDir/file3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/sample1/core/outDir/file3.d.ts] @@ -410,7 +401,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/file3.ts /user/username/projects/sample1/core/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 26cec33d7c91f..e30cb070bd833 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -110,11 +110,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -125,14 +124,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -145,18 +139,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +206,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } @@ -246,19 +240,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -300,19 +294,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./file3.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./file3.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./file3.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./file3.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -377,14 +371,11 @@ Output:: }, "latestChangedDtsFile": "./file3.d.ts", "version": "FakeTSVersion", - "size": 1475 + "size": 1487 } //// [/user/username/projects/sample1/core/file3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/sample1/core/file3.d.ts.map] @@ -429,7 +420,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/file3.ts /user/username/projects/sample1/core/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js index 825f67eb892de..36a2b4a7e30d7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js @@ -127,11 +127,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -142,14 +141,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } multiply(); @@ -163,18 +157,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -253,7 +247,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1631 + "size": 1643 } @@ -297,19 +291,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -345,30 +339,25 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -424,7 +413,7 @@ function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } @@ -450,52 +439,15 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -505,12 +457,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -522,7 +474,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -568,52 +520,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -622,12 +538,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -644,7 +560,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -697,7 +613,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -718,7 +634,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -744,19 +660,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -775,21 +691,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js index 2e4fd875e55b1..2b0f9e6e5fbc5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js @@ -130,11 +130,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -145,14 +144,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } multiply(); @@ -166,18 +160,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -256,7 +250,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1631 + "size": 1643 } @@ -300,19 +294,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -348,30 +342,25 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -427,7 +416,7 @@ function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } @@ -453,52 +442,15 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -508,12 +460,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -525,7 +477,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -571,52 +523,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -625,12 +541,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -647,7 +563,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -700,7 +616,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -721,7 +637,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -747,19 +663,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -778,21 +694,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js index fc79335349da1..892e00a9cb56d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js @@ -34,23 +34,22 @@ Output:: //// [/user/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/user/username/projects/project/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -71,7 +70,7 @@ exports.x = 10; ] ], "version": "FakeTSVersion", - "size": 599 + "size": 611 } @@ -96,15 +95,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/main.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 7a13960533c62..aae189e9a21ea 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,7 +284,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } @@ -367,19 +324,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -399,19 +356,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 2376acc386ebe..18d595f53273d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -98,11 +98,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -113,14 +112,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -133,18 +127,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -200,53 +194,16 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/logic/index.d.ts] @@ -256,48 +213,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -306,12 +227,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.ts","./index.ts"],"fileIdsList":[[2,3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.ts","./index.ts"],"fileIdsList":[[2,3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.ts", @@ -329,7 +250,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -387,7 +308,7 @@ export declare const m: typeof mod; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -409,7 +330,7 @@ export declare const m: typeof mod; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1801 + "size": 1813 } @@ -451,19 +372,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -482,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -491,7 +412,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -562,62 +483,25 @@ Output:: //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -629,7 +513,7 @@ exports.m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -675,7 +559,7 @@ exports.m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } @@ -722,19 +606,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -757,12 +641,12 @@ Output:: //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -779,7 +663,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -832,7 +716,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -851,14 +735,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index e40b28e108933..c26908b6a46c2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -58,11 +58,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/Library/library.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.createSomeObject = createSomeObject; -function createSomeObject() { +export function createSomeObject() { return { message: "new Object" }; @@ -78,16 +77,16 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./library.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./library.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -116,14 +115,12 @@ export {}; }, "latestChangedDtsFile": "./library.d.ts", "version": "FakeTSVersion", - "size": 971 + "size": 983 } //// [/user/username/projects/sample1/App/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var library_1 = require("../Library/library"); -(0, library_1.createSomeObject)().message; +import { createSomeObject } from "../Library/library"; +createSomeObject().message; //// [/user/username/projects/sample1/App/tsconfig.tsbuildinfo] @@ -166,15 +163,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/library/library.ts (computed .d.ts during emit) Program root files: [ @@ -187,17 +184,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.d.ts /user/username/projects/sample1/App/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.d.ts /user/username/projects/sample1/App/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/library/library.d.ts (used version) /user/username/projects/sample1/app/app.ts (used version) @@ -236,10 +233,7 @@ Output:: //// [/user/username/projects/sample1/Library/library.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.createSomeObject = createSomeObject; -function createSomeObject() { +export function createSomeObject() { return { message2: "new Object" }; @@ -255,16 +249,16 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./library.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./library.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -293,7 +287,7 @@ export {}; }, "latestChangedDtsFile": "./library.d.ts", "version": "FakeTSVersion", - "size": 973 + "size": 985 } @@ -347,7 +341,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.ts Semantic diagnostics in builder refreshed for:: @@ -366,7 +360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.d.ts /user/username/projects/sample1/App/app.ts @@ -413,10 +407,7 @@ Output:: //// [/user/username/projects/sample1/Library/library.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.createSomeObject = createSomeObject; -function createSomeObject() { +export function createSomeObject() { return { message: "new Object" }; @@ -432,16 +423,16 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./library.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./library.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -470,7 +461,7 @@ export {}; }, "latestChangedDtsFile": "./library.d.ts", "version": "FakeTSVersion", - "size": 971 + "size": 983 } @@ -513,7 +504,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.ts Semantic diagnostics in builder refreshed for:: @@ -532,7 +523,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/Library/library.d.ts /user/username/projects/sample1/App/app.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 98ff1f01c6678..809a4a20ca848 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -107,11 +107,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts] @@ -119,14 +118,9 @@ export declare const World = "hello"; //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts] @@ -136,18 +130,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -201,56 +195,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1308 + "size": 1320 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -260,12 +217,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -277,7 +234,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -323,52 +280,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -377,12 +298,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -399,7 +320,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -452,7 +373,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -494,19 +415,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -526,19 +447,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -557,21 +478,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -601,19 +522,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -676,14 +597,11 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1465 } //// [/user/username/projects/sample1/core/newfile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.newFileConst = void 0; -exports.newFileConst = 30; +export const newFileConst = 30; //// [/user/username/projects/sample1/core/newfile.d.ts] @@ -736,7 +654,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -783,7 +701,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -806,7 +724,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -841,19 +759,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -916,20 +834,13 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1519 + "size": 1531 } //// [/user/username/projects/sample1/core/newfile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass2 = exports.newFileConst = void 0; -exports.newFileConst = 30; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); -exports.someClass2 = someClass2; +export const newFileConst = 30; +export class someClass2 { +} //// [/user/username/projects/sample1/core/newfile.d.ts] @@ -958,7 +869,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -1005,7 +916,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1028,7 +939,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 5481b019b1253..e7e7968b460b7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -107,11 +107,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts] @@ -119,14 +118,9 @@ export declare const World = "hello"; //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts] @@ -136,18 +130,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -201,56 +195,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1308 + "size": 1320 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -260,12 +217,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -277,7 +234,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -323,52 +280,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -377,12 +298,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -399,7 +320,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -452,7 +373,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -494,19 +415,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -526,19 +447,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -557,21 +478,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -605,20 +526,11 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} //// [/user/username/projects/sample1/core/index.d.ts] @@ -630,18 +542,18 @@ export declare class someClass { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -695,7 +607,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1373 + "size": 1385 } @@ -717,7 +629,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -747,12 +659,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -764,7 +676,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -810,17 +722,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -837,7 +749,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -890,7 +802,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1579 + "size": 1591 } @@ -910,7 +822,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -937,7 +849,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -978,14 +890,9 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts] @@ -995,18 +902,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1060,7 +967,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1308 + "size": 1320 } @@ -1082,7 +989,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -1112,12 +1019,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1129,7 +1036,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1175,17 +1082,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1202,7 +1109,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1255,7 +1162,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -1275,7 +1182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1302,7 +1209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -1345,26 +1252,13 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass2 = exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); -exports.someClass2 = someClass2; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} +export class someClass2 { +} //// [/user/username/projects/sample1/core/index.d.ts] @@ -1378,18 +1272,18 @@ export declare class someClass2 { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1443,7 +1337,7 @@ export declare class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1440 + "size": 1452 } @@ -1465,7 +1359,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -1495,12 +1389,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1512,7 +1406,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1558,17 +1452,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1479 + "size": 1491 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1585,7 +1479,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1638,7 +1532,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1617 + "size": 1629 } @@ -1658,7 +1552,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1685,7 +1579,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index be4a86afd7d8a..eeaaa463b0764 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -107,11 +107,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts] @@ -119,14 +118,9 @@ export declare const World = "hello"; //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts] @@ -136,18 +130,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -201,56 +195,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1308 + "size": 1320 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -260,12 +217,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -277,7 +234,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -323,52 +280,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -377,12 +298,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -399,7 +320,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -452,7 +373,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -494,19 +415,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -526,19 +447,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -557,21 +478,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -607,30 +528,25 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } function foo() { } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -684,7 +600,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1327 + "size": 1339 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -705,7 +621,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js index f06a250a0ebcf..7ca45f61b8cbb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js @@ -63,6 +63,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspaces/solution/sample1/core/index.js] function foo() { return 10; } @@ -72,16 +74,16 @@ declare function foo(): number; //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5450201652-function foo() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5450201652-function foo() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./index.ts": "5450201652-function foo() { return 10; }" }, "root": [ @@ -97,7 +99,7 @@ declare function foo(): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -108,7 +110,7 @@ declare function foo(): number; "outSignature": "517738360-declare function foo(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 780 + "size": 792 } //// [/user/username/workspaces/solution/sample1/logic/index.js] @@ -121,17 +123,17 @@ declare function bar(): number; //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","517738360-declare function foo(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","517738360-declare function foo(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../core/index.d.ts": "517738360-declare function foo(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, @@ -148,7 +150,7 @@ declare function bar(): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -163,7 +165,7 @@ declare function bar(): number; "outSignature": "1113083433-declare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 857 + "size": 869 } @@ -196,7 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/solution/sample1/core/index.ts No cached semantic diagnostics in the builder:: @@ -216,7 +218,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts @@ -264,16 +266,16 @@ declare function myFunc(): number; //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./index.ts": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }" }, "root": [ @@ -289,7 +291,7 @@ declare function myFunc(): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -300,7 +302,7 @@ declare function myFunc(): number; "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 852 + "size": 864 } @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/solution/sample1/core/index.ts No cached semantic diagnostics in the builder:: @@ -351,17 +353,17 @@ Output:: //// [/user/username/workspaces/solution/sample1/logic/index.js] file written with same contents //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../core/index.d.ts": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, @@ -378,7 +380,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -393,7 +395,7 @@ Output:: "outSignature": "1113083433-declare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 894 + "size": 906 } @@ -411,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts @@ -454,16 +456,16 @@ function myFunc() { return 100; } //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./index.ts": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }" }, "root": [ @@ -479,7 +481,7 @@ function myFunc() { return 100; } }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -490,7 +492,7 @@ function myFunc() { return 100; } "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 853 + "size": 865 } @@ -511,7 +513,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/solution/sample1/core/index.ts No cached semantic diagnostics in the builder:: @@ -555,7 +557,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index a043a72e21994..5d8b2d297919b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,52 +284,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -381,12 +302,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -403,7 +324,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +377,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -532,19 +453,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -563,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -607,19 +528,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -684,14 +605,11 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1502 + "size": 1514 } //// [/user/username/projects/sample1/core/newfile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.newFileConst = void 0; -exports.newFileConst = 30; +export const newFileConst = 30; //// [/user/username/projects/sample1/core/newfile.d.ts.map] @@ -749,7 +667,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -796,7 +714,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -819,7 +737,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -854,19 +772,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -931,20 +849,13 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1568 + "size": 1580 } //// [/user/username/projects/sample1/core/newfile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass2 = exports.newFileConst = void 0; -exports.newFileConst = 30; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); -exports.someClass2 = someClass2; +export const newFileConst = 30; +export class someClass2 { +} //// [/user/username/projects/sample1/core/newfile.d.ts.map] @@ -978,7 +889,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -1025,7 +936,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1048,7 +959,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index d2121f7477b3d..c0ea4b9bcd313 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,52 +284,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -381,12 +302,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -403,7 +324,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +377,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -532,19 +453,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -563,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -611,20 +532,11 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -639,18 +551,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -706,7 +618,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1422 + "size": 1434 } @@ -730,7 +642,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -760,12 +672,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -777,7 +689,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -823,17 +735,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -850,7 +762,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -903,7 +815,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1579 + "size": 1591 } @@ -923,7 +835,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -950,7 +862,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -991,14 +903,9 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -1011,18 +918,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1078,7 +985,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } @@ -1102,7 +1009,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -1132,12 +1039,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1149,7 +1056,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1195,17 +1102,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1222,7 +1129,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1275,7 +1182,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -1295,7 +1202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1322,7 +1229,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -1365,26 +1272,13 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someClass2 = exports.someClass = exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } -var someClass = /** @class */ (function () { - function someClass() { - } - return someClass; -}()); -exports.someClass = someClass; -var someClass2 = /** @class */ (function () { - function someClass2() { - } - return someClass2; -}()); -exports.someClass2 = someClass2; +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } +export class someClass { +} +export class someClass2 { +} //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -1401,18 +1295,18 @@ export declare class someClass2 { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1468,7 +1362,7 @@ export declare class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1489 + "size": 1501 } @@ -1492,7 +1386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts @@ -1522,12 +1416,12 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1539,7 +1433,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1585,17 +1479,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1479 + "size": 1491 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1612,7 +1506,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1665,7 +1559,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1617 + "size": 1629 } @@ -1685,7 +1579,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -1712,7 +1606,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 385d265e9e9cc..ba50309a235ae 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -103,11 +103,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -118,14 +117,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -138,18 +132,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,56 +199,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -264,12 +221,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -281,7 +238,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -327,52 +284,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -381,12 +302,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -403,7 +324,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -456,7 +377,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -500,19 +421,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) /user/username/projects/sample1/core/index.ts (computed .d.ts during emit) /user/username/projects/sample1/core/some_decl.d.ts (used version) @@ -532,19 +453,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) @@ -563,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts /user/username/projects/sample1/tests/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) @@ -613,31 +534,26 @@ Output:: //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } function foo() { } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -693,7 +609,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1376 + "size": 1388 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -716,7 +632,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/some_decl.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 71cc50929f9b3..a2dfb098814e2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -96,9 +96,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/commonFile1.js] "use strict"; -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile1.d.ts] @@ -107,7 +109,7 @@ declare let x: number; //// [/user/username/projects/project/commonFile2.js] "use strict"; -var y = 1; +let y = 1; //// [/user/username/projects/project/commonFile2.d.ts] @@ -115,17 +117,17 @@ declare let y: number; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -171,12 +173,12 @@ declare let y: number; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 911 } //// [/user/username/projects/project/other.js] "use strict"; -var z = 0; +let z = 0; //// [/user/username/projects/project/other.d.ts] @@ -184,16 +186,16 @@ declare let z: number; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -225,7 +227,7 @@ declare let z: number; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 758 + "size": 770 } @@ -260,17 +262,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (computed .d.ts during emit) /user/username/projects/project/commonfile2.ts (computed .d.ts during emit) @@ -286,15 +288,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/other.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index b76bb959fefa3..d87d617d6bc77 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -39,8 +39,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.js] -var fn = function (a, b) { return b; }; +const fn = (a, b) => b; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] @@ -78,15 +80,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/index.ts (used version) exitCode:: ExitStatus.undefined @@ -144,11 +146,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 6df5e8e0eb514..bdb7de65c89fc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -120,8 +120,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile1.d.ts] @@ -129,7 +131,7 @@ declare let x: number; //// [/user/username/projects/project/commonFile2.js] -var y = 1; +let y = 1; //// [/user/username/projects/project/commonFile2.d.ts] @@ -137,17 +139,17 @@ declare let y: number; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -192,11 +194,11 @@ declare let y: number; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 885 + "size": 897 } //// [/user/username/projects/project/other.js] -var z = 0; +let z = 0; //// [/user/username/projects/project/other.d.ts] @@ -204,16 +206,16 @@ declare let z: number; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -244,11 +246,11 @@ declare let z: number; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 744 + "size": 756 } //// [/user/username/projects/project/other2.js] -var k = 0; +let k = 0; //// [/user/username/projects/project/project3.tsconfig.tsbuildinfo] @@ -302,17 +304,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (computed .d.ts during emit) /user/username/projects/project/commonfile2.ts (computed .d.ts during emit) @@ -327,15 +329,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/other.ts (computed .d.ts during emit) Program root files: [ @@ -351,15 +353,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/other2.ts (used version) exitCode:: ExitStatus.undefined @@ -395,26 +397,26 @@ Output:: //// [/user/username/projects/project/commonFile1.js] "use strict"; -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] "use strict"; -var y = 1; +let y = 1; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -460,7 +462,7 @@ var y = 1; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 911 } @@ -481,12 +483,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts @@ -514,20 +516,20 @@ Output:: //// [/user/username/projects/project/other.js] "use strict"; -var z = 0; +let z = 0; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -559,7 +561,7 @@ var z = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 758 + "size": 770 } @@ -576,11 +578,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts No shapes updated in the builder:: @@ -620,20 +622,20 @@ Output:: //// [/user/username/projects/project/other.js] -var z = 0; +let z = 0; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":false},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":false},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -665,7 +667,7 @@ var z = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 771 } @@ -682,11 +684,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other.ts No shapes updated in the builder:: @@ -726,7 +728,7 @@ Output:: //// [/user/username/projects/project/commonFile2.js] file written with same contents //// [/user/username/projects/project/other.js] "use strict"; -var z = 0; +let z = 0; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] @@ -746,7 +748,7 @@ var z = 0; //// [/user/username/projects/project/other2.js] "use strict"; -var k = 0; +let k = 0; @@ -797,14 +799,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts /user/username/projects/project/other.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts /user/username/projects/project/other.ts @@ -844,25 +846,25 @@ Output:: //// [/user/username/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] -var y = 1; +let y = 1; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -907,7 +909,7 @@ var y = 1; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 885 + "size": 897 } @@ -927,12 +929,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts @@ -961,13 +963,13 @@ Output:: //// [/user/username/projects/project/commonFile1.js] file written with same contents //// [/user/username/projects/project/commonFile2.js] file written with same contents //// [/user/username/projects/project/other.js] -var z = 0; +let z = 0; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] file written with same contents //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/user/username/projects/project/other2.js] -var k = 0; +let k = 0; @@ -985,14 +987,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts /user/username/projects/project/other.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts /user/username/projects/project/other.ts @@ -1053,11 +1055,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other2.ts No shapes updated in the builder:: @@ -1151,11 +1153,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/other2.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js index 71bfd016a901f..2edd50d077e3c 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js @@ -558,11 +558,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; +export const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -570,16 +569,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -608,14 +607,11 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg1 = void 0; -exports.pkg1 = 1; +export const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/index.d.ts] @@ -623,16 +619,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -661,14 +657,11 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg2 = void 0; -exports.pkg2 = 2; +export const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/index.d.ts] @@ -676,16 +669,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -714,14 +707,11 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg3 = void 0; -exports.pkg3 = 3; +export const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/index.d.ts] @@ -729,16 +719,16 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -767,14 +757,11 @@ export declare const pkg3 = 3; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg4 = void 0; -exports.pkg4 = 4; +export const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/index.d.ts] @@ -782,16 +769,16 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -820,14 +807,11 @@ export declare const pkg4 = 4; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg5/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg5 = void 0; -exports.pkg5 = 5; +export const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/index.d.ts] @@ -835,16 +819,16 @@ export declare const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -873,14 +857,11 @@ export declare const pkg5 = 5; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg6/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg6 = void 0; -exports.pkg6 = 6; +export const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/index.d.ts] @@ -888,16 +869,16 @@ export declare const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -926,14 +907,11 @@ export declare const pkg6 = 6; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg7/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg7 = void 0; -exports.pkg7 = 7; +export const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/index.d.ts] @@ -941,16 +919,16 @@ export declare const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -979,14 +957,11 @@ export declare const pkg7 = 7; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg8/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg8 = void 0; -exports.pkg8 = 8; +export const pkg8 = 8; //// [/user/username/projects/myproject/pkg8/index.d.ts] @@ -994,16 +969,16 @@ export declare const pkg8 = 8; //// [/user/username/projects/myproject/pkg8/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14179806504-export const pkg8 = 8;","signature":"-3080014734-export declare const pkg8 = 8;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14179806504-export const pkg8 = 8;","signature":"-3080014734-export declare const pkg8 = 8;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg8/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1032,14 +1007,11 @@ export declare const pkg8 = 8; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg9/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg9 = void 0; -exports.pkg9 = 9; +export const pkg9 = 9; //// [/user/username/projects/myproject/pkg9/index.d.ts] @@ -1047,16 +1019,16 @@ export declare const pkg9 = 9; //// [/user/username/projects/myproject/pkg9/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14140671078-export const pkg9 = 9;","signature":"-6083512972-export declare const pkg9 = 9;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14140671078-export const pkg9 = 9;","signature":"-6083512972-export declare const pkg9 = 9;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg9/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1085,14 +1057,11 @@ export declare const pkg9 = 9; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg10/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg10 = void 0; -exports.pkg10 = 10; +export const pkg10 = 10; //// [/user/username/projects/myproject/pkg10/index.d.ts] @@ -1100,16 +1069,16 @@ export declare const pkg10 = 10; //// [/user/username/projects/myproject/pkg10/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9585933846-export const pkg10 = 10;","signature":"-3553269308-export declare const pkg10 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9585933846-export const pkg10 = 10;","signature":"-3553269308-export declare const pkg10 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg10/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1138,14 +1107,11 @@ export declare const pkg10 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 746 + "size": 758 } //// [/user/username/projects/myproject/pkg11/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg11 = void 0; -exports.pkg11 = 11; +export const pkg11 = 11; //// [/user/username/projects/myproject/pkg11/index.d.ts] @@ -1153,16 +1119,16 @@ export declare const pkg11 = 11; //// [/user/username/projects/myproject/pkg11/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8294465844-export const pkg11 = 11;","signature":"410469094-export declare const pkg11 = 11;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8294465844-export const pkg11 = 11;","signature":"410469094-export declare const pkg11 = 11;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg11/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1191,14 +1157,11 @@ export declare const pkg11 = 11; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 744 + "size": 756 } //// [/user/username/projects/myproject/pkg12/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg12 = void 0; -exports.pkg12 = 12; +export const pkg12 = 12; //// [/user/username/projects/myproject/pkg12/index.d.ts] @@ -1206,16 +1169,16 @@ export declare const pkg12 = 12; //// [/user/username/projects/myproject/pkg12/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7002997842-export const pkg12 = 12;","signature":"-4215727096-export declare const pkg12 = 12;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7002997842-export const pkg12 = 12;","signature":"-4215727096-export declare const pkg12 = 12;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg12/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1244,14 +1207,11 @@ export declare const pkg12 = 12; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 746 + "size": 758 } //// [/user/username/projects/myproject/pkg13/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg13 = void 0; -exports.pkg13 = 13; +export const pkg13 = 13; //// [/user/username/projects/myproject/pkg13/index.d.ts] @@ -1259,16 +1219,16 @@ export declare const pkg13 = 13; //// [/user/username/projects/myproject/pkg13/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10006497136-export const pkg13 = 13;","signature":"-4546955990-export declare const pkg13 = 13;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10006497136-export const pkg13 = 13;","signature":"-4546955990-export declare const pkg13 = 13;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg13/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1297,14 +1257,11 @@ export declare const pkg13 = 13; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } //// [/user/username/projects/myproject/pkg14/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg14 = void 0; -exports.pkg14 = 14; +export const pkg14 = 14; //// [/user/username/projects/myproject/pkg14/index.d.ts] @@ -1312,16 +1269,16 @@ export declare const pkg14 = 14; //// [/user/username/projects/myproject/pkg14/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8715029134-export const pkg14 = 14;","signature":"-583217588-export declare const pkg14 = 14;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8715029134-export const pkg14 = 14;","signature":"-583217588-export declare const pkg14 = 14;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg14/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1350,14 +1307,11 @@ export declare const pkg14 = 14; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 745 + "size": 757 } //// [/user/username/projects/myproject/pkg15/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg15 = void 0; -exports.pkg15 = 15; +export const pkg15 = 15; //// [/user/username/projects/myproject/pkg15/index.d.ts] @@ -1365,16 +1319,16 @@ export declare const pkg15 = 15; //// [/user/username/projects/myproject/pkg15/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7423561132-export const pkg15 = 15;","signature":"-5209413778-export declare const pkg15 = 15;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7423561132-export const pkg15 = 15;","signature":"-5209413778-export declare const pkg15 = 15;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg15/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1403,14 +1357,11 @@ export declare const pkg15 = 15; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 746 + "size": 758 } //// [/user/username/projects/myproject/pkg16/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg16 = void 0; -exports.pkg16 = 16; +export const pkg16 = 16; //// [/user/username/projects/myproject/pkg16/index.d.ts] @@ -1418,16 +1369,16 @@ export declare const pkg16 = 16; //// [/user/username/projects/myproject/pkg16/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6132093130-export const pkg16 = 16;","signature":"-1245675376-export declare const pkg16 = 16;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6132093130-export const pkg16 = 16;","signature":"-1245675376-export declare const pkg16 = 16;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg16/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1456,14 +1407,11 @@ export declare const pkg16 = 16; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 746 + "size": 758 } //// [/user/username/projects/myproject/pkg17/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg17 = void 0; -exports.pkg17 = 17; +export const pkg17 = 17; //// [/user/username/projects/myproject/pkg17/index.d.ts] @@ -1471,16 +1419,16 @@ export declare const pkg17 = 17; //// [/user/username/projects/myproject/pkg17/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17725527016-export const pkg17 = 17;","signature":"-1576904270-export declare const pkg17 = 17;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17725527016-export const pkg17 = 17;","signature":"-1576904270-export declare const pkg17 = 17;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg17/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1509,14 +1457,11 @@ export declare const pkg17 = 17; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } //// [/user/username/projects/myproject/pkg18/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg18 = void 0; -exports.pkg18 = 18; +export const pkg18 = 18; //// [/user/username/projects/myproject/pkg18/index.d.ts] @@ -1524,16 +1469,16 @@ export declare const pkg18 = 18; //// [/user/username/projects/myproject/pkg18/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16434059014-export const pkg18 = 18;","signature":"-1908133164-export declare const pkg18 = 18;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16434059014-export const pkg18 = 18;","signature":"-1908133164-export declare const pkg18 = 18;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg18/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1562,14 +1507,11 @@ export declare const pkg18 = 18; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } //// [/user/username/projects/myproject/pkg19/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg19 = void 0; -exports.pkg19 = 19; +export const pkg19 = 19; //// [/user/username/projects/myproject/pkg19/index.d.ts] @@ -1577,16 +1519,16 @@ export declare const pkg19 = 19; //// [/user/username/projects/myproject/pkg19/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15142591012-export const pkg19 = 19;","signature":"-2239362058-export declare const pkg19 = 19;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15142591012-export const pkg19 = 19;","signature":"-2239362058-export declare const pkg19 = 19;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg19/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1615,14 +1557,11 @@ export declare const pkg19 = 19; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } //// [/user/username/projects/myproject/pkg20/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg20 = void 0; -exports.pkg20 = 20; +export const pkg20 = 20; //// [/user/username/projects/myproject/pkg20/index.d.ts] @@ -1630,16 +1569,16 @@ export declare const pkg20 = 20; //// [/user/username/projects/myproject/pkg20/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14212130036-export const pkg20 = 20;","signature":"-5893888218-export declare const pkg20 = 20;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14212130036-export const pkg20 = 20;","signature":"-5893888218-export declare const pkg20 = 20;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg20/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1668,14 +1607,11 @@ export declare const pkg20 = 20; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } //// [/user/username/projects/myproject/pkg21/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg21 = void 0; -exports.pkg21 = 21; +export const pkg21 = 21; //// [/user/username/projects/myproject/pkg21/index.d.ts] @@ -1683,16 +1619,16 @@ export declare const pkg21 = 21; //// [/user/username/projects/myproject/pkg21/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17215629330-export const pkg21 = 21;","signature":"-6225117112-export declare const pkg21 = 21;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17215629330-export const pkg21 = 21;","signature":"-6225117112-export declare const pkg21 = 21;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg21/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1721,14 +1657,11 @@ export declare const pkg21 = 21; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } //// [/user/username/projects/myproject/pkg22/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg22 = void 0; -exports.pkg22 = 22; +export const pkg22 = 22; //// [/user/username/projects/myproject/pkg22/index.d.ts] @@ -1736,16 +1669,16 @@ export declare const pkg22 = 22; //// [/user/username/projects/myproject/pkg22/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15924161328-export const pkg22 = 22;","signature":"-6556346006-export declare const pkg22 = 22;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15924161328-export const pkg22 = 22;","signature":"-6556346006-export declare const pkg22 = 22;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg22/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1774,7 +1707,7 @@ export declare const pkg22 = 22; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 759 } @@ -1933,15 +1866,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -1955,15 +1888,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -1977,15 +1910,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) Program root files: [ @@ -1999,15 +1932,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (computed .d.ts during emit) Program root files: [ @@ -2021,15 +1954,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg4/index.ts (computed .d.ts during emit) Program root files: [ @@ -2043,15 +1976,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg5/index.ts (computed .d.ts during emit) Program root files: [ @@ -2065,15 +1998,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg6/index.ts (computed .d.ts during emit) Program root files: [ @@ -2087,15 +2020,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg7/index.ts (computed .d.ts during emit) Program root files: [ @@ -2109,15 +2042,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg8/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg8/index.ts (computed .d.ts during emit) Program root files: [ @@ -2131,15 +2064,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg9/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg9/index.ts (computed .d.ts during emit) Program root files: [ @@ -2153,15 +2086,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg10/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg10/index.ts (computed .d.ts during emit) Program root files: [ @@ -2175,15 +2108,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg11/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg11/index.ts (computed .d.ts during emit) Program root files: [ @@ -2197,15 +2130,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg12/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg12/index.ts (computed .d.ts during emit) Program root files: [ @@ -2219,15 +2152,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg13/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg13/index.ts (computed .d.ts during emit) Program root files: [ @@ -2241,15 +2174,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg14/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg14/index.ts (computed .d.ts during emit) Program root files: [ @@ -2263,15 +2196,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg15/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg15/index.ts (computed .d.ts during emit) Program root files: [ @@ -2285,15 +2218,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg16/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg16/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg16/index.ts (computed .d.ts during emit) Program root files: [ @@ -2307,15 +2240,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg17/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg17/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg17/index.ts (computed .d.ts during emit) Program root files: [ @@ -2329,15 +2262,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg18/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg18/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg18/index.ts (computed .d.ts during emit) Program root files: [ @@ -2351,15 +2284,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg19/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg19/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg19/index.ts (computed .d.ts during emit) Program root files: [ @@ -2373,15 +2306,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg20/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg20/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg20/index.ts (computed .d.ts during emit) Program root files: [ @@ -2395,15 +2328,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg21/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg21/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg21/index.ts (computed .d.ts during emit) Program root files: [ @@ -2417,15 +2350,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg22/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg22/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg22/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -2546,24 +2479,21 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; +export const pkg0 = 0; +const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -2592,7 +2522,7 @@ var someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 764 + "size": 776 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -2630,7 +2560,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -2674,12 +2604,9 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -2688,16 +2615,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -2726,7 +2653,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 829 + "size": 841 } @@ -2745,7 +2672,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -2819,7 +2746,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -2837,7 +2764,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -2855,7 +2782,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -2873,7 +2800,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -2891,7 +2818,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -2963,7 +2890,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -2981,7 +2908,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -2999,7 +2926,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: @@ -3017,7 +2944,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: @@ -3035,7 +2962,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: @@ -3107,7 +3034,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: @@ -3125,7 +3052,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: @@ -3143,7 +3070,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: @@ -3161,7 +3088,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: @@ -3179,7 +3106,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: @@ -3251,7 +3178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg16/index.ts Semantic diagnostics in builder refreshed for:: @@ -3269,7 +3196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg17/index.ts Semantic diagnostics in builder refreshed for:: @@ -3287,7 +3214,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg18/index.ts Semantic diagnostics in builder refreshed for:: @@ -3305,7 +3232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg19/index.ts Semantic diagnostics in builder refreshed for:: @@ -3323,7 +3250,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg20/index.ts Semantic diagnostics in builder refreshed for:: @@ -3373,7 +3300,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg21/index.ts Semantic diagnostics in builder refreshed for:: @@ -3391,7 +3318,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg22/index.ts Semantic diagnostics in builder refreshed for:: @@ -3433,13 +3360,10 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst3 = exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; -exports.someConst3 = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; +export const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -3449,16 +3373,16 @@ export declare const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -3487,7 +3411,7 @@ export declare const someConst3 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 911 } @@ -3506,7 +3430,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -3580,7 +3504,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -3598,7 +3522,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -3616,7 +3540,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -3634,7 +3558,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -3652,7 +3576,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -3724,7 +3648,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -3742,7 +3666,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -3760,7 +3684,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: @@ -3778,7 +3702,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: @@ -3796,7 +3720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: @@ -3872,27 +3796,24 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst3 = exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; -exports.someConst3 = 10; -var someConst4 = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; +export const someConst3 = 10; +const someConst4 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -3921,7 +3842,7 @@ var someConst4 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 933 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -3950,7 +3871,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -4024,7 +3945,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: @@ -4042,7 +3963,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: @@ -4060,7 +3981,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: @@ -4078,7 +3999,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: @@ -4096,7 +4017,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: @@ -4132,15 +4053,12 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst5 = exports.someConst3 = exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; -exports.someConst3 = 10; -var someConst4 = 10; -exports.someConst5 = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; +export const someConst3 = 10; +const someConst4 = 10; +export const someConst5 = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -4151,16 +4069,16 @@ export declare const someConst5 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;","signature":"4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;","signature":"4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -4189,7 +4107,7 @@ export declare const someConst5 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 987 + "size": 999 } @@ -4208,7 +4126,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -4282,7 +4200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -4300,7 +4218,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -4318,7 +4236,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -4336,7 +4254,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -4354,7 +4272,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -4426,7 +4344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -4444,7 +4362,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -4462,7 +4380,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: @@ -4480,7 +4398,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: @@ -4498,7 +4416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: @@ -4570,7 +4488,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: @@ -4588,7 +4506,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: @@ -4606,7 +4524,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: @@ -4624,7 +4542,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: @@ -4642,7 +4560,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: @@ -4714,7 +4632,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg16/index.ts Semantic diagnostics in builder refreshed for:: @@ -4732,7 +4650,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg17/index.ts Semantic diagnostics in builder refreshed for:: @@ -4750,7 +4668,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg18/index.ts Semantic diagnostics in builder refreshed for:: @@ -4768,7 +4686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg19/index.ts Semantic diagnostics in builder refreshed for:: @@ -4786,7 +4704,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg20/index.ts Semantic diagnostics in builder refreshed for:: @@ -4836,7 +4754,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg21/index.ts Semantic diagnostics in builder refreshed for:: @@ -4854,7 +4772,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg22/index.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js index 3ff29e459a026..9b42c690b0c8e 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js @@ -98,11 +98,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; +export const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -110,16 +109,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -148,14 +147,11 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg1 = void 0; -exports.pkg1 = 1; +export const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/index.d.ts] @@ -163,16 +159,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -201,14 +197,11 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg2 = void 0; -exports.pkg2 = 2; +export const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/index.d.ts] @@ -216,16 +209,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -254,7 +247,7 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } @@ -293,15 +286,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -315,15 +308,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -337,15 +330,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -386,24 +379,21 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; +export const pkg0 = 0; +const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -432,7 +422,7 @@ var someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 764 + "size": 776 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -450,7 +440,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -494,12 +484,9 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -508,16 +495,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -546,7 +533,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 829 + "size": 841 } @@ -565,7 +552,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -617,7 +604,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -635,7 +622,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js index e10f81e25cbb1..cac791fef9e21 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js @@ -144,11 +144,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; +export const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -156,16 +155,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -194,14 +193,11 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg1 = void 0; -exports.pkg1 = 1; +export const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/index.d.ts] @@ -209,16 +205,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -247,14 +243,11 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg2 = void 0; -exports.pkg2 = 2; +export const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/index.d.ts] @@ -262,16 +255,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -300,14 +293,11 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg3 = void 0; -exports.pkg3 = 3; +export const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/index.d.ts] @@ -315,16 +305,16 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -353,14 +343,11 @@ export declare const pkg3 = 3; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg4 = void 0; -exports.pkg4 = 4; +export const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/index.d.ts] @@ -368,16 +355,16 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -406,7 +393,7 @@ export declare const pkg4 = 4; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } @@ -457,15 +444,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -479,15 +466,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -501,15 +488,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) Program root files: [ @@ -523,15 +510,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (computed .d.ts during emit) Program root files: [ @@ -545,15 +532,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg4/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -602,24 +589,21 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; +export const pkg0 = 0; +const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -648,7 +632,7 @@ var someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 764 + "size": 776 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -668,7 +652,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -712,12 +696,9 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -726,16 +707,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -764,7 +745,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 829 + "size": 841 } @@ -783,7 +764,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -849,7 +830,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -867,7 +848,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -885,7 +866,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -903,7 +884,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js index e6e26ec1cc5e6..16a0481e77de1 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js @@ -213,11 +213,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; +export const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -225,16 +224,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -263,14 +262,11 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg1 = void 0; -exports.pkg1 = 1; +export const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/index.d.ts] @@ -278,16 +274,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -316,14 +312,11 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg2 = void 0; -exports.pkg2 = 2; +export const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/index.d.ts] @@ -331,16 +324,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -369,14 +362,11 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg3 = void 0; -exports.pkg3 = 3; +export const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/index.d.ts] @@ -384,16 +374,16 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -422,14 +412,11 @@ export declare const pkg3 = 3; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg4/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg4 = void 0; -exports.pkg4 = 4; +export const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/index.d.ts] @@ -437,16 +424,16 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -475,14 +462,11 @@ export declare const pkg4 = 4; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg5/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg5 = void 0; -exports.pkg5 = 5; +export const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/index.d.ts] @@ -490,16 +474,16 @@ export declare const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -528,14 +512,11 @@ export declare const pkg5 = 5; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg6/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg6 = void 0; -exports.pkg6 = 6; +export const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/index.d.ts] @@ -543,16 +524,16 @@ export declare const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -581,14 +562,11 @@ export declare const pkg6 = 6; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } //// [/user/username/projects/myproject/pkg7/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg7 = void 0; -exports.pkg7 = 7; +export const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/index.d.ts] @@ -596,16 +574,16 @@ export declare const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -634,7 +612,7 @@ export declare const pkg7 = 7; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 743 + "size": 755 } @@ -703,15 +681,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -725,15 +703,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -747,15 +725,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) Program root files: [ @@ -769,15 +747,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (computed .d.ts during emit) Program root files: [ @@ -791,15 +769,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg4/index.ts (computed .d.ts during emit) Program root files: [ @@ -813,15 +791,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg5/index.ts (computed .d.ts during emit) Program root files: [ @@ -835,15 +813,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg6/index.ts (computed .d.ts during emit) Program root files: [ @@ -857,15 +835,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg7/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -926,24 +904,21 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; +export const pkg0 = 0; +const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -972,7 +947,7 @@ var someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 764 + "size": 776 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -995,7 +970,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1039,12 +1014,9 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -1053,16 +1025,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1091,7 +1063,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 829 + "size": 841 } @@ -1110,7 +1082,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1184,7 +1156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -1202,7 +1174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -1220,7 +1192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -1238,7 +1210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -1256,7 +1228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -1306,7 +1278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -1324,7 +1296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -1366,13 +1338,10 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst3 = exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; -exports.someConst3 = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; +export const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/index.d.ts] @@ -1382,16 +1351,16 @@ export declare const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1420,7 +1389,7 @@ export declare const someConst3 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 911 } @@ -1439,7 +1408,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1513,7 +1482,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -1531,7 +1500,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -1549,7 +1518,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -1567,7 +1536,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -1585,7 +1554,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -1641,27 +1610,24 @@ Output:: //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someConst3 = exports.someConst = exports.pkg0 = void 0; -exports.pkg0 = 0; -var someConst2 = 10; -exports.someConst = 10; -exports.someConst3 = 10; -var someConst4 = 10; +export const pkg0 = 0; +const someConst2 = 10; +export const someConst = 10; +export const someConst3 = 10; +const someConst4 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1690,7 +1656,7 @@ var someConst4 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 933 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -1714,7 +1680,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1766,7 +1732,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -1784,7 +1750,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index bf46179a98f2b..dbb664ca3c8ea 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -80,28 +80,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/shared/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = exports.c = void 0; -exports.f1 = f1; -exports.f2 = f2; /*@before/user/username/projects/myproject/shared/tsconfig.json*/ -function f1() { } -//@after/user/username/projects/myproject/shared/tsconfig.json -var c = /** @class */ (function () { - function c() { - } - return c; -}()); -exports.c = c; +export function f1() { } +export class c { +} //@after/user/username/projects/myproject/shared/tsconfig.json -var e; +export var e; (function (e) { -})(e || (exports.e = e = {})); +})(e || (e = {})); // leading /*@before/user/username/projects/myproject/shared/tsconfig.json*/ -function f2() { } // trailing +export function f2() { } // trailing //// [/user/username/projects/myproject/shared/index.d.ts] @@ -114,16 +106,16 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -154,31 +146,21 @@ export declare function f2(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 930 + "size": 942 } //// [/user/username/projects/myproject/webpack/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e2 = exports.c2 = void 0; -exports.f2 = f2; -exports.f22 = f22; /*@before/user/username/projects/myproject/webpack/tsconfig.json*/ -function f2() { } -//@after/user/username/projects/myproject/webpack/tsconfig.json -var c2 = /** @class */ (function () { - function c2() { - } - return c2; -}()); -exports.c2 = c2; +export function f2() { } +export class c2 { +} //@after/user/username/projects/myproject/webpack/tsconfig.json -var e2; +export var e2; (function (e2) { -})(e2 || (exports.e2 = e2 = {})); +})(e2 || (e2 = {})); // leading /*@before/user/username/projects/myproject/webpack/tsconfig.json*/ -function f22() { } // trailing +export function f22() { } // trailing //// [/user/username/projects/myproject/webpack/index.d.ts] @@ -191,16 +173,16 @@ export declare function f22(): void; //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +213,7 @@ export declare function f22(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 937 + "size": 949 } @@ -263,15 +245,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/shared/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/shared/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/shared/index.ts (used version) Program root files: [ @@ -284,15 +266,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/webpack/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/webpack/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/webpack/index.ts (used version) exitCode:: ExitStatus.undefined @@ -327,30 +309,19 @@ Output:: //// [/user/username/projects/myproject/shared/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.e = exports.c = void 0; -exports.fooBar = fooBar; -exports.f1 = f1; -exports.f2 = f2; /*@before/user/username/projects/myproject/shared/tsconfig.json*/ -function fooBar() { } +export function fooBar() { } /*@before/user/username/projects/myproject/shared/tsconfig.json*/ -function f1() { } -//@after/user/username/projects/myproject/shared/tsconfig.json -var c = /** @class */ (function () { - function c() { - } - return c; -}()); -exports.c = c; +export function f1() { } +export class c { +} //@after/user/username/projects/myproject/shared/tsconfig.json -var e; +export var e; (function (e) { -})(e || (exports.e = e = {})); +})(e || (e = {})); // leading /*@before/user/username/projects/myproject/shared/tsconfig.json*/ -function f2() { } // trailing +export function f2() { } // trailing //// [/user/username/projects/myproject/shared/index.d.ts] @@ -364,16 +335,16 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","signature":"1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","signature":"1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -402,7 +373,7 @@ export declare function f2(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 999 + "size": 1011 } @@ -438,7 +409,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/shared/index.ts Semantic diagnostics in builder refreshed for:: @@ -457,7 +428,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/webpack/index.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 0fa0854b219bf..9b0b7a3d7b55f 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -98,9 +98,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/reexport/out/pure/session.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/reexport/out/pure/session.d.ts] @@ -110,23 +111,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./session"), exports); +export * from "./session"; //// [/user/username/projects/reexport/out/pure/index.d.ts] @@ -134,12 +119,12 @@ export * from "./session"; //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/pure/session.ts", "../../src/pure/index.ts" ], @@ -149,7 +134,7 @@ export * from "./session"; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -193,14 +178,11 @@ export * from "./session"; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 977 + "size": 989 } //// [/user/username/projects/reexport/out/main/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.session = void 0; -exports.session = { +export const session = { foo: 1 }; @@ -256,17 +238,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/src/pure/session.ts /user/username/projects/reexport/src/pure/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/src/pure/session.ts /user/username/projects/reexport/src/pure/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/reexport/src/pure/session.ts (computed .d.ts during emit) /user/username/projects/reexport/src/pure/index.ts (used version) @@ -282,19 +264,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/out/pure/session.d.ts /user/username/projects/reexport/out/pure/index.d.ts /user/username/projects/reexport/src/main/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/out/pure/session.d.ts /user/username/projects/reexport/out/pure/index.d.ts /user/username/projects/reexport/src/main/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/reexport/out/pure/session.d.ts (used version) /user/username/projects/reexport/out/pure/index.d.ts (used version) /user/username/projects/reexport/src/main/index.ts (used version) @@ -340,12 +322,12 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n","-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n","-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/pure/session.ts", "../../src/pure/index.ts" ], @@ -355,7 +337,7 @@ export interface Session { ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -395,7 +377,7 @@ export interface Session { }, "latestChangedDtsFile": "./session.d.ts", "version": "FakeTSVersion", - "size": 887 + "size": 899 } @@ -458,7 +440,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/src/pure/session.ts /user/username/projects/reexport/src/pure/index.ts @@ -482,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/out/pure/session.d.ts /user/username/projects/reexport/out/pure/index.d.ts /user/username/projects/reexport/src/main/index.ts @@ -537,12 +519,12 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/pure/session.ts", "../../src/pure/index.ts" ], @@ -552,7 +534,7 @@ export interface Session { ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -596,7 +578,7 @@ export interface Session { }, "latestChangedDtsFile": "./session.d.ts", "version": "FakeTSVersion", - "size": 979 + "size": 991 } @@ -648,7 +630,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/src/pure/session.ts /user/username/projects/reexport/src/pure/index.ts @@ -672,7 +654,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/reexport/out/pure/session.d.ts /user/username/projects/reexport/out/pure/index.d.ts /user/username/projects/reexport/src/main/index.ts diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index 379469dad85e6..2c1d6277a0ce3 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -98,8 +98,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -112,7 +112,7 @@ projects/shared/src/random.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -127,8 +127,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -145,11 +145,10 @@ projects/server/src/server.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } @@ -159,15 +158,8 @@ export declare function log(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MyClass = void 0; -var MyClass = /** @class */ (function () { - function MyClass() { - } - return MyClass; -}()); -exports.MyClass = MyClass; +export class MyClass { +} //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts] @@ -176,10 +168,7 @@ export declare class MyClass { //// [/home/src/workspaces/solution/projects/shared/dist/src/random.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.randomFn = randomFn; -function randomFn(str) { +export function randomFn(str) { console.log(str); } @@ -189,18 +178,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -253,13 +242,12 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1146 + "size": 1158 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log('Hello, world!'); +export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.d.ts] @@ -267,12 +255,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2292560907-export declare function log(str: string): void;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2292560907-export declare function log(str: string): void;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -287,7 +275,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -375,7 +363,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -397,7 +385,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1345 + "size": 1357 } @@ -439,19 +427,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts /home/src/workspaces/solution/projects/shared/src/random.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts /home/src/workspaces/solution/projects/shared/src/random.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/projects/shared/src/logging.ts (computed .d.ts during emit) /home/src/workspaces/solution/projects/shared/src/myclass.ts (computed .d.ts during emit) /home/src/workspaces/solution/projects/shared/src/random.ts (computed .d.ts during emit) @@ -481,7 +469,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts /home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts /home/src/workspaces/solution/projects/shared/dist/src/random.d.ts @@ -490,7 +478,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts (used version) /home/src/workspaces/solution/projects/shared/dist/src/myclass.d.ts (used version) /home/src/workspaces/solution/projects/shared/dist/src/random.d.ts (used version) @@ -531,8 +519,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -542,14 +530,10 @@ projects/shared/src/random.ts //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts] @@ -558,18 +542,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -622,7 +606,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -641,7 +625,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -656,8 +640,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -675,12 +659,12 @@ projects/server/src/server.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -695,7 +679,7 @@ projects/server/src/server.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -783,7 +767,7 @@ projects/server/src/server.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -805,7 +789,7 @@ projects/server/src/server.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1376 + "size": 1388 } @@ -826,7 +810,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts /home/src/workspaces/solution/projects/shared/src/random.ts @@ -862,7 +846,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts /home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts /home/src/workspaces/solution/projects/shared/dist/src/random.d.ts @@ -903,8 +887,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -912,17 +896,17 @@ projects/shared/src/myClass.ts //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -964,7 +948,7 @@ projects/shared/src/myClass.ts }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1001 + "size": 1013 } @@ -1007,7 +991,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -1022,8 +1006,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -1038,12 +1022,12 @@ projects/server/src/server.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", @@ -1056,7 +1040,7 @@ projects/server/src/server.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1129,7 +1113,7 @@ projects/server/src/server.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1147,7 +1131,7 @@ projects/server/src/server.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1228 + "size": 1240 } @@ -1167,7 +1151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts @@ -1199,7 +1183,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts /home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts /home/src/workspaces/solution/projects/server/src/server.ts diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js index 6ebd3d73dd0a5..3b336b924c4a7 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js @@ -98,8 +98,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -112,7 +112,7 @@ projects/shared/src/random.ts ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -127,8 +127,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -145,11 +145,10 @@ projects/shared/dist/src/random.d.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } @@ -159,15 +158,8 @@ export declare function log(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MyClass = void 0; -var MyClass = /** @class */ (function () { - function MyClass() { - } - return MyClass; -}()); -exports.MyClass = MyClass; +export class MyClass { +} //// [/home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts] @@ -176,10 +168,7 @@ export declare class MyClass { //// [/home/src/workspaces/solution/projects/shared/dist/src/random.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.randomFn = randomFn; -function randomFn(str) { +export function randomFn(str) { console.log(str); } @@ -189,18 +178,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -253,13 +242,12 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1146 + "size": 1158 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log('Hello, world!'); +export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.d.ts] @@ -267,12 +255,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"2292560907-export declare function log(str: string): void;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"2292560907-export declare function log(str: string): void;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -287,7 +275,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -375,7 +363,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -397,7 +385,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1345 + "size": 1357 } @@ -439,19 +427,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts /home/src/workspaces/solution/projects/shared/src/random.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts /home/src/workspaces/solution/projects/shared/src/random.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/projects/shared/src/logging.ts (computed .d.ts during emit) /home/src/workspaces/solution/projects/shared/src/myclass.ts (computed .d.ts during emit) /home/src/workspaces/solution/projects/shared/src/random.ts (computed .d.ts during emit) @@ -481,7 +469,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts /home/src/workspaces/solution/projects/server/src/server.ts /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts @@ -490,7 +478,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/solution/projects/shared/dist/src/myclass.d.ts (used version) /home/src/workspaces/solution/projects/server/src/server.ts (computed .d.ts during emit) /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts (used version) @@ -531,8 +519,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -542,14 +530,10 @@ projects/shared/src/random.ts //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.log = log; -function log(str) { +export function log(str) { console.log(str); } -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts] @@ -558,18 +542,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -622,7 +606,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -641,7 +625,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -656,8 +640,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -675,12 +659,12 @@ projects/shared/dist/src/random.d.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -695,7 +679,7 @@ projects/shared/dist/src/random.d.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -783,7 +767,7 @@ projects/shared/dist/src/random.d.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -805,7 +789,7 @@ projects/shared/dist/src/random.d.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1376 + "size": 1388 } @@ -826,7 +810,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts /home/src/workspaces/solution/projects/shared/src/random.ts @@ -862,7 +846,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts /home/src/workspaces/solution/projects/server/src/server.ts /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts @@ -903,8 +887,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -912,17 +896,17 @@ projects/shared/src/myClass.ts //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../tslibs/ts/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -964,7 +948,7 @@ projects/shared/src/myClass.ts }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1001 + "size": 1013 } @@ -1007,7 +991,7 @@ Output:: ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. @@ -1022,8 +1006,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -1038,12 +1022,12 @@ projects/shared/dist/src/logging.d.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../tslibs/ts/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./src/server.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -1056,7 +1040,7 @@ projects/shared/dist/src/logging.d.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1129,7 +1113,7 @@ projects/shared/dist/src/logging.d.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.d.ts", + "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1147,7 +1131,7 @@ projects/shared/dist/src/logging.d.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1228 + "size": 1240 } @@ -1167,7 +1151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts @@ -1199,7 +1183,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/solution/projects/shared/dist/src/myClass.d.ts /home/src/workspaces/solution/projects/server/src/server.ts /home/src/workspaces/solution/projects/shared/dist/src/logging.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index c841487001b29..6deec0ba03e26 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -126,11 +126,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/pkg0/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg0 = void 0; -exports.pkg0 = 0; +export const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] @@ -147,10 +146,7 @@ exports.pkg0 = 0; } //// [/user/username/projects/myproject/pkg1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg1 = void 0; -exports.pkg1 = 1; +export const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] @@ -167,10 +163,7 @@ exports.pkg1 = 1; } //// [/user/username/projects/myproject/pkg2/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg2 = void 0; -exports.pkg2 = 2; +export const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] @@ -187,10 +180,7 @@ exports.pkg2 = 2; } //// [/user/username/projects/myproject/pkg3/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.pkg3 = void 0; -exports.pkg3 = 3; +export const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] @@ -250,17 +240,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts /user/username/projects/myproject/typings/xterm.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts /user/username/projects/myproject/typings/xterm.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -275,17 +265,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts /user/username/projects/myproject/typings/xterm.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts /user/username/projects/myproject/typings/xterm.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -300,17 +290,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts /user/username/projects/myproject/typings/xterm.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts /user/username/projects/myproject/typings/xterm.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -325,17 +315,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts /user/username/projects/myproject/typings/xterm.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts /user/username/projects/myproject/typings/xterm.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -425,7 +415,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -446,7 +436,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -467,7 +457,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -488,7 +478,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg3/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -652,7 +642,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg0/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -673,7 +663,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg1/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -694,7 +684,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/pkg2/index.ts /user/username/projects/myproject/typings/xterm.d.ts diff --git a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js index c34d0371286f6..cce1a2cc45eba 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js @@ -43,16 +43,12 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -exports.C = /** @class */ (function () { - function CReal() { - this.d = 1; - } - return CReal; -}()); +export var C = class CReal { + d = 1; +}; //// [/user/username/projects/myproject/c.d.ts] @@ -64,17 +60,10 @@ export declare var C: { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -86,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -98,15 +85,8 @@ export {}; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.D = void 0; -var D = /** @class */ (function () { - function D() { - } - return D; -}()); -exports.D = D; +export class D { +} //// [/user/username/projects/myproject/d.d.ts] @@ -115,12 +95,12 @@ export declare class D { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -135,7 +115,7 @@ export declare class D { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -203,7 +183,7 @@ export declare class D { ] }, "version": "FakeTSVersion", - "size": 1282 + "size": 1294 } @@ -220,21 +200,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -257,12 +237,12 @@ Operation ws cancelled:: true //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -277,7 +257,7 @@ Operation ws cancelled:: true ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,7 +328,7 @@ Operation ws cancelled:: true "./c.ts" ], "version": "FakeTSVersion", - "size": 1327 + "size": 1339 } @@ -365,7 +345,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -383,17 +363,10 @@ Change:: Normal build Input:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -exports.foo = foo; -exports.C = /** @class */ (function () { - function CReal() { - this.d = 1; - } - return CReal; -}()); -function foo() { } +export var C = class CReal { + d = 1; +}; +export function foo() { } //// [/user/username/projects/myproject/c.d.ts] @@ -409,12 +382,12 @@ export declare function foo(): void; //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -429,7 +402,7 @@ export declare function foo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -497,7 +470,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 1344 + "size": 1356 } @@ -514,7 +487,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -560,21 +533,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js index e4d1ba3f8b637..528f61e078dd4 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js @@ -43,16 +43,12 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -exports.C = /** @class */ (function () { - function CReal() { - this.d = 1; - } - return CReal; -}()); +export var C = class CReal { + d = 1; +}; //// [/user/username/projects/myproject/c.d.ts] @@ -64,17 +60,10 @@ export declare var C: { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -86,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -98,15 +85,8 @@ export {}; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.D = void 0; -var D = /** @class */ (function () { - function D() { - } - return D; -}()); -exports.D = D; +export class D { +} //// [/user/username/projects/myproject/d.d.ts] @@ -115,12 +95,12 @@ export declare class D { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -135,7 +115,7 @@ export declare class D { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -203,7 +183,7 @@ export declare class D { ] }, "version": "FakeTSVersion", - "size": 1282 + "size": 1294 } @@ -220,21 +200,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -257,12 +237,12 @@ Operation ws cancelled:: true //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -277,7 +257,7 @@ Operation ws cancelled:: true ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,7 +328,7 @@ Operation ws cancelled:: true "./c.ts" ], "version": "FakeTSVersion", - "size": 1327 + "size": 1339 } @@ -365,7 +345,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -383,17 +363,10 @@ Change:: Normal build Input:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -exports.foo = foo; -exports.C = /** @class */ (function () { - function CReal() { - this.d = 1; - } - return CReal; -}()); -function foo() { } +export var C = class CReal { + d = 1; +}; +export function foo() { } //// [/user/username/projects/myproject/c.d.ts] @@ -409,12 +382,12 @@ export declare function foo(): void; //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -429,7 +402,7 @@ export declare function foo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -497,7 +470,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 1344 + "size": 1356 } @@ -514,7 +487,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -560,21 +533,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js index 6341254d3e748..a155c0f627e4a 100644 --- a/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js @@ -108,7 +108,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js index 12729b55ad4fe..c4f82b2bba8a8 100644 --- a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js @@ -108,7 +108,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js index 12729b55ad4fe..c4f82b2bba8a8 100644 --- a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js @@ -108,7 +108,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/commandLine/help-all.js b/tests/baselines/reference/tsc/commandLine/help-all.js index f0a4d50e418a5..c3915014a0e70 100644 --- a/tests/baselines/reference/tsc/commandLine/help-all.js +++ b/tests/baselines/reference/tsc/commandLine/help-all.js @@ -603,7 +603,7 @@ default: `React` --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --useDefineForClassFields Emit ECMAScript-standard-compliant class fields. diff --git a/tests/baselines/reference/tsc/commandLine/help.js b/tests/baselines/reference/tsc/commandLine/help.js index 22cd46fc2a7a4..2e41f84b9dbca 100644 --- a/tests/baselines/reference/tsc/commandLine/help.js +++ b/tests/baselines/reference/tsc/commandLine/help.js @@ -107,7 +107,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index 6341254d3e748..a155c0f627e4a 100644 --- a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -108,7 +108,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js index 6341254d3e748..a155c0f627e4a 100644 --- a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js +++ b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js @@ -108,7 +108,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/composite/converting-to-modules.js b/tests/baselines/reference/tsc/composite/converting-to-modules.js index 18f4cdc9795fc..876ec2c6ad478 100644 --- a/tests/baselines/reference/tsc/composite/converting-to-modules.js +++ b/tests/baselines/reference/tsc/composite/converting-to-modules.js @@ -38,8 +38,10 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/main.js] -var x = 10; +const x = 10; //// [/home/src/workspaces/project/src/main.d.ts] @@ -47,16 +49,16 @@ declare const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -88,7 +90,7 @@ declare const x = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -98,7 +100,7 @@ declare const x = 10; ], "latestChangedDtsFile": "./src/main.d.ts", "version": "FakeTSVersion", - "size": 783 + "size": 795 } @@ -122,16 +124,16 @@ Output:: //// [/home/src/workspaces/project/src/main.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"module":5},"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"module":5},"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -163,7 +165,7 @@ Output:: }, "latestChangedDtsFile": "./src/main.d.ts", "version": "FakeTSVersion", - "size": 748 + "size": 760 } diff --git a/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-error-on-jsx-element.js b/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-error-on-jsx-element.js index 5c05d826b70a6..0fc6dadac787e 100644 --- a/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-error-on-jsx-element.js +++ b/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-error-on-jsx-element.js @@ -53,7 +53,7 @@ Found 1 error in src/main.tsx:1 -//// [/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/projects/project/src/main.js] "use strict"; @@ -68,12 +68,12 @@ export default _default; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.es2022.full.d.ts","./node_modules/solid-js/jsx-runtime.d.ts","./src/main.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3511680495-export namespace JSX {\n type IntrinsicElements = { div: {}; };\n}\n","impliedFormat":99},{"version":"-359851309-export default
;","signature":"2119670487-declare const _default: any;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"jsx":4,"jsxImportSource":"solid-js","module":100},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":15,"length":6,"code":1479,"category":1,"messageText":{"messageText":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"solid-js/jsx-runtime\")' call instead.","category":1,"code":1479,"next":[{"info":true}]}}]]],"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/solid-js/jsx-runtime.d.ts","./src/main.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3511680495-export namespace JSX {\n type IntrinsicElements = { div: {}; };\n}\n","impliedFormat":99},{"version":"-359851309-export default
;","signature":"2119670487-declare const _default: any;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"jsx":4,"jsxImportSource":"solid-js","module":100},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":15,"length":6,"code":1479,"category":1,"messageText":{"messageText":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"solid-js/jsx-runtime\")' call instead.","category":1,"code":1479,"next":[{"info":true}]}}]]],"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2022.full.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/solid-js/jsx-runtime.d.ts", "./src/main.tsx" ], @@ -83,7 +83,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2022.full.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, diff --git a/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-no-crash-no-jsx-element.js b/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-no-crash-no-jsx-element.js index 01bb569579cae..2a565e806ac91 100644 --- a/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-no-crash-no-jsx-element.js +++ b/tests/baselines/reference/tsc/composite/synthetic-jsx-import-of-ESM-module-from-CJS-module-no-crash-no-jsx-element.js @@ -44,7 +44,7 @@ declare const console: { log(msg: any): void; }; Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/projects/project/src/main.js] "use strict"; @@ -58,12 +58,12 @@ export default _default; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.es2022.full.d.ts","./node_modules/solid-js/jsx-runtime.d.ts","./src/main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3511680495-export namespace JSX {\n type IntrinsicElements = { div: {}; };\n}\n","impliedFormat":99},{"version":"-1874019635-export default 42;","signature":"-5660511115-declare const _default: 42;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"jsx":4,"jsxImportSource":"solid-js","module":100},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/solid-js/jsx-runtime.d.ts","./src/main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3511680495-export namespace JSX {\n type IntrinsicElements = { div: {}; };\n}\n","impliedFormat":99},{"version":"-1874019635-export default 42;","signature":"-5660511115-declare const _default: 42;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"jsx":4,"jsxImportSource":"solid-js","module":100},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/main.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2022.full.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/solid-js/jsx-runtime.d.ts", "./src/main.ts" ], @@ -73,7 +73,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2022.full.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, diff --git a/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js index fe15cccf555cc..836fe08d9347d 100644 --- a/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors-with-incremental.js @@ -61,8 +61,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" @@ -74,7 +74,7 @@ Found 1 error in index.ts:2 -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/index.js] import ky from 'ky'; @@ -82,12 +82,12 @@ export const api = ky.extend({}); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.esnext.full.d.ts","./node_modules/ky/distribution/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","impliedFormat":99},{"version":"-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n","impliedFormat":99}],"root":[3],"options":{"composite":true,"module":199,"skipDefaultLibCheck":true,"skipLibCheck":true},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":34,"length":3,"messageText":"Exported variable 'api' has or is using name 'KyInstance' from external module \"/home/src/workspaces/project/node_modules/ky/distribution/index\" but cannot be named.","category":1,"code":4023}]]],"emitSignatures":[3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/ky/distribution/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","impliedFormat":99},{"version":"-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n","impliedFormat":99}],"root":[3],"options":{"composite":true,"module":199,"skipDefaultLibCheck":true,"skipLibCheck":true},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":34,"length":3,"messageText":"Exported variable 'api' has or is using name 'KyInstance' from external module \"/home/src/workspaces/project/node_modules/ky/distribution/index\" but cannot be named.","category":1,"code":4023}]]],"emitSignatures":[3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.esnext.full.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/ky/distribution/index.d.ts", "./index.ts" ], @@ -97,7 +97,7 @@ export const api = ky.extend({}); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.esnext.full.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -179,8 +179,8 @@ Output:: 2 export const api = ky.extend({});    ~~~ -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" @@ -213,8 +213,8 @@ Output:: 2 export const api = ky.extend({});    ~~~ -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors.js b/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors.js index 42c79a0d3e091..13456d9704fc8 100644 --- a/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsc/declarationEmit/multiFile/reports-dts-generation-errors.js @@ -59,8 +59,8 @@ Output::    ~~~ TSFILE: /home/src/workspaces/project/index.js -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" @@ -72,7 +72,7 @@ Found 1 error in index.ts:2 -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/index.js] import ky from 'ky'; @@ -94,8 +94,8 @@ Output::    ~~~ TSFILE: /home/src/workspaces/project/index.js -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" @@ -131,8 +131,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'index.ts' File is ECMAScript module because 'node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js index 61fa0184eb915..6d9483640e2a1 100644 --- a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors-with-incremental.js @@ -62,8 +62,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -76,6 +76,8 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outFile.js] var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -90,17 +92,17 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n"],"root":[3],"options":{"composite":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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n"],"root":[3],"options":{"composite":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] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./ky.d.ts", "./src/index.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./ky.d.ts": "10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n", "./src/index.ts": "-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n" }, @@ -119,7 +121,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -146,7 +148,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky ] ], "version": "FakeTSVersion", - "size": 1129 + "size": 1141 } @@ -173,8 +175,8 @@ Output:: 8 "outFile": "./outFile.js"    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -218,8 +220,8 @@ Output:: 8 "outFile": "./outFile.js"    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js index b914d2cb2e9ff..8536f837e4037 100644 --- a/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsc/declarationEmit/outFile/reports-dts-generation-errors.js @@ -66,8 +66,8 @@ Output::    ~~~~~~~~~ TSFILE: /home/src/workspaces/project/outFile.js -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -80,6 +80,8 @@ Errors Files 3 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outFile.js] var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -124,8 +126,8 @@ Output::    ~~~~~~~~~ TSFILE: /home/src/workspaces/project/outFile.js -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -178,8 +180,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts diff --git a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js index 73b940950b463..76a4ded21fbce 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js +++ b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js @@ -89,7 +89,7 @@ declare const console: { log(msg: any): void; }; Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -99,7 +99,7 @@ File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -138,8 +138,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -153,11 +153,10 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/myproject/${configDir}/outDir/types/sometype.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/projects/myproject/decls/types/sometype.d.ts] @@ -165,11 +164,8 @@ export declare const x = 10; //// [/home/src/projects/myproject/${configDir}/outDir/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; // some comment -exports.y = 10; +export const y = 10; //// [/home/src/projects/myproject/decls/main.d.ts] @@ -177,11 +173,8 @@ export declare const y = 10; //// [/home/src/projects/myproject/${configDir}/outDir/src/secondary.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; // some comment -exports.z = 10; +export const z = 10; //// [/home/src/projects/myproject/decls/src/secondary.d.ts] diff --git a/tests/baselines/reference/tsc/extends/configDir-template.js b/tests/baselines/reference/tsc/extends/configDir-template.js index 7a7d21009928f..87dc85ca8d4ae 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template.js +++ b/tests/baselines/reference/tsc/extends/configDir-template.js @@ -89,7 +89,7 @@ declare const console: { log(msg: any): void; }; Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -99,7 +99,7 @@ File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -138,8 +138,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -153,11 +153,10 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/myproject/outDir/types/sometype.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/projects/myproject/decls/types/sometype.d.ts] @@ -165,11 +164,8 @@ export declare const x = 10; //// [/home/src/projects/myproject/outDir/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; // some comment -exports.y = 10; +export const y = 10; //// [/home/src/projects/myproject/decls/main.d.ts] @@ -177,11 +173,8 @@ export declare const y = 10; //// [/home/src/projects/myproject/outDir/src/secondary.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; // some comment -exports.z = 10; +export const z = 10; //// [/home/src/projects/myproject/decls/src/secondary.d.ts] diff --git a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js index 54534519066f0..37eb329c48fa2 100644 --- a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js @@ -46,11 +46,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/user/projects/myproject/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/users/user/projects/myproject/src/index.d.ts] @@ -58,16 +57,16 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -97,7 +96,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 778 + "size": 790 } diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 4f4cff27c106c..2f3ad4cbd926f 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -279,8 +279,8 @@ Output::    ~~~~~~~~~~ File is included via import here. -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -309,14 +309,14 @@ Errors Files 2 src/Struct.d.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/src/anotherFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/projects/project/src/oneMore.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js index f1a23afbfbd77..2a0bdde9ab6d0 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js @@ -54,8 +54,8 @@ Output::    ~~~~~~~~~~ File is included via import here. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/struct.d.ts' Imported via "fp-ts/lib/struct" from file 'src/struct.d.ts' @@ -68,5 +68,7 @@ Found 2 errors in the same file, starting at: src/struct.d.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js index 4316d7d794c3a..7fccbf40bfe58 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js @@ -41,8 +41,8 @@ File name '/user/username/projects/myproject/src/fileOne.d.ts' has a '.d.ts' ext File '/user/username/projects/myproject/src/fileOne.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/src/fileOne.d.ts', result '/user/username/projects/myproject/src/fileOne.d.ts'. ======== Type reference directive './fileOne.d.ts' was successfully resolved to '/user/username/projects/myproject/src/fileOne.d.ts', primary: false. ======== -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/fileOne.d.ts Type library referenced via './fileOne.d.ts' from file 'src/file2.d.ts' Matched by default include pattern '**/*' @@ -50,5 +50,7 @@ src/file2.d.ts Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent-with---ignoreConfig.js b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent-with---ignoreConfig.js index a2d3630d02462..1397239eb9293 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent-with---ignoreConfig.js @@ -28,11 +28,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent.js b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent.js index 72ee85b0a2744..887133bd5705c 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-when-config-file-absent.js @@ -28,11 +28,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-with---ignoreConfig.js b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-with---ignoreConfig.js index e4196077b3396..04a3eb7b3135b 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-with---ignoreConfig.js @@ -35,11 +35,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/specifying-project-with---ignoreConfig.js b/tests/baselines/reference/tsc/ignoreConfig/specifying-project-with---ignoreConfig.js index 20402ba5337e3..137221ccb9abf 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-project-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-project-with---ignoreConfig.js @@ -35,18 +35,14 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; //// [/home/src/workspaces/project/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js b/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js index 2f596a54fcbe4..4947e898ef67b 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js @@ -35,18 +35,14 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; //// [/home/src/workspaces/project/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js index 1fa6fdc7af707..b49d7d9265f4a 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js @@ -117,7 +117,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js index 1fcbaf3afb591..9cd500c6acb4a 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js @@ -117,7 +117,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es5 +default: es2024 --module, -m Specify what module code is generated. diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-with---ignoreConfig.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-with---ignoreConfig.js index 9de2d8f0387c7..d33543d15e705 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-with---ignoreConfig.js @@ -35,18 +35,14 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; //// [/home/src/workspaces/project/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js index 57960b2c91698..d7c22bd5dbdc9 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js @@ -35,18 +35,14 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; //// [/home/src/workspaces/project/src/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; diff --git a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js index aa13d3e4a2936..b3467c95436ef 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js +++ b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js @@ -41,20 +41,31 @@ type InstanceType any> = T extends abst /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/MessageablePerson.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var Messageable = function () { - return /** @class */ (function () { - function MessageableClass() { - this.message = 'hello'; - } - return MessageableClass; - }()); +const Messageable = () => { + return class MessageableClass { + message = 'hello'; + }; }; -var wrapper = function () { return Messageable(); }; +const wrapper = () => Messageable(); +export {}; //// [/home/src/workspaces/project/MessageablePerson.d.ts] @@ -68,11 +79,10 @@ export default MessageablePerson; //// [/home/src/workspaces/project/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); function logMessage(person) { console.log(person.message); } +export {}; //// [/home/src/workspaces/project/main.d.ts] @@ -80,12 +90,12 @@ export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[2,[{"start":169,"length":12,"messageText":"Cannot find name 'InstanceType'.","category":1,"code":2304},{"start":182,"length":10,"messageText":"Cannot find name 'ReturnType'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -95,13 +105,13 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "signature": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -139,12 +149,33 @@ export {}; "./messageableperson.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "./messageableperson.ts", + [ + { + "start": 169, + "length": 12, + "messageText": "Cannot find name 'InstanceType'.", + "category": 1, + "code": 2304 + }, + { + "start": 182, + "length": 10, + "messageText": "Cannot find name 'ReturnType'.", + "category": 1, + "code": 2304 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 1579 + "size": 1602 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -152,10 +183,23 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: modify public to protected @@ -173,11 +217,6 @@ export default MessageablePerson; /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: -main.ts:3:25 - error TS2445: Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses. - -3 console.log( person.message ); -   ~~~~~~~ - MessageablePerson.ts:6:7 - error TS4094: Property 'message' of exported anonymous class type may not be private or protected. 6 const wrapper = () => Messageable(); @@ -188,24 +227,31 @@ Output::    ~~~~~~~ Add a type annotation to the variable wrapper. +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. -Found 2 errors in 2 files. +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 3 errors in the same file, starting at: MessageablePerson.ts:6 -Errors Files - 1 main.ts:3 - 1 MessageablePerson.ts:6 //// [/home/src/workspaces/project/MessageablePerson.js] file written with same contents //// [/home/src/workspaces/project/main.js] file written with same contents //// [/home/src/workspaces/project/main.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-6547480893-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported anonymous class type may not be private or protected."},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":131,"length":7,"messageText":"Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.","category":1,"code":2445}]]],"emitDiagnosticsPerFile":[[2,[{"start":116,"length":7,"messageText":"Property 'message' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":116,"length":7,"messageText":"Add a type annotation to the variable wrapper.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-6547480893-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported anonymous class type may not be private or protected."},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[2,[{"start":172,"length":12,"messageText":"Cannot find name 'InstanceType'.","category":1,"code":2304},{"start":185,"length":10,"messageText":"Cannot find name 'ReturnType'.","category":1,"code":2304}]]],"emitDiagnosticsPerFile":[[2,[{"start":116,"length":7,"messageText":"Property 'message' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":116,"length":7,"messageText":"Add a type annotation to the variable wrapper.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -215,13 +261,13 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "signature": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -261,14 +307,21 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "./main.ts", + "./messageableperson.ts", [ { - "start": 131, - "length": 7, - "messageText": "Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.", + "start": 172, + "length": 12, + "messageText": "Cannot find name 'InstanceType'.", "category": 1, - "code": 2445 + "code": 2304 + }, + { + "start": 185, + "length": 10, + "messageText": "Cannot find name 'ReturnType'.", + "category": 1, + "code": 2304 } ] ] @@ -297,7 +350,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2209 + "size": 2025 } @@ -309,11 +362,6 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: -main.ts:3:25 - error TS2445: Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses. - -3 console.log( person.message ); -   ~~~~~~~ - MessageablePerson.ts:6:7 - error TS4094: Property 'message' of exported anonymous class type may not be private or protected. 6 const wrapper = () => Messageable(); @@ -324,12 +372,19 @@ Output::    ~~~~~~~ Add a type annotation to the variable wrapper. +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ -Found 2 errors in 2 files. +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 3 errors in the same file, starting at: MessageablePerson.ts:6 -Errors Files - 1 main.ts:3 - 1 MessageablePerson.ts:6 @@ -351,6 +406,19 @@ export default MessageablePerson; /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + //// [/home/src/workspaces/project/MessageablePerson.js] file written with same contents @@ -358,12 +426,12 @@ Output:: //// [/home/src/workspaces/project/main.js] file written with same contents //// [/home/src/workspaces/project/main.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[2,[{"start":169,"length":12,"messageText":"Cannot find name 'InstanceType'.","category":1,"code":2304},{"start":182,"length":10,"messageText":"Cannot find name 'ReturnType'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -373,13 +441,13 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "signature": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -417,12 +485,33 @@ Output:: "./messageableperson.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "./messageableperson.ts", + [ + { + "start": 169, + "length": 12, + "messageText": "Cannot find name 'InstanceType'.", + "category": 1, + "code": 2304 + }, + { + "start": 182, + "length": 10, + "messageText": "Cannot find name 'ReturnType'.", + "category": 1, + "code": 2304 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 1579 + "size": 1602 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -430,7 +519,20 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js index b871906647d59..54296d0284e6e 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js +++ b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js @@ -41,37 +41,47 @@ type InstanceType any> = T extends abst /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/MessageablePerson.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var Messageable = function () { - return /** @class */ (function () { - function MessageableClass() { - this.message = 'hello'; - } - return MessageableClass; - }()); +const Messageable = () => { + return class MessageableClass { + message = 'hello'; + }; }; -var wrapper = function () { return Messageable(); }; +const wrapper = () => Messageable(); +export {}; //// [/home/src/workspaces/project/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); function logMessage(person) { console.log(person.message); } +export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}"],"root":[2,3],"options":{"declaration":false},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}"],"root":[2,3],"options":{"declaration":false},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[2,[{"start":169,"length":12,"messageText":"Cannot find name 'InstanceType'.","category":1,"code":2304},{"start":182,"length":10,"messageText":"Cannot find name 'ReturnType'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -81,13 +91,13 @@ function logMessage(person) { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "signature": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -117,12 +127,33 @@ function logMessage(person) { "./messageableperson.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "./messageableperson.ts", + [ + { + "start": 169, + "length": 12, + "messageText": "Cannot find name 'InstanceType'.", + "category": 1, + "code": 2304 + }, + { + "start": 182, + "length": 10, + "messageText": "Cannot find name 'ReturnType'.", + "category": 1, + "code": 2304 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 1301 + "size": 1324 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -130,10 +161,23 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: modify public to protected @@ -151,25 +195,30 @@ export default MessageablePerson; /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: -main.ts:3:25 - error TS2445: Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses. +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ -3 console.log( person.message ); -   ~~~~~~~ +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ -Found 1 error in main.ts:3 + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 //// [/home/src/workspaces/project/MessageablePerson.js] file written with same contents //// [/home/src/workspaces/project/main.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-6547480893-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported anonymous class type may not be private or protected."},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":false},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":131,"length":7,"messageText":"Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.","category":1,"code":2445}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-6547480893-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported anonymous class type may not be private or protected."},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":false},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[2,[{"start":172,"length":12,"messageText":"Cannot find name 'InstanceType'.","category":1,"code":2304},{"start":185,"length":10,"messageText":"Cannot find name 'ReturnType'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -179,13 +228,13 @@ Found 1 error in main.ts:3 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "signature": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -225,20 +274,27 @@ Found 1 error in main.ts:3 }, "semanticDiagnosticsPerFile": [ [ - "./main.ts", + "./messageableperson.ts", [ { - "start": 131, - "length": 7, - "messageText": "Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.", + "start": 172, + "length": 12, + "messageText": "Cannot find name 'InstanceType'.", + "category": 1, + "code": 2304 + }, + { + "start": 185, + "length": 10, + "messageText": "Cannot find name 'ReturnType'.", "category": 1, - "code": 2445 + "code": 2304 } ] ] ], "version": "FakeTSVersion", - "size": 1890 + "size": 1706 } @@ -250,13 +306,18 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: -main.ts:3:25 - error TS2445: Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses. +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ -3 console.log( person.message ); -   ~~~~~~~ +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ -Found 1 error in main.ts:3 + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 @@ -279,17 +340,30 @@ export default MessageablePerson; /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + //// [/home/src/workspaces/project/MessageablePerson.js] file written with same contents //// [/home/src/workspaces/project/main.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":false},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./messageableperson.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":false},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[2,[{"start":169,"length":12,"messageText":"Cannot find name 'InstanceType'.","category":1,"code":2304},{"start":182,"length":10,"messageText":"Cannot find name 'ReturnType'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -299,13 +373,13 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "signature": "-53631447317-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -343,12 +417,33 @@ Output:: "./messageableperson.ts" ] }, + "semanticDiagnosticsPerFile": [ + [ + "./messageableperson.ts", + [ + { + "start": 169, + "length": 12, + "messageText": "Cannot find name 'InstanceType'.", + "category": 1, + "code": 2304 + }, + { + "start": 182, + "length": 10, + "messageText": "Cannot find name 'ReturnType'.", + "category": 1, + "code": 2304 + } + ] + ] + ], "version": "FakeTSVersion", - "size": 1580 + "size": 1603 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Change:: no-change-run @@ -356,7 +451,20 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: +MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~~~ + +MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. + +7 type MessageablePerson = InstanceType>; +   ~~~~~~~~~~ + + +Found 2 errors in the same file, starting at: MessageablePerson.ts:7 + -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index 3b7a57a26b421..3fb7532c385e7 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -39,8 +39,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/class1.js] -var a = 1; +const a = 1; console.log(a); @@ -49,9 +51,7 @@ declare const a = 1; //// [/home/src/workspaces/project/constants.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 1; +export default 1; //// [/home/src/workspaces/project/constants.d.ts] @@ -60,14 +60,7 @@ export default _default; //// [/home/src/workspaces/project/reexport.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ConstantNumber = void 0; -var constants_1 = require("./constants"); -Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: function () { return __importDefault(constants_1).default; } }); +export { default as ConstantNumber } from "./constants"; //// [/home/src/workspaces/project/reexport.d.ts] @@ -75,12 +68,12 @@ export { default as ConstantNumber } from "./constants"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileIdsList":[[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./reexport.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileIdsList":[[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./reexport.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./class1.ts", "./constants.ts", "./reexport.ts", @@ -95,7 +88,7 @@ export { default as ConstantNumber } from "./constants"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -167,7 +160,7 @@ export { default as ConstantNumber } from "./constants"; }, "latestChangedDtsFile": "./reexport.d.ts", "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } @@ -197,9 +190,7 @@ declare const a = 2; //// [/home/src/workspaces/project/constants.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 2; +export default 2; //// [/home/src/workspaces/project/constants.d.ts] @@ -209,12 +200,12 @@ export default _default; //// [/home/src/workspaces/project/reexport.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileIdsList":[[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileIdsList":[[3],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./class1.ts", "./constants.ts", "./reexport.ts", @@ -229,7 +220,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -315,7 +306,7 @@ export default _default; ], "latestChangedDtsFile": "./class1.d.ts", "version": "FakeTSVersion", - "size": 1418 + "size": 1430 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index 24d9579f06578..ee0c6bd42970c 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -36,8 +36,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/class1.js] -var a = 1; +const a = 1; console.log(a); @@ -46,9 +48,7 @@ declare const a = 1; //// [/home/src/workspaces/project/constants.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 1; +export default 1; //// [/home/src/workspaces/project/constants.d.ts] @@ -57,12 +57,12 @@ export default _default; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./constants.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./constants.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./class1.ts", "./constants.ts", "./types.d.ts" @@ -73,7 +73,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,7 +133,7 @@ export default _default; }, "latestChangedDtsFile": "./constants.d.ts", "version": "FakeTSVersion", - "size": 1076 + "size": 1088 } @@ -163,9 +163,7 @@ declare const a = 2; //// [/home/src/workspaces/project/constants.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 2; +export default 2; //// [/home/src/workspaces/project/constants.d.ts] @@ -174,12 +172,12 @@ export default _default; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileIdsList":[[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./class1.ts", "./constants.ts", "./types.d.ts" @@ -190,7 +188,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -264,7 +262,7 @@ export default _default; ], "latestChangedDtsFile": "./class1.d.ts", "version": "FakeTSVersion", - "size": 1216 + "size": 1228 } diff --git a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js index e94ee39f798c2..336e1f14683db 100644 --- a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js +++ b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js @@ -64,9 +64,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outDir/src/box.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/outDir/src/box.d.ts] @@ -76,8 +77,7 @@ export interface Box { //// [/home/src/workspaces/project/outDir/src/wrap.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/outDir/src/wrap.d.ts] @@ -89,60 +89,21 @@ export type Wrap = { //// [/home/src/workspaces/project/outDir/src/bug.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bug = void 0; -var B = __importStar(require("./box.js")); -var W = __importStar(require("./wrap.js")); +import * as B from "./box.js"; +import * as W from "./wrap.js"; /** * @template {object} C * @param {C} source * @returns {W.Wrap} */ -var wrap = function (source) { +const wrap = source => { throw source; }; /** * @returns {B.Box} */ -var box = function (n) { - if (n === void 0) { n = 0; } - return ({ unbox: function () { return n; } }); -}; -exports.bug = wrap({ n: box(1) }); +const box = (n = 0) => ({ unbox: () => n }); +export const bug = wrap({ n: box(1) }); //// [/home/src/workspaces/project/outDir/src/bug.d.ts] @@ -154,12 +115,12 @@ import * as W from "./wrap.js"; //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n"},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n"},{"version":"-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n","signature":"-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n"}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n"},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n"},{"version":"-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n","signature":"-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n"}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/box.ts", "../src/wrap.ts", "../src/bug.js" @@ -171,7 +132,7 @@ import * as W from "./wrap.js"; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +192,7 @@ import * as W from "./wrap.js"; }, "latestChangedDtsFile": "./src/bug.d.ts", "version": "FakeTSVersion", - "size": 1593 + "size": 1605 } @@ -267,61 +228,22 @@ Output:: //// [/home/src/workspaces/project/outDir/src/bug.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.something = exports.bug = void 0; -var B = __importStar(require("./box.js")); -var W = __importStar(require("./wrap.js")); +import * as B from "./box.js"; +import * as W from "./wrap.js"; /** * @template {object} C * @param {C} source * @returns {W.Wrap} */ -var wrap = function (source) { +const wrap = source => { throw source; }; /** * @returns {B.Box} */ -var box = function (n) { - if (n === void 0) { n = 0; } - return ({ unbox: function () { return n; } }); -}; -exports.bug = wrap({ n: box(1) }); -exports.something = 1; +const box = (n = 0) => ({ unbox: () => n }); +export const bug = wrap({ n: box(1) }); +export const something = 1; //// [/home/src/workspaces/project/outDir/src/bug.d.ts] @@ -334,12 +256,12 @@ import * as W from "./wrap.js"; //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n"},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n"},{"version":"-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;","signature":"-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n"}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n"},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n"},{"version":"-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;","signature":"-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n"}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/box.ts", "../src/wrap.ts", "../src/bug.js" @@ -351,7 +273,7 @@ import * as W from "./wrap.js"; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -411,7 +333,7 @@ import * as W from "./wrap.js"; }, "latestChangedDtsFile": "./src/bug.d.ts", "version": "FakeTSVersion", - "size": 1648 + "size": 1660 } diff --git a/tests/baselines/reference/tsc/incremental/multiFile/different-options-discrepancies.js b/tests/baselines/reference/tsc/incremental/multiFile/different-options-discrepancies.js index 10a80338092bd..ebb3f9bd22947 100644 --- a/tests/baselines/reference/tsc/incremental/multiFile/different-options-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/multiFile/different-options-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -54,7 +54,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -106,7 +106,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -155,7 +155,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -207,7 +207,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -256,7 +256,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental-discrepancies.js index 6958d0133182f..c32c8308cf3ce 100644 --- a/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -49,7 +49,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -101,7 +101,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -145,7 +145,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental.js b/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental.js index 553b799301a67..604dd0ca5d852 100644 --- a/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental.js +++ b/tests/baselines/reference/tsc/incremental/multiFile/different-options-with-incremental.js @@ -38,45 +38,35 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -91,7 +81,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,7 +130,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 857 + "size": 869 } @@ -156,21 +146,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (used version) /home/src/workspaces/project/c.ts (used version) @@ -187,44 +177,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -239,7 +217,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -291,20 +269,20 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 886 + "size": 898 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/b.js.map] -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/c.js.map] -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} //// [/home/src/workspaces/project/d.js.map] -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} Program root files: [ @@ -320,7 +298,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -341,44 +319,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -393,7 +359,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -442,7 +408,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 857 + "size": 869 } @@ -458,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -479,12 +445,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -499,7 +465,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -567,7 +533,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1164 + "size": 1176 } //// [/home/src/workspaces/project/a.d.ts] @@ -600,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -621,12 +587,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -641,7 +607,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -710,7 +676,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1186 + "size": 1198 } //// [/home/src/workspaces/project/a.d.ts] @@ -756,7 +722,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -789,7 +755,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -813,20 +779,17 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -841,7 +804,7 @@ var aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -906,7 +869,7 @@ var aLocal = 100; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1146 } @@ -922,7 +885,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -945,12 +908,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -965,7 +928,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1034,7 +997,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1187 + "size": 1199 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1060,7 +1023,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1093,7 +1056,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1114,44 +1077,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= +export const a = 10; +const aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEdBQUcsQ0FBQyJ9 //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= +export const b = 10; +const bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEVBQUUsQ0FBQyJ9 //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { a } from "./a"; +export const c = a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { b } from "./b"; +export const d = b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1166,7 +1117,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1234,7 +1185,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1169 + "size": 1181 } @@ -1251,7 +1202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1272,44 +1223,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1324,7 +1263,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1392,11 +1331,11 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1163 + "size": 1175 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,GAAG,CAAC"} //// [/home/src/workspaces/project/b.js.map] file written with same contents //// [/home/src/workspaces/project/c.js.map] file written with same contents @@ -1415,7 +1354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1436,44 +1375,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1488,7 +1415,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1553,7 +1480,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1146 } @@ -1569,7 +1496,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1590,12 +1517,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1610,7 +1537,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1679,7 +1606,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1187 + "size": 1199 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1705,7 +1632,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1740,7 +1667,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/incremental/multiFile/different-options.js b/tests/baselines/reference/tsc/incremental/multiFile/different-options.js index 78896889879d0..d32a367bc6d46 100644 --- a/tests/baselines/reference/tsc/incremental/multiFile/different-options.js +++ b/tests/baselines/reference/tsc/incremental/multiFile/different-options.js @@ -38,12 +38,11 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/a.d.ts] @@ -51,11 +50,8 @@ export declare const a = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -63,11 +59,8 @@ export declare const b = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/c.d.ts] @@ -75,11 +68,8 @@ export declare const c = 10; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/d.d.ts] @@ -87,12 +77,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -107,7 +97,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -176,7 +166,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -192,21 +182,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts /home/src/workspaces/project/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) /home/src/workspaces/project/c.ts (computed .d.ts during emit) @@ -223,44 +213,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -275,7 +253,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -345,20 +323,20 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1213 + "size": 1225 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/b.js.map] -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"} //// [/home/src/workspaces/project/c.js.map] -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} //// [/home/src/workspaces/project/d.js.map] -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"} Program root files: [ @@ -374,7 +352,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -395,44 +373,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 10; +export const a = 10; +const aLocal = 10; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -447,7 +413,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -516,7 +482,7 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -532,7 +498,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -566,7 +532,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -599,7 +565,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -636,12 +602,12 @@ export declare const d = 10; //# sourceMappingURL=d.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -656,7 +622,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -727,7 +693,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1237 + "size": 1249 } //// [/home/src/workspaces/project/a.d.ts.map] @@ -757,7 +723,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -794,12 +760,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -814,7 +780,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -883,7 +849,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -899,7 +865,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -933,7 +899,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -966,7 +932,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -990,20 +956,17 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1018,7 +981,7 @@ var aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1087,7 +1050,7 @@ var aLocal = 100; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1197 + "size": 1209 } @@ -1103,7 +1066,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1139,7 +1102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1160,44 +1123,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= +export const a = 10; +const aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEdBQUcsQ0FBQyJ9 //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= +export const b = 10; +const bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEVBQUUsQ0FBQyJ9 //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { a } from "./a"; +export const c = a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +import { b } from "./b"; +export const d = b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1212,7 +1163,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1282,7 +1233,7 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1220 + "size": 1232 } @@ -1299,7 +1250,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1320,44 +1271,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1372,7 +1311,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1442,11 +1381,11 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1214 + "size": 1226 } //// [/home/src/workspaces/project/a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,GAAG,CAAC"} //// [/home/src/workspaces/project/b.js.map] file written with same contents //// [/home/src/workspaces/project/c.js.map] file written with same contents @@ -1465,7 +1404,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1494,11 +1433,8 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //// [/home/src/workspaces/project/a.d.ts] @@ -1506,11 +1442,8 @@ export declare const a = 10; //# sourceMappingURL=a.d.ts.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -1518,11 +1451,8 @@ export declare const b = 10; //# sourceMappingURL=b.d.ts.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //// [/home/src/workspaces/project/c.d.ts] @@ -1530,11 +1460,8 @@ export declare const c = 10; //# sourceMappingURL=c.d.ts.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //// [/home/src/workspaces/project/d.d.ts] @@ -1542,12 +1469,12 @@ export declare const d = 10; //# sourceMappingURL=d.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1562,7 +1489,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1632,7 +1559,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1219 + "size": 1231 } //// [/home/src/workspaces/project/a.d.ts.map] file written with same contents @@ -1653,7 +1580,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1674,44 +1601,32 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; -var aLocal = 100; +export const a = 10; +const aLocal = 100; //# sourceMappingURL=a.js.map //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; -var bLocal = 10; +export const b = 10; +const bLocal = 10; //# sourceMappingURL=b.js.map //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; +import { a } from "./a"; +export const c = a; //# sourceMappingURL=c.js.map //// [/home/src/workspaces/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; +import { b } from "./b"; +export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileIdsList":[[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"sourceMap":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1726,7 +1641,7 @@ exports.d = b_1.b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1797,7 +1712,7 @@ exports.d = b_1.b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1236 + "size": 1248 } //// [/home/src/workspaces/project/a.js.map] file written with same contents @@ -1819,7 +1734,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/incremental/outFile/different-options-discrepancies.js b/tests/baselines/reference/tsc/incremental/outFile/different-options-discrepancies.js index 0150b50b7cb26..79d56fa906ff8 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -38,7 +38,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -74,7 +74,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -107,7 +107,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -143,7 +143,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -176,7 +176,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", diff --git a/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental-discrepancies.js index b095f92cef9e5..f9ad7e748273b 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -34,7 +34,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -69,7 +69,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -98,7 +98,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", diff --git a/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js b/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js index 3760aa1194cc5..16df9671290c7 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options-with-incremental.js @@ -53,20 +53,22 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -83,19 +85,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -121,7 +123,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -142,7 +144,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 883 + "size": 895 } @@ -160,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -199,14 +201,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -223,19 +225,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -262,7 +264,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -283,11 +285,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 900 + "size": 912 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -344,14 +346,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -368,19 +370,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -406,7 +408,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -427,7 +429,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 883 + "size": 895 } @@ -445,7 +447,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -479,19 +481,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -518,7 +520,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -539,7 +541,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 902 + "size": 914 } //// [/home/src/workspaces/outFile.d.ts] @@ -573,7 +575,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -607,19 +609,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -647,7 +649,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -668,7 +670,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 924 + "size": 936 } //// [/home/src/workspaces/outFile.d.ts] @@ -706,7 +708,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -754,7 +756,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -796,14 +798,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -820,19 +822,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -858,7 +860,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -879,7 +881,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 884 + "size": 896 } @@ -897,7 +899,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -931,19 +933,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -971,7 +973,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -992,7 +994,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 925 + "size": 937 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1014,7 +1016,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1062,7 +1064,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1101,14 +1103,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1122,22 +1124,22 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = void 0; exports.d = b_1.b; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1164,7 +1166,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1185,7 +1187,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 907 + "size": 919 } @@ -1204,7 +1206,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1243,14 +1245,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1267,19 +1269,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1306,7 +1308,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1327,11 +1329,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 901 + "size": 913 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -1349,7 +1351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1388,14 +1390,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1412,19 +1414,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1450,7 +1452,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1471,7 +1473,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 884 + "size": 896 } @@ -1489,7 +1491,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1523,19 +1525,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1563,7 +1565,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1584,7 +1586,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 925 + "size": 937 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1606,7 +1608,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1656,7 +1658,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/incremental/outFile/different-options.js b/tests/baselines/reference/tsc/incremental/outFile/different-options.js index 71295b12474f1..3370d69d3da4c 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options.js @@ -53,20 +53,22 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -98,19 +100,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -137,7 +139,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -160,7 +162,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1183 + "size": 1195 } @@ -178,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -217,14 +219,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -241,19 +243,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -281,7 +283,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -304,11 +306,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1200 + "size": 1212 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -326,7 +328,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -365,14 +367,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 10; + const aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -389,19 +391,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -428,7 +430,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -451,7 +453,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1183 + "size": 1195 } @@ -469,7 +471,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -518,7 +520,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -566,7 +568,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -615,19 +617,19 @@ declare module "d" { //# sourceMappingURL=outFile.d.ts.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -656,7 +658,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -679,7 +681,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1224 + "size": 1236 } //// [/home/src/workspaces/outFile.d.ts.map] @@ -702,7 +704,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -751,19 +753,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -790,7 +792,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -813,7 +815,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1183 + "size": 1195 } @@ -831,7 +833,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -880,7 +882,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -928,7 +930,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -970,14 +972,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -994,19 +996,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1033,7 +1035,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1056,7 +1058,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1184 + "size": 1196 } @@ -1074,7 +1076,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1123,7 +1125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1162,14 +1164,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1183,22 +1185,22 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = void 0; exports.d = b_1.b; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1226,7 +1228,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1249,7 +1251,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1207 + "size": 1219 } @@ -1268,7 +1270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1307,14 +1309,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1331,19 +1333,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1371,7 +1373,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1394,11 +1396,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1201 + "size": 1213 } //// [/home/src/workspaces/outFile.js.map] -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,MAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} Program root files: [ @@ -1416,7 +1418,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1465,14 +1467,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1504,19 +1506,19 @@ declare module "d" { //# sourceMappingURL=outFile.d.ts.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1544,7 +1546,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1567,7 +1569,7 @@ declare module "d" { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1206 + "size": 1218 } //// [/home/src/workspaces/outFile.d.ts.map] file written with same contents @@ -1587,7 +1589,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1626,14 +1628,14 @@ define("a", ["require", "exports"], function (require, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; exports.a = 10; - var aLocal = 100; + const aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b = void 0; exports.b = 10; - var bLocal = 10; + const bLocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -1650,19 +1652,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=outFile.js.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"semanticDiagnosticsPerFile":[1,2,3,4,5],"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1691,7 +1693,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1714,7 +1716,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "outSignature": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1223 + "size": 1235 } //// [/home/src/workspaces/outFile.js.map] file written with same contents @@ -1735,7 +1737,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash-under---strict.js index 6399f99bc1cd1..e1914db5fa756 100644 --- a/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash-under---strict.js @@ -57,27 +57,29 @@ Found 1 error in src/index.tsx:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/home/src/workspaces/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/home/src/workspaces/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/index.tsx", "./node_modules/@types/react/index.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,7 +131,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1279 + "size": 1291 } diff --git a/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash.js index cf23bc789738a..f16bab0166a3a 100644 --- a/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash.js @@ -49,27 +49,29 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/index.tsx", "./node_modules/@types/react/index.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -106,7 +108,7 @@ exports.App = App; "module": 1 }, "version": "FakeTSVersion", - "size": 1001 + "size": 1013 } diff --git a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js index cd78877d946f5..01d6e8f2c4322 100644 --- a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js +++ b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js @@ -48,24 +48,24 @@ Output:: 10 (    ~~~~~~~~~ -index.tsx:10:3 - error TS2746: This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided. - -10 ( -   ~~~~~~~~~ - index.tsx:10:3 - error TS2769: No overload matches this call. This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided. - This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided. + Overload 2 of 2, '(props: { children?: number | undefined; }): any', gave the following error. + Type '{ children: any[]; }' is not assignable to type '{ children?: number | undefined; }'. + Types of property 'children' are incompatible. + Type 'any[]' is not assignable to type 'number'. 10 (    ~~~~~~~~~ -Found 3 errors in the same file, starting at: index.tsx:10 +Found 2 errors in the same file, starting at: index.tsx:10 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/index.js] "use strict"; (React.createElement(Component, null, @@ -74,22 +74,22 @@ Found 3 errors in the same file, starting at: index.tsx:10 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"-31042277357-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }","affectsGlobalScope":true},{"version":"42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)","affectsGlobalScope":true}],"root":[2],"options":{"jsx":2,"module":99,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided."},{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided."}]},"relatedInformation":[]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)","affectsGlobalScope":true}],"root":[2],"options":{"jsx":2,"module":99,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided."},{"messageText":"Overload 2 of 2, '(props: { children?: number | undefined; }): any', gave the following error.","category":1,"code":2772,"next":[{"messageText":"Type '{ children: any[]; }' is not assignable to type '{ children?: number | undefined; }'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'children' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type 'any[]' is not assignable to type 'number'.","category":1,"code":2322,"canonicalHead":{"code":2322,"messageText":"Type '{ children: any[]; }' is not assignable to type '{ children?: number | undefined; }'."}}]}]}]}]},"relatedInformation":[]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./index.tsx" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-31042277357-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-31042277357-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }", - "signature": "-31042277357-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./index.tsx": { @@ -124,13 +124,6 @@ Found 3 errors in the same file, starting at: index.tsx:10 "category": 1, "code": 2746 }, - { - "start": 265, - "length": 9, - "messageText": "This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided.", - "category": 1, - "code": 2746 - }, { "start": 265, "length": 9, @@ -147,9 +140,34 @@ Found 3 errors in the same file, starting at: index.tsx:10 "messageText": "This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided." }, { - "code": 2746, + "messageText": "Overload 2 of 2, '(props: { children?: number | undefined; }): any', gave the following error.", "category": 1, - "messageText": "This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided." + "code": 2772, + "next": [ + { + "messageText": "Type '{ children: any[]; }' is not assignable to type '{ children?: number | undefined; }'.", + "category": 1, + "code": 2322, + "next": [ + { + "messageText": "Types of property 'children' are incompatible.", + "category": 1, + "code": 2326, + "next": [ + { + "messageText": "Type 'any[]' is not assignable to type 'number'.", + "category": 1, + "code": 2322, + "canonicalHead": { + "code": 2322, + "messageText": "Type '{ children: any[]; }' is not assignable to type '{ children?: number | undefined; }'." + } + } + ] + } + ] + } + ] } ] }, @@ -159,7 +177,7 @@ Found 3 errors in the same file, starting at: index.tsx:10 ] ], "version": "FakeTSVersion", - "size": 1914 + "size": 2139 } @@ -176,21 +194,19 @@ Output:: 10 (    ~~~~~~~~~ -index.tsx:10:3 - error TS2746: This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided. - -10 ( -   ~~~~~~~~~ - index.tsx:10:3 - error TS2769: No overload matches this call. This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided. - This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided. + Overload 2 of 2, '(props: { children?: number | undefined; }): any', gave the following error. + Type '{ children: any[]; }' is not assignable to type '{ children?: number | undefined; }'. + Types of property 'children' are incompatible. + Type 'any[]' is not assignable to type 'number'. 10 (    ~~~~~~~~~ -Found 3 errors in the same file, starting at: index.tsx:10 +Found 2 errors in the same file, starting at: index.tsx:10 diff --git a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js index fa1c2dc708af9..0fd94adbd4cc5 100644 --- a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js @@ -29,23 +29,22 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/workspaces/project/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -66,7 +65,7 @@ exports.x = 10; ] ], "version": "FakeTSVersion", - "size": 584 + "size": 596 } @@ -76,7 +75,7 @@ Change:: tsbuildinfo written has error Input:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -Some random string{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +Some random string{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} /home/src/tslibs/TS/Lib/tsc.js -i @@ -84,7 +83,7 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/main.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js index 16497affeed69..efe7752857bb7 100644 --- a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js +++ b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js @@ -33,16 +33,11 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outDir/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - } - return C; -}()); -exports.C = C; +export class C { +} //// [/home/src/workspaces/project/outDir/file1.d.ts] @@ -51,15 +46,8 @@ export declare class C { //// [/home/src/workspaces/project/outDir/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.D = void 0; -var D = /** @class */ (function () { - function D() { - } - return D; -}()); -exports.D = D; +export class D { +} //// [/home/src/workspaces/project/outDir/file2.d.ts] @@ -68,17 +56,17 @@ export declare class D { //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../file1.ts", "../file2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -120,7 +108,7 @@ export declare class D { }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 853 + "size": 865 } @@ -136,16 +124,16 @@ Output:: //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../file1.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../file1.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../file1.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -175,7 +163,7 @@ Output:: }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 736 + "size": 748 } diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index 293cb9813c157..cc6fae17f01de 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -60,6 +60,8 @@ Errors Files 1 src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/filePresent.js] function something() { return 10; } @@ -89,12 +91,12 @@ declare function main(): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/main.ts", @@ -107,7 +109,7 @@ declare function main(): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -176,7 +178,7 @@ declare function main(): void; "latestChangedDtsFile": "./src/main.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1429 + "size": 1441 } @@ -191,19 +193,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/src/filepresent.ts (computed .d.ts during emit) /home/src/workspaces/project/src/anotherfilewithsamereferenes.ts (computed .d.ts during emit) /home/src/workspaces/project/src/main.ts (computed .d.ts during emit) @@ -246,7 +248,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts @@ -295,12 +297,12 @@ something(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-24702349751-/// \n/// \nfunction main() { }\nsomething();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-24702349751-/// \n/// \nfunction main() { }\nsomething();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/main.ts", @@ -313,7 +315,7 @@ something(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -382,7 +384,7 @@ something(); "latestChangedDtsFile": "./src/main.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1441 + "size": 1453 } @@ -397,7 +399,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts @@ -449,12 +451,12 @@ something(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-20086051197-/// \n/// \nfunction main() { }\nsomething();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-20086051197-/// \n/// \nfunction main() { }\nsomething();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/main.ts", @@ -467,7 +469,7 @@ something(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -536,7 +538,7 @@ something(); "latestChangedDtsFile": "./src/main.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1453 + "size": 1465 } @@ -551,7 +553,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts @@ -611,12 +613,12 @@ foo(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,6],[2,4,6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[3,1],[5,2]],"latestChangedDtsFile":"./src/newFile.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"fileIdsList":[[2,6],[2,4,6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[3,1],[5,2]],"latestChangedDtsFile":"./src/newFile.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/newfile.ts", @@ -635,7 +637,7 @@ foo(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -716,7 +718,7 @@ foo(); "latestChangedDtsFile": "./src/newFile.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1667 + "size": 1679 } //// [/home/src/workspaces/project/src/newFile.js] @@ -740,14 +742,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/newFile.ts /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/newFile.ts @@ -776,12 +778,12 @@ Output:: //// [/home/src/workspaces/project/src/anotherFileWithSameReferenes.js] file written with same contents //// [/home/src/workspaces/project/src/main.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileIdsList":[[2,3],[2,3,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,6]],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileIdsList":[[2,3],[2,3,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,6]],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/filepresent.ts", "./src/filenotfound.ts", "./src/anotherfilewithsamereferenes.ts", @@ -800,7 +802,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -891,7 +893,7 @@ Output:: }, "latestChangedDtsFile": "./src/fileNotFound.d.ts", "version": "FakeTSVersion", - "size": 1815 + "size": 1827 } //// [/home/src/workspaces/project/src/newFile.js] file written with same contents @@ -917,7 +919,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/fileNotFound.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts @@ -925,7 +927,7 @@ Program files:: /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/fileNotFound.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts @@ -968,12 +970,12 @@ something(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileIdsList":[[2,3],[2,3,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,6]],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileIdsList":[[2,3],[2,3,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,6]],"options":{"composite":true},"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/filepresent.ts", "./src/filenotfound.ts", "./src/anotherfilewithsamereferenes.ts", @@ -992,7 +994,7 @@ something(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1083,7 +1085,7 @@ something(); }, "latestChangedDtsFile": "./src/fileNotFound.d.ts", "version": "FakeTSVersion", - "size": 1826 + "size": 1838 } @@ -1100,7 +1102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/fileNotFound.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index 9323244cc7a7e..805109f15b698 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -60,12 +60,11 @@ Found 1 error in project2/tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/projects/project2/class2.js] -var class2 = /** @class */ (function () { - function class2() { - } - return class2; -}()); +class class2 { +} //// [/home/src/workspaces/projects/project2/class2.d.ts] @@ -74,17 +73,17 @@ declare class class2 { //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -125,7 +124,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -139,7 +138,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 891 + "size": 903 } @@ -201,18 +200,18 @@ Found 1 error in project2/tsconfig.json:3 //// [/home/src/workspaces/projects/project2/class2.js] file written with same contents //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -262,7 +261,7 @@ Found 1 error in project2/tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -280,7 +279,7 @@ Found 1 error in project2/tsconfig.json:3 ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 995 + "size": 1007 } @@ -340,17 +339,17 @@ Found 2 errors in the same file, starting at: project2/tsconfig.json:3 //// [/home/src/workspaces/projects/project2/class2.js] file written with same contents //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -391,7 +390,7 @@ Found 2 errors in the same file, starting at: project2/tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -405,7 +404,7 @@ Found 2 errors in the same file, starting at: project2/tsconfig.json:3 ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 891 + "size": 903 } @@ -432,18 +431,18 @@ Found 1 error in project2/tsconfig.json:3 //// [/home/src/workspaces/projects/project2/class2.js] file written with same contents //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -493,7 +492,7 @@ Found 1 error in project2/tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -511,7 +510,7 @@ Found 1 error in project2/tsconfig.json:3 ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 995 + "size": 1007 } diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js index 8d5335cf081a7..d76b3a046ec8a 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js @@ -30,24 +30,23 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/dist/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"outDir":"./dist","rootDir":"./src"},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"outDir":"./dist","rootDir":"./src"},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -72,7 +71,7 @@ exports.x = 10; "rootDir": "./src" }, "version": "FakeTSVersion", - "size": 636 + "size": 648 } diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js index 6f53a7bdf354f..5f801b6242613 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js @@ -31,24 +31,23 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/built/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/workspaces/project/built/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"outDir":"./","rootDir":".."},"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"outDir":"./","rootDir":".."},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/built/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/main.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -73,7 +72,7 @@ exports.x = 10; "rootDir": ".." }, "version": "FakeTSVersion", - "size": 633 + "size": 645 } diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js index 11d8a3c625cc0..ea1b2e059a275 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js @@ -43,28 +43,26 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 1 /* A.ONE */; +import { A } from "./b"; +let b = 1 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 1 /* A.ONE */; +let a = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -78,7 +76,7 @@ var a = 1 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -119,7 +117,7 @@ var a = 1 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 902 + "size": 914 } @@ -141,27 +139,23 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 2 /* A.ONE */; +import { A } from "./b"; +let b = 2 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 2 /* A.ONE */; +let a = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -175,7 +169,7 @@ var a = 2 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -224,7 +218,7 @@ var a = 2 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } @@ -246,27 +240,23 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 3 /* A.ONE */; +import { A } from "./b"; +let b = 3 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 3 /* A.ONE */; +let a = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -280,7 +270,7 @@ var a = 3 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -325,7 +315,7 @@ var a = 3 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 984 + "size": 996 } @@ -349,12 +339,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -368,7 +358,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -413,7 +403,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1014 + "size": 1026 } @@ -437,12 +427,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -456,7 +446,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -501,7 +491,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1045 + "size": 1057 } diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js index f10fb8e3345c6..99389b86c04d7 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js @@ -43,25 +43,25 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 1 /* A.ONE */; +let b = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 1 /* A.ONE */; +let a = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -75,7 +75,7 @@ var a = 1 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -115,7 +115,7 @@ var a = 1 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 876 + "size": 888 } @@ -137,24 +137,22 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 2 /* A.ONE */; +let b = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 2 /* A.ONE */; +let a = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -168,7 +166,7 @@ var a = 2 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -216,7 +214,7 @@ var a = 2 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 1009 + "size": 1021 } @@ -238,24 +236,22 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 3 /* A.ONE */; +let b = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 3 /* A.ONE */; +let a = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -269,7 +265,7 @@ var a = 3 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -313,7 +309,7 @@ var a = 3 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 958 + "size": 970 } @@ -337,12 +333,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -356,7 +352,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -400,7 +396,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 988 + "size": 1000 } @@ -424,12 +420,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -443,7 +439,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -487,7 +483,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1019 + "size": 1031 } diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js index 664ad371ba7cd..18b5cf0edf65a 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js @@ -40,28 +40,26 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 1 /* A.ONE */; +import { A } from "./b"; +let b = 1 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 1 /* A.ONE */; +let a = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -79,7 +77,7 @@ var a = 1 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -127,7 +125,7 @@ var a = 1 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } @@ -148,27 +146,23 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 2 /* A.ONE */; +import { A } from "./b"; +let b = 2 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 2 /* A.ONE */; +let a = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -186,7 +180,7 @@ var a = 2 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -234,7 +228,7 @@ var a = 2 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } @@ -255,27 +249,23 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 3 /* A.ONE */; +import { A } from "./b"; +let b = 3 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 3 /* A.ONE */; +let a = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -293,7 +283,7 @@ var a = 3 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -341,7 +331,7 @@ var a = 3 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } @@ -362,12 +352,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -385,7 +375,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -441,7 +431,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1123 + "size": 1135 } @@ -461,12 +451,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -484,7 +474,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -536,7 +526,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1102 + "size": 1114 } diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js index 94ea7243f414b..93cc73623a1ca 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js @@ -40,25 +40,25 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 1 /* A.ONE */; +let b = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 1 /* A.ONE */; +let a = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -76,7 +76,7 @@ var a = 1 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,7 +123,7 @@ var a = 1 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 935 + "size": 947 } @@ -144,24 +144,22 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 2 /* A.ONE */; +let b = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 2 /* A.ONE */; +let a = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -179,7 +177,7 @@ var a = 2 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -226,7 +224,7 @@ var a = 2 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 935 + "size": 947 } @@ -247,24 +245,22 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 3 /* A.ONE */; +let b = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 3 /* A.ONE */; +let a = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -282,7 +278,7 @@ var a = 3 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -329,7 +325,7 @@ var a = 3 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 935 + "size": 947 } @@ -350,12 +346,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -373,7 +369,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -428,7 +424,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1097 + "size": 1109 } @@ -448,12 +444,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[4],[2],[3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[5,1],[3,2],[4,3]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -471,7 +467,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -522,7 +518,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1076 + "size": 1088 } diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js index 7f1506ecf470c..7319fe922da5b 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js @@ -42,28 +42,26 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 1 /* A.ONE */; +import { A } from "./b"; +let b = 1 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 1 /* A.ONE */; +let a = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434209142-export const enum A {\n ONE = 1\n}\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434209142-export const enum A {\n ONE = 1\n}\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -77,7 +75,7 @@ var a = 1 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -118,7 +116,7 @@ var a = 1 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 869 + "size": 881 } @@ -139,27 +137,23 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 2 /* A.ONE */; +import { A } from "./b"; +let b = 2 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 2 /* A.ONE */; +let a = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434173205-export const enum A {\n ONE = 2\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434173205-export const enum A {\n ONE = 2\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -173,7 +167,7 @@ var a = 2 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -222,7 +216,7 @@ var a = 2 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 1001 + "size": 1013 } @@ -243,27 +237,23 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var b_1 = require("./b"); -Object.defineProperty(exports, "A", { enumerable: true, get: function () { return b_1.A; } }); -var b = 3 /* A.ONE */; +import { A } from "./b"; +let b = 3 /* A.ONE */; +export { A }; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 3 /* A.ONE */; +let a = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434137268-export const enum A {\n ONE = 3\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434137268-export const enum A {\n ONE = 3\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -277,7 +267,7 @@ var a = 3 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -322,7 +312,7 @@ var a = 3 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 950 + "size": 962 } @@ -345,12 +335,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -364,7 +354,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -409,7 +399,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 980 + "size": 992 } @@ -432,12 +422,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -451,7 +441,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -496,7 +486,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1012 + "size": 1024 } diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums.js b/tests/baselines/reference/tsc/incremental/with-const-enums.js index 39c6461e7fb67..7711a9834ae53 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums.js @@ -42,25 +42,25 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 1 /* A.ONE */; +let b = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 1 /* A.ONE */; +let a = 1 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434209142-export const enum A {\n ONE = 1\n}\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434209142-export const enum A {\n ONE = 1\n}\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -74,7 +74,7 @@ var a = 1 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -114,7 +114,7 @@ var a = 1 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 843 + "size": 855 } @@ -135,24 +135,22 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 2 /* A.ONE */; +let b = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 2 /* A.ONE */; +let a = 2 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434173205-export const enum A {\n ONE = 2\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434173205-export const enum A {\n ONE = 2\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -166,7 +164,7 @@ var a = 2 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -214,7 +212,7 @@ var a = 2 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 975 + "size": 987 } @@ -235,24 +233,22 @@ Output:: //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b = 3 /* A.ONE */; +let b = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = 3 /* A.ONE */; +let a = 3 /* A.ONE */; +export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434137268-export const enum A {\n ONE = 3\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434137268-export const enum A {\n ONE = 3\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -266,7 +262,7 @@ var a = 3 /* A.ONE */; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -310,7 +306,7 @@ var a = 3 /* A.ONE */; ] }, "version": "FakeTSVersion", - "size": 924 + "size": 936 } @@ -333,12 +329,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -352,7 +348,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -396,7 +392,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 954 + "size": 966 } @@ -419,12 +415,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -438,7 +434,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -482,7 +478,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 986 + "size": 998 } diff --git a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js index 27a4e2587bdf3..6980b0dddd92a 100644 --- a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js +++ b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js @@ -28,18 +28,20 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13729955264-export const y = 10;","-10726455937-export const x = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13729955264-export const y = 10;","-10726455937-export const x = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/another.d.ts", "./src/main.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -68,7 +70,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 649 + "size": 661 } @@ -97,17 +99,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13729955264-export const y = 10;","-10808461502-export const x = 10;export const xy = 100;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13729955264-export const y = 10;","-10808461502-export const x = 10;export const xy = 100;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/another.d.ts", "./src/main.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,7 +138,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 671 + "size": 683 } diff --git a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js index 21998b6189200..7f135989f4e4f 100644 --- a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js +++ b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js @@ -85,10 +85,10 @@ Directory '/node_modules' does not exist, skipping all lookups in it. 2 ///    ~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' ../../tslibs/TS/Lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project1/core.d.ts Matched by default include pattern '**/*' project1/file.ts @@ -104,11 +104,10 @@ Found 2 errors in the same file, starting at: project1/file2.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -125,10 +124,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -136,13 +132,13 @@ export declare const x = "type1"; //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.scripthost.d.ts","../../../tslibs/ts/lib/lib.es2024.full.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", "../../../tslibs/ts/lib/lib.scripthost.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./core.d.ts", "./file.ts", "./file2.ts", @@ -150,22 +146,22 @@ export declare const x = "type1"; "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.scripthost.d.ts": { "original": { - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", + "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-5403980302-interface ScriptHostInterface { }", - "signature": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./core.d.ts": { @@ -222,7 +218,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1286 + "size": 1298 } @@ -243,8 +239,8 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/core.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts @@ -252,8 +248,8 @@ Program files:: /home/src/workspace/projects/project1/utils.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/core.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts @@ -261,12 +257,12 @@ Semantic diagnostics in builder refreshed for:: /home/src/workspace/projects/project1/utils.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.scripthost.d.ts (used version) /home/src/workspace/projects/project1/core.d.ts (used version) /home/src/workspace/projects/project1/file.ts (computed .d.ts during emit) /home/src/workspace/projects/project1/file2.ts (computed .d.ts during emit) /home/src/workspace/projects/project1/index.ts (computed .d.ts during emit) /home/src/workspace/projects/project1/utils.d.ts (used version) -/home/src/tslibs/ts/lib/lib.scripthost.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/libraryResolution/when-noLib-toggles.js b/tests/baselines/reference/tsc/libraryResolution/when-noLib-toggles.js index 6dfbf003dabfd..05d2ab651bb41 100644 --- a/tests/baselines/reference/tsc/libraryResolution/when-noLib-toggles.js +++ b/tests/baselines/reference/tsc/libraryResolution/when-noLib-toggles.js @@ -39,7 +39,7 @@ Output:: //// [/home/src/tslibs/TS/Lib/lib.es2015.d.ts] *Lib* //// [/home/src/workspaces/project/b.js] -var b = 10; +const b = 10; //// [/home/src/workspaces/project/b.d.ts] diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js index 62547089f2b8f..32eba19009fec 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js @@ -285,10 +285,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -305,10 +302,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config.js b/tests/baselines/reference/tsc/libraryResolution/with-config.js index 1fc77968a38f0..62761ed5f4f18 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config.js @@ -154,10 +154,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -174,10 +171,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] diff --git a/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js index 45186a1f01dbe..ab6af5dbbb701 100644 --- a/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js @@ -185,17 +185,11 @@ project1/file2.ts //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/file2.js] diff --git a/tests/baselines/reference/tsc/libraryResolution/without-config.js b/tests/baselines/reference/tsc/libraryResolution/without-config.js index a0dc55d2f73eb..47f89136cd0be 100644 --- a/tests/baselines/reference/tsc/libraryResolution/without-config.js +++ b/tests/baselines/reference/tsc/libraryResolution/without-config.js @@ -144,17 +144,11 @@ project1/file2.ts //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/file2.js] diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js index 257d2b23afd48..53b33e6d70093 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js @@ -23,10 +23,12 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --incremental --listFilesOnly Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/test.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + exitCode:: ExitStatus.Success @@ -39,23 +41,20 @@ Output:: //// [/home/src/workspaces/project/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 1; +export const x = 1; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./test.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12038591281-export const x = 1;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./test.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12038591281-export const x = 1;"],"root":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./test.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -76,7 +75,7 @@ exports.x = 1; ] ], "version": "FakeTSVersion", - "size": 583 + "size": 595 } @@ -88,7 +87,7 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental --listFilesOnly Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/test.ts diff --git a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js index f9f1a773b388d..d104ffd1b2290 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js +++ b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js @@ -20,9 +20,11 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js test.ts --listFilesOnly Output:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts test.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js index 58f36729db2e8..8ae9ff397ecc6 100644 --- a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js @@ -343,18 +343,19 @@ Found 1 error in tsconfig.json:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/index.mjs] -"use strict"; export {}; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo2/index.d.ts", "./node_modules/@types/bar2/index.d.ts", "./index.mts" @@ -366,7 +367,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -422,7 +423,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -439,7 +440,7 @@ export {}; ] ], "version": "FakeTSVersion", - "size": 1080 + "size": 1092 } @@ -456,7 +457,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -464,7 +465,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/node_modules/foo2/index.d.ts (used version) /home/src/projects/project/node_modules/@types/bar2/index.d.ts (used version) /home/src/projects/project/index.mts (used version) @@ -693,7 +694,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -939,7 +940,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -1175,7 +1176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -1398,7 +1399,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -1578,12 +1579,12 @@ Found 1 error in tsconfig.json:2 //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/@types/bar/index.d.ts", "./node_modules/foo2/index.d.ts", "./node_modules/@types/bar2/index.d.ts", @@ -1597,7 +1598,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1664,7 +1665,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1685,7 +1686,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1240 + "size": 1252 } @@ -1702,7 +1703,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts @@ -1859,12 +1860,12 @@ Found 1 error in tsconfig.json:2 //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"referencedMap":[[6,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"referencedMap":[[6,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./node_modules/foo2/index.d.ts", @@ -1880,7 +1881,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1957,7 +1958,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1982,7 +1983,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1354 + "size": 1366 } @@ -1999,7 +2000,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts @@ -2195,12 +2196,12 @@ Found 1 error in tsconfig.json:2 //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./node_modules/foo2/index.d.ts", @@ -2214,7 +2215,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -2281,7 +2282,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2302,7 +2303,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1231 + "size": 1243 } @@ -2319,7 +2320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts @@ -2543,12 +2544,12 @@ Found 1 error in tsconfig.json:2 //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./index.mts" @@ -2560,7 +2561,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -2617,7 +2618,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2634,7 +2635,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1115 + "size": 1127 } @@ -2651,7 +2652,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -2885,7 +2886,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -3131,7 +3132,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -3367,7 +3368,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -3590,7 +3591,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js index 1bbce1cabcfa4..fe1a3c9bb549b 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -35,7 +35,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental.js index 2ce5c14862f8b..f1bc35f430895 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors-with-incremental.js @@ -46,23 +46,16 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -70,17 +63,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -117,7 +110,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -154,7 +147,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -170,14 +163,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -217,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -239,24 +232,21 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -297,7 +287,7 @@ exports.a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -311,7 +301,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } //// [/home/src/workspaces/project/a.d.ts] @@ -331,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -363,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -382,17 +372,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -432,7 +422,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -447,12 +437,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -480,7 +470,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -511,7 +501,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -546,29 +536,23 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -638,7 +622,7 @@ exports.a = /** @class */ (function () { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1318 + "size": 1330 } @@ -654,7 +638,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -700,7 +684,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -733,17 +717,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -806,7 +790,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1265 + "size": 1277 } @@ -821,7 +805,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -844,24 +828,21 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -908,7 +889,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 864 + "size": 876 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -925,7 +906,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -946,17 +927,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -996,7 +977,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -1011,7 +992,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1042,18 +1023,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1118,14 +1099,11 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -1145,7 +1123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1183,30 +1161,24 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1299,7 +1271,7 @@ exports.a = /** @class */ (function () { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1571 + "size": 1583 } @@ -1316,7 +1288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1341,25 +1313,22 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1429,7 +1398,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1117 + "size": 1129 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1447,7 +1416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1477,18 +1446,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1553,7 +1522,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } @@ -1569,7 +1538,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1603,7 +1572,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1643,7 +1612,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors.js b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors.js index 1e13f06c0bdd6..2f0dd3842a1bd 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors.js @@ -45,23 +45,16 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -80,7 +73,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -122,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -140,10 +133,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -164,7 +154,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -194,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -223,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -252,7 +242,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -282,7 +272,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -313,15 +303,9 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -338,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -380,7 +364,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -421,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -439,10 +423,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -460,7 +441,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -489,7 +470,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -519,10 +500,7 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/b.d.ts] file written with same contents //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -541,7 +519,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -573,15 +551,9 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -601,7 +573,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -620,10 +592,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/b.js] file written with same contents @@ -644,7 +613,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -685,7 +654,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -719,7 +688,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -760,7 +729,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js index 1bbce1cabcfa4..fe1a3c9bb549b 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -35,7 +35,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental.js index a19a5fdb1fef3..8203ede52f896 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors-with-incremental.js @@ -33,11 +33,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] @@ -45,10 +44,7 @@ export declare const a: number; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -56,17 +52,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -107,7 +103,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -121,7 +117,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 872 + "size": 884 } @@ -137,14 +133,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -171,7 +167,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -198,17 +194,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -249,7 +245,7 @@ export declare const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -263,7 +259,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -279,7 +275,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -311,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -330,17 +326,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -380,7 +376,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -395,12 +391,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -428,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -459,7 +455,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -486,17 +482,17 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -543,7 +539,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -559,7 +555,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -592,7 +588,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -620,17 +616,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -684,7 +680,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 967 + "size": 979 } @@ -699,7 +695,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -727,17 +723,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -784,7 +780,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -800,7 +796,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -821,17 +817,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -871,7 +867,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -886,7 +882,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -917,18 +913,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -993,14 +989,11 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -1020,7 +1013,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1050,18 +1043,18 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11705693502-export const a: number = \"hello\";","signature":"-3045186137-export declare const a: number;\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1131,7 +1124,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1121 + "size": 1133 } @@ -1148,7 +1141,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1178,18 +1171,18 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1259,7 +1252,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1117 + "size": 1129 } @@ -1276,7 +1269,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1306,18 +1299,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1382,7 +1375,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } @@ -1398,7 +1391,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1432,7 +1425,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1472,7 +1465,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors.js b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors.js index 4c602f4b488e0..8079f48bd61bd 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors.js @@ -32,11 +32,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] @@ -44,10 +43,7 @@ export declare const a: number; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -66,7 +62,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -96,7 +92,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -132,7 +128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -162,7 +158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -191,7 +187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -220,7 +216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -250,7 +246,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -286,7 +282,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -316,7 +312,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -353,7 +349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -389,7 +385,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -418,7 +414,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -448,10 +444,7 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/b.js] file written with same contents //// [/home/src/workspaces/project/b.d.ts] file written with same contents //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -470,7 +463,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -510,7 +503,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -550,7 +543,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -591,7 +584,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -625,7 +618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -666,7 +659,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js index 1bbce1cabcfa4..fe1a3c9bb549b 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -35,7 +35,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -68,7 +68,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -104,7 +104,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental.js index e62ea1a7fc48b..413a52d27c3de 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors-with-incremental.js @@ -41,11 +41,10 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] @@ -53,10 +52,7 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -64,17 +60,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -115,7 +111,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -129,7 +125,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 865 + "size": 877 } @@ -145,14 +141,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/a.ts (computed .d.ts during emit) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -187,7 +183,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -209,25 +205,22 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -268,7 +261,7 @@ exports.a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -282,7 +275,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -298,7 +291,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -330,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -349,17 +342,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -399,7 +392,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -414,12 +407,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -447,7 +440,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -478,7 +471,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -508,25 +501,22 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -573,7 +563,7 @@ exports.a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 861 + "size": 873 } @@ -589,7 +579,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -630,7 +620,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -658,17 +648,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -714,7 +704,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 841 + "size": 853 } @@ -729,7 +719,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -752,25 +742,22 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -817,7 +804,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -833,7 +820,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -854,17 +841,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -904,7 +891,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } @@ -919,7 +906,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -950,18 +937,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1026,14 +1013,11 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -1053,7 +1037,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1086,26 +1070,23 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1175,7 +1156,7 @@ exports.a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1114 + "size": 1126 } @@ -1192,7 +1173,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1217,26 +1198,23 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[2,[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1306,7 +1284,7 @@ exports.a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1117 + "size": 1129 } @@ -1323,7 +1301,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1353,18 +1331,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-9150421116-export const c: number = \"hello\";","signature":"1429704745-export declare const c: number;\n"}],"root":[[2,4]],"options":{"declaration":true},"semanticDiagnosticsPerFile":[[4,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1429,7 +1407,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1095 + "size": 1107 } @@ -1445,7 +1423,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1479,7 +1457,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1519,7 +1497,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors.js b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors.js index 7a169825abc2d..a036bd3079205 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors.js @@ -40,11 +40,10 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] @@ -52,10 +51,7 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -74,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -112,7 +108,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -130,10 +126,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -151,7 +144,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -181,7 +174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -210,7 +203,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -239,7 +232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -269,7 +262,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -295,10 +288,7 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -316,7 +306,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -354,7 +344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -391,7 +381,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -409,10 +399,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -430,7 +417,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -459,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -489,10 +476,7 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/b.js] file written with same contents //// [/home/src/workspaces/project/b.d.ts] file written with same contents //// [/home/src/workspaces/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = "hello"; +export const c = "hello"; //// [/home/src/workspaces/project/c.d.ts] @@ -511,7 +495,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -538,10 +522,7 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -562,7 +543,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -581,10 +562,7 @@ Output:: //// [/home/src/workspaces/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -605,7 +583,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -646,7 +624,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -680,7 +658,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -721,7 +699,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js index cd2409a31e826..2b07fefa51dcd 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors-with-incremental.js @@ -61,17 +61,17 @@ Errors Files 2 tsconfig.json:5 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -82,17 +82,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -113,7 +113,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -150,7 +150,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1055 + "size": 1067 } @@ -168,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -227,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -277,17 +277,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -308,7 +308,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -322,7 +322,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } //// [/home/src/workspaces/outFile.d.ts] @@ -349,7 +349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -395,7 +395,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -427,17 +427,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -458,7 +458,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -471,7 +471,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -488,7 +488,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -533,7 +533,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -565,17 +565,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -596,7 +596,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -610,7 +610,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -628,7 +628,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -680,12 +680,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -696,17 +694,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -727,7 +725,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -764,7 +762,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1055 + "size": 1067 } @@ -782,7 +780,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -841,7 +839,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -886,17 +884,17 @@ Errors Files //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -917,7 +915,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -953,7 +951,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } @@ -970,7 +968,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1020,17 +1018,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -1051,7 +1049,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1065,7 +1063,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1084,7 +1082,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1116,17 +1114,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -1147,7 +1145,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1160,7 +1158,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -1177,7 +1175,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1233,18 +1231,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1269,7 +1267,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1286,7 +1284,7 @@ define("c", ["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } //// [/home/src/workspaces/outFile.d.ts] @@ -1316,7 +1314,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1369,12 +1367,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -1391,18 +1387,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1427,7 +1423,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1468,7 +1464,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1126 + "size": 1138 } @@ -1487,7 +1483,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1544,18 +1540,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1580,7 +1576,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1598,7 +1594,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1618,7 +1614,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1651,18 +1647,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1687,7 +1683,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1704,7 +1700,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1722,7 +1718,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1755,18 +1751,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1791,7 +1787,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1809,7 +1805,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1828,7 +1824,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1861,18 +1857,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1897,7 +1893,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1914,7 +1910,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1932,7 +1928,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js index 9acd2c7349e3b..fd0e6466a7335 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js @@ -60,17 +60,17 @@ Errors Files 2 tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -94,7 +94,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -149,7 +149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -217,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -260,7 +260,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -302,7 +302,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -344,7 +344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -387,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -435,12 +435,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -464,7 +462,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -519,7 +517,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -573,7 +571,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -633,7 +631,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -675,7 +673,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -752,7 +750,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -801,12 +799,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -837,7 +833,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -905,7 +901,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -949,7 +945,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -994,7 +990,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1038,7 +1034,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js index ba440986f58de..4abb82924e707 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors-with-incremental.js @@ -48,6 +48,8 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -73,17 +75,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -104,7 +106,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -118,7 +120,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 742 + "size": 754 } @@ -136,7 +138,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -182,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -227,17 +229,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -258,7 +260,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -272,7 +274,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -290,7 +292,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -336,7 +338,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -368,17 +370,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -399,7 +401,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -412,7 +414,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -429,7 +431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -474,7 +476,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -506,17 +508,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -537,7 +539,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -551,7 +553,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -569,7 +571,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -614,17 +616,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -645,7 +647,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -659,7 +661,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 742 + "size": 754 } @@ -677,7 +679,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -723,7 +725,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -755,17 +757,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -786,7 +788,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -799,7 +801,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 722 + "size": 734 } @@ -816,7 +818,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -861,17 +863,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -892,7 +894,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -906,7 +908,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -924,7 +926,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -956,17 +958,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -987,7 +989,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1000,7 +1002,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -1017,7 +1019,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1085,18 +1087,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1121,7 +1123,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1138,7 +1140,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1156,7 +1158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1205,18 +1207,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11705693502-export const a: number = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11705693502-export const a: number = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1241,7 +1243,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1259,7 +1261,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 813 + "size": 825 } @@ -1278,7 +1280,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1327,18 +1329,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1363,7 +1365,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1381,7 +1383,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1400,7 +1402,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1433,18 +1435,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1469,7 +1471,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1486,7 +1488,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1504,7 +1506,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1537,18 +1539,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1573,7 +1575,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1591,7 +1593,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1610,7 +1612,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1643,18 +1645,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1679,7 +1681,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1696,7 +1698,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1714,7 +1716,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js index 0cc3cb327199c..354c351a3178c 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js @@ -47,6 +47,8 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -85,7 +87,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -128,7 +130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -182,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -225,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -267,7 +269,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -309,7 +311,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -352,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -406,7 +408,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -449,7 +451,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -491,7 +493,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -545,7 +547,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -587,7 +589,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -664,7 +666,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -723,7 +725,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -782,7 +784,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -826,7 +828,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -871,7 +873,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -915,7 +917,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js index f19b215f8af29..594dd9b702fde 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors-with-incremental.js @@ -43,6 +43,8 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -68,17 +70,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -99,7 +101,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -113,7 +115,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 731 + "size": 743 } @@ -131,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -172,7 +174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -223,17 +225,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -254,7 +256,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -268,7 +270,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -286,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -332,7 +334,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -364,17 +366,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -395,7 +397,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -408,7 +410,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -425,7 +427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -470,7 +472,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -502,17 +504,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -533,7 +535,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -547,7 +549,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -565,7 +567,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -611,17 +613,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -642,7 +644,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -656,7 +658,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 731 + "size": 743 } @@ -674,7 +676,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -715,7 +717,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -742,17 +744,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -773,7 +775,7 @@ Found 1 error in a.ts:1 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -786,7 +788,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } @@ -803,7 +805,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -854,17 +856,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -885,7 +887,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -899,7 +901,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -917,7 +919,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -949,17 +951,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -980,7 +982,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -993,7 +995,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } @@ -1010,7 +1012,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1078,18 +1080,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1114,7 +1116,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1131,7 +1133,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1149,7 +1151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1202,18 +1204,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1238,7 +1240,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1256,7 +1258,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 802 + "size": 814 } @@ -1275,7 +1277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1333,18 +1335,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.d.ts] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1369,7 +1371,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1387,7 +1389,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1406,7 +1408,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1439,18 +1441,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1475,7 +1477,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1492,7 +1494,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1510,7 +1512,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1543,18 +1545,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"checkPending":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1579,7 +1581,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1597,7 +1599,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 805 + "size": 817 } @@ -1616,7 +1618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1649,18 +1651,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;","-9150421116-export const c: number = \"hello\";"],"root":[[2,4]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-9150421116-export const c: number = \"hello\";" @@ -1685,7 +1687,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1702,7 +1704,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -1720,7 +1722,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js index 8d0d095b788ea..13f1de8765e37 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js @@ -42,6 +42,8 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -80,7 +82,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -178,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -221,7 +223,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -263,7 +265,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -348,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -403,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -441,7 +443,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -478,7 +480,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -538,7 +540,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -580,7 +582,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -657,7 +659,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -720,7 +722,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -788,7 +790,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -832,7 +834,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -877,7 +879,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -921,7 +923,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite-discrepancies.js index a4dad40e8c9c5..524047e719cf9 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -72,7 +72,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -136,7 +136,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -203,7 +203,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -267,7 +267,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -334,7 +334,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -412,7 +412,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -479,7 +479,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -543,7 +543,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -610,7 +610,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -674,7 +674,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -741,7 +741,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -805,7 +805,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -872,7 +872,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -936,7 +936,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1003,7 +1003,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1081,7 +1081,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1148,7 +1148,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1212,7 +1212,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -1279,7 +1279,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite.js index 87a481be21644..6c42a37c3ca33 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite.js @@ -51,27 +51,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -81,17 +68,10 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -102,10 +82,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -113,10 +91,8 @@ export {}; //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -124,10 +100,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -136,11 +109,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -149,12 +118,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -171,7 +140,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -261,28 +230,13 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2105 + "size": 1902 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -346,12 +300,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-9508063301-export declare class classC {\n prop: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-9508063301-export declare class classC {\n prop: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -368,7 +322,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -494,19 +448,6 @@ Errors Files ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "affectedFilesPendingEmit": [ @@ -547,7 +488,7 @@ Errors Files ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2761 + "size": 2589 } @@ -564,25 +505,17 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/src/class.js] file written with same contents //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -599,7 +532,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -689,28 +622,13 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2105 + "size": 1902 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with emit @@ -718,18 +636,10 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -759,18 +669,10 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: Introduce error and emit @@ -803,31 +705,18 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -838,12 +727,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -860,7 +749,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -994,24 +883,11 @@ export declare class classC { ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2641 + "size": 2469 } @@ -1043,18 +919,12 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 @@ -1160,18 +1030,12 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 @@ -1191,12 +1055,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1213,7 +1077,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1295,21 +1159,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -1356,7 +1205,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2187 + "size": 1984 } @@ -1368,27 +1217,12 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1399,12 +1233,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1421,7 +1255,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1511,28 +1345,13 @@ export declare class classC { "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2077 + "size": 1874 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -1562,15 +1381,7 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental-declaration.js index 2dc0af37dfdcc..33aa054190268 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental-declaration.js @@ -52,27 +52,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -82,17 +69,10 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -103,10 +83,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -114,10 +92,8 @@ export {}; //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -125,10 +101,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -137,11 +110,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -150,12 +119,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -172,7 +141,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -262,27 +231,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -346,12 +300,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -368,7 +322,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -494,19 +448,6 @@ Errors Files ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "affectedFilesPendingEmit": [ @@ -532,7 +473,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2540 + "size": 2368 } @@ -549,14 +490,6 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/src/class.js] file written with same contents @@ -566,12 +499,12 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/src/directUse.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -588,7 +521,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -678,27 +611,12 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with emit @@ -706,18 +624,10 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -747,18 +657,10 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: Introduce error and emit @@ -791,31 +693,18 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -829,12 +718,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -851,7 +740,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -985,23 +874,10 @@ export declare class classC { ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2601 + "size": 2429 } @@ -1033,18 +909,12 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 @@ -1150,18 +1020,12 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 @@ -1181,12 +1045,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1203,7 +1067,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1285,21 +1149,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -1331,7 +1180,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1992 + "size": 1789 } @@ -1343,27 +1192,12 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1377,12 +1211,12 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1399,7 +1233,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1489,27 +1323,12 @@ export declare class classC { "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -1539,15 +1358,7 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js index 21c4974d3629b..ed433d4957873 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js @@ -51,81 +51,50 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -142,7 +111,7 @@ function someFunc(arguments) { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -208,27 +177,12 @@ function someFunc(arguments) { "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1490 + "size": 1287 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -292,12 +246,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"affectedFilesPendingEmit":[2,4,3,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"affectedFilesPendingEmit":[2,4,3,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -314,7 +268,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -440,19 +394,6 @@ Errors Files ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "affectedFilesPendingEmit": [ @@ -474,7 +415,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2420 + "size": 2248 } @@ -491,14 +432,6 @@ export class classC { /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/src/class.js] file written with same contents @@ -506,12 +439,12 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/src/directUse.js] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -528,7 +461,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -602,27 +535,12 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1717 + "size": 1514 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with emit @@ -630,18 +548,10 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -671,18 +581,10 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: Introduce error and emit @@ -715,41 +617,28 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -766,7 +655,7 @@ exports.classC = classC; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -884,23 +773,10 @@ exports.classC = classC; ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2281 + "size": 2109 } @@ -932,18 +808,12 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 @@ -1049,18 +919,12 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 @@ -1080,12 +944,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1102,7 +966,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1176,21 +1040,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ "./src/class.ts", @@ -1202,7 +1051,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1547 } @@ -1214,37 +1063,22 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1261,7 +1095,7 @@ exports.classC = classC; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1335,27 +1169,12 @@ exports.classC = classC; "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1717 + "size": 1514 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: No Change run with noEmit @@ -1385,15 +1204,7 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js index 8da8062be3001..18a16077ca78b 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -72,7 +72,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite.js index 39e79d5ea2125..46835e371f623 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-composite.js @@ -53,13 +53,15 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"emitSignatures":[2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"emitSignatures":[2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -76,7 +78,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -145,21 +147,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -213,7 +200,7 @@ Output:: "./src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1621 + "size": 1418 } @@ -225,23 +212,15 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -258,7 +237,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -348,37 +327,15 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2105 + "size": 1902 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -388,10 +345,8 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -399,17 +354,10 @@ export {}; //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -420,10 +368,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -431,10 +377,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -443,11 +386,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -456,7 +395,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: Introduce error with emit @@ -489,27 +428,21 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -526,7 +459,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -660,37 +593,17 @@ Errors Files ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2641 + "size": 2469 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -717,12 +630,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -739,7 +652,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -821,21 +734,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -882,7 +780,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2187 + "size": 1984 } @@ -894,23 +792,15 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"referencedMap":[[4,1],[3,2],[5,1]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -927,7 +817,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1017,37 +907,15 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2077 + "size": 1874 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1058,4 +926,4 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js index 36d60492ff29d..b6bbfbc613671 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental-declaration.js @@ -54,13 +54,15 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,17],[3,17],[5,17],[6,17],[7,17]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -77,7 +79,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -146,21 +148,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -206,7 +193,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1592 + "size": 1389 } @@ -218,23 +205,15 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -251,7 +230,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -341,36 +320,14 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -380,10 +337,8 @@ export declare class classC { //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/directUse.d.ts] @@ -391,17 +346,10 @@ export {}; //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectClass.d.ts] @@ -412,10 +360,8 @@ export declare class indirectClass { //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectUse.d.ts] @@ -423,10 +369,7 @@ export {}; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } @@ -435,11 +378,7 @@ export declare function writeLog(s: string): void; //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -448,7 +387,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: Introduce error with emit @@ -481,27 +420,21 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -518,7 +451,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -652,36 +585,16 @@ Errors Files ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2601 + "size": 2429 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -711,12 +624,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[[2,17],[4,16],[3,17],[5,16]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -733,7 +646,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -815,21 +728,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ [ @@ -861,7 +759,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1992 + "size": 1789 } @@ -873,23 +771,15 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -906,7 +796,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -996,36 +886,14 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 2037 + "size": 1834 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/class.d.ts] @@ -1039,4 +907,4 @@ export declare class classC { //// [/home/src/workspaces/project/src/indirectClass.d.ts] file written with same contents //// [/home/src/workspaces/project/src/indirectUse.d.ts] file written with same contents -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental.js index 22ad3f253a98e..5af036daa09af 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-with-initial-noEmit-incremental.js @@ -53,13 +53,15 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -76,7 +78,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,21 +144,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ "./src/class.ts", @@ -184,7 +171,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1531 + "size": 1328 } @@ -196,23 +183,15 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -229,7 +208,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -295,85 +274,45 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1490 + "size": 1287 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/directUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/indirectClass.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.indirectClass = void 0; -var class_1 = require("./class"); -var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; -}()); -exports.indirectClass = indirectClass; +import { classC } from './class'; +export class indirectClass { + classC = new classC(); +} //// [/home/src/workspaces/project/src/indirectUse.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var indirectClass_1 = require("./indirectClass"); -new indirectClass_1.indirectClass().classC.prop; +import { indirectClass } from './indirectClass'; +new indirectClass().classC.prop; //// [/home/src/workspaces/project/src/noChangeFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeLog = writeLog; -function writeLog(s) { +export function writeLog(s) { } //// [/home/src/workspaces/project/src/noChangeFileWithEmitSpecificError.js] -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: Introduce error with emit @@ -406,27 +345,21 @@ Output::    ~~~~~ 'prop1' is declared here. -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - -Found 3 errors in 3 files. +Found 2 errors in 2 files. Errors Files 1 src/directUse.ts:2 1 src/indirectUse.ts:2 - 1 src/noChangeFileWithEmitSpecificError.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./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.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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":"./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":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -443,7 +376,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -569,36 +502,16 @@ Errors Files ] } ] - ], - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] ] ], "version": "FakeTSVersion", - "size": 2383 + "size": 2211 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop1 = 1; +} //// [/home/src/workspaces/project/src/directUse.js] file written with same contents @@ -621,12 +534,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -643,7 +556,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -717,21 +630,6 @@ Output:: "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "affectedFilesPendingEmit": [ [ "./src/class.ts", @@ -743,7 +641,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1547 } @@ -755,23 +653,15 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --p . Output:: -src/noChangeFileWithEmitSpecificError.ts:1:19 - error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. - -1 function someFunc(arguments: boolean, ...rest: any[]) { -   ~~~~~~~~~~~~~~~~~~ - - -Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"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"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\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}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"referencedMap":[[4,1],[3,2],[5,1]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -788,7 +678,7 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -862,38 +752,16 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts:1 "./src/indirectclass.ts" ] }, - "semanticDiagnosticsPerFile": [ - [ - "./src/nochangefilewithemitspecificerror.ts", - [ - { - "start": 18, - "length": 18, - "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", - "category": 1, - "code": 2396, - "skippedOn": "noEmit" - } - ] - ] - ], "version": "FakeTSVersion", - "size": 1717 + "size": 1514 } //// [/home/src/workspaces/project/src/class.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.classC = void 0; -var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; -}()); -exports.classC = classC; +export class classC { + prop = 1; +} //// [/home/src/workspaces/project/src/indirectClass.js] file written with same contents -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js index 451ea9edfd509..721e914867c8b 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/project/ CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -41,7 +41,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js index c64617f726e6e..89bbc6e57836d 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js @@ -38,20 +38,22 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"affectedFilesPendingEmit":[2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"affectedFilesPendingEmit":[2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -110,7 +112,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 823 + "size": 835 } @@ -128,21 +130,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts /home/src/projects/project/d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts /home/src/projects/project/d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) /home/src/projects/project/c.ts (used version) @@ -173,7 +175,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -231,19 +233,19 @@ Errors Files //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17],[5,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17],[5,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -382,7 +384,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1738 + "size": 1750 } @@ -401,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -422,19 +424,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,49],[4,49],[5,49]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,49],[4,49],[5,49]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -509,7 +511,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 896 + "size": 908 } @@ -529,7 +531,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -564,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -622,19 +624,19 @@ Errors Files //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };",{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -747,26 +749,17 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1762 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -774,27 +767,15 @@ export declare const b = 10; //// [/home/src/projects/project/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const c = class { + p = 10; +}; //// [/home/src/projects/project/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.d = void 0; -exports.d = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const d = class { + p = 10; +}; @@ -812,7 +793,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -836,19 +817,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -947,7 +928,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1582 + "size": 1594 } @@ -965,7 +946,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1014,19 +995,19 @@ Errors Files //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,16],[4,16],[5,16]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true},"emitDiagnosticsPerFile":[[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,16],[4,16],[5,16]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1152,7 +1133,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1639 + "size": 1651 } @@ -1171,7 +1152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1192,19 +1173,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,48],[5,48]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},"-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,48],[5,48]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1287,7 +1268,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1076 + "size": 1088 } @@ -1307,7 +1288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1331,19 +1312,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-15184115393-export const c = class { public p = 10; };","signature":"-1507017290-export declare const c: {\n new (): {\n p: number;\n };\n};\n"},"2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,49],[5,48]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9483521475-export const a = class { public p = 10; };","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"-15184115393-export const c = class { public p = 10; };","signature":"-1507017290-export declare const c: {\n new (): {\n p: number;\n };\n};\n"},"2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"affectedFilesPendingEmit":[[2,49],[3,48],[4,49],[5,48]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1430,7 +1411,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1188 + "size": 1200 } @@ -1450,7 +1431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental-as-modules.js index 98b0caa748d3c..2d4e62220e765 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental-as-modules.js @@ -46,18 +46,20 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,7 +130,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1030 + "size": 1042 } @@ -145,17 +147,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -196,7 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -218,17 +220,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -280,7 +282,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -297,7 +299,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -331,7 +333,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -350,17 +352,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -400,14 +402,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -415,10 +414,7 @@ export declare const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -438,7 +434,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -470,7 +466,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -505,17 +501,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -587,7 +583,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1301 + "size": 1313 } @@ -604,7 +600,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -638,17 +634,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -711,19 +707,13 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1265 + "size": 1277 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -739,7 +729,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -784,7 +774,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental.js index 813d09a11cc76..5ff9612f15b1c 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-with-incremental.js @@ -43,17 +43,19 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -114,7 +116,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -130,15 +132,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -177,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -198,16 +200,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -246,7 +248,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 741 + "size": 753 } @@ -262,11 +264,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -295,7 +297,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -313,16 +315,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -352,11 +354,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 705 + "size": 717 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -375,7 +377,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -405,7 +407,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -439,16 +441,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -510,7 +512,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1192 + "size": 1204 } @@ -526,11 +528,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -560,16 +562,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -622,16 +624,13 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1156 + "size": 1168 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -646,7 +645,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -689,7 +688,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index f0b8a0a8b177e..fee02fb593993 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -32,18 +32,20 @@ export const b = 10; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -82,7 +84,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 683 + "size": 695 } @@ -98,17 +100,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -135,7 +137,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -157,17 +159,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +212,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -226,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -278,17 +280,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -321,21 +323,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -350,7 +346,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -381,7 +377,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -403,17 +399,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -452,7 +448,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 890 + "size": 902 } @@ -468,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -489,17 +485,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -532,19 +528,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 859 + "size": 871 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -559,7 +549,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -590,7 +580,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js index 4f2ce374d954c..b0521ef632a07 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js @@ -29,17 +29,19 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -71,7 +73,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 664 + "size": 676 } @@ -86,15 +88,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -119,7 +121,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -140,16 +142,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -182,7 +184,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -197,11 +199,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -229,7 +231,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -247,16 +249,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -283,11 +285,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -301,7 +303,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -330,7 +332,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -351,16 +353,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -393,7 +395,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 852 + "size": 864 } @@ -408,11 +410,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -429,16 +431,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -465,16 +467,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 821 + "size": 833 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -488,7 +487,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -517,7 +516,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled.js index 04398a92ef701..750f409f320a8 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors-without-dts-enabled.js @@ -27,6 +27,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -38,7 +40,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -62,7 +64,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -89,7 +91,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -113,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -127,7 +129,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -140,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -191,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -205,12 +207,9 @@ Output:: //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -223,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -247,7 +246,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors.js b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors.js index 5b3bb82cc6559..b0b901826f8e2 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors.js @@ -42,6 +42,8 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -54,7 +56,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -92,7 +94,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -120,7 +122,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -145,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -159,7 +161,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -177,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -202,7 +204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -243,7 +245,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -270,12 +272,9 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -289,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -327,7 +326,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js index 11afc0998d702..e43b25018fa3a 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js @@ -40,18 +40,20 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -104,7 +106,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } @@ -120,17 +122,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -165,7 +167,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -187,17 +189,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -240,7 +242,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -289,7 +291,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -308,17 +310,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -351,21 +353,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -380,7 +376,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -411,7 +407,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -441,17 +437,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -504,7 +500,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 897 + "size": 909 } @@ -520,7 +516,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -549,17 +545,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -606,7 +602,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 866 + "size": 878 } //// [/home/src/projects/project/a.js] file written with same contents @@ -622,7 +618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -661,7 +657,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental.js index a6c846ef8310a..69fd88308c1b8 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors-with-incremental.js @@ -37,17 +37,19 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -93,7 +95,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 806 + "size": 818 } @@ -108,15 +110,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -149,7 +151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -170,16 +172,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +214,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -227,11 +229,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -277,16 +279,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -313,11 +315,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -331,7 +333,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -360,7 +362,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -389,16 +391,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -445,7 +447,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 858 + "size": 870 } @@ -460,11 +462,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -489,16 +491,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -539,7 +541,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } //// [/home/src/projects/project/a.js] file written with same contents @@ -554,7 +556,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -591,7 +593,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors.js b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors.js index 583d6bc75114d..871cd0dcfcba9 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors.js @@ -35,6 +35,8 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -46,7 +48,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -78,7 +80,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -105,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -129,7 +131,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -143,7 +145,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -156,7 +158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -180,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -215,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -247,7 +249,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -279,7 +281,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js index 07d3ecdac1ae6..35e4759835c89 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js @@ -40,18 +40,20 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -88,10 +90,10 @@ Found 1 error in a.ts:1 "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -107,7 +109,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -146,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -168,17 +170,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -225,7 +227,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 813 + "size": 825 } @@ -241,19 +243,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) /home/src/projects/project/b.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.Success @@ -278,7 +280,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -297,17 +299,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -344,21 +346,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 780 + "size": 792 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -373,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -404,7 +400,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -434,17 +430,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -484,7 +480,7 @@ Found 1 error in a.ts:1 "./a.ts" ], "version": "FakeTSVersion", - "size": 797 + "size": 809 } @@ -500,7 +496,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -528,17 +524,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -581,14 +577,11 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 810 + "size": 822 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; @@ -603,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -644,7 +637,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental.js index c936cf32b5f9e..718eee05db3d1 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors-with-incremental.js @@ -37,17 +37,19 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -74,10 +76,10 @@ Found 1 error in a.ts:1 ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 672 + "size": 684 } @@ -92,7 +94,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -129,7 +131,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -150,16 +152,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -192,7 +194,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -207,16 +209,16 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.Success @@ -240,7 +242,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -258,16 +260,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -294,11 +296,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -312,7 +314,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -341,7 +343,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -370,16 +372,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -409,7 +411,7 @@ Found 1 error in a.ts:1 "./a.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 703 } @@ -424,7 +426,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -451,16 +453,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -493,11 +495,11 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 704 + "size": 716 } //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -511,7 +513,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -550,7 +552,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors.js b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors.js index 2dcee9b8c5e26..323a541586229 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors.js @@ -35,6 +35,8 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -46,7 +48,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -78,7 +80,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -105,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -129,7 +131,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -143,7 +145,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -156,7 +158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -180,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -215,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -237,7 +239,7 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -250,7 +252,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -282,7 +284,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite-discrepancies.js index 466dd8bb27224..0feed821b5afd 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -39,7 +39,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -79,7 +79,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -113,7 +113,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -153,7 +153,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -187,7 +187,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -227,7 +227,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -261,7 +261,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -301,7 +301,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -335,7 +335,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -375,7 +375,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -409,7 +409,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -449,7 +449,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -483,7 +483,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -523,7 +523,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -557,7 +557,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -597,7 +597,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -631,7 +631,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -671,7 +671,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -705,7 +705,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js index 0425d3b6eba90..e76e738c0f4eb 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js @@ -68,29 +68,25 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -110,11 +106,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -139,12 +131,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -153,7 +145,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -184,7 +176,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -215,7 +207,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } @@ -296,12 +288,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -310,7 +302,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -345,7 +337,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1822 + "size": 1834 } @@ -379,12 +371,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -393,7 +385,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -424,7 +416,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -455,7 +447,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } @@ -588,24 +580,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -625,11 +611,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -654,12 +636,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -668,7 +650,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -699,7 +681,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -730,7 +712,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1849 + "size": 1861 } @@ -859,12 +841,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -873,7 +855,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -908,7 +890,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1822 + "size": 1834 } @@ -940,24 +922,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -977,11 +953,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -1006,12 +978,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1020,7 +992,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1051,7 +1023,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1082,7 +1054,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js index 55b93a47cf038..fa58f08523eaf 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js @@ -75,29 +75,25 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -117,11 +113,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -146,12 +138,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -160,7 +152,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -191,7 +183,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -220,7 +212,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } @@ -301,12 +293,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -315,7 +307,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -348,7 +340,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1273 + "size": 1285 } @@ -389,12 +381,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -403,7 +395,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -434,7 +426,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -463,7 +455,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } @@ -614,24 +606,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -651,11 +637,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -680,12 +662,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -694,7 +676,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -725,7 +707,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -754,7 +736,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1298 + "size": 1310 } @@ -895,12 +877,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -909,7 +891,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -942,7 +924,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1271 + "size": 1283 } @@ -980,24 +962,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -1017,11 +993,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -1046,12 +1018,12 @@ 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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1060,7 +1032,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1091,7 +1063,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1120,7 +1092,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js index 11440b64b04da..38fc6dca388c6 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js @@ -74,29 +74,25 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.js] define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -116,21 +112,17 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -139,7 +131,7 @@ function someFunc(arguments) { "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -169,7 +161,7 @@ function someFunc(arguments) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -198,7 +190,7 @@ function someFunc(arguments) { ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } @@ -279,12 +271,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -293,7 +285,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -325,7 +317,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1254 + "size": 1266 } @@ -365,12 +357,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -379,7 +371,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -409,7 +401,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -438,7 +430,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } @@ -589,24 +581,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -626,21 +612,17 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -649,7 +631,7 @@ function someFunc(arguments) { "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -679,7 +661,7 @@ function someFunc(arguments) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -708,7 +690,7 @@ function someFunc(arguments) { ] ], "version": "FakeTSVersion", - "size": 1279 + "size": 1291 } @@ -849,12 +831,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -863,7 +845,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -895,7 +877,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1252 + "size": 1264 } @@ -933,24 +915,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -970,21 +946,17 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -993,7 +965,7 @@ function someFunc(arguments) { "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -1023,7 +995,7 @@ function someFunc(arguments) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1052,7 +1024,7 @@ function someFunc(arguments) { ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js index 8c0eaf1af771e..8681363881813 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/outfil CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -39,7 +39,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js index b49a67552a6dd..e71da23c1e806 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-composite.js @@ -68,13 +68,15 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -83,7 +85,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -113,7 +115,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -122,7 +124,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1281 + "size": 1293 } @@ -150,12 +152,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -164,7 +166,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -195,7 +197,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -226,7 +228,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } //// [/home/src/workspaces/outFile.js] @@ -234,24 +236,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -271,11 +267,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -329,12 +321,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -343,7 +335,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -374,7 +366,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -405,7 +397,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1849 + "size": 1861 } //// [/home/src/workspaces/outFile.js] @@ -413,24 +405,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -450,11 +436,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -508,12 +490,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -522,7 +504,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -557,7 +539,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "-1966987419-declare module \"src/class\" {\n export class classC {\n prop1: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1822 + "size": 1834 } @@ -585,12 +567,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"outSignature":"8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -599,7 +581,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -630,7 +612,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -661,7 +643,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outSignature": "8998999540-declare module \"src/class\" {\n export class classC {\n prop: number;\n }\n}\ndeclare module \"src/indirectClass\" {\n import { classC } from \"src/class\";\n export class indirectClass {\n classC: classC;\n }\n}\ndeclare module \"src/directUse\" { }\ndeclare module \"src/indirectUse\" { }\ndeclare module \"src/noChangeFile\" {\n export function writeLog(s: string): void;\n}\ndeclare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 1845 + "size": 1857 } //// [/home/src/workspaces/outFile.js] @@ -669,24 +651,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -706,11 +682,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js index 9cee96001d244..97a065bc67cb1 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental-declaration.js @@ -69,13 +69,15 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -84,7 +86,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -114,7 +116,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -123,7 +125,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1283 + "size": 1295 } @@ -157,12 +159,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -171,7 +173,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -202,7 +204,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -231,7 +233,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } //// [/home/src/workspaces/outFile.js] @@ -239,24 +241,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -276,11 +272,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -340,12 +332,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -354,7 +346,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -385,7 +377,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -414,7 +406,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1298 + "size": 1310 } //// [/home/src/workspaces/outFile.js] @@ -422,24 +414,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -459,11 +445,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -517,12 +499,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -531,7 +513,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -564,7 +546,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1271 + "size": 1283 } @@ -598,12 +580,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -612,7 +594,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -643,7 +625,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -672,7 +654,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1296 + "size": 1308 } //// [/home/src/workspaces/outFile.js] @@ -680,24 +662,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -717,11 +693,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js index aac5c60c12e28..3a50a62673c52 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-with-initial-noEmit-incremental.js @@ -68,13 +68,15 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[1,2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -83,7 +85,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -112,7 +114,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -121,7 +123,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1264 + "size": 1276 } @@ -155,12 +157,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -169,7 +171,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -199,7 +201,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -228,7 +230,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } //// [/home/src/workspaces/outFile.js] @@ -236,24 +238,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -273,11 +269,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -317,12 +309,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -331,7 +323,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -361,7 +353,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -390,7 +382,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1279 + "size": 1291 } //// [/home/src/workspaces/outFile.js] @@ -398,24 +390,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop1 = 1; - } - return classC; - }()); + class classC { + prop1 = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -435,11 +421,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } @@ -473,12 +455,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -487,7 +469,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -519,7 +501,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1252 + "size": 1264 } @@ -553,12 +535,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -567,7 +549,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\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;", @@ -597,7 +579,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -626,7 +608,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1289 } //// [/home/src/workspaces/outFile.js] @@ -634,24 +616,18 @@ define("src/class", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.classC = void 0; - var classC = /** @class */ (function () { - function classC() { - this.prop = 1; - } - return classC; - }()); + class classC { + prop = 1; + } exports.classC = classC; }); define("src/indirectClass", ["require", "exports", "src/class"], function (require, exports, class_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indirectClass = void 0; - var indirectClass = /** @class */ (function () { - function indirectClass() { - this.classC = new class_1.classC(); - } - return indirectClass; - }()); + class indirectClass { + classC = new class_1.classC(); + } exports.indirectClass = indirectClass; }); define("src/directUse", ["require", "exports", "src/indirectClass"], function (require, exports, indirectClass_1) { @@ -671,11 +647,7 @@ define("src/noChangeFile", ["require", "exports"], function (require, exports) { function writeLog(s) { } }); -function someFunc(arguments) { - var rest = []; - for (var _i = 1; _i < arguments.length; _i++) { - rest[_i - 1] = arguments[_i]; - } +function someFunc(arguments, ...rest) { } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js index f6e3860b1a803..af5b631eff751 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files-discrepancies.js @@ -5,7 +5,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/projects/outfile. CleanBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -34,7 +34,7 @@ CleanBuild: IncrementalBuild: { "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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js index 0fa32e47e736d..6cf8fc7b0d331 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-declaration-enable-changes-with-multiple-files.js @@ -53,20 +53,22 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -95,10 +97,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 853 + "size": 865 } @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -202,19 +204,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -244,10 +246,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 872 + "size": 884 } @@ -268,7 +270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -302,19 +304,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,4,5,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -345,10 +347,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 894 + "size": 906 } @@ -370,7 +372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -420,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -489,19 +491,19 @@ Errors Files //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]],[4,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable c.","category":1,"code":9027}]}]],[5,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable d.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -528,7 +530,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -614,7 +616,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1749 + "size": 1761 } //// [/home/src/projects/outFile.js] @@ -622,12 +624,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -639,23 +639,19 @@ define("c", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.c = void 0; - exports.c = /** @class */ (function () { - function class_2() { - this.p = 10; - } - return class_2; - }()); + const c = class { + p = 10; + }; + exports.c = c; }); define("d", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.d = void 0; - exports.d = /** @class */ (function () { - function class_3() { - this.p = 10; - } - return class_3; - }()); + const d = class { + p = 10; + }; + exports.d = d; }); @@ -676,7 +672,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -713,19 +709,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -753,7 +749,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 844 + "size": 856 } @@ -773,7 +769,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -807,19 +803,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -848,7 +844,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 863 + "size": 875 } @@ -869,7 +865,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -903,19 +899,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-17233149573-export const c = class { private p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-17233149573-export const c = class { private p = 10; };", @@ -945,7 +941,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 885 + "size": 897 } @@ -967,7 +963,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1004,19 +1000,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-15184115393-export const c = class { public p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,4],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9483521475-export const a = class { public p = 10; };","-13368947479-export const b = 10;","-15184115393-export const c = class { public p = 10; };","2523684124-export const d = class { private p = 10; };"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,4],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9483521475-export const a = class { public p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;", "./project/c.ts": "-15184115393-export const c = class { public p = 10; };", @@ -1047,7 +1043,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/c.ts" ], "version": "FakeTSVersion", - "size": 886 + "size": 898 } @@ -1069,7 +1065,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js index c31c43cffeb6f..a952d630a7adf 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules-discrepancies.js @@ -3,12 +3,12 @@ Incremental build contains ./project/a.ts file has emit errors, clean build does not have errors or does not mark is as pending emit: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: Incremental buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -29,7 +29,7 @@ Incremental buildInfoText:: { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -65,16 +65,16 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -96,8 +96,8 @@ Clean buildInfoText:: { "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } \ No newline at end of file diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js index 9a08728112057..b06463208ecf8 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -48,18 +48,20 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -81,10 +83,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } @@ -103,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -150,7 +152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -185,17 +187,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -217,10 +219,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 713 } @@ -239,7 +241,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -286,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -318,17 +320,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -349,7 +351,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -362,7 +364,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } //// [/home/src/projects/outFile.js] @@ -404,7 +406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -451,7 +453,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -486,17 +488,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -519,7 +521,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 712 + "size": 724 } @@ -538,7 +540,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -583,17 +585,17 @@ Errors Files //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -614,7 +616,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -650,7 +652,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } //// [/home/src/projects/outFile.js] @@ -658,12 +660,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -688,7 +688,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -735,7 +735,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js index 66153cdb54a8b..e5979f680ae6b 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental-discrepancies.js @@ -3,11 +3,11 @@ Incremental build contains ./project/a.ts file has emit errors, clean build does not have errors or does not mark is as pending emit: /home/src/projects/outfile.tsbuildinfo.readable.baseline.txt:: Incremental buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -22,7 +22,7 @@ Incremental buildInfoText:: { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -54,15 +54,15 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -77,8 +77,8 @@ Clean buildInfoText:: { }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } \ No newline at end of file diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js index 538924fc1b59c..73fdbecb74af9 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-with-incremental.js @@ -39,17 +39,19 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -64,10 +66,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } @@ -84,7 +86,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -123,7 +125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -152,16 +154,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -176,10 +178,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 636 } @@ -196,7 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -235,7 +237,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -261,16 +263,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -285,7 +287,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -294,11 +296,11 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 637 + "size": 649 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -318,7 +320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -357,7 +359,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -386,16 +388,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -412,7 +414,7 @@ Found 1 error in tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 638 + "size": 650 } @@ -429,7 +431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -468,16 +470,16 @@ Errors Files //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -492,7 +494,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -524,16 +526,13 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -549,7 +548,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -588,7 +587,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 18140b6135fd2..694055ed32c21 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -47,18 +47,20 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -79,10 +81,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 709 } @@ -100,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -146,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -181,17 +183,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -212,10 +214,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -233,7 +235,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -279,7 +281,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -311,17 +313,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -341,7 +343,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -354,7 +356,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -386,7 +388,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -432,7 +434,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -467,17 +469,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -499,7 +501,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 693 + "size": 705 } @@ -517,7 +519,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -549,17 +551,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -579,7 +581,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -592,7 +594,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 710 + "size": 722 } //// [/home/src/projects/outFile.js] @@ -600,12 +602,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -629,7 +629,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -675,7 +675,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index d869eac19b615..fc015e17a7a24 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -38,17 +38,19 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -62,10 +64,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 621 + "size": 633 } @@ -81,7 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -119,7 +121,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -148,16 +150,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -171,10 +173,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -190,7 +192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -228,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -254,16 +256,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -277,7 +279,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -286,11 +288,11 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -343,7 +345,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -372,16 +374,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -397,7 +399,7 @@ Found 1 error in tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 631 } @@ -413,7 +415,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -439,16 +441,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -462,7 +464,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -471,16 +473,13 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 634 + "size": 646 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -495,7 +494,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -533,7 +532,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js index 344f1dcc9f7af..e3688e9cf405d 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -37,6 +37,8 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -49,7 +51,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -82,7 +84,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -151,7 +153,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -173,7 +175,7 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -187,7 +189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -278,12 +280,9 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -297,7 +296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -330,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js index 502d7524f1e3e..0828c8f08aca7 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js @@ -38,6 +38,8 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -51,7 +53,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -85,7 +87,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -122,7 +124,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -156,7 +158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -178,7 +180,7 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -197,7 +199,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -231,7 +233,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -268,7 +270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -303,12 +305,9 @@ Errors Files //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -323,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -357,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index 50bd2eaf7bd37..762c3215af407 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -47,18 +47,20 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -79,10 +81,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 689 + "size": 701 } @@ -100,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -146,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -181,17 +183,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -212,10 +214,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -233,7 +235,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -279,7 +281,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -311,17 +313,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -341,7 +343,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -354,7 +356,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -386,7 +388,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -432,7 +434,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -467,17 +469,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -499,7 +501,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 685 + "size": 697 } @@ -517,7 +519,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -549,17 +551,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -579,7 +581,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -592,7 +594,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 702 + "size": 714 } //// [/home/src/projects/outFile.js] file written with same contents @@ -610,7 +612,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -656,7 +658,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js index a9dac0db24b68..d3c3cc7112a4f 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors-with-incremental.js @@ -38,17 +38,19 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -62,10 +64,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 624 } @@ -81,7 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -119,7 +121,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -148,16 +150,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -171,10 +173,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -190,7 +192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -228,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -254,16 +256,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -277,7 +279,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -286,11 +288,11 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -343,7 +345,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -372,16 +374,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -397,7 +399,7 @@ Found 1 error in tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 610 + "size": 622 } @@ -413,7 +415,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -439,16 +441,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -462,7 +464,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -471,7 +473,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 625 + "size": 637 } //// [/home/src/projects/outFile.js] file written with same contents @@ -487,7 +489,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -525,7 +527,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js index 495a86d724fea..c2e1c39caa117 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js @@ -37,6 +37,8 @@ Found 1 error in tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -49,7 +51,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -82,7 +84,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -151,7 +153,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -173,7 +175,7 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -187,7 +189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -289,7 +291,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -322,7 +324,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 6b4736dfce12c..e264b941f5e8a 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -42,18 +42,20 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -74,10 +76,10 @@ Found 1 error in a.ts:1 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 679 + "size": 691 } @@ -95,7 +97,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -136,7 +138,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -171,17 +173,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -202,10 +204,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -223,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -269,7 +271,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -301,17 +303,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -331,7 +333,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -344,7 +346,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -376,7 +378,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -422,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -452,17 +454,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -484,7 +486,7 @@ Found 1 error in a.ts:1 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 675 + "size": 687 } @@ -502,7 +504,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -529,17 +531,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -559,7 +561,7 @@ Found 1 error in a.ts:1 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -572,7 +574,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 692 + "size": 704 } //// [/home/src/projects/outFile.js] @@ -604,7 +606,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -645,7 +647,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js index 7ea5c15d0f691..5c73fc80ed17f 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors-with-incremental.js @@ -38,17 +38,19 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -62,10 +64,10 @@ Found 1 error in a.ts:1 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 602 + "size": 614 } @@ -81,7 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -119,7 +121,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -148,16 +150,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -171,10 +173,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -190,7 +192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -228,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -254,16 +256,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -277,7 +279,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -286,11 +288,11 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -305,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -343,7 +345,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -372,16 +374,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -397,7 +399,7 @@ Found 1 error in a.ts:1 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 600 + "size": 612 } @@ -413,7 +415,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -439,16 +441,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -462,7 +464,7 @@ Found 1 error in a.ts:1 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -471,11 +473,11 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 615 + "size": 627 } //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -490,7 +492,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -528,7 +530,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js index f6d0cabb1dd6d..aaa94b0f49e22 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js @@ -37,6 +37,8 @@ Found 1 error in a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/home/src/projects/project/a.ts" @@ -49,7 +51,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -82,7 +84,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -151,7 +153,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -173,7 +175,7 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -187,7 +189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -256,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -278,7 +280,7 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -292,7 +294,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -325,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js b/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js index ba96e2363513e..e4ea3f048e841 100644 --- a/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js @@ -30,17 +30,19 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./class1.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7660182596-export class class1 {}"],"root":[2],"options":{"strict":true},"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./class1.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7660182596-export class class1 {}"],"root":[2],"options":{"strict":true},"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./class1.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -70,7 +72,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 644 + "size": 656 } @@ -85,15 +87,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/class1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/class1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/class1.ts (used version) exitCode:: ExitStatus.Success @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/class1.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js index 8c70106929607..32db6b38bf497 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration-with-incremental.js @@ -58,13 +58,15 @@ Found 1 error in src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17],[4,17]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -75,7 +77,7 @@ Found 1 error in src/main.ts:2 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -167,7 +169,7 @@ Found 1 error in src/main.ts:2 ] ], "version": "FakeTSVersion", - "size": 1292 + "size": 1304 } @@ -185,19 +187,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -240,7 +242,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -265,12 +267,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -281,7 +283,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -335,12 +337,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1091 + "size": 1103 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -350,15 +351,9 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -370,9 +365,8 @@ export declare const a: { //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -394,7 +388,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -430,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration.js index eaae400d2e53d..3187218bb9b4d 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-declaration.js @@ -57,6 +57,8 @@ Found 1 error in src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -71,7 +73,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -113,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -134,8 +136,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -145,15 +146,9 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -165,9 +160,8 @@ export declare const a: { //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -188,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -223,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-incremental.js index 9a46cfe50b11c..724cbe06fa2f8 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors-with-incremental.js @@ -44,36 +44,30 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -84,7 +78,7 @@ console.log("hi"); ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,7 +123,7 @@ console.log("hi"); ] }, "version": "FakeTSVersion", - "size": 917 + "size": 929 } @@ -146,19 +140,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -187,7 +181,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -213,12 +207,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file written with same contents //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -229,7 +223,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -278,7 +272,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1021 + "size": 1033 } @@ -295,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -330,7 +324,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors.js index 66f28677b5f0f..3ab1322e8299d 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors.js @@ -43,27 +43,21 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -79,7 +73,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -110,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -146,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -177,7 +171,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/file-deleted-before-fixing-error-with-noEmitOnError.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/file-deleted-before-fixing-error-with-noEmitOnError.js index 454f15c7ed3e9..9a566de3b2799 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/file-deleted-before-fixing-error-with-noEmitOnError.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/file-deleted-before-fixing-error-with-noEmitOnError.js @@ -41,18 +41,20 @@ Found 1 error in file1.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10927263693-export const x: 30 = \"hello\";","-7804761415-export class D { }"],"root":[2,3],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10927263693-export const x: 30 = \"hello\";","-7804761415-export class D { }"],"root":[2,3],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../file1.ts", "../file2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -109,7 +111,7 @@ Found 1 error in file1.ts:1 ] ], "version": "FakeTSVersion", - "size": 880 + "size": 892 } @@ -125,17 +127,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts /home/src/workspaces/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts /home/src/workspaces/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/file1.ts (used version) /home/src/workspaces/project/file2.ts (used version) @@ -159,16 +161,16 @@ Found 1 error in file1.ts:1 //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../file1.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10927263693-export const x: 30 = \"hello\";"],"root":[2],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.es2024.full.d.ts","../file1.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10927263693-export const x: 30 = \"hello\";"],"root":[2],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../file1.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +215,7 @@ Found 1 error in file1.ts:1 ] ], "version": "FakeTSVersion", - "size": 829 + "size": 841 } @@ -228,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js index 1bdd1cbb6a246..ef19a39b22b46 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration-with-incremental.js @@ -52,13 +52,15 @@ Found 1 error in src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -69,7 +71,7 @@ Found 1 error in src/main.ts:2 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,7 +145,7 @@ Found 1 error in src/main.ts:2 ] ], "version": "FakeTSVersion", - "size": 1101 + "size": 1113 } @@ -161,19 +163,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -211,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -235,12 +237,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -251,7 +253,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -305,12 +307,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1022 + "size": 1034 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -320,9 +321,8 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -330,9 +330,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -354,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -390,7 +389,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration.js index 9d770219e31bb..00b8efb73a99c 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-declaration.js @@ -51,6 +51,8 @@ Found 1 error in src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -65,7 +67,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -122,8 +124,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -133,9 +134,8 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -143,9 +143,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -166,7 +165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -201,7 +200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-incremental.js index 65cb4037a4020..979a667028892 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors-with-incremental.js @@ -51,13 +51,15 @@ Found 1 error in src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -68,7 +70,7 @@ Found 1 error in src/main.ts:2 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -141,7 +143,7 @@ Found 1 error in src/main.ts:2 ] ], "version": "FakeTSVersion", - "size": 1082 + "size": 1094 } @@ -158,19 +160,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -207,7 +209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -231,12 +233,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -247,7 +249,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -296,24 +298,21 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 952 + "size": 964 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -330,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -365,7 +364,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors.js index 3c88d8ab63b70..b81c3fbee7029 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors.js @@ -50,6 +50,8 @@ Found 1 error in src/main.ts:2 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -63,7 +65,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -99,7 +101,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -119,20 +121,17 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -148,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -179,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js index 6fe3706521a60..e6d5bd1039f54 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration-with-incremental.js @@ -55,13 +55,15 @@ Found 1 error in src/main.ts:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -72,7 +74,7 @@ Found 1 error in src/main.ts:4 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,7 +135,7 @@ Found 1 error in src/main.ts:4 ], "errors": true, "version": "FakeTSVersion", - "size": 979 + "size": 991 } @@ -151,19 +153,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -201,7 +203,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -227,12 +229,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -243,7 +245,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -297,12 +299,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1031 + "size": 1043 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -312,11 +313,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -324,9 +324,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -348,7 +347,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -384,7 +383,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration.js index d1ff76de3970f..2788814e6be6d 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-declaration.js @@ -54,6 +54,8 @@ Found 1 error in src/main.ts:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -68,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -105,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -127,8 +129,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -138,11 +139,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -150,9 +150,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -173,7 +172,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -208,7 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-incremental.js index 5822c8b52b0ca..b7a5924c93a80 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors-with-incremental.js @@ -54,13 +54,15 @@ Found 1 error in src/main.ts:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -71,7 +73,7 @@ Found 1 error in src/main.ts:4 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,7 +133,7 @@ Found 1 error in src/main.ts:4 ], "errors": true, "version": "FakeTSVersion", - "size": 960 + "size": 972 } @@ -148,19 +150,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -197,7 +199,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -223,12 +225,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -239,7 +241,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -288,26 +290,23 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -324,7 +323,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -359,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors.js index aaad7abcb0c4c..a88750f16a726 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors.js @@ -53,6 +53,8 @@ Found 1 error in src/main.ts:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -66,7 +68,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -124,22 +126,19 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -155,7 +154,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -186,7 +185,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes-discrepancies.js index 794c8ff145a7a..e0ca3861d14cd 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes-discrepancies.js @@ -6,7 +6,7 @@ TsBuild info text without affectedFilesPendingEmit:: /home/src/workspaces/projec CleanBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, @@ -44,7 +44,7 @@ CleanBuild: IncrementalBuild: { "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, diff --git a/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes.js b/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes.js index d53f9e370b54e..e6d267ebc4861 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/when-declarationMap-changes.js @@ -34,8 +34,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/a.js] -var x = 10; +const x = 10; //// [/home/src/workspaces/project/a.d.ts] @@ -43,7 +45,7 @@ declare const x = 10; //// [/home/src/workspaces/project/b.js] -var y = 10; +const y = 10; //// [/home/src/workspaces/project/b.d.ts] @@ -51,17 +53,17 @@ declare const y = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -108,7 +110,7 @@ declare const y = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 889 + "size": 901 } @@ -134,17 +136,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-3041996843-declare const x: 20;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,["-4001438729-declare const x = 10;\n"]],[3,[]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-3041996843-declare const x: 20;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,["-4001438729-declare const x = 10;\n"]],[3,[]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -228,7 +230,7 @@ Found 1 error in a.ts:1 ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1160 + "size": 1172 } @@ -256,17 +258,17 @@ declare const y = 10; //# sourceMappingURL=b.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -314,7 +316,7 @@ declare const y = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 911 + "size": 923 } //// [/home/src/workspaces/project/a.d.ts.map] diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js index 01b777a07b2d6..289b472ebac76 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration-with-incremental.js @@ -59,19 +59,21 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -101,7 +103,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 945 + "size": 957 } @@ -120,13 +122,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -172,7 +174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -210,18 +212,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -251,7 +253,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 937 + "size": 949 } @@ -270,13 +272,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -322,7 +324,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js index 4291c68e26a93..7587d7fad8e52 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-declaration.js @@ -58,6 +58,8 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -73,7 +75,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -116,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -207,7 +209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js index 960dedb1b5123..af580a51d4a14 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors-with-incremental.js @@ -58,19 +58,21 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -99,7 +101,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 926 + "size": 938 } @@ -117,13 +119,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -206,18 +208,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -246,7 +248,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 918 + "size": 930 } @@ -264,13 +266,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -315,7 +317,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js index c990b34cea633..59051ddcc5da3 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js @@ -57,6 +57,8 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -71,7 +73,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -113,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -160,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -202,7 +204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js index 764446fe6354c..a5be82f8470fe 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/file-deleted-before-fixing-error-with-noEmitOnError.js @@ -55,18 +55,20 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/file1.ts","./project/file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10927263693-export const x: 30 = \"hello\";","-7804761415-export class D { }"],"root":[2,3],"options":{"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/file1.ts","./project/file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10927263693-export const x: 30 = \"hello\";","-7804761415-export class D { }"],"root":[2,3],"options":{"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/file1.ts", "./project/file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/file1.ts": "-10927263693-export const x: 30 = \"hello\";", "./project/file2.ts": "-7804761415-export class D { }" }, @@ -104,7 +106,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 859 + "size": 871 } @@ -121,12 +123,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts /home/src/workspaces/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts /home/src/workspaces/project/file2.ts @@ -165,16 +167,16 @@ Errors Files //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/file1.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10927263693-export const x: 30 = \"hello\";"],"root":[2],"options":{"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/file1.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10927263693-export const x: 30 = \"hello\";"],"root":[2],"options":{"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/file1.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/file1.ts": "-10927263693-export const x: 30 = \"hello\";" }, "root": [ @@ -207,7 +209,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 803 + "size": 815 } @@ -223,11 +225,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/file1.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js index f3c080f753f80..5905a181c7609 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration-with-incremental.js @@ -66,19 +66,21 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -121,7 +123,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 1061 + "size": 1073 } @@ -140,13 +142,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -200,7 +202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -237,18 +239,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -278,7 +280,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 929 + "size": 941 } @@ -297,13 +299,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -349,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js index 634d8ab2e0b2f..8a6e599cd59e5 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-declaration.js @@ -65,6 +65,8 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -80,7 +82,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -131,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -178,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -221,7 +223,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js index c9455d6f75b87..79c9db1798a88 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors-with-incremental.js @@ -65,19 +65,21 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -119,7 +121,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 1042 + "size": 1054 } @@ -137,13 +139,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -196,7 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -233,18 +235,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -273,7 +275,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 910 + "size": 922 } @@ -291,13 +293,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -342,7 +344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js index 6301a4da78fb7..a6d4aaef8e736 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js @@ -64,6 +64,8 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -78,7 +80,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -128,7 +130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -174,7 +176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -216,7 +218,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js index 109607eb507a3..b32ef958597a8 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration-with-incremental.js @@ -69,19 +69,21 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -111,7 +113,7 @@ Errors Files ], "errors": true, "version": "FakeTSVersion", - "size": 939 + "size": 951 } @@ -130,13 +132,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -190,7 +192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -229,18 +231,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -270,7 +272,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 950 } @@ -289,13 +291,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -341,7 +343,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js index 9fb8af9263de5..a32d1386087a8 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-declaration.js @@ -68,6 +68,8 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -83,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -134,7 +136,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -183,7 +185,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -226,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js index 14d787115c908..8c36eb316f537 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors-with-incremental.js @@ -68,19 +68,21 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -109,7 +111,7 @@ Errors Files ], "errors": true, "version": "FakeTSVersion", - "size": 920 + "size": 932 } @@ -127,13 +129,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -186,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -225,18 +227,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -265,7 +267,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 919 + "size": 931 } @@ -283,13 +285,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -334,7 +336,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js index e6bef01206a99..4d6b26389d37c 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js @@ -67,6 +67,8 @@ Errors Files 2 tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Program root files: [ "/user/username/projects/noEmitOnError/shared/types/db.ts", @@ -81,7 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -131,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -179,7 +181,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -221,7 +223,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js index 24278c79834a3..3a9da0b85d276 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js @@ -43,18 +43,20 @@ Found 1 error in tsconfig.json:6 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "5029505981-const x = 10;", "./project/b.ts": "2026006654-const y = 10;" }, @@ -80,7 +82,7 @@ Found 1 error in tsconfig.json:6 ], "errors": true, "version": "FakeTSVersion", - "size": 713 + "size": 725 } @@ -114,17 +116,17 @@ Errors Files //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5515933561-const x: 20 = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5515933561-const x: 20 = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "5515933561-const x: 20 = 10;", "./project/b.ts": "2026006654-const y = 10;" }, @@ -164,7 +166,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -190,17 +192,17 @@ Found 1 error in tsconfig.json:6 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "5029505981-const x = 10;", "./project/b.ts": "2026006654-const y = 10;" }, @@ -227,7 +229,7 @@ Found 1 error in tsconfig.json:6 ], "errors": true, "version": "FakeTSVersion", - "size": 735 + "size": 747 } diff --git a/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js b/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js index 79610a168d1f0..22038de9cae99 100644 --- a/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js +++ b/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js @@ -90,8 +90,10 @@ app/src/index.ts(4,28): error TS1192: Module '"/home/src/workspaces/project/lib/ app/src/index.ts(5,28): error TS1192: Module '"/home/src/workspaces/project/lib/dist/a"' has no default export. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/app/dist/local.js] -export var local = 0; +export const local = 0; //// [/home/src/workspaces/project/app/dist/index.js] diff --git a/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js b/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js index e711c231fbfbe..28679248064eb 100644 --- a/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js +++ b/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js @@ -71,6 +71,8 @@ Output:: project/index.ts(2,10): error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/index.js] import { E } from "../preserve"; import { F } from "../no-preserve"; diff --git a/tests/baselines/reference/tsc/projectReferences/referenced-project-with-esnext-module-disallows-synthetic-default-imports.js b/tests/baselines/reference/tsc/projectReferences/referenced-project-with-esnext-module-disallows-synthetic-default-imports.js index a12b919163bc2..c1bb7e9117573 100644 --- a/tests/baselines/reference/tsc/projectReferences/referenced-project-with-esnext-module-disallows-synthetic-default-imports.js +++ b/tests/baselines/reference/tsc/projectReferences/referenced-project-with-esnext-module-disallows-synthetic-default-imports.js @@ -62,6 +62,8 @@ app/index.ts(2,28): error TS1192: Module '"/home/src/workspaces/project/lib/dist app/index.ts(3,28): error TS1192: Module '"/home/src/workspaces/project/lib/dist/utils"' has no default export. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/app/index.js] import TestSrc from '../lib/src/utils'; // Error import TestDecl from '../lib/dist/utils'; // Error diff --git a/tests/baselines/reference/tsc/projectReferences/referencing-ambient-const-enum-from-referenced-project-with-preserveConstEnums.js b/tests/baselines/reference/tsc/projectReferences/referencing-ambient-const-enum-from-referenced-project-with-preserveConstEnums.js index 257438ff694a3..cf2a7e86ffb5b 100644 --- a/tests/baselines/reference/tsc/projectReferences/referencing-ambient-const-enum-from-referenced-project-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/projectReferences/referencing-ambient-const-enum-from-referenced-project-with-preserveConstEnums.js @@ -49,11 +49,11 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var utils_1 = require("../utils"); -utils_1.E.A; +import { E } from "../utils"; +E.A; diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js index 87b0c038cffd3..96b1ca259384e 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js @@ -63,6 +63,8 @@ Found 4 errors in the same file, starting at: tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/theApp.js] define("src/main", ["require", "exports"], function (require, exports) { "use strict"; diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js index 8d450fc03885e..87f1e68a66824 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js @@ -54,9 +54,10 @@ Found 1 error in project/tsconfig.json:3 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/solution/project/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js b/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js index 503763e1c0f7f..e21d790577d2e 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js @@ -47,9 +47,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/primary/bin/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/primary/bin/a.d.ts] @@ -57,16 +58,16 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -96,7 +97,7 @@ export {}; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 706 + "size": 718 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js b/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js index aca83e837d36f..b1687380bcd66 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js @@ -31,11 +31,10 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/alpha/bin/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.m = 3; +export const m = 3; //// [/home/src/workspaces/project/alpha/bin/src/a.d.ts] @@ -43,16 +42,16 @@ export declare const m: number; //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12181672471-export const m: number = 3;","signature":"-6260611917-export declare const m: number;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../src/a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12181672471-export const m: number = 3;","signature":"-6260611917-export declare const m: number;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../src/a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -82,7 +81,7 @@ export declare const m: number; }, "latestChangedDtsFile": "./src/a.d.ts", "version": "FakeTSVersion", - "size": 752 + "size": 764 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js index fba8d6246b544..297669277af5e 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js @@ -47,9 +47,10 @@ Found 2 errors in the same file, starting at: alpha/src/a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/beta/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/beta/b.d.ts] @@ -57,8 +58,7 @@ export {}; //// [/home/src/workspaces/project/alpha/bin/src/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/alpha/bin/src/a.d.ts] @@ -66,12 +66,12 @@ export {}; //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../beta/b.ts","../src/a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3360792065-export { }","signature":"-3531856636-export {};\n"},{"version":"-5654511483-import * as b from '../../beta/b'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/a.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../beta/b.ts","../src/a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3360792065-export { }","signature":"-3531856636-export {};\n"},{"version":"-5654511483-import * as b from '../../beta/b'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/a.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../beta/b.ts", "../src/a.ts" ], @@ -81,7 +81,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -125,7 +125,7 @@ export {}; "latestChangedDtsFile": "./src/a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 888 + "size": 900 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js index 9ef3d3cf1e1a6..b6c71281c2e25 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js @@ -40,9 +40,10 @@ Found 1 error in primary/tsconfig.json:5 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/primary/bin/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/primary/bin/a.d.ts] @@ -50,16 +51,16 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"declaration":false,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"declaration":false,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -90,7 +91,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -100,7 +101,7 @@ export {}; ], "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 761 + "size": 773 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js index cbeb85b4899c7..b408109014f53 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js @@ -45,9 +45,10 @@ Found 1 error in primary/a.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/primary/bin/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/primary/bin/b.d.ts] @@ -55,8 +56,7 @@ export {}; //// [/home/src/workspaces/project/primary/bin/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/primary/bin/a.d.ts] @@ -64,12 +64,12 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../b.ts","../a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2704852577-export {}","signature":"-3531856636-export {};\n"},{"version":"-4190788607-import * as b from './b'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../b.ts","../a.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2704852577-export {}","signature":"-3531856636-export {};\n"},{"version":"-4190788607-import * as b from './b'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../b.ts", "../a.ts" ], @@ -79,7 +79,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,7 +123,7 @@ export {}; "latestChangedDtsFile": "./a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 862 + "size": 874 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js index 6038fbf26c68b..ccb93771d451c 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js @@ -47,9 +47,10 @@ Found 1 error in primary/tsconfig.json:7 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/primary/bin/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/primary/bin/a.d.ts] @@ -57,16 +58,16 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -96,7 +97,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -106,7 +107,7 @@ export {}; ], "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 741 + "size": 753 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js index fad3e60e5e9a2..74300e9a7b160 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js @@ -62,9 +62,10 @@ Found 1 error in reference/tsconfig.json:7 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/reference/bin/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/reference/bin/b.d.ts] @@ -72,16 +73,16 @@ export {}; //// [/home/src/workspaces/project/reference/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9543969340-import * as mod_0 from \"../primary/a\"","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9543969340-import * as mod_0 from \"../primary/a\"","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/reference/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../b.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -111,7 +112,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -121,7 +122,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 769 + "size": 781 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js index de718a133db43..7861409cf21d0 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js @@ -62,9 +62,10 @@ Found 1 error in beta/tsconfig.json:5 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/beta/bin/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/beta/bin/b.d.ts] @@ -72,16 +73,16 @@ export {}; //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2892088637-import { m } from '@alpha/a'","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2892088637-import { m } from '@alpha/a'","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../b.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -111,7 +112,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -121,7 +122,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 757 + "size": 769 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js index f125c4c37d20c..c736b0332bfa7 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js @@ -55,9 +55,10 @@ Found 1 error in beta/b.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/beta/bin/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/beta/bin/b.d.ts] @@ -65,16 +66,16 @@ export {}; //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":12,"messageText":"Output file '/home/src/workspaces/project/alpha/bin/a.d.ts' has not been built from source file '/home/src/workspaces/project/alpha/a.ts'.","category":1,"code":6305}]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":12,"messageText":"Output file '/home/src/workspaces/project/alpha/bin/a.d.ts' has not been built from source file '/home/src/workspaces/project/alpha/a.ts'.","category":1,"code":6305}]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../b.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -118,7 +119,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 967 + "size": 979 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js b/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js index a665f2eddaf2f..fe003a494f198 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js @@ -53,8 +53,8 @@ Output:: 1 import { m } from '../alpha/a'    ~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' alpha/bin/a.d.ts Imported via '../alpha/a' from file 'beta/b.ts' File is output of project reference source 'alpha/a.ts' @@ -65,9 +65,10 @@ Found 1 error in beta/b.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/beta/bin/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/beta/bin/b.d.ts] @@ -75,12 +76,12 @@ export {}; //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../alpha/bin/a.d.ts","../b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3531955686-export { };",{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":1,"messageText":"Module '\"../alpha/a\"' has no exported member 'm'.","category":1,"code":2305}]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.es2024.full.d.ts","../../alpha/bin/a.d.ts","../b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3531955686-export { };",{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":1,"messageText":"Module '\"../alpha/a\"' has no exported member 'm'.","category":1,"code":2305}]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.d.ts", + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", "../../alpha/bin/a.d.ts", "../b.ts" ], @@ -90,7 +91,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.d.ts": { + "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,7 +144,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 973 + "size": 985 } diff --git a/tests/baselines/reference/tsc/redirect/when-redirecting-ts-file.js b/tests/baselines/reference/tsc/redirect/when-redirecting-ts-file.js index 87df398601f41..33a10041bbafb 100644 --- a/tests/baselines/reference/tsc/redirect/when-redirecting-ts-file.js +++ b/tests/baselines/reference/tsc/redirect/when-redirecting-ts-file.js @@ -56,28 +56,22 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/out/copy1/node_modules/target/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 1; +export const a = 1; //// [/home/src/workspaces/project/out/copy1/node_modules/target/import.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/workspaces/project/out/copy2/node_modules/target/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 1; +export const a = 1; //// [/home/src/workspaces/project/out/copy2/node_modules/target/import.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js index 780aae40c5642..c36299833cec1 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f.js] @@ -45,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -65,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -115,7 +117,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js index bb6f011af5a51..b0363735fb855 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js @@ -33,6 +33,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f.js] @@ -44,7 +46,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -66,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js index be55b213850a0..ac7bee0f2a34e 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js @@ -31,6 +31,8 @@ CreatingProgramWith:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f.js] @@ -42,7 +44,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -56,15 +58,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -116,7 +118,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js index 9adc06d3d9bad..2eed75268e646 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js @@ -28,7 +28,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/f.ts"] options: {"watch":true,"extendedDiagnostics":true} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -37,6 +37,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f.js] @@ -48,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -62,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -122,7 +124,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js index e47aec3fdad01..3f73df27609d3 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js @@ -26,6 +26,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f.js] @@ -37,7 +39,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -51,15 +53,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -101,7 +103,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js index c45e377716359..9786f0001443e 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js @@ -27,6 +27,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f.js] @@ -38,7 +40,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -51,15 +53,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -101,7 +103,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js index a74157ac89f87..64890b3fdbb96 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js @@ -33,20 +33,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/someone/projects/myproject/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/someone/projects/myproject/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/someone/projects/myproject/file3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var v = 1 /* E2.V */; +const v = 1 /* E2.V */; +export {}; @@ -57,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/someone/projects/myproject/file1.ts: *new* {} @@ -74,19 +73,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/someone/projects/myproject/file1.ts /user/someone/projects/myproject/file2.ts /user/someone/projects/myproject/file3.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/someone/projects/myproject/file1.ts /user/someone/projects/myproject/file2.ts /user/someone/projects/myproject/file3.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/someone/projects/myproject/file1.ts (used version) /user/someone/projects/myproject/file2.ts (used version) /user/someone/projects/myproject/file3.ts (used version) @@ -117,10 +116,9 @@ Output:: //// [/user/someone/projects/myproject/file3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var v = 1 /* E2.V */; +const v = 1 /* E2.V */; function foo2() { return 2; } +export {}; @@ -133,7 +131,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/someone/projects/myproject/file1.ts /user/someone/projects/myproject/file2.ts /user/someone/projects/myproject/file3.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js index d5a233fee2a84..013c510dbd0fc 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/username/projects/project/app/file.js] var a = 10; @@ -46,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/username/projects/project/app/file.ts: *new* {} @@ -66,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/projects/project/app/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/projects/project/app/file.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts (used version) +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts (used version) /home/username/projects/project/app/file.ts (used version) exitCode:: ExitStatus.undefined @@ -119,15 +121,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/projects/project/app/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/projects/project/app/file.ts Shape signatures in builder refreshed for:: /home/username/projects/project/app/file.ts (computed .d.ts) -/home/src/tslibs/TS/Lib/lib.d.ts (used version) +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js index 82466f80c75f9..c7c33d5e632ee 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js @@ -28,6 +28,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/app.js] var x = 1; var y = 2; @@ -43,7 +45,7 @@ PolledWatches:: FsWatches:: /home/src/projects/a/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Program root files: [ @@ -54,15 +56,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/app.ts (used version) exitCode:: ExitStatus.undefined @@ -108,15 +110,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Shape signatures in builder refreshed for:: /home/src/projects/a/app.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js index 551da1b64f6a9..0856ebb29e8d4 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js @@ -28,6 +28,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/app.js] var x = 1; var y = 2; @@ -43,7 +45,7 @@ PolledWatches:: FsWatches:: /home/src/projects/a/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Program root files: [ @@ -54,15 +56,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/app.ts (used version) exitCode:: ExitStatus.undefined @@ -108,15 +110,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/app.ts Shape signatures in builder refreshed for:: /home/src/projects/a/app.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js index 5989264834e51..d8fd29b39d057 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js @@ -36,26 +36,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { return 10; } +export function Foo() { return 10; } //// [/home/src/projects/a/b/f2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -var f1_1 = require("./f1"); -exports.y = (0, f1_1.Foo)(); +import { Foo } from "./f1"; +export let y = Foo(); //// [/home/src/projects/a/b/f3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var f2_1 = require("./f2"); -var x = f2_1.y; +import { y } from "./f2"; +let x = y; @@ -76,7 +70,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -95,19 +89,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/f1.ts /home/src/projects/a/b/f2.ts /home/src/projects/a/b/f3.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/f1.ts /home/src/projects/a/b/f2.ts /home/src/projects/a/b/f3.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/f1.ts (used version) /home/src/projects/a/b/f2.ts (used version) /home/src/projects/a/b/f3.ts (used version) @@ -138,12 +132,8 @@ Output:: //// [/home/src/projects/a/b/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -exports.foo2 = foo2; -function Foo() { return 10; } -function foo2() { return 2; } +export function Foo() { return 10; } +export function foo2() { return 2; } //// [/home/src/projects/a/b/f2.js] file written with same contents @@ -162,7 +152,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/f1.ts /home/src/projects/a/b/f2.ts /home/src/projects/a/b/f3.ts @@ -203,14 +193,9 @@ Output:: //// [/home/src/projects/a/b/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -exports.foo2 = foo2; -exports.fooN = fooN; -function Foo() { return 10; } -function foo2() { return 2; } -function fooN() { return 2; } +export function Foo() { return 10; } +export function foo2() { return 2; } +export function fooN() { return 2; } //// [/home/src/projects/a/b/f2.js] file written with same contents @@ -228,7 +213,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/f1.ts /home/src/projects/a/b/f2.ts /home/src/projects/a/b/f3.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js index 045e8f88138ac..40892de9f358c 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js @@ -46,35 +46,27 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -99,7 +91,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -120,7 +112,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -128,7 +120,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -136,7 +128,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer2.ts (used version) @@ -169,11 +161,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -193,7 +182,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js index df9b06789260f..25321223c65ba 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js @@ -57,6 +57,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/out.js] System.register("moduleFile1", [], function (exports_1, context_1) { "use strict"; @@ -127,7 +129,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -149,7 +151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -261,7 +263,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js index 309ccedf54362..d51c80fab2ac6 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js @@ -42,35 +42,27 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -95,7 +87,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -123,7 +115,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -131,7 +123,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer2.ts (used version) @@ -165,11 +157,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -194,7 +183,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -218,7 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/globalFile3.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js index 82024312601be..fa7878422b108 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js @@ -42,35 +42,27 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -95,7 +87,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -123,7 +115,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -131,7 +123,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer2.ts (used version) @@ -167,21 +159,16 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] file written with same contents //// [/home/src/projects/a/b/file1Consumer2.js] file written with same contents //// [/home/src/projects/a/b/file1Consumer3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var moduleFile1_1 = require("./moduleFile1"); -var y = (0, moduleFile1_1.Foo)(); +import { Foo } from "./moduleFile1"; +let y = Foo(); @@ -208,7 +195,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -230,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js index d73ce676c9cbd..ffbb38eba8adc 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js @@ -42,35 +42,27 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -95,7 +87,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -123,7 +115,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -131,7 +123,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer2.ts (used version) @@ -169,10 +161,7 @@ Output:: //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = Foo(); +export let y = Foo(); @@ -190,7 +179,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -234,11 +223,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -258,7 +244,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -299,10 +285,8 @@ Output:: //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var moduleFile1_1 = require("./moduleFile1"); -var y = (0, moduleFile1_1.Foo)(); +import { Foo } from "./moduleFile1"; +let y = Foo(); @@ -320,7 +304,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -374,10 +358,7 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = Foo(); +export let y = Foo(); //// [/home/src/projects/a/b/file1Consumer1.js] file written with same contents @@ -397,7 +378,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -441,11 +422,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -466,7 +444,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js index 8bb013c360165..2e77437e7eb55 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js @@ -42,35 +42,27 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -95,7 +87,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -123,7 +115,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -131,7 +123,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer2.ts (used version) @@ -164,11 +156,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -189,7 +178,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -232,11 +221,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { console.log('hi'); } +export var T; +export function Foo() { console.log('hi'); } ; @@ -255,7 +241,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js index 3e49874ea0199..ef18f4d1f19b9 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js @@ -46,19 +46,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; @@ -77,7 +73,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Program root files: [ @@ -89,17 +85,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) @@ -129,11 +125,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -149,7 +142,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts @@ -187,11 +180,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; var T1; @@ -207,7 +197,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js index c7007ff20326d..97d52ea009814 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js @@ -41,12 +41,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/referenceFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; /// -exports.x = Foo(); +export var x = Foo(); @@ -65,7 +64,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -81,15 +80,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/referenceFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/referenceFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/referencefile1.ts (used version) exitCode:: ExitStatus.undefined @@ -134,12 +133,9 @@ Output:: //// [/home/src/projects/a/b/referenceFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.yy = exports.x = void 0; /// -exports.x = Foo(); -exports.yy = Foo(); +export var x = Foo(); +export var yy = Foo(); @@ -153,7 +149,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/referenceFile1.ts Semantic diagnostics in builder refreshed for:: @@ -188,7 +184,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -223,10 +219,7 @@ Output:: //// [/home/src/projects/a/b/referenceFile1.js] file written with same contents //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -245,7 +238,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -263,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile2.ts /home/src/projects/a/b/referenceFile1.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js index cd4023adab7df..eb667c9df3bff 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js @@ -39,20 +39,16 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/referenceFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; /// -exports.x = Foo(); +export var x = Foo(); @@ -71,7 +67,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -88,17 +84,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/referenceFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/referenceFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/referencefile1.ts (used version) @@ -152,7 +148,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -173,7 +169,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/referenceFile1.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js index 715664f2108d5..ebca9fc552e1c 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js @@ -42,35 +42,27 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -95,7 +87,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -123,7 +115,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -131,7 +123,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer2.ts (used version) @@ -186,7 +178,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -194,7 +186,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -203,7 +195,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /home/src/projects/a/b/globalfile3.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (computed .d.ts) /home/src/projects/a/b/file1consumer1.ts (computed .d.ts) /home/src/projects/a/b/file1consumer2.ts (computed .d.ts) diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js index b037ae1e9222d..f3d8a90f099a0 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js @@ -45,40 +45,31 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { } +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export var y = 10; //// [/home/src/projects/a/b/file1Consumer1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/projects/a/b/file1Consumer2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var z = 10; +let z = 10; +export {}; //// [/home/src/projects/a/b/globalFile3.js] //// [/home/src/projects/a/b/moduleFile2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo4 = void 0; -exports.Foo4 = 10; +export var Foo4 = 10; @@ -105,7 +96,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -126,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -135,7 +126,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -144,7 +135,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/a/b/moduleFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) /home/src/projects/a/b/file1consumer1consumer1.ts (used version) @@ -178,10 +169,8 @@ Output:: //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = exports.y = void 0; -exports.y = 10; +export var y = 10; +export var T; //// [/home/src/projects/a/b/file1Consumer1Consumer1.js] file written with same contents @@ -201,7 +190,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -243,11 +232,8 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T = void 0; -exports.Foo = Foo; -function Foo() { } +export var T; +export function Foo() { } ; @@ -269,7 +255,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -318,19 +304,15 @@ Output:: //// [/home/src/projects/a/b/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T2 = void 0; -exports.Foo = Foo; -function Foo() { } +export var T2; +export function Foo() { } ; //// [/home/src/projects/a/b/file1Consumer1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.T2 = exports.T = exports.y = void 0; -exports.y = 10; +export var y = 10; +export var T; +export var T2; //// [/home/src/projects/a/b/file1Consumer1Consumer1.js] file written with same contents @@ -351,7 +333,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js index 1ee64512d5e66..d6303a7623bcb 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js @@ -35,20 +35,16 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/b/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.t2 = void 0; /// -exports.t2 = 10; +export var t2 = 10; //// [/home/src/projects/a/b/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.t1 = void 0; /// -exports.t1 = 10; +export var t1 = 10; @@ -67,7 +63,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -84,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/file2.ts /home/src/projects/a/b/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/file2.ts /home/src/projects/a/b/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b/file2.ts (used version) /home/src/projects/a/b/file1.ts (used version) @@ -126,12 +122,9 @@ Output:: //// [/home/src/projects/a/b/file2.js] file written with same contents //// [/home/src/projects/a/b/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.t3 = exports.t1 = void 0; /// -exports.t1 = 10; -exports.t3 = 10; +export var t1 = 10; +export var t3 = 10; @@ -146,7 +139,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/b/file2.ts /home/src/projects/a/b/file1.ts diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js index d4135a2b17807..c01805253f330 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js @@ -35,12 +35,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/a.js] -var x = 1; +let x = 1; //// [/home/src/projects/a/b.js] -var y = 1; +let y = 1; @@ -57,7 +59,7 @@ FsWatches:: {} /home/src/projects/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -75,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/a.ts (used version) /home/src/projects/a/b.ts (used version) @@ -115,7 +117,7 @@ Output:: //// [/home/src/projects/a/a.js] -var x = 11; +let x = 11; //// [/home/src/projects/a/b.js] file written with same contents @@ -132,18 +134,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts Shape signatures in builder refreshed for:: /home/src/projects/a/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -172,7 +174,7 @@ Output:: //// [/home/src/projects/a/a.js] -var xy = 11; +let xy = 11; //// [/home/src/projects/a/b.js] file written with same contents @@ -189,18 +191,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts Shape signatures in builder refreshed for:: /home/src/projects/a/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js index a49394eb25f02..efc00d5e0f472 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js @@ -42,12 +42,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/a.js] -var x = 1; +let x = 1; //// [/home/src/projects/a/b.js] -var y = 1; +let y = 1; @@ -64,7 +66,7 @@ FsWatches:: {} /home/src/projects/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -83,14 +85,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/a.ts (used version) /home/src/projects/a/b.ts (used version) @@ -125,7 +127,7 @@ Output:: //// [/home/src/projects/a/a.js] -var x = 11; +let x = 11; //// [/home/src/projects/a/b.js] file written with same contents @@ -143,7 +145,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -151,7 +153,7 @@ No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/projects/a/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -185,7 +187,7 @@ Output:: //// [/home/src/projects/a/a.js] -var xy = 11; +let xy = 11; //// [/home/src/projects/a/b.js] file written with same contents @@ -203,7 +205,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -211,7 +213,7 @@ No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/projects/a/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/b.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js index 6a3e3a276ce0e..1eafd7cbd0030 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js @@ -42,9 +42,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/out.js] -var x = 1; -var y = 1; +let x = 1; +let y = 1; @@ -61,7 +63,7 @@ FsWatches:: {} /home/src/projects/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -80,7 +82,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -119,8 +121,8 @@ Output:: //// [/home/src/projects/a/out.js] -var x = 11; -var y = 1; +let x = 11; +let y = 1; @@ -137,7 +139,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -176,8 +178,8 @@ Output:: //// [/home/src/projects/a/out.js] -var xy = 11; -var y = 1; +let xy = 11; +let y = 1; @@ -194,7 +196,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts diff --git a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js index 8314d501dda0c..1d681f341dc51 100644 --- a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js +++ b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js @@ -53,6 +53,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/a/rootFolder/project/Static/scripts/Scripts/Javascript.js] var zz = 10; @@ -79,7 +81,7 @@ FsWatches:: {} /home/src/projects/a/rootFolder/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -99,14 +101,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/rootFolder/project/Scripts/Javascript.js /home/src/projects/a/rootFolder/project/Scripts/TypeScript.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/rootfolder/project/scripts/javascript.js (used version) /home/src/projects/a/rootfolder/project/scripts/typescript.ts (used version) @@ -166,7 +168,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/rootFolder/project/Scripts/Javascript.js /home/src/projects/a/rootFolder/project/Scripts/TypeScript.ts @@ -174,7 +176,7 @@ No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/projects/a/rootfolder/project/scripts/typescript.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/rootfolder/project/scripts/javascript.js (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 8e4b23e6af7a0..dcd4f738b507d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -46,21 +46,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -74,7 +74,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -121,7 +121,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 925 + "size": 937 } @@ -132,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -165,19 +165,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -213,12 +213,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -232,7 +232,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -279,7 +279,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 926 + "size": 938 } @@ -297,7 +297,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -339,12 +339,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -358,7 +358,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -405,7 +405,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 925 + "size": 937 } @@ -423,7 +423,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -465,12 +465,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -484,7 +484,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -531,7 +531,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 926 + "size": 938 } @@ -549,7 +549,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 976a306be8146..100df4d7006f5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -62,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -91,19 +91,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -150,7 +150,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -205,7 +205,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -260,7 +260,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js index 32606d479a313..ad84bf107073c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -46,48 +46,34 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -101,7 +87,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -148,7 +134,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 924 + "size": 936 } @@ -159,7 +145,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -187,19 +173,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -238,27 +224,20 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -272,7 +251,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -345,7 +324,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1320 } @@ -363,7 +342,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -412,26 +391,19 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -445,7 +417,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -518,7 +490,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1306 + "size": 1318 } @@ -536,7 +508,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -583,26 +555,19 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -616,7 +581,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -689,7 +654,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1320 } @@ -707,7 +672,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index 5eed961ff9c4d..4a9add15cd501 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -46,38 +46,24 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -89,7 +75,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -116,19 +102,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -167,16 +153,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents @@ -195,7 +174,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -244,16 +223,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents @@ -271,7 +243,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -318,16 +290,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents @@ -345,7 +310,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 546635f3b4f12..3460b474f0d82 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -76,21 +76,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -103,25 +100,21 @@ function getPoint() { //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -143,7 +136,7 @@ require("./d"); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -242,7 +235,7 @@ require("./d"); ] ], "version": "FakeTSVersion", - "size": 1777 + "size": 1789 } @@ -253,7 +246,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -287,7 +280,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -295,7 +288,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -303,7 +296,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/c.ts (used version) @@ -348,12 +341,12 @@ Output:: //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -375,7 +368,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -458,7 +451,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1793 + "size": 1805 } @@ -478,7 +471,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -534,12 +527,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -561,7 +554,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -644,7 +637,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1796 + "size": 1808 } @@ -664,7 +657,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -714,12 +707,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -741,7 +734,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -824,7 +817,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1793 + "size": 1805 } @@ -844,7 +837,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index 8eed17155d38e..b6eff8b5fe161 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -76,21 +76,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -103,16 +100,12 @@ function getPoint() { //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; @@ -123,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -156,7 +149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -164,7 +157,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -172,7 +165,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/c.ts (used version) @@ -232,7 +225,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -303,7 +296,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -368,7 +361,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js index 2f7f255e0d458..1228f5c045fb4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js @@ -73,110 +73,51 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -202,7 +143,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -264,7 +205,7 @@ exports.App = App; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -293,7 +234,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1409 + "size": 1421 } @@ -304,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -333,7 +274,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -344,7 +285,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -392,12 +333,12 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -423,7 +364,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -509,7 +450,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -538,7 +479,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1939 + "size": 1951 } @@ -555,7 +496,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -609,12 +550,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -640,7 +581,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -726,7 +667,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -755,7 +696,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1937 + "size": 1949 } @@ -772,7 +713,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -822,12 +763,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -853,7 +794,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -939,7 +880,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -968,7 +909,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1939 + "size": 1951 } @@ -985,7 +926,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index 8766c82782e7b..4c2112dda257d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -73,101 +73,42 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} @@ -178,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -206,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -217,7 +158,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -277,7 +218,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -343,7 +284,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -405,7 +346,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js index 8b0ca348ac5f7..fd6d74d19b413 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -79,122 +79,58 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -222,7 +158,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -292,7 +228,7 @@ exports.App = App; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -325,7 +261,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1588 + "size": 1600 } @@ -336,7 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -367,7 +303,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -379,7 +315,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -429,12 +365,12 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -462,7 +398,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -560,7 +496,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -593,7 +529,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2296 + "size": 2308 } @@ -610,7 +546,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -666,12 +602,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -699,7 +635,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -797,7 +733,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -830,7 +766,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2294 + "size": 2306 } @@ -847,7 +783,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -898,12 +834,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -931,7 +867,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1029,7 +965,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1062,7 +998,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2296 + "size": 2308 } @@ -1079,7 +1015,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index def18e71c2fba..e707e88a06a38 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -79,113 +79,49 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} @@ -196,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -226,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -238,7 +174,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -300,7 +236,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -368,7 +304,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -431,7 +367,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index e76504f0501b4..36b437faf451b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -59,12 +59,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -78,7 +78,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -130,7 +130,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 995 + "size": 1007 } @@ -141,7 +141,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -175,19 +175,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -223,12 +223,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -242,7 +242,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -294,7 +294,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 996 + "size": 1008 } @@ -313,7 +313,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -355,12 +355,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -374,7 +374,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -426,7 +426,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 995 + "size": 1007 } @@ -445,7 +445,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -487,12 +487,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -506,7 +506,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -558,7 +558,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 996 + "size": 1008 } @@ -577,7 +577,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 9c3ef12fe4794..2b9543f997037 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -66,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -96,19 +96,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -156,7 +156,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -212,7 +212,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -268,7 +268,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 7d50d40f3ff1c..5694f289a09f9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -46,17 +46,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -66,17 +61,10 @@ export declare class C { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -87,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -99,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -118,7 +104,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -178,7 +164,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1182 + "size": 1194 } @@ -189,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -218,19 +204,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -264,16 +250,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -285,12 +264,12 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -304,7 +283,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -364,7 +343,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1184 + "size": 1196 } @@ -383,7 +362,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -425,16 +404,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -446,12 +418,12 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -465,7 +437,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -525,7 +497,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1182 + "size": 1194 } @@ -544,7 +516,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -586,16 +558,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -607,12 +572,12 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -626,7 +591,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -686,7 +651,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1184 + "size": 1196 } @@ -705,7 +670,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 203579a0c838e..faf3102e05d45 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -46,17 +46,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -66,17 +61,10 @@ export declare class C { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -87,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -106,7 +92,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -134,19 +120,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -180,16 +166,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -215,7 +194,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -257,16 +236,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -292,7 +264,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -334,16 +306,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -369,7 +334,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index c9eb671c16825..daad1aaebe0aa 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -76,9 +76,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/a.d.ts] @@ -93,8 +94,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.d.ts] @@ -104,10 +104,7 @@ export interface PointWrapper extends Point { //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -125,10 +122,8 @@ export declare function getPoint(): PointWrapper; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/d.d.ts] @@ -136,9 +131,7 @@ export {}; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/e.d.ts] @@ -146,12 +139,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -173,7 +166,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -293,7 +286,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 2318 + "size": 2330 } @@ -304,7 +297,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -339,7 +332,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -347,7 +340,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -355,7 +348,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/c.ts (computed .d.ts during emit) @@ -424,12 +417,12 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -451,7 +444,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -571,7 +564,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2315 + "size": 2327 } @@ -592,7 +585,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -669,12 +662,12 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -696,7 +689,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -816,7 +809,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2318 + "size": 2330 } @@ -837,7 +830,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -914,12 +907,12 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -941,7 +934,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1061,7 +1054,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2315 + "size": 2327 } @@ -1082,7 +1075,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index a8deb6cb13b61..1493e61a5b9ec 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -76,9 +76,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/a.d.ts] @@ -93,8 +94,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.d.ts] @@ -104,10 +104,7 @@ export interface PointWrapper extends Point { //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -125,10 +122,8 @@ export declare function getPoint(): PointWrapper; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/d.d.ts] @@ -136,9 +131,7 @@ export {}; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/e.d.ts] @@ -153,7 +146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -187,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -195,7 +188,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -203,7 +196,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/c.ts (computed .d.ts during emit) @@ -288,7 +281,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -381,7 +374,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -474,7 +467,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js index d5f825f5c9db1..0ca4a84c35a85 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -73,9 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -85,23 +86,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -109,23 +94,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -133,21 +102,14 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -158,23 +120,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -182,17 +128,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -202,12 +143,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -233,7 +174,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -320,7 +261,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -349,7 +290,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 1956 + "size": 1968 } @@ -360,7 +301,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -390,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -401,7 +342,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -452,12 +393,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -483,7 +424,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -570,7 +511,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -599,7 +540,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1958 + "size": 1970 } @@ -617,7 +558,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -674,12 +615,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -705,7 +646,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -792,7 +733,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -821,7 +762,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1956 + "size": 1968 } @@ -839,7 +780,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -896,12 +837,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -927,7 +868,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1014,7 +955,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1043,7 +984,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1958 + "size": 1970 } @@ -1061,7 +1002,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index 26425db1d64fb..e8520d5a70cea 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -73,9 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -85,23 +86,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -109,23 +94,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -133,21 +102,14 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -158,23 +120,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -182,17 +128,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -209,7 +150,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -238,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -249,7 +190,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -313,7 +254,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -383,7 +324,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -453,7 +394,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index d4060fcd2fc9d..288b92bb45c5b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -79,9 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -91,23 +92,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -115,23 +100,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -139,15 +108,9 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data2.d.ts] @@ -158,21 +121,15 @@ export declare class Data2 { //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -185,23 +142,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -209,17 +150,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -229,12 +165,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -262,7 +198,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -361,7 +297,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -394,7 +330,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 2313 + "size": 2325 } @@ -405,7 +341,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -437,7 +373,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -449,7 +385,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -501,12 +437,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -534,7 +470,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -633,7 +569,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -666,7 +602,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2315 + "size": 2327 } @@ -684,7 +620,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -742,12 +678,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -775,7 +711,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -874,7 +810,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -907,7 +843,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2313 + "size": 2325 } @@ -925,7 +861,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -983,12 +919,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -1016,7 +952,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1115,7 +1051,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1148,7 +1084,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2315 + "size": 2327 } @@ -1166,7 +1102,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index 821b416fa4319..72996a266a6e2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -79,9 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -91,23 +92,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -115,23 +100,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -139,15 +108,9 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data2.d.ts] @@ -158,21 +121,15 @@ export declare class Data2 { //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -185,23 +142,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -209,17 +150,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -236,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -267,7 +203,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -279,7 +215,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -344,7 +280,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -415,7 +351,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -486,7 +422,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 27d1626cc4fc1..1d23b73c853e2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -46,21 +46,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -74,7 +74,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -118,7 +118,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -129,7 +129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -161,19 +161,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -214,12 +214,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -233,7 +233,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -291,7 +291,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1008 + "size": 1020 } @@ -308,7 +308,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -352,12 +352,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -371,7 +371,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -415,7 +415,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -432,7 +432,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -481,12 +481,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -500,7 +500,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -558,7 +558,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1008 + "size": 1020 } @@ -575,7 +575,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js index fec92c2722077..d26d538d06fc6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -62,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -90,19 +90,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -153,7 +153,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -209,7 +209,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -270,7 +270,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js index 42669cd60e9db..0c8f273393e00 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -46,48 +46,34 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -101,7 +87,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -145,7 +131,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 863 + "size": 875 } @@ -156,7 +142,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -183,19 +169,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -234,27 +220,20 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -268,7 +247,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -338,7 +317,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1247 + "size": 1259 } @@ -355,7 +334,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -399,26 +378,19 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -432,7 +404,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -484,7 +456,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1051 + "size": 1063 } @@ -501,7 +473,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -550,26 +522,19 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -583,7 +548,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -649,7 +614,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1196 + "size": 1208 } @@ -666,7 +631,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js index 866e4f0b5bca9..9fe666620f3b5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js @@ -46,38 +46,24 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -89,7 +75,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -115,19 +101,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -166,16 +152,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents @@ -193,7 +172,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -237,16 +216,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents @@ -263,7 +235,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -312,16 +284,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/b.js] file written with same contents @@ -338,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 42d83cdaf4c4c..6b7668d9ba813 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -76,21 +76,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -103,25 +100,21 @@ function getPoint() { //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -143,7 +136,7 @@ require("./d"); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -239,7 +232,7 @@ require("./d"); ] ], "version": "FakeTSVersion", - "size": 1716 + "size": 1728 } @@ -250,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -283,7 +276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -291,7 +284,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -299,7 +292,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/c.ts (used version) @@ -344,12 +337,12 @@ Output:: //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -371,7 +364,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -451,7 +444,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1732 + "size": 1744 } @@ -470,7 +463,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -541,12 +534,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -568,7 +561,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -672,7 +665,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2002 + "size": 2014 } @@ -691,7 +684,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -747,12 +740,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -774,7 +767,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -842,7 +835,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1496 + "size": 1508 } @@ -861,7 +854,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index b2eddca765336..1a26c5ad47fde 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -76,21 +76,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -103,16 +100,12 @@ function getPoint() { //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; @@ -123,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -155,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -163,7 +156,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -171,7 +164,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/c.ts (used version) @@ -230,7 +223,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -315,7 +308,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -385,7 +378,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js index 77ae783695af3..d757fbd3e6ed6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js @@ -73,110 +73,51 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -202,7 +143,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -261,7 +202,7 @@ exports.App = App; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -290,7 +231,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1348 + "size": 1360 } @@ -301,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -329,7 +270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -340,7 +281,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -388,12 +329,12 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -419,7 +360,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -502,7 +443,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -531,7 +472,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1878 + "size": 1890 } @@ -547,7 +488,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -601,12 +542,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -632,7 +573,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -699,7 +640,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -728,7 +669,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1513 + "size": 1525 } @@ -744,7 +685,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -798,12 +739,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -829,7 +770,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -896,7 +837,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -925,7 +866,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1515 + "size": 1527 } @@ -941,7 +882,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js index 5ffbddaf2d563..e18136260a881 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js @@ -73,101 +73,42 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} @@ -178,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -205,7 +146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -216,7 +157,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -275,7 +216,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -340,7 +281,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -405,7 +346,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js index eb3051dc6b312..1b13df1e66bbf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -79,122 +79,58 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -222,7 +158,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -289,7 +225,7 @@ exports.App = App; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -322,7 +258,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1527 + "size": 1539 } @@ -333,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -363,7 +299,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -375,7 +311,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -425,12 +361,12 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -458,7 +394,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -553,7 +489,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -586,7 +522,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2235 + "size": 2247 } @@ -602,7 +538,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -658,12 +594,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -691,7 +627,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -766,7 +702,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -799,7 +735,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1692 + "size": 1704 } @@ -815,7 +751,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -871,12 +807,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -904,7 +840,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -979,7 +915,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1012,7 +948,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1694 + "size": 1706 } @@ -1028,7 +964,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js index 10208028717d3..e2348a070e289 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js @@ -79,113 +79,49 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} @@ -196,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -225,7 +161,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -237,7 +173,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -298,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -365,7 +301,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -432,7 +368,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 3d196cfdad27b..aa6821744d5fa 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -59,12 +59,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -78,7 +78,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,7 +129,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 946 + "size": 958 } @@ -140,7 +140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -173,19 +173,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -227,12 +227,12 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -246,7 +246,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -311,7 +311,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1090 + "size": 1102 } @@ -329,7 +329,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -374,12 +374,12 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -393,7 +393,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -444,7 +444,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 946 + "size": 958 } @@ -462,7 +462,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -512,12 +512,12 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -531,7 +531,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -596,7 +596,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1090 + "size": 1102 } @@ -614,7 +614,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 86be566eb6cee..550f977a7aef3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -66,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -95,19 +95,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -160,7 +160,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -218,7 +218,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -281,7 +281,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 8e3c2d0609c5a..af713cc255dc5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -46,17 +46,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -66,17 +61,10 @@ export declare class C { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -87,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -99,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -118,7 +104,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -177,7 +163,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1133 + "size": 1145 } @@ -188,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -216,19 +202,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -267,16 +253,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -289,12 +268,12 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -308,7 +287,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -381,7 +360,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } @@ -399,7 +378,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -443,16 +422,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -465,12 +437,12 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -484,7 +456,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -543,7 +515,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1133 + "size": 1145 } @@ -561,7 +533,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -610,16 +582,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -632,12 +597,12 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -651,7 +616,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -724,7 +689,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } @@ -742,7 +707,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 55a77c298c2d0..81355e9bd1960 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -46,17 +46,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -66,17 +61,10 @@ export declare class C { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -87,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -106,7 +92,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -133,19 +119,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -184,16 +170,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -219,7 +198,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -263,16 +242,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -298,7 +270,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -347,16 +319,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -382,7 +347,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 9d9772a611ddd..9bd6f5127a1e9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -76,9 +76,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/a.d.ts] @@ -93,8 +94,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.d.ts] @@ -104,10 +104,7 @@ export interface PointWrapper extends Point { //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -125,10 +122,8 @@ export declare function getPoint(): PointWrapper; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/d.d.ts] @@ -136,9 +131,7 @@ export {}; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/e.d.ts] @@ -146,12 +139,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -173,7 +166,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -292,7 +285,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 2269 + "size": 2281 } @@ -303,7 +296,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -337,7 +330,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -345,7 +338,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -353,7 +346,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/c.ts (computed .d.ts during emit) @@ -410,12 +403,12 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -437,7 +430,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -520,7 +513,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1763 + "size": 1775 } @@ -540,7 +533,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -626,12 +619,12 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -653,7 +646,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -772,7 +765,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2269 + "size": 2281 } @@ -792,7 +785,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -863,12 +856,12 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -890,7 +883,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -973,7 +966,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1763 + "size": 1775 } @@ -993,7 +986,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index ff027cc8cd2f0..0528972798523 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -76,9 +76,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/a.d.ts] @@ -93,8 +94,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.d.ts] @@ -104,10 +104,7 @@ export interface PointWrapper extends Point { //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -125,10 +122,8 @@ export declare function getPoint(): PointWrapper; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/d.d.ts] @@ -136,9 +131,7 @@ export {}; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/e.d.ts] @@ -153,7 +146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -186,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -194,7 +187,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -202,7 +195,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/c.ts (computed .d.ts during emit) @@ -274,7 +267,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -375,7 +368,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -461,7 +454,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js index 3daa8febd8cc2..2bf2564d6b6bd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -73,9 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -85,23 +86,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -109,23 +94,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -133,21 +102,14 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -158,23 +120,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -182,17 +128,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -202,12 +143,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -233,7 +174,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -319,7 +260,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -348,7 +289,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 1907 + "size": 1919 } @@ -359,7 +300,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -388,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -399,7 +340,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -454,12 +395,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -485,7 +426,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -571,7 +512,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -600,7 +541,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1909 + "size": 1921 } @@ -617,7 +558,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -682,12 +623,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -713,7 +654,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -799,7 +740,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -828,7 +769,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1907 + "size": 1919 } @@ -845,7 +786,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -910,12 +851,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -941,7 +882,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1027,7 +968,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1056,7 +997,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1909 + "size": 1921 } @@ -1073,7 +1014,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js index 49fdf5683ee5b..8aed5a9b44739 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js @@ -73,9 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -85,23 +86,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -109,23 +94,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -133,21 +102,14 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -158,23 +120,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -182,17 +128,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -209,7 +150,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -237,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -248,7 +189,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -315,7 +256,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -392,7 +333,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -469,7 +410,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 0edb43f3e32ed..5b857ec30972b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -79,9 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -91,23 +92,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -115,23 +100,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -139,15 +108,9 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data2.d.ts] @@ -158,21 +121,15 @@ export declare class Data2 { //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -185,23 +142,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -209,17 +150,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -229,12 +165,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -262,7 +198,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -360,7 +296,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -393,7 +329,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 2264 + "size": 2276 } @@ -404,7 +340,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -435,7 +371,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -447,7 +383,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -504,12 +440,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -537,7 +473,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -635,7 +571,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -668,7 +604,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2266 + "size": 2278 } @@ -685,7 +621,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -753,12 +689,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -786,7 +722,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -884,7 +820,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -917,7 +853,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2264 + "size": 2276 } @@ -934,7 +870,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -1002,12 +938,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -1035,7 +971,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1133,7 +1069,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1166,7 +1102,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2266 + "size": 2278 } @@ -1183,7 +1119,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js index ac4a7f44bda42..e810687e3f3c6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -79,9 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -91,23 +92,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -115,23 +100,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -139,15 +108,9 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data2.d.ts] @@ -158,21 +121,15 @@ export declare class Data2 { //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -185,23 +142,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -209,17 +150,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -236,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -266,7 +202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -278,7 +214,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -347,7 +283,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -427,7 +363,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -507,7 +443,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 19cf569bb1d51..d1aad2027d3ed 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -46,21 +46,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -74,7 +74,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -118,7 +118,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -129,7 +129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -162,19 +162,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -215,12 +215,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -234,7 +234,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -292,7 +292,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1008 + "size": 1020 } @@ -310,7 +310,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -354,12 +354,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -373,7 +373,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -417,7 +417,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 864 + "size": 876 } @@ -435,7 +435,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -484,12 +484,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -503,7 +503,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -561,7 +561,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1008 + "size": 1020 } @@ -579,7 +579,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index b5aab0f58f278..ed6215eb0c850 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -62,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -91,19 +91,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -155,7 +155,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -212,7 +212,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -274,7 +274,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js index a780c08ca8a8a..3897f779339b7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -46,48 +46,34 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -101,7 +87,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -145,7 +131,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 863 + "size": 875 } @@ -156,7 +142,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -184,19 +170,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -235,25 +221,18 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -267,7 +246,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -329,7 +308,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1092 + "size": 1104 } @@ -347,7 +326,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -391,25 +370,18 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -423,7 +395,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -471,7 +443,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 947 + "size": 959 } @@ -489,7 +461,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -538,25 +510,18 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -570,7 +535,7 @@ exports.C = C; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -632,7 +597,7 @@ exports.C = C; ] ], "version": "FakeTSVersion", - "size": 1092 + "size": 1104 } @@ -650,7 +615,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 0ff0752e80940..b67554d7d1c1c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -46,38 +46,24 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -89,7 +75,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -116,19 +102,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -167,16 +153,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} @@ -193,7 +172,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -237,16 +216,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} @@ -263,7 +235,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -312,16 +284,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} @@ -338,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index ecec5139eaaaf..d510c2343c049 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -76,21 +76,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -103,25 +100,21 @@ function getPoint() { //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -143,7 +136,7 @@ require("./d"); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -239,7 +232,7 @@ require("./d"); ] ], "version": "FakeTSVersion", - "size": 1716 + "size": 1728 } @@ -250,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -284,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -292,7 +285,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -300,7 +293,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/c.ts (used version) @@ -341,12 +334,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -368,7 +361,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -432,7 +425,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1375 + "size": 1387 } @@ -452,7 +445,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -522,12 +515,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -549,7 +542,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -649,7 +642,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1881 + "size": 1893 } @@ -669,7 +662,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -724,12 +717,12 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -751,7 +744,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -815,7 +808,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1375 + "size": 1387 } @@ -835,7 +828,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index 6d47e2e440cda..0f9dce2dd09f8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -76,21 +76,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -103,16 +100,12 @@ function getPoint() { //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; @@ -123,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -156,7 +149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -164,7 +157,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -172,7 +165,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/c.ts (used version) @@ -228,7 +221,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -313,7 +306,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -383,7 +376,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js index 7ee7c0b1d9eff..6a19b1460d320 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js @@ -73,110 +73,51 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -202,7 +143,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -261,7 +202,7 @@ exports.App = App; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -290,7 +231,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1348 + "size": 1360 } @@ -301,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -330,7 +271,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -341,7 +282,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -384,12 +325,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -415,7 +356,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -478,7 +419,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -507,7 +448,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1438 + "size": 1450 } @@ -524,7 +465,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -577,12 +518,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -608,7 +549,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -671,7 +612,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -700,7 +641,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1436 + "size": 1448 } @@ -717,7 +658,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -770,12 +711,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -801,7 +742,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -864,7 +805,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -893,7 +834,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1438 + "size": 1450 } @@ -910,7 +851,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js index 1d9603d2a7565..fc2562e0489ec 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js @@ -73,101 +73,42 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} @@ -178,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -206,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -217,7 +158,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -272,7 +213,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -337,7 +278,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -402,7 +343,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js index f3ecb14777ec4..9a613834b4fd5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -79,122 +79,58 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -222,7 +158,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -289,7 +225,7 @@ exports.App = App; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -322,7 +258,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1527 + "size": 1539 } @@ -333,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -364,7 +300,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -376,7 +312,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -420,12 +356,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -453,7 +389,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -524,7 +460,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -557,7 +493,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1617 + "size": 1629 } @@ -574,7 +510,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -629,12 +565,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -662,7 +598,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -733,7 +669,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -766,7 +702,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1615 + "size": 1627 } @@ -783,7 +719,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -838,12 +774,12 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -871,7 +807,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -942,7 +878,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -975,7 +911,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1617 + "size": 1629 } @@ -992,7 +928,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js index 2a7963a0a95c9..1b4b420a145ac 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -79,113 +79,49 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} @@ -196,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -226,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -238,7 +174,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (used version) /user/username/projects/myproject/lib1/tools/public.ts (used version) /user/username/projects/myproject/lib1/public.ts (used version) @@ -294,7 +230,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -361,7 +297,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -428,7 +364,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 0548208b0920f..8619bf9b6fdeb 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -59,12 +59,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -78,7 +78,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,7 +129,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 946 + "size": 958 } @@ -140,7 +140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -174,19 +174,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -228,12 +228,12 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -247,7 +247,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -312,7 +312,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1090 + "size": 1102 } @@ -331,7 +331,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -376,12 +376,12 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -395,7 +395,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +446,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 946 + "size": 958 } @@ -465,7 +465,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -515,12 +515,12 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -534,7 +534,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -599,7 +599,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1090 + "size": 1102 } @@ -618,7 +618,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index c6b104243aa08..51c4f1e38aaed 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -46,11 +46,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -66,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -96,19 +96,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -162,7 +162,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -221,7 +221,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -285,7 +285,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 562e814cb0c59..24b5ef1ca049f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -46,17 +46,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -66,17 +61,10 @@ export declare class C { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -87,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -99,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -118,7 +104,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -177,7 +163,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1133 + "size": 1145 } @@ -188,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -217,19 +203,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -268,16 +254,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -289,12 +268,12 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -308,7 +287,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -381,7 +360,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } @@ -400,7 +379,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -444,16 +423,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -465,12 +437,12 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -484,7 +456,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -543,7 +515,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1133 + "size": 1145 } @@ -562,7 +534,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -611,16 +583,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -632,12 +597,12 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./c.ts","./b.ts","./a.ts"],"fileIdsList":[[3],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -651,7 +616,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -724,7 +689,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } @@ -743,7 +708,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index 0cb553eea653a..010634fe4a2e4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -46,17 +46,12 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -66,17 +61,10 @@ export declare class C { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.B = void 0; -var c_1 = require("./c"); -var B = /** @class */ (function () { - function B() { - this.c = new c_1.C(); - } - return B; -}()); -exports.B = B; +import { C } from './c'; +export class B { + c = new C(); +} //// [/user/username/projects/myproject/b.d.ts] @@ -87,10 +75,8 @@ export declare class B { //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var b = new b_1.B(); +import { B } from './b'; +let b = new B(); console.log(b.c.d); @@ -106,7 +92,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -134,19 +120,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/c.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/a.ts (computed .d.ts during emit) @@ -185,16 +171,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -220,7 +199,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -264,16 +243,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d = 1; - } - return C; -}()); -exports.C = C; +export class C { + d = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -299,7 +271,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -348,16 +320,9 @@ Output:: //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - this.d2 = 1; - } - return C; -}()); -exports.C = C; +export class C { + d2 = 1; +} //// [/user/username/projects/myproject/c.d.ts] @@ -383,7 +348,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 20bddd7a8c097..b2b8e9faf932d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -76,9 +76,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/a.d.ts] @@ -93,8 +94,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.d.ts] @@ -104,10 +104,7 @@ export interface PointWrapper extends Point { //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -125,10 +122,8 @@ export declare function getPoint(): PointWrapper; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/d.d.ts] @@ -136,9 +131,7 @@ export {}; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/e.d.ts] @@ -146,12 +139,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -173,7 +166,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -292,7 +285,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 2269 + "size": 2281 } @@ -303,7 +296,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -338,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -346,7 +339,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -354,7 +347,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/c.ts (computed .d.ts during emit) @@ -410,12 +403,12 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -437,7 +430,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -520,7 +513,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1763 + "size": 1775 } @@ -541,7 +534,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -626,12 +619,12 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -653,7 +646,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -772,7 +765,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2269 + "size": 2281 } @@ -793,7 +786,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -863,12 +856,12 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileIdsList":[[2],[3],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -890,7 +883,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -973,7 +966,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1763 + "size": 1775 } @@ -994,7 +987,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 2baceaf03c8ec..5bb362c65b882 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -76,9 +76,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/a.d.ts] @@ -93,8 +94,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/b.d.ts] @@ -104,10 +104,7 @@ export interface PointWrapper extends Point { //// [/user/username/projects/myproject/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getPoint = getPoint; -function getPoint() { +export function getPoint() { return { name: "test", c: { @@ -125,10 +122,8 @@ export declare function getPoint(): PointWrapper; //// [/user/username/projects/myproject/d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var c_1 = require("./c"); -(0, c_1.getPoint)().c.x; +import { getPoint } from "./c"; +getPoint().c.x; //// [/user/username/projects/myproject/d.d.ts] @@ -136,9 +131,7 @@ export {}; //// [/user/username/projects/myproject/e.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("./d"); +import "./d"; //// [/user/username/projects/myproject/e.d.ts] @@ -153,7 +146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -187,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -195,7 +188,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -203,7 +196,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts during emit) /user/username/projects/myproject/b.ts (computed .d.ts during emit) /user/username/projects/myproject/c.ts (computed .d.ts during emit) @@ -275,7 +268,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -376,7 +369,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -462,7 +455,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js index 662839abddf73..08399937c323b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -73,9 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -85,23 +86,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -109,23 +94,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -133,21 +102,14 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -158,23 +120,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -182,17 +128,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -202,12 +143,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -233,7 +174,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -319,7 +260,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -348,7 +289,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 1907 + "size": 1919 } @@ -359,7 +300,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -389,7 +330,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -400,7 +341,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -454,12 +395,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -485,7 +426,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -571,7 +512,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -600,7 +541,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1909 + "size": 1921 } @@ -618,7 +559,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -682,12 +623,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -713,7 +654,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -799,7 +740,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -828,7 +769,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1907 + "size": 1919 } @@ -846,7 +787,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -910,12 +851,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[6],[3],[2],[4],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -941,7 +882,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1027,7 +968,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1056,7 +997,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1909 + "size": 1921 } @@ -1074,7 +1015,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 27ad1fcacb887..e77a239577867 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -73,9 +73,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -85,23 +86,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -109,23 +94,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -133,21 +102,14 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -158,23 +120,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -182,17 +128,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -209,7 +150,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -238,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -249,7 +190,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -316,7 +257,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -393,7 +334,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -470,7 +411,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 4a43309601da5..3e0aff60b93fa 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -79,9 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -91,23 +92,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -115,23 +100,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -139,15 +108,9 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data2.d.ts] @@ -158,21 +121,15 @@ export declare class Data2 { //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -185,23 +142,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -209,17 +150,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -229,12 +165,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -262,7 +198,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -360,7 +296,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -393,7 +329,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 2264 + "size": 2276 } @@ -404,7 +340,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -436,7 +372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -448,7 +384,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -504,12 +440,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -537,7 +473,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -635,7 +571,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -668,7 +604,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2266 + "size": 2278 } @@ -686,7 +622,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -753,12 +689,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -786,7 +722,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -884,7 +820,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -917,7 +853,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2264 + "size": 2276 } @@ -935,7 +871,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -1002,12 +938,12 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileIdsList":[[7],[3],[2],[4,5],[6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -1035,7 +971,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1133,7 +1069,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1166,7 +1102,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2266 + "size": 2278 } @@ -1184,7 +1120,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index bb1d49aada065..39d7e356be1dc 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -79,9 +79,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/lib1/tools/toolsinterface.d.ts] @@ -91,23 +92,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./toolsinterface"), exports); +export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/tools/public.d.ts] @@ -115,23 +100,7 @@ export * from "./toolsinterface"; //// [/user/username/projects/myproject/lib1/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./tools/public"), exports); +export * from "./tools/public"; //// [/user/username/projects/myproject/lib1/public.d.ts] @@ -139,15 +108,9 @@ export * from "./tools/public"; //// [/user/username/projects/myproject/lib2/data2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data2 = void 0; -var Data2 = /** @class */ (function () { - function Data2() { - } - return Data2; -}()); -exports.Data2 = Data2; +export class Data2 { + dat; +} //// [/user/username/projects/myproject/lib2/data2.d.ts] @@ -158,21 +121,15 @@ export declare class Data2 { //// [/user/username/projects/myproject/lib2/data.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Data = void 0; -var Data = /** @class */ (function () { - function Data() { - } - Data.prototype.test = function () { - var result = { +export class Data { + dat; + test() { + const result = { title: "title" }; return result; - }; - return Data; -}()); -exports.Data = Data; + } +} //// [/user/username/projects/myproject/lib2/data.d.ts] @@ -185,23 +142,7 @@ export declare class Data { //// [/user/username/projects/myproject/lib2/public.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./data"), exports); +export * from "./data"; //// [/user/username/projects/myproject/lib2/public.d.ts] @@ -209,17 +150,12 @@ export * from "./data"; //// [/user/username/projects/myproject/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var public_1 = require("lib2/public"); -var App = /** @class */ (function () { - function App() { - new public_1.Data().test(); +import { Data } from "lib2/public"; +export class App { + constructor() { + new Data().test(); } - return App; -}()); -exports.App = App; +} //// [/user/username/projects/myproject/app.d.ts] @@ -236,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -267,7 +203,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -279,7 +215,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib1/tools/toolsinterface.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) /user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) @@ -348,7 +284,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -428,7 +364,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts @@ -508,7 +444,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib1/tools/toolsinterface.ts /user/username/projects/myproject/lib1/tools/public.ts /user/username/projects/myproject/lib1/public.ts diff --git a/tests/baselines/reference/tscWatch/extends/configDir-template.js b/tests/baselines/reference/tscWatch/extends/configDir-template.js index d2d24cb271c11..e2f6ba9f16cac 100644 --- a/tests/baselines/reference/tscWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tscWatch/extends/configDir-template.js @@ -98,7 +98,7 @@ CreatingProgramWith:: ExcludeWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -110,7 +110,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/sometype.ts FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/secondary.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -144,7 +144,7 @@ File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - us Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/index.d.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations @@ -171,8 +171,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/myproject/dec 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -189,11 +189,10 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/configs/first/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/configs/second/tsconfig.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Extended config file +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/myproject/outDir/types/sometype.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/projects/myproject/decls/types/sometype.d.ts] @@ -201,11 +200,8 @@ export declare const x = 10; //// [/home/src/projects/myproject/outDir/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; // some comment -exports.y = 10; +export const y = 10; //// [/home/src/projects/myproject/decls/main.d.ts] @@ -213,11 +209,8 @@ export declare const y = 10; //// [/home/src/projects/myproject/outDir/src/secondary.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; // some comment -exports.z = 10; +export const z = 10; //// [/home/src/projects/myproject/decls/src/secondary.d.ts] @@ -250,7 +243,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -293,7 +286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/myproject/types/sometype.ts /home/src/projects/myproject/main.ts /home/src/projects/myproject/root2/other/sometype2/index.d.ts @@ -302,7 +295,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/myproject/types/sometype.ts (computed .d.ts during emit) /home/src/projects/myproject/main.ts (computed .d.ts during emit) /home/src/projects/myproject/root2/other/sometype2/index.d.ts (used version) @@ -352,7 +345,7 @@ CreatingProgramWith:: options: {"declarationDir":"/home/src/projects/myproject/decls","paths":{"@myscope/*":["/home/src/projects/myproject/types/*"],"other/*":["other/*"]},"baseUrl":"/home/src/projects/myproject","pathsBasePath":"/home/src/projects/configs/second","typeRoots":["/home/src/projects/myproject/root2"],"types":[],"declaration":true,"outDir":"/home/src/projects/myproject/outDir","traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/myproject/tsconfig.json"} ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -362,7 +355,7 @@ File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. @@ -402,8 +395,8 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -442,7 +435,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -486,7 +479,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/myproject/types/sometype.ts /home/src/projects/myproject/main.ts /home/src/projects/myproject/root2/other/sometype2/index.d.ts diff --git a/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js index 98970d1adaddc..6e500261d4070 100644 --- a/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js @@ -53,7 +53,7 @@ CreatingProgramWith:: roots: ["/users/user/projects/myproject/src/index.ts"] options: {"composite":true,"removeComments":true,"watch":true,"project":"/users/user/projects/myproject/src","extendedDiagnostics":true,"configFilePath":"/users/user/projects/myproject/src/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/index.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/node_modules/@types 1 undefined Type roots @@ -68,11 +68,10 @@ FileWatcher:: Added:: WatchInfo: /users/user/projects/myconfigs/node_modules/@so FileWatcher:: Added:: WatchInfo: /users/user/projects/myconfigs/node_modules/@something/tsconfig-base/tsconfig.json 2000 undefined Extended config file +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/user/projects/myproject/src/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/users/user/projects/myproject/src/index.d.ts] @@ -80,16 +79,16 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -119,7 +118,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 778 + "size": 790 } @@ -132,7 +131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/user/projects/myconfigs/node_modules/@something/tsconfig-base/tsconfig.json: *new* {} @@ -160,15 +159,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/user/projects/myproject/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/user/projects/myproject/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/user/projects/myproject/src/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index 2acef0e8c2040..ab82060d96ef1 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -66,8 +66,8 @@ Output::    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is matched by 'files' list specified here. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/react/Jsx-Runtime/index.d.ts Part of 'files' list in tsconfig.json Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions @@ -77,13 +77,11 @@ index.tsx +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; -exports.App = App; +import { jsx as _jsx } from "react/jsx-runtime"; +export const App = () => _jsx("div", { propA: true }); @@ -96,7 +94,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -130,14 +128,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/react/Jsx-Runtime/index.d.ts /user/username/projects/myproject/index.tsx No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/react/jsx-runtime/index.d.ts (used version) /user/username/projects/myproject/index.tsx (used version) diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js index 87a9d4f86ddd8..d8d1f5b16d435 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js @@ -61,8 +61,8 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist. File '/home/package.json' does not exist. File '/package.json' does not exist. -../../../../home/src/tslibs/TS/Lib/lib.esnext.full.d.ts - Default library for target 'esnext' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' Imported via "@this/package" from file 'index.ts' @@ -71,7 +71,7 @@ index.ts -//// [/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/Users/name/projects/web/dist/index.js] import * as me from "@this/package"; @@ -84,12 +84,12 @@ export declare function thing(): void; //// [/Users/name/projects/web/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.esnext.full.d.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"14361483761-import * as me from \"@this/package\";\nme.thing();\nexport function thing(): void {}\n","signature":"-2724770439-export declare function thing(): void;\n","impliedFormat":99}],"root":[2],"options":{"composite":true,"declarationDir":"../types","module":199,"outDir":"./"},"referencedMap":[[2,1]],"latestChangedDtsFile":"../types/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"14361483761-import * as me from \"@this/package\";\nme.thing();\nexport function thing(): void {}\n","signature":"-2724770439-export declare function thing(): void;\n","impliedFormat":99}],"root":[2],"options":{"composite":true,"declarationDir":"../types","module":199,"outDir":"./"},"referencedMap":[[2,1]],"latestChangedDtsFile":"../types/index.d.ts","version":"FakeTSVersion"} //// [/Users/name/projects/web/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.esnext.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../index.ts" ], "fileIdsList": [ @@ -98,7 +98,7 @@ export declare function thing(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.esnext.full.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -162,7 +162,7 @@ FsWatches:: {} /Users/name/projects/web/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -185,15 +185,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /Users/name/projects/web/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.esnext.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /Users/name/projects/web/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.esnext.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/name/projects/web/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js index 2755ab9ce0bc1..2becc553e83df 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js @@ -41,8 +41,8 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -53,21 +53,18 @@ project/b.ts +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [c:/workspaces/solution/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [c:/workspaces/solution/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = require("C:/workspaces/solution/project/a"); -var a_2 = require("c:/workspaces/solution/project/a"); -a_1.a; -a_2.b; +import { a } from "C:/workspaces/solution/project/a"; +import { b } from "c:/workspaces/solution/project/a"; +a; +b; @@ -80,7 +77,7 @@ c:/workspaces/solution/project/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/workspaces/solution/project/a.ts: *new* {} @@ -106,17 +103,17 @@ Program options: { } Program structureReused: Not Program files:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts c:/workspaces/solution/project/a.ts c:/workspaces/solution/project/b.ts Semantic diagnostics in builder refreshed for:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts c:/workspaces/solution/project/a.ts c:/workspaces/solution/project/b.ts Shape signatures in builder refreshed for:: -c:/home/src/tslibs/ts/lib/lib.d.ts (used version) +c:/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) c:/workspaces/solution/project/a.ts (used version) c:/workspaces/solution/project/b.ts (used version) @@ -145,8 +142,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -158,12 +155,9 @@ project/b.ts //// [c:/workspaces/solution/project/a.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [c:/workspaces/solution/project/b.js] file written with same contents @@ -182,7 +176,7 @@ Program options: { } Program structureReused: Completely Program files:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts c:/workspaces/solution/project/a.ts c:/workspaces/solution/project/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js index 49b7959fc2354..926f34872e45b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js @@ -41,8 +41,8 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -53,21 +53,18 @@ project/b.ts +//// [C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [C:/workspaces/solution/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [C:/workspaces/solution/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = require("C:/workspaces/solution/project/a"); -var a_2 = require("c:/workspaces/solution/project/a"); -a_1.a; -a_2.b; +import { a } from "C:/workspaces/solution/project/a"; +import { b } from "c:/workspaces/solution/project/a"; +a; +b; @@ -80,7 +77,7 @@ C:/workspaces/solution/project/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} C:/workspaces/solution/project/a.ts: *new* {} @@ -106,17 +103,17 @@ Program options: { } Program structureReused: Not Program files:: -C:/home/src/tslibs/TS/Lib/lib.d.ts +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts C:/workspaces/solution/project/a.ts C:/workspaces/solution/project/b.ts Semantic diagnostics in builder refreshed for:: -C:/home/src/tslibs/TS/Lib/lib.d.ts +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts C:/workspaces/solution/project/a.ts C:/workspaces/solution/project/b.ts Shape signatures in builder refreshed for:: -c:/home/src/tslibs/ts/lib/lib.d.ts (used version) +c:/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) c:/workspaces/solution/project/a.ts (used version) c:/workspaces/solution/project/b.ts (used version) @@ -145,8 +142,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -158,12 +155,9 @@ project/b.ts //// [C:/workspaces/solution/project/a.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [C:/workspaces/solution/project/b.js] file written with same contents @@ -182,7 +176,7 @@ Program options: { } Program structureReused: Completely Program files:: -C:/home/src/tslibs/TS/Lib/lib.d.ts +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts C:/workspaces/solution/project/a.ts C:/workspaces/solution/project/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index c81806b816231..a98b37ee2e13f 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -53,7 +53,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -68,8 +68,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,6 +83,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/out.js] System.register("XY/a", [], function (exports_1, context_1) { "use strict"; @@ -137,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -224,8 +226,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -303,7 +305,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index 4d83e6eb4a66b..aec0f4bb95875 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -51,13 +51,13 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -72,29 +72,23 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/XY.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var XY_1 = require("./XY"); -var link_1 = require("./link"); -XY_1.a; -link_1.b; +import { a } from "./XY"; +import { b } from "./link"; +a; +b; @@ -105,7 +99,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -135,19 +129,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/xy.ts (used version) /user/username/projects/myproject/link.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -189,8 +183,8 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/XY.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/link.ts"] options: {"forceConsistentCasingInFileNames":true,"watch":true,"project":"/user/username/projects/myproject","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -204,21 +198,15 @@ b.ts //// [/user/username/projects/myproject/XY.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents @@ -239,7 +227,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index c6204a22f1764..77ba0aff6dc2b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -37,23 +37,16 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/logger.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.logger = void 0; -var logger = /** @class */ (function () { - function logger() { - } - return logger; -}()); -exports.logger = logger; +export class logger { +} //// [/user/username/projects/myproject/another.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var logger_1 = require("./logger"); -new logger_1.logger(); +import { logger } from "./logger"; +new logger(); @@ -64,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/another.ts: *new* {} @@ -89,17 +82,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/logger.ts /user/username/projects/myproject/another.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/logger.ts /user/username/projects/myproject/another.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/logger.ts (used version) /user/username/projects/myproject/another.ts (used version) @@ -137,10 +130,8 @@ Output:: //// [/user/username/projects/myproject/another.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var Logger_1 = require("./Logger"); -new Logger_1.logger(); +import { logger } from "./Logger"; +new logger(); @@ -157,7 +148,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Logger.ts /user/username/projects/myproject/another.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index 23fad125dc3d1..74df8176efb64 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -53,7 +53,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -68,8 +68,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,6 +83,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/out.js] System.register("XY/a", [], function (exports_1, context_1) { "use strict"; @@ -137,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -224,8 +226,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -303,7 +305,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 011d0ee9dc0f4..ea3a9a0003e3d 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -282,8 +282,8 @@ Output::    ~~~~~~~~~~ File is included via import here. -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -307,14 +307,14 @@ src/oneMore.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/src/anotherFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/home/src/projects/project/src/oneMore.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -349,7 +349,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -372,21 +372,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts /home/src/projects/project/src/Struct.d.ts /home/src/projects/project/src/anotherFile.ts /home/src/projects/project/src/oneMore.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts /home/src/projects/project/src/Struct.d.ts /home/src/projects/project/src/anotherFile.ts /home/src/projects/project/src/oneMore.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/node_modules/fp-ts/lib/struct.d.ts (used version) /home/src/projects/project/src/struct.d.ts (used version) /home/src/projects/project/src/anotherfile.ts (used version) @@ -652,8 +652,8 @@ Output::    ~~~~~~~~~~ File is included via import here. -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -693,7 +693,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts /home/src/projects/project/src/Struct.d.ts /home/src/projects/project/src/anotherFile.ts @@ -919,8 +919,8 @@ Output::    ~~~~~~~~~~~~~~~~~~ File is included via import here. -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -959,7 +959,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts /home/src/projects/project/src/Struct.d.ts /home/src/projects/project/src/anotherFile.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index dd58e96f81bbc..4b084d560ec7f 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -51,13 +51,13 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -72,29 +72,23 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/XY.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var XY_1 = require("./XY"); -var link_1 = require("./link"); -XY_1.a; -link_1.b; +import { a } from "./XY"; +import { b } from "./link"; +a; +b; @@ -105,7 +99,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -135,19 +129,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/xy.ts (used version) /user/username/projects/myproject/link.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -189,8 +183,8 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/XY.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/link.ts"] options: {"forceConsistentCasingInFileNames":true,"watch":true,"project":"/user/username/projects/myproject","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -204,21 +198,15 @@ b.ts //// [/user/username/projects/myproject/XY.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents @@ -239,7 +227,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index ab2548d33f4bd..f39144dc08d50 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -53,7 +53,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/xY/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -68,8 +68,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,6 +83,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/out.js] System.register("xY/a", [], function (exports_1, context_1) { "use strict"; @@ -137,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/b.ts: *new* {} @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/xY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -224,8 +226,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -303,7 +305,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/xY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 6f5924199676c..266f07442a6e4 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -51,7 +51,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -64,8 +64,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 2 import { a } from "./xY";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -80,29 +80,23 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/XY.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var xY_1 = require("./xY"); -var link_1 = require("./link"); -xY_1.a; -link_1.b; +import { a } from "./xY"; +import { b } from "./link"; +a; +b; @@ -113,7 +107,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -143,19 +137,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/xy.ts (used version) /user/username/projects/myproject/link.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -205,8 +199,8 @@ CreatingProgramWith:: 2 import { a } from "./xY";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -220,21 +214,15 @@ b.ts //// [/user/username/projects/myproject/XY.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents @@ -255,7 +243,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index 07271e3d424a9..13650c0fadae8 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -53,7 +53,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Xy/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -68,8 +68,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,6 +83,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/out.js] System.register("Xy/a", [], function (exports_1, context_1) { "use strict"; @@ -137,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/Xy/a.ts: *new* {} @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Xy/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -224,8 +226,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -303,7 +305,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Xy/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 7056a73428f56..275647c1565e4 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -51,7 +51,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -64,8 +64,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 2 import { a } from "./Xy";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -80,29 +80,23 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/XY.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var Xy_1 = require("./Xy"); -var link_1 = require("./link"); -Xy_1.a; -link_1.b; +import { a } from "./Xy"; +import { b } from "./link"; +a; +b; @@ -113,7 +107,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -143,19 +137,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/xy.ts (used version) /user/username/projects/myproject/link.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -205,8 +199,8 @@ CreatingProgramWith:: 2 import { a } from "./Xy";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -220,21 +214,15 @@ b.ts //// [/user/username/projects/myproject/XY.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents @@ -255,7 +243,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index 5d1626f19b2f7..d64f18d21e8ae 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -53,7 +53,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Xy/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -68,8 +68,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,6 +83,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/out.js] System.register("Xy/a", [], function (exports_1, context_1) { "use strict"; @@ -137,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/Xy/a.ts: *new* {} @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Xy/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -224,8 +226,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -303,7 +305,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Xy/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index c4339b692ac82..e30811dc2d46e 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -51,7 +51,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -64,8 +64,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node 2 import { a } from "./Xy";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -80,29 +80,23 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/XY.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var Xy_1 = require("./Xy"); -var link_1 = require("./link"); -Xy_1.a; -link_1.b; +import { a } from "./Xy"; +import { b } from "./link"; +a; +b; @@ -113,7 +107,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -143,19 +137,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/xy.ts (used version) /user/username/projects/myproject/link.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -205,8 +199,8 @@ CreatingProgramWith:: 2 import { a } from "./Xy";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -220,21 +214,15 @@ b.ts //// [/user/username/projects/myproject/XY.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/link.js] -"use strict"; // some comment -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = exports.a = void 0; -exports.a = 1; -exports.b = 2; +export const a = 1; +export const b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents @@ -255,7 +243,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/XY.ts /user/username/projects/myproject/link.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js index bd41d9c3436fe..709be0c9f4a2a 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js @@ -36,6 +36,11 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... +moduleA.ts:1:1 - error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. + +1 import a = require("./ModuleC") +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + moduleA.ts:1:20 - error TS1261: Already included file name '/user/username/projects/myproject/ModuleC.ts' differs from file name '/user/username/projects/myproject/moduleC.ts' only in casing. The file is in the program because: Imported via "./ModuleC" from file '/user/username/projects/myproject/moduleA.ts' @@ -50,6 +55,11 @@ Output::    ~~~~~~~~~~~ File is included via import here. +moduleB.ts:1:1 - error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. + +1 import a = require("./moduleC") +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + moduleB.ts:1:20 - error TS1149: File name '/user/username/projects/myproject/moduleC.ts' differs from already included file name '/user/username/projects/myproject/ModuleC.ts' only in casing. The file is in the program because: Imported via "./ModuleC" from file '/user/username/projects/myproject/moduleA.ts' @@ -64,8 +74,8 @@ Output::    ~~~~~~~~~~~ File is included via import here. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ModuleC.ts Imported via "./ModuleC" from file 'moduleA.ts' Imported via "./moduleC" from file 'moduleB.ts' @@ -74,25 +84,22 @@ moduleA.ts Matched by default include pattern '**/*' moduleB.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 4 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/ModuleC.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/moduleA.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/moduleB.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -103,7 +110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/ModuleC.ts: *new* {} @@ -132,19 +139,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/ModuleC.ts /user/username/projects/myproject/moduleA.ts /user/username/projects/myproject/moduleB.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/ModuleC.ts /user/username/projects/myproject/moduleA.ts /user/username/projects/myproject/moduleB.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/modulec.ts (used version) /user/username/projects/myproject/modulea.ts (used version) /user/username/projects/myproject/moduleb.ts (used version) @@ -171,6 +178,11 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +moduleA.ts:2:21 - error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. + +2 import a = require("./ModuleC") +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + moduleA.ts:2:40 - error TS1261: Already included file name '/user/username/projects/myproject/ModuleC.ts' differs from file name '/user/username/projects/myproject/moduleC.ts' only in casing. The file is in the program because: Imported via "./ModuleC" from file '/user/username/projects/myproject/moduleA.ts' @@ -185,6 +197,11 @@ Output::    ~~~~~~~~~~~ File is included via import here. +moduleB.ts:1:1 - error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. + +1 import a = require("./moduleC") +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + moduleB.ts:1:20 - error TS1149: File name '/user/username/projects/myproject/moduleC.ts' differs from already included file name '/user/username/projects/myproject/ModuleC.ts' only in casing. The file is in the program because: Imported via "./ModuleC" from file '/user/username/projects/myproject/moduleA.ts' @@ -199,8 +216,8 @@ Output::    ~~~~~~~~~~~ File is included via import here. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ModuleC.ts Imported via "./ModuleC" from file 'moduleA.ts' Imported via "./moduleC" from file 'moduleB.ts' @@ -209,7 +226,7 @@ moduleA.ts Matched by default include pattern '**/*' moduleB.ts Matched by default include pattern '**/*' -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 4 errors. Watching for file changes. @@ -230,7 +247,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/ModuleC.ts /user/username/projects/myproject/moduleA.ts /user/username/projects/myproject/moduleB.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js index 13f3e0fd7c09f..92ca5d93e0210 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js @@ -37,23 +37,16 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/logger.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.logger = void 0; -var logger = /** @class */ (function () { - function logger() { - } - return logger; -}()); -exports.logger = logger; +export class logger { +} //// [/user/username/projects/myproject/another.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var logger_1 = require("./logger"); -new logger_1.logger(); +import { logger } from "./logger"; +new logger(); @@ -64,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/another.ts: *new* {} @@ -89,17 +82,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/logger.ts /user/username/projects/myproject/another.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/logger.ts /user/username/projects/myproject/another.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/logger.ts (used version) /user/username/projects/myproject/another.ts (used version) @@ -148,7 +141,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Logger.ts /user/username/projects/myproject/another.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js index e24b490eb81cf..b1fce399e47c9 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js @@ -60,7 +60,7 @@ File '/Users/package.json' does not exist. File '/package.json' does not exist. ======== Resolving module 'yargs' from '/Users/name/projects/web/src/bin.ts'. ======== Explicitly specified module resolution kind: 'NodeNext'. -Resolving in CJS mode with conditions 'require', 'types', 'node'. +Resolving in ESM mode with conditions 'import', 'types', 'node'. File '/Users/name/projects/web/src/package.json' does not exist according to earlier cached lookups. File '/Users/name/projects/web/package.json' does not exist according to earlier cached lookups. File '/Users/name/projects/package.json' does not exist according to earlier cached lookups. @@ -70,25 +70,20 @@ File '/package.json' does not exist according to earlier cached lookups. Loading module 'yargs' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/Users/name/projects/web/src/node_modules' does not exist, skipping all lookups in it. -File '/Users/name/projects/web/node_modules/yargs.ts' does not exist. -File '/Users/name/projects/web/node_modules/yargs.tsx' does not exist. -File '/Users/name/projects/web/node_modules/yargs.d.ts' does not exist. Found 'package.json' at '/Users/name/projects/web/node_modules/@types/yargs/package.json'. Entering conditional exports. Matched 'exports' condition 'types'. Entering conditional exports. -Saw non-matching condition 'import'. -Matched 'exports' condition 'default'. -Using 'exports' subpath '.' with target './index.d.ts'. -File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exists - use it as a name resolution result. +Matched 'exports' condition 'import'. +Using 'exports' subpath '.' with target './index.d.mts'. +File '/Users/name/projects/web/node_modules/@types/yargs/index.d.mts' exists - use it as a name resolution result. 'package.json' does not have a 'peerDependencies' field. -Resolved under condition 'default'. +Resolved under condition 'import'. Exiting conditional exports. Resolved under condition 'types'. Exiting conditional exports. -Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts'. -======== Module name 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' with Package ID 'yargs/index.d.ts@17.0.12'. ======== -File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists according to earlier cached lookups. +Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.mts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.mts'. +======== Module name 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.mts' with Package ID 'yargs/index.d.mts@17.0.12'. ======== ======== Resolving type reference directive 'yargs', containing file '/Users/name/projects/web/__inferred type names__.ts', root directory '/Users/name/projects/web/node_modules/@types,/Users/name/projects/node_modules/@types,/Users/name/node_modules/@types,/Users/node_modules/@types,/node_modules/@types'. ======== Resolving with primary search path '/Users/name/projects/web/node_modules/@types, /Users/name/projects/node_modules/@types, /Users/name/node_modules/@types, /Users/node_modules/@types, /node_modules/@types'. File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists according to earlier cached lookups. @@ -99,6 +94,7 @@ File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists ac File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts'. ======== Type reference directive 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' with Package ID 'yargs/index.d.ts@17.0.12', primary: true. ======== +File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists according to earlier cached lookups. File '/home/src/tslibs/TS/Lib/package.json' does not exist. File '/home/src/tslibs/TS/package.json' does not exist. File '/home/src/tslibs/package.json' does not exist. @@ -110,20 +106,22 @@ File '/package.json' does not exist according to earlier cached lookups. 2 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' -node_modules/@types/yargs/index.d.ts - Imported via "yargs" from file 'src/bin.ts' with packageId 'yargs/index.d.ts@17.0.12' - Entry point for implicit type library 'yargs' with packageId 'yargs/index.d.ts@17.0.12' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' +node_modules/@types/yargs/index.d.mts + Imported via "yargs" from file 'src/bin.ts' with packageId 'yargs/index.d.mts@17.0.12' src/bin.ts Matched by default include pattern '**/*' +node_modules/@types/yargs/index.d.ts + Entry point for implicit type library 'yargs' with packageId 'yargs/index.d.ts@17.0.12' [HH:MM:SS AM] Found 1 error. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/Users/name/projects/web/src/bin.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -148,6 +146,8 @@ FsWatches:: {} /Users/name/projects/web: *new* {} +/Users/name/projects/web/node_modules/@types/yargs/index.d.mts: *new* + {} /Users/name/projects/web/node_modules/@types/yargs/index.d.ts: *new* {} /Users/name/projects/web/node_modules/@types/yargs/package.json: *new* @@ -156,7 +156,7 @@ FsWatches:: {} /Users/name/projects/web/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -182,15 +182,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts -/Users/name/projects/web/node_modules/@types/yargs/index.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/Users/name/projects/web/node_modules/@types/yargs/index.d.mts /Users/name/projects/web/src/bin.ts +/Users/name/projects/web/node_modules/@types/yargs/index.d.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) -/users/name/projects/web/node_modules/@types/yargs/index.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/users/name/projects/web/node_modules/@types/yargs/index.d.mts (used version) /users/name/projects/web/src/bin.ts (used version) +/users/name/projects/web/node_modules/@types/yargs/index.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js index 06308dd8e8556..97a026228d498 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -36,23 +36,25 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var classnames_1 = __importDefault(require("classnames")); +const classnames_1 = __importDefault(require("classnames")); (0, classnames_1.default)().foo; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},"-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},"-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -67,7 +69,7 @@ var classnames_1 = __importDefault(require("classnames")); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -117,7 +119,7 @@ var classnames_1 = __importDefault(require("classnames")); ] }, "version": "FakeTSVersion", - "size": 990 + "size": 1002 } @@ -132,19 +134,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/classnames/index.d.ts /users/username/projects/project/src/index.ts /users/username/projects/project/src/types/classnames.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/classnames/index.d.ts /users/username/projects/project/src/index.ts /users/username/projects/project/src/types/classnames.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/classnames/index.d.ts (used version) /users/username/projects/project/src/index.ts (used version) /users/username/projects/project/src/types/classnames.d.ts (used version) @@ -171,12 +173,12 @@ Found 1 error in src/index.ts:1 //// [/users/username/projects/project/src/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -191,7 +193,7 @@ Found 1 error in src/index.ts:1 ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -259,7 +261,7 @@ Found 1 error in src/index.ts:1 ] ], "version": "FakeTSVersion", - "size": 1186 + "size": 1198 } @@ -274,7 +276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/classnames/index.d.ts /users/username/projects/project/src/index.ts /users/username/projects/project/src/types/classnames.d.ts diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index 4a798134b7d82..e6452f7142208 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -41,23 +41,25 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/src/index.js] "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var classnames_1 = __importDefault(require("classnames")); +const classnames_1 = __importDefault(require("classnames")); (0, classnames_1.default)().foo; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},"-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},"-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -72,7 +74,7 @@ var classnames_1 = __importDefault(require("classnames")); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -122,7 +124,7 @@ var classnames_1 = __importDefault(require("classnames")); ] }, "version": "FakeTSVersion", - "size": 990 + "size": 1002 } @@ -141,7 +143,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -179,19 +181,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/classnames/index.d.ts /users/username/projects/project/src/index.ts /users/username/projects/project/src/types/classnames.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/classnames/index.d.ts /users/username/projects/project/src/index.ts /users/username/projects/project/src/types/classnames.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/classnames/index.d.ts (used version) /users/username/projects/project/src/index.ts (used version) /users/username/projects/project/src/types/classnames.d.ts (used version) @@ -220,7 +222,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -261,12 +263,12 @@ Output:: //// [/users/username/projects/project/src/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -281,7 +283,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -349,7 +351,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1186 + "size": 1198 } @@ -368,7 +370,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -403,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/classnames/index.d.ts /users/username/projects/project/src/index.ts /users/username/projects/project/src/types/classnames.d.ts diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js index 6b174e64c6612..e7c289a0566be 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js @@ -38,21 +38,19 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -var tslib_1 = require("tslib"); -exports.x = tslib_1.__assign({}); +export const x = { ...{} }; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/tslib/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1620578607-export function __assign(...args: any[]): any;","impliedFormat":1},"-14168389096-export const x = {...{}};"],"root":[3],"options":{"importHelpers":true},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/tslib/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1620578607-export function __assign(...args: any[]): any;","impliedFormat":1},"-14168389096-export const x = {...{}};"],"root":[3],"options":{"importHelpers":true},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/tslib/index.d.ts", "./index.tsx" ], @@ -62,7 +60,7 @@ exports.x = tslib_1.__assign({}); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -100,7 +98,7 @@ exports.x = tslib_1.__assign({}); ] }, "version": "FakeTSVersion", - "size": 807 + "size": 819 } @@ -114,17 +112,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/tslib/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/tslib/index.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/tslib/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -137,28 +135,20 @@ Input:: //// [/users/username/projects/project/node_modules/tslib/package.json] deleted Output:: -index.tsx:1:19 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. - -1 export const x = {...{}}; -   ~~~~~ - - -Found 1 error in index.tsx:1 - //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14168389096-export const x = {...{}};","signature":"-6508651827-export declare const x: {};\n"}],"root":[2],"options":{"importHelpers":true},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":5,"messageText":"This syntax requires an imported helper but module 'tslib' cannot be found.","category":1,"code":2354}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14168389096-export const x = {...{}};","signature":"-6508651827-export declare const x: {};\n"}],"root":[2],"options":{"importHelpers":true},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -185,22 +175,8 @@ Found 1 error in index.tsx:1 "options": { "importHelpers": true }, - "semanticDiagnosticsPerFile": [ - [ - "./index.tsx", - [ - { - "start": 18, - "length": 5, - "messageText": "This syntax requires an imported helper but module 'tslib' cannot be found.", - "category": 1, - "code": 2354 - } - ] - ] - ], "version": "FakeTSVersion", - "size": 885 + "size": 719 } @@ -214,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: @@ -223,4 +199,4 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /users/username/projects/project/index.tsx (computed .d.ts) -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js index ca086f81bdcc5..3ecdb0ebdefdb 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js @@ -43,12 +43,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -var tslib_1 = require("tslib"); -exports.x = tslib_1.__assign({}); +export const x = { ...{} }; @@ -59,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -90,17 +88,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/tslib/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/tslib/index.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/tslib/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -119,7 +117,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -144,12 +142,7 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -index.tsx:1:19 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. - -1 export const x = {...{}}; -   ~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -164,7 +157,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -191,15 +184,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/index.tsx (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js index be8325bef2a01..9b41589476e5c 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js @@ -40,26 +40,28 @@ Found 1 error in index.tsx:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;"],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;"],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -99,7 +101,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 948 + "size": 960 } @@ -115,15 +117,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/index.tsx (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -157,12 +159,12 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -172,7 +174,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -216,7 +218,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1221 + "size": 1233 } @@ -232,7 +234,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index fe3eaeb066cf9..19a8af253c6d6 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -42,26 +42,28 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;"],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;"],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -101,7 +103,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 948 + "size": 960 } @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -147,15 +149,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/index.tsx (used version) exitCode:: ExitStatus.undefined @@ -195,7 +197,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -223,12 +225,12 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -238,7 +240,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -282,7 +284,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1221 + "size": 1233 } @@ -295,7 +297,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -329,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js index a31bdfcfbeb13..9c0e4dc3f2d15 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js @@ -52,22 +52,24 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -77,7 +79,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -117,7 +119,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1105 + "size": 1117 } @@ -133,17 +135,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -168,16 +170,16 @@ Found 1 error in index.tsx:1 //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n"}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n"}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -221,7 +223,7 @@ Found 1 error in index.tsx:1 ] ], "version": "FakeTSVersion", - "size": 1026 + "size": 1038 } @@ -237,7 +239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index c5d2679bc2212..173b7ecea4279 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -57,22 +57,24 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -82,7 +84,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -122,7 +124,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1105 + "size": 1117 } @@ -135,7 +137,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -172,17 +174,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -203,7 +205,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -242,16 +244,16 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n"}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.tsx"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n"}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.","category":1,"code":2875}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -295,7 +297,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1026 + "size": 1038 } @@ -308,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -338,7 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js index dd86f2cde975e..8f8182ad4c5b1 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -70,30 +70,32 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -i --explainFiles Output:: -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/react/jsx-runtime/index.d.ts Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx Matched by default include pattern '**/*' +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -103,7 +105,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,7 +145,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1105 + "size": 1117 } @@ -160,17 +162,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -197,8 +199,8 @@ Output:: 1 export const App = () =>
;    ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/preact/jsx-runtime/index.d.ts Imported via "preact/jsx-runtime" from file 'index.tsx' with packageId 'preact/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -212,18 +214,18 @@ Found 1 error in index.tsx:1 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("preact/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("preact/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/preact/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -233,7 +235,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -302,7 +304,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1581 + "size": 1593 } @@ -319,12 +321,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index 3cddd31d3c7d9..4cde61cf08aa2 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -73,8 +73,8 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/react/jsx-runtime/index.d.ts Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -83,22 +83,24 @@ index.tsx +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("react/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("react/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -108,7 +110,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -148,7 +150,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1105 + "size": 1117 } @@ -161,7 +163,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -199,17 +201,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -238,7 +240,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -272,8 +274,8 @@ Output:: 1 export const App = () =>
;    ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/preact/jsx-runtime/index.d.ts Imported via "preact/jsx-runtime" from file 'index.tsx' with packageId 'preact/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -286,18 +288,18 @@ index.tsx "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.App = void 0; -var jsx_runtime_1 = require("preact/jsx-runtime"); -var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); }; +const jsx_runtime_1 = require("preact/jsx-runtime"); +const App = () => (0, jsx_runtime_1.jsx)("div", { propA: true }); exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/preact/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -307,7 +309,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -376,7 +378,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1581 + "size": 1593 } @@ -389,7 +391,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -424,12 +426,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts /users/username/projects/project/index.tsx diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js index a2ad91a6497bd..a32bc43751619 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js @@ -42,6 +42,8 @@ Found 1 error in file2.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -61,17 +63,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -117,7 +119,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 834 + "size": 846 } @@ -133,17 +135,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -177,17 +179,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"},"-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"},"-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -237,7 +239,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 903 + "size": 915 } @@ -253,7 +255,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js index 7673fbdba0516..14dd6a1671e54 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js @@ -44,6 +44,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -63,17 +65,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -119,7 +121,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 834 + "size": 846 } @@ -130,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -156,17 +158,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -186,7 +188,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -222,17 +224,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"},"-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"},"-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -282,7 +284,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 903 + "size": 915 } @@ -293,7 +295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -319,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js index 6d7a88da066a5..43b7b643fd216 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js @@ -34,6 +34,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -53,17 +55,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -95,7 +97,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 674 + "size": 686 } @@ -111,17 +113,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -147,17 +149,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"}],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"}],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -193,7 +195,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 743 + "size": 755 } @@ -209,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js index 1e464b0c5fcd6..fe7176aaa66d9 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js @@ -39,6 +39,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -58,17 +60,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -100,7 +102,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 674 + "size": 686 } @@ -111,7 +113,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -137,17 +139,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -167,7 +169,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -198,17 +200,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"}],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"}],"root":[2,3],"options":{"module":2},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -244,7 +246,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 743 + "size": 755 } @@ -255,7 +257,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -281,7 +283,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 73d91647ebd64..7cf42359f7d14 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -35,6 +35,8 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/out.js] define("file1", ["require", "exports"], function (require, exports) { "use strict"; @@ -51,17 +53,17 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2,"outFile":"./out.js"},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2,"outFile":"./out.js"},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;" }, @@ -80,7 +82,7 @@ define("file2", ["require", "exports"], function (require, exports) { "outFile": "./out.js" }, "version": "FakeTSVersion", - "size": 657 + "size": 669 } @@ -97,12 +99,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index f5195729a96bf..b7a8d9b6aa33d 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -40,6 +40,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/out.js] define("file1", ["require", "exports"], function (require, exports) { "use strict"; @@ -56,17 +58,17 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2,"outFile":"./out.js"},"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2,"outFile":"./out.js"},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;" }, @@ -85,7 +87,7 @@ define("file2", ["require", "exports"], function (require, exports) { "outFile": "./out.js" }, "version": "FakeTSVersion", - "size": 657 + "size": 669 } @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -123,12 +125,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js index 086c23c18d12a..e13dd8b9e456d 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js @@ -40,26 +40,28 @@ Found 1 error in file2.ts:1 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -var x = 10; +const x = 10; //// [/users/username/projects/project/file2.js] -var y = 20; +const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -112,7 +114,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -126,17 +128,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -161,22 +163,22 @@ Found 1 error in file2.ts:1 //// [/users/username/projects/project/file1.js] -var z = 10; +const z = 10; //// [/users/username/projects/project/file2.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +233,7 @@ var z = 10; ] ], "version": "FakeTSVersion", - "size": 968 + "size": 980 } @@ -245,12 +247,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js index 7e124964dfc74..12acfffcd81c3 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js @@ -42,26 +42,28 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -var x = 10; +const x = 10; //// [/users/username/projects/project/file2.js] -var y = 20; +const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -114,7 +116,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 868 + "size": 880 } @@ -125,7 +127,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -149,17 +151,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -179,7 +181,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -206,22 +208,22 @@ Output:: //// [/users/username/projects/project/file1.js] -var z = 10; +const z = 10; //// [/users/username/projects/project/file2.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -276,7 +278,7 @@ var z = 10; ] ], "version": "FakeTSVersion", - "size": 968 + "size": 980 } @@ -287,7 +289,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -311,12 +313,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js index 6fe9838339770..893a10b717721 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js @@ -32,26 +32,28 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -var x = 10; +const x = 10; //// [/users/username/projects/project/file2.js] -var y = 20; +const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -90,7 +92,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 709 + "size": 721 } @@ -105,17 +107,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -133,21 +135,21 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/file2.js] -var z = 10; +const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -188,7 +190,7 @@ var z = 10; ] ], "version": "FakeTSVersion", - "size": 808 + "size": 820 } @@ -203,12 +205,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js index 607f7caf7e68e..ff9317b58f5d5 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js @@ -37,26 +37,28 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -var x = 10; +const x = 10; //// [/users/username/projects/project/file2.js] -var y = 20; +const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -95,7 +97,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 709 + "size": 721 } @@ -106,7 +108,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -131,17 +133,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -161,7 +163,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -184,21 +186,21 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/file2.js] -var z = 10; +const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -239,7 +241,7 @@ var z = 10; ] ], "version": "FakeTSVersion", - "size": 808 + "size": 820 } @@ -250,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -275,12 +277,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js index f584def90dbe6..2f1843803c93d 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js @@ -32,26 +32,28 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -var x = 10; +const x = 10; //// [/users/username/projects/project/file2.js] -var y = 20; +const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -90,7 +92,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 709 + "size": 721 } @@ -104,17 +106,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -132,21 +134,21 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/file2.js] -var z = 10; +const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -187,7 +189,7 @@ var z = 10; ] ], "version": "FakeTSVersion", - "size": 808 + "size": 820 } @@ -201,12 +203,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js index b6ee102c8704c..89e3c85962fb8 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js @@ -37,26 +37,28 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -var x = 10; +const x = 10; //// [/users/username/projects/project/file2.js] -var y = 20; +const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -95,7 +97,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 709 + "size": 721 } @@ -106,7 +108,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -130,17 +132,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -160,7 +162,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -183,21 +185,21 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/file2.js] -var z = 10; +const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -238,7 +240,7 @@ var z = 10; ] ], "version": "FakeTSVersion", - "size": 808 + "size": 820 } @@ -249,7 +251,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -273,12 +275,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js index fe93df5f66eeb..d1faca5f6c98c 100644 --- a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js @@ -34,23 +34,22 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"version":"FakeTSVersion"} + +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/home/src/projects/project/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -71,7 +70,7 @@ exports.x = 10; ] ], "version": "FakeTSVersion", - "size": 584 + "size": 596 } @@ -86,7 +85,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -103,15 +102,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/main.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js index f7a63d7817d9e..2487043d0b206 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js @@ -32,22 +32,24 @@ declare const console: { log(msg: any): void; }; Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] console.log(Config.value); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./globals.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -86,7 +88,7 @@ console.log(Config.value); ] ], "version": "FakeTSVersion", - "size": 763 + "size": 775 } @@ -100,17 +102,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/globals.d.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/globals.d.ts /users/username/projects/project/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/globals.d.ts (used version) /users/username/projects/project/index.ts (used version) @@ -134,16 +136,16 @@ Found 1 error in index.ts:1 //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -184,7 +186,7 @@ Found 1 error in index.ts:1 ] ], "version": "FakeTSVersion", - "size": 791 + "size": 803 } @@ -197,11 +199,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.ts Shape signatures in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js index d63c35e0dc2e5..508924e25f8f0 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js @@ -37,22 +37,24 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/index.js] console.log(Config.value); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true}],"root":[2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./globals.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -91,7 +93,7 @@ console.log(Config.value); ] ], "version": "FakeTSVersion", - "size": 763 + "size": 775 } @@ -102,7 +104,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/globals.d.ts: *new* {} @@ -126,17 +128,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/globals.d.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/globals.d.ts /users/username/projects/project/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/globals.d.ts (used version) /users/username/projects/project/index.ts (used version) @@ -154,7 +156,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/globals.d.ts: {} @@ -182,16 +184,16 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -232,7 +234,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 791 + "size": 803 } @@ -243,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/index.ts: *new* {} @@ -264,11 +266,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/index.ts Shape signatures in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 14b7b3a530409..710d6c4f2b28d 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -41,23 +41,25 @@ Found 1 error in tsconfig.json:4 +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/out.js] -var x = 10; -var y = 20; +const x = 10; +const y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./file1.ts": "5029505981-const x = 10;", "./file2.ts": "2026007743-const y = 20;" }, @@ -76,7 +78,7 @@ var y = 20; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -89,7 +91,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 665 + "size": 677 } @@ -104,7 +106,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index e432fffc67124..9b31d6a5fb310 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -43,23 +43,25 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/out.js] -var x = 10; -var y = 20; +const x = 10; +const y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./file1.ts","./file2.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./file1.ts": "5029505981-const x = 10;", "./file2.ts": "2026007743-const y = 20;" }, @@ -78,7 +80,7 @@ var y = 20; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -91,7 +93,7 @@ var y = 20; ] ], "version": "FakeTSVersion", - "size": 665 + "size": 677 } @@ -102,7 +104,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -127,7 +129,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/file2.ts diff --git a/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js b/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js index 8dda354cec645..0fcdf68ded2da 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js @@ -95,7 +95,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_mod FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.scripthost.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/index.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/utils.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Type roots @@ -112,10 +112,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_mod 2 ///    ~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' ../../tslibs/TS/Lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project1/core.d.ts Matched by default include pattern '**/*' project1/file.ts @@ -132,11 +132,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 un Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -153,10 +152,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -164,13 +160,13 @@ export declare const x = "type1"; //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.scripthost.d.ts","../../../tslibs/ts/lib/lib.es2024.full.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", "../../../tslibs/ts/lib/lib.scripthost.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./core.d.ts", "./file.ts", "./file2.ts", @@ -178,22 +174,22 @@ export declare const x = "type1"; "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.scripthost.d.ts": { "original": { - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", + "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-5403980302-interface ScriptHostInterface { }", - "signature": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./core.d.ts": { @@ -250,7 +246,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1286 + "size": 1298 } @@ -269,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/tslibs/TS/Lib/lib.scripthost.d.ts: *new* {} @@ -309,8 +305,8 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/core.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts @@ -318,8 +314,8 @@ Program files:: /home/src/workspace/projects/project1/utils.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/core.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts @@ -327,13 +323,13 @@ Semantic diagnostics in builder refreshed for:: /home/src/workspace/projects/project1/utils.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.scripthost.d.ts (used version) /home/src/workspace/projects/project1/core.d.ts (used version) /home/src/workspace/projects/project1/file.ts (computed .d.ts during emit) /home/src/workspace/projects/project1/file2.ts (computed .d.ts during emit) /home/src/workspace/projects/project1/index.ts (computed .d.ts during emit) /home/src/workspace/projects/project1/utils.d.ts (used version) -/home/src/tslibs/ts/lib/lib.scripthost.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -376,10 +372,10 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/worksp 2 ///    ~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' ../../tslibs/TS/Lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project1/core.d.ts Matched by default include pattern '**/*' project1/file.ts @@ -395,11 +391,8 @@ project1/utils.d.ts //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = exports.x = void 0; -exports.x = "type1"; -exports.xyz = 10; +export const x = "type1"; +export const xyz = 10; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -408,13 +401,13 @@ export declare const xyz = 10; //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.scripthost.d.ts","../../../tslibs/ts/lib/lib.es2024.full.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", "../../../tslibs/ts/lib/lib.scripthost.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./core.d.ts", "./file.ts", "./file2.ts", @@ -422,22 +415,22 @@ export declare const xyz = 10; "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.scripthost.d.ts": { "original": { - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", + "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-5403980302-interface ScriptHostInterface { }", - "signature": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./core.d.ts": { @@ -494,7 +487,7 @@ export declare const xyz = 10; "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1339 + "size": 1351 } @@ -518,8 +511,8 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/core.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts @@ -576,10 +569,10 @@ FileWatcher:: Close:: WatchInfo: /home/src/workspace/projects/project1/core.d.ts 2 ///    ~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' ../../tslibs/TS/Lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project1/file.ts Matched by default include pattern '**/*' project1/file2.ts @@ -593,35 +586,35 @@ project1/utils.d.ts //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.scripthost.d.ts","../../../tslibs/ts/lib/lib.es2024.full.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", "../../../tslibs/ts/lib/lib.scripthost.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file.ts", "./file2.ts", "./index.ts", "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.scripthost.d.ts": { "original": { - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", + "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-5403980302-interface ScriptHostInterface { }", - "signature": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./file.ts": { @@ -673,7 +666,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1286 + "size": 1298 } @@ -692,7 +685,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/tslibs/TS/Lib/lib.scripthost.d.ts: {} @@ -734,8 +727,8 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts /home/src/workspace/projects/project1/index.ts @@ -783,10 +776,10 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/worksp 1 ///    ~~~~~~~~~~ -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' ../../tslibs/TS/Lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project1/file.ts Matched by default include pattern '**/*' project1/file2.ts @@ -805,35 +798,35 @@ project1/utils.d.ts //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-13885971376-/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.scripthost.d.ts","../../../tslibs/ts/lib/lib.es2024.full.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-13885971376-/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","errors":true,"version":"FakeTSVersion"} //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", "../../../tslibs/ts/lib/lib.scripthost.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file.ts", "./file2.ts", "./index.ts", "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { + "../../../tslibs/ts/lib/lib.scripthost.d.ts": { "original": { - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "version": "-5403980302-interface ScriptHostInterface { }", + "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { - "version": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, - "version": "-5403980302-interface ScriptHostInterface { }", - "signature": "-5403980302-interface ScriptHostInterface { }", + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true }, "./file.ts": { @@ -885,7 +878,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1249 + "size": 1261 } @@ -908,8 +901,8 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts /home/src/workspace/projects/project1/index.ts @@ -980,12 +973,12 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' ../../tslibs/TS/Lib/lib.webworker.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' ../../tslibs/TS/Lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project1/file.ts Matched by default include pattern '**/*' project1/file2.ts @@ -1006,29 +999,20 @@ project1/utils.d.ts //// [/home/src/workspace/projects/project1/index.js] file written with same contents //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","../../../tslibs/ts/lib/lib.webworker.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-17945718466-/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[4,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.webworker.d.ts","../../../tslibs/ts/lib/lib.scripthost.d.ts","../../../tslibs/ts/lib/lib.es2024.full.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-17945718466-/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[4,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.d.ts", "../../../tslibs/ts/lib/lib.webworker.d.ts", "../../../tslibs/ts/lib/lib.scripthost.d.ts", + "../../../tslibs/ts/lib/lib.es2024.full.d.ts", "./file.ts", "./file2.ts", "./index.ts", "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.d.ts": { - "original": { - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true - }, - "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true - }, "../../../tslibs/ts/lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", @@ -1047,6 +1031,15 @@ project1/utils.d.ts "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true }, + "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "original": { + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", @@ -1095,7 +1088,7 @@ project1/utils.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1363 + "size": 1375 } @@ -1114,7 +1107,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/tslibs/TS/Lib/lib.scripthost.d.ts: {} @@ -1154,18 +1147,18 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.webworker.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts /home/src/workspace/projects/project1/index.ts /home/src/workspace/projects/project1/utils.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts /home/src/tslibs/TS/Lib/lib.webworker.d.ts /home/src/tslibs/TS/Lib/lib.scripthost.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/projects/project1/file.ts /home/src/workspace/projects/project1/file2.ts /home/src/workspace/projects/project1/index.ts diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js index 7acca2e69e307..8a216641b9df1 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js @@ -323,10 +323,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -343,10 +340,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -1084,11 +1078,8 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = exports.file = void 0; -exports.file = 10; -exports.xyz = 10; +export const file = 10; +export const xyz = 10; //// [/home/src/workspace/projects/project1/file.d.ts] diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js index 1106c3bbfe49b..e8f1939b4f686 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js @@ -180,10 +180,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/file.d.ts] @@ -200,10 +197,7 @@ export declare const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/index.d.ts] @@ -492,11 +486,8 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = exports.file = void 0; -exports.file = 10; -exports.xyz = 10; +export const file = 10; +export const xyz = 10; //// [/home/src/workspace/projects/project1/file.d.ts] diff --git a/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js index 0b3d6ae407d4c..24061d6ec0142 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js @@ -207,17 +207,11 @@ project1/file2.ts //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/file2.js] @@ -370,11 +364,8 @@ project1/file2.ts //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = exports.file = void 0; -exports.file = 10; -exports.xyz = 10; +export const file = 10; +export const xyz = 10; diff --git a/tests/baselines/reference/tscWatch/libraryResolution/without-config.js b/tests/baselines/reference/tscWatch/libraryResolution/without-config.js index a5950a16a4c17..290bc13bc311b 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/without-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/without-config.js @@ -166,17 +166,11 @@ project1/file2.ts //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.file = void 0; -exports.file = 10; +export const file = 10; //// [/home/src/workspace/projects/project1/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = "type1"; +export const x = "type1"; //// [/home/src/workspace/projects/project1/file2.js] @@ -335,11 +329,8 @@ project1/file2.ts //// [/home/src/workspace/projects/project1/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = exports.file = void 0; -exports.file = 10; -exports.xyz = 10; +export const file = 10; +export const xyz = 10; diff --git a/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js index 00ad87558bd85..dce38a9473287 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js @@ -344,7 +344,7 @@ File '/home/src/tslibs/package.json' does not exist. File '/home/src/package.json' does not exist according to earlier cached lookups. File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Failed Lookup Locations @@ -380,18 +380,19 @@ Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt :: WatchInfo: /home/src/projects/project 0 undefined Failed Lookup Locations +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/index.mjs] -"use strict"; export {}; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo2/index.d.ts", "./node_modules/@types/bar2/index.d.ts", "./index.mts" @@ -403,7 +404,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -459,7 +460,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -476,7 +477,7 @@ export {}; ] ], "version": "FakeTSVersion", - "size": 1080 + "size": 1092 } @@ -515,7 +516,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -540,7 +541,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -548,7 +549,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/node_modules/foo2/index.d.ts (used version) /home/src/projects/project/node_modules/@types/bar2/index.d.ts (used version) /home/src/projects/project/index.mts (used version) @@ -722,7 +723,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -879,7 +880,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -1046,7 +1047,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -1192,7 +1193,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts /home/src/projects/project/index.mts @@ -1316,12 +1317,12 @@ File '/package.json' does not exist according to earlier cached lookups. //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/@types/bar/index.d.ts", "./node_modules/foo2/index.d.ts", "./node_modules/@types/bar2/index.d.ts", @@ -1335,7 +1336,7 @@ File '/package.json' does not exist according to earlier cached lookups. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1402,7 +1403,7 @@ File '/package.json' does not exist according to earlier cached lookups. }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1423,7 +1424,7 @@ File '/package.json' does not exist according to earlier cached lookups. ] ], "version": "FakeTSVersion", - "size": 1240 + "size": 1252 } @@ -1464,7 +1465,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1487,7 +1488,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts /home/src/projects/project/node_modules/@types/bar2/index.d.ts @@ -1610,12 +1611,12 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"referencedMap":[[6,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./node_modules/@types/bar2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4,5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-7439170493-export declare const bar2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[6],"options":{"strict":true},"referencedMap":[[6,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./node_modules/foo2/index.d.ts", @@ -1631,7 +1632,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -1708,7 +1709,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -1733,7 +1734,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu ] ], "version": "FakeTSVersion", - "size": 1354 + "size": 1366 } @@ -1778,7 +1779,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1801,7 +1802,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts @@ -1974,12 +1975,12 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./node_modules/foo2/index.d.ts","./index.mts"],"fileIdsList":[[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-1622383150-export declare const foo2: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[5],"options":{"strict":true},"referencedMap":[[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./node_modules/foo2/index.d.ts", @@ -1993,7 +1994,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -2060,7 +2061,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2081,7 +2082,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu ] ], "version": "FakeTSVersion", - "size": 1231 + "size": 1243 } @@ -2122,7 +2123,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -2149,7 +2150,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/node_modules/foo2/index.d.ts @@ -2295,12 +2296,12 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in //// [/home/src/projects/project/index.mjs] file written with same contents //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./node_modules/foo/index.d.ts","./node_modules/@types/bar/index.d.ts","./index.mts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5214938848-export declare const foo: number;","impliedFormat":1},{"version":"-9556021903-export declare const bar: number;","impliedFormat":1},{"version":"-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"strict":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./index.mts" @@ -2312,7 +2313,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, @@ -2369,7 +2370,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -2386,7 +2387,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in ] ], "version": "FakeTSVersion", - "size": 1115 + "size": 1127 } @@ -2425,7 +2426,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -2452,7 +2453,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -2630,7 +2631,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -2787,7 +2788,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -2954,7 +2955,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts @@ -3100,7 +3101,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/node_modules/foo/index.d.ts /home/src/projects/project/node_modules/@types/bar/index.d.ts /home/src/projects/project/index.mts diff --git a/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js b/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js index 369a788b28bf6..6ae0f23583006 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js @@ -73,7 +73,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha/a.ts 250 undefined Source file ======== Resolving module 'mymodule' from '/home/src/workspaces/project/witha/a.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspaces/project/witha/package.json' does not exist. File '/home/src/workspaces/project/package.json' does not exist. File '/home/src/workspaces/package.json' does not exist. @@ -93,7 +93,7 @@ Resolving real path for '/home/src/workspaces/project/witha/node_modules/mymodul ======== Module name 'mymodule' was successfully resolved to '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts'. ======== ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/witha/a.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspaces/project/witha/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. @@ -132,7 +132,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha/node_modules FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/withb/b.ts 250 undefined Source file ======== Resolving module 'mymodule' from '/home/src/workspaces/project/withb/b.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspaces/project/withb/package.json' does not exist. File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. @@ -152,7 +152,7 @@ Resolving real path for '/home/src/workspaces/project/withb/node_modules/mymodul ======== Module name 'mymodule' was successfully resolved to '/home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts'. ======== ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/withb/b.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspaces/project/withb/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. @@ -176,7 +176,7 @@ File '/home/src/package.json' does not exist according to earlier cached lookups File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Failed Lookup Locations @@ -201,8 +201,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Type roots -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' witha/node_modules/mymodule/index.d.ts Imported via 'mymodule' from file 'witha/a.ts' witha/a.ts @@ -217,6 +217,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined W Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspaces/node_modules: *new* @@ -245,7 +247,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspaces: *new* {} @@ -284,21 +286,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts /home/src/workspaces/project/witha/a.ts /home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts /home/src/workspaces/project/withb/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts /home/src/workspaces/project/witha/a.ts /home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts /home/src/workspaces/project/withb/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts (used version) /home/src/workspaces/project/witha/a.ts (used version) /home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts (used version) @@ -431,7 +433,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/withb/node_modules Reusing resolution of module 'mymodule' from '/home/src/workspaces/project/witha/a.ts' of old program, it was successfully resolved to '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts'. ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/witha/a.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspaces/project/witha/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. @@ -468,7 +470,7 @@ File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/withb/b.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspaces/project/withb/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. @@ -497,8 +499,8 @@ File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/withb/node_modules/mymoduleutils/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/withb/node_modules/mymoduleutils/package.json 2000 undefined File location affecting resolution FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/withb/node_modules/mymodule/package.json 2000 undefined File location affecting resolution -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' witha/node_modules/mymodule/index.d.ts Imported via 'mymodule' from file 'witha/a.ts' witha/a.ts @@ -543,7 +545,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspaces: {} @@ -587,21 +589,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts /home/src/workspaces/project/witha/a.ts /home/src/workspaces/project/withb/node_modules/mymoduleutils/index.d.ts /home/src/workspaces/project/withb/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts /home/src/workspaces/project/witha/a.ts /home/src/workspaces/project/withb/node_modules/mymoduleutils/index.d.ts /home/src/workspaces/project/withb/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts (used version) /home/src/workspaces/project/witha/a.ts (computed .d.ts) /home/src/workspaces/project/withb/node_modules/mymoduleutils/index.d.ts (used version) diff --git a/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js b/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js index 16d22909279f4..9ba7427f5add4 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js @@ -80,6 +80,8 @@ File '/package.json' does not exist. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dist/index.js] import * as me from "@this/package"; me.thing(); @@ -112,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -142,14 +144,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts /user/username/projects/myproject/index2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/index.ts (computed .d.ts during emit) /user/username/projects/myproject/index2.ts (computed .d.ts during emit) @@ -227,7 +229,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts /user/username/projects/myproject/index2.ts diff --git a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js index d56d4a82aa937..c3ec0582241b8 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js @@ -69,7 +69,7 @@ Output:: ======== Resolving module 'package-b' from '/home/src/workspace/packageC/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Found 'package.json' at '/home/src/workspace/packageC/package.json'. Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -88,7 +88,7 @@ Resolving real path for '/home/src/workspace/packageC/node_modules/package-b/ind ======== Module name 'package-b' was successfully resolved to '/home/src/workspace/packageB/index.d.ts'. ======== ======== Resolving module 'package-a' from '/home/src/workspace/packageB/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Found 'package.json' at '/home/src/workspace/packageB/package.json'. Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -107,17 +107,7 @@ Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/workspace/packageC/package.json' exists according to earlier cached lookups. Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/workspace/packageC/node_modules/package-b/package.json' exists according to earlier cached lookups. -File '/home/src/workspace/packageC/node_modules/package-b.ts' does not exist. -File '/home/src/workspace/packageC/node_modules/package-b.tsx' does not exist. -File '/home/src/workspace/packageC/node_modules/package-b.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' does not have a 'main' field. -File '/home/src/workspace/packageC/node_modules/package-b/index.ts' does not exist. -File '/home/src/workspace/packageC/node_modules/package-b/index.tsx' does not exist. -File '/home/src/workspace/packageC/node_modules/package-b/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/packageC/node_modules/package-b/index.d.ts', result '/home/src/workspace/packageB/index.d.ts'. +Resolution for module 'package-b' was found in cache from location '/home/src/workspace/packageC'. ======== Module name 'package-b' was successfully resolved to '/home/src/workspace/packageB/index.d.ts'. ======== ======== Resolving module 'package-a' from '/home/src/workspace/packageC/package.json'. ======== Module resolution kind is not specified, using 'Bundler'. @@ -134,8 +124,8 @@ File '/home/src/workspace/packageC/node_modules/package-a/index.tsx' does not ex File '/home/src/workspace/packageC/node_modules/package-a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/workspace/packageC/node_modules/package-a/index.d.ts', result '/home/src/workspace/packageA/index.d.ts'. ======== Module name 'package-a' was successfully resolved to '/home/src/workspace/packageA/index.d.ts'. ======== -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../packageA/index.d.ts Imported via "package-a" from file '../packageB/index.d.ts' ../packageB/index.d.ts @@ -146,45 +136,11 @@ index.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspace/packageC/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -var pkg = __importStar(require("package-b")); -exports.a = pkg.invoke(); +import * as pkg from "package-b"; +export const a = pkg.invoke(); //// [/home/src/workspace/packageC/index.d.ts] @@ -199,7 +155,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/packageA/index.d.ts: *new* {} @@ -238,19 +194,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/packageA/index.d.ts /home/src/workspace/packageB/index.d.ts /home/src/workspace/packageC/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/packageA/index.d.ts /home/src/workspace/packageB/index.d.ts /home/src/workspace/packageC/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspace/packagea/index.d.ts (used version) /home/src/workspace/packageb/index.d.ts (used version) /home/src/workspace/packagec/index.ts (computed .d.ts during emit) @@ -312,8 +268,8 @@ File '/home/src/workspace/packageC/node_modules/package-a/index.tsx' does not ex File '/home/src/workspace/packageC/node_modules/package-a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/workspace/packageC/node_modules/package-a/index.d.ts', result '/home/src/workspace/packageA/index.d.ts'. ======== Module name 'package-a' was successfully resolved to '/home/src/workspace/packageA/index.d.ts'. ======== -../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../packageA/index.d.ts Imported via "package-a" from file '../packageB/index.d.ts' ../packageB/index.d.ts @@ -325,44 +281,8 @@ index.ts //// [/home/src/workspace/packageC/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.aa = void 0; -var pkg = __importStar(require("package-b")); -exports.aa = pkg.invoke(); +import * as pkg from "package-b"; +export const aa = pkg.invoke(); //// [/home/src/workspace/packageC/index.d.ts] @@ -383,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspace/packageA/index.d.ts /home/src/workspace/packageB/index.d.ts /home/src/workspace/packageC/index.ts diff --git a/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js b/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js index 6061c3f751e7b..2ab7457a2100a 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js @@ -143,10 +143,10 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'pkg1' was not resolved. ======== ======== Resolving module './a' from '/user/username/projects/myproject/index.ts'. ======== Explicitly specified module resolution kind: 'Node16'. -Resolving in CJS mode with conditions 'require', 'types', 'node'. +Resolving in ESM mode with conditions 'import', 'types', 'node'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/a', target file types: TypeScript, JavaScript, Declaration. -File '/user/username/projects/myproject/a.ts' exists - use it as a name resolution result. -======== Module name './a' was successfully resolved to '/user/username/projects/myproject/a.ts'. ======== +Directory '/user/username/projects/myproject/a' does not exist, skipping all lookups in it. +======== Module name './a' was not resolved. ======== File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups. File '/home/src/tslibs/TS/Lib/package.json' does not exist. File '/home/src/tslibs/TS/package.json' does not exist. @@ -163,16 +163,14 @@ File '/package.json' does not exist according to earlier cached lookups. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -232,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts @@ -240,7 +238,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/node_modules/pkg/import.d.ts (used version) /user/username/projects/myproject/index.ts (used version) @@ -318,8 +316,8 @@ File '/user/username/package.json' does not exist according to earlier cached lo File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg' from '/user/username/projects/myproject/index.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1'. -Reusing resolution of module './a' from '/user/username/projects/myproject/index.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/a.ts'. Reusing resolution of module 'pkg1' from '/user/username/projects/myproject/index.ts' of old program, it was not resolved. +Reusing resolution of module './a' from '/user/username/projects/myproject/index.ts' of old program, it was not resolved. File '/home/src/tslibs/TS/Lib/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/TS/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/package.json' does not exist according to earlier cached lookups. @@ -336,7 +334,6 @@ File '/package.json' does not exist according to earlier cached lookups. //// [/user/username/projects/myproject/a.js] file written with same contents -//// [/user/username/projects/myproject/index.js] file written with same contents Program root files: [ @@ -351,7 +348,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/index.ts @@ -360,6 +357,5 @@ No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/index.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-files-with-partially-used-import-attributes.js b/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-files-with-partially-used-import-attributes.js index 287317c38a697..3b5d7a9a80c79 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-files-with-partially-used-import-attributes.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-files-with-partially-used-import-attributes.js @@ -143,10 +143,10 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'pkg1' was not resolved. ======== ======== Resolving module './a' from '/user/username/projects/myproject/index.ts'. ======== Explicitly specified module resolution kind: 'Node16'. -Resolving in CJS mode with conditions 'require', 'types', 'node'. +Resolving in ESM mode with conditions 'import', 'types', 'node'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/a', target file types: TypeScript, JavaScript, Declaration. -File '/user/username/projects/myproject/a.ts' exists - use it as a name resolution result. -======== Module name './a' was successfully resolved to '/user/username/projects/myproject/a.ts'. ======== +Directory '/user/username/projects/myproject/a' does not exist, skipping all lookups in it. +======== Module name './a' was not resolved. ======== File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups. File '/home/src/tslibs/TS/Lib/package.json' does not exist. File '/home/src/tslibs/TS/package.json' does not exist. @@ -163,16 +163,14 @@ File '/package.json' does not exist according to earlier cached lookups. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -232,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts @@ -240,7 +238,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/node_modules/pkg/import.d.ts (used version) /user/username/projects/myproject/index.ts (used version) @@ -318,8 +316,8 @@ File '/user/username/package.json' does not exist according to earlier cached lo File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg' from '/user/username/projects/myproject/index.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1'. -Reusing resolution of module './a' from '/user/username/projects/myproject/index.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/a.ts'. Reusing resolution of module 'pkg1' from '/user/username/projects/myproject/index.ts' of old program, it was not resolved. +Reusing resolution of module './a' from '/user/username/projects/myproject/index.ts' of old program, it was not resolved. File '/home/src/tslibs/TS/Lib/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/TS/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/package.json' does not exist according to earlier cached lookups. @@ -336,7 +334,6 @@ File '/package.json' does not exist according to earlier cached lookups. //// [/user/username/projects/myproject/a.js] file written with same contents -//// [/user/username/projects/myproject/index.js] file written with same contents Program root files: [ @@ -351,7 +348,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/index.ts @@ -360,6 +357,5 @@ No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/index.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js index 7801a65733d31..6e5608f830627 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js @@ -163,18 +163,16 @@ File '/package.json' does not exist according to earlier cached lookups. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); /// /// +export {}; @@ -201,7 +199,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -238,7 +236,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts @@ -247,7 +245,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/node_modules/pkg/import.d.ts (used version) /user/username/projects/myproject/index.ts (used version) @@ -357,11 +355,8 @@ File '/package.json' does not exist according to earlier cached lookups. //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; /// -exports.x = 10; +export const x = 10; @@ -378,7 +373,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/index.ts diff --git a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-with-impliedMode.js b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-with-impliedMode.js index fae0a10c31e63..96431dd10133b 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-with-impliedMode.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-with-impliedMode.js @@ -103,8 +103,8 @@ File '/package.json' does not exist. 2 interface LocalInterface extends RequireInterface {}    ~~~~~~~~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2022.full.d.ts - Default library for target 'es2022' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/pkg/import.d.ts Type library referenced via 'pkg' from file 'index.ts' with packageId 'pkg/import.d.ts@0.0.1' File is CommonJS module because 'node_modules/@types/pkg/package.json' does not have field "type" @@ -114,7 +114,7 @@ index.ts -//// [/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts] *Lib* +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* //// [/user/username/projects/myproject/index.js] /// @@ -132,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -166,17 +166,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/@types/pkg/import.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/@types/pkg/import.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2022.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/@types/pkg/import.d.ts (used version) /user/username/projects/myproject/index.ts (used version) @@ -258,8 +258,8 @@ File '/home/src/tslibs/package.json' does not exist according to earlier cached File '/home/src/package.json' does not exist according to earlier cached lookups. File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -../../../../home/src/tslibs/TS/Lib/lib.es2022.full.d.ts - Default library for target 'es2022' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/pkg/require.d.ts Type library referenced via 'pkg' from file 'index.ts' with packageId 'pkg/require.d.ts@0.0.1' File is CommonJS module because 'node_modules/@types/pkg/package.json' does not have field "type" @@ -282,7 +282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/index.ts: {} @@ -321,12 +321,12 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/@types/pkg/require.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2022.full.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/@types/pkg/require.d.ts /user/username/projects/myproject/index.ts diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index a36d7838fd39b..6fb4c2cece856 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -58,7 +58,7 @@ Output:: ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -81,7 +81,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. @@ -92,11 +92,10 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exists - +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/pkg1/build/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.theNum = void 0; -exports.theNum = 42; +export const theNum = 42; @@ -115,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/packages/pkg1/index.ts: *new* {} @@ -152,19 +151,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.ts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.ts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/pkg2/build/const.d.ts (used version) /user/username/projects/myproject/packages/pkg2/build/index.d.ts (used version) /user/username/projects/myproject/packages/pkg1/index.ts (used version) @@ -205,7 +204,7 @@ Output:: ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -252,7 +251,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} @@ -296,7 +295,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/other.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -344,7 +343,7 @@ Output:: ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. @@ -367,7 +366,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. @@ -395,7 +394,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} @@ -437,7 +436,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/pkg2/build/const.d.ts /user/username/projects/myproject/packages/pkg2/build/index.d.ts /user/username/projects/myproject/packages/pkg1/index.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js index 826ccc5bb28a9..68a82c06bbd73 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental-as-modules.js @@ -49,18 +49,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,7 +133,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1030 + "size": 1042 } @@ -148,7 +150,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -168,17 +170,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -208,17 +210,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -270,7 +272,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 785 + "size": 797 } @@ -288,7 +290,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -329,17 +331,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -379,14 +381,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 811 + "size": 823 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -394,10 +393,7 @@ export declare const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; //// [/home/src/projects/project/b.d.ts] @@ -418,7 +414,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -472,7 +468,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -516,17 +512,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -598,7 +594,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1301 + "size": 1313 } @@ -616,7 +612,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -667,17 +663,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -740,19 +736,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1265 + "size": 1277 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -769,7 +759,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -833,7 +823,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental.js index 571a191ba0ca3..5f1b977f8291e 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental.js @@ -46,17 +46,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -117,7 +119,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -132,7 +134,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -151,15 +153,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -188,16 +190,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -236,7 +238,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 741 + "size": 753 } @@ -253,16 +255,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -295,16 +297,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -334,11 +336,11 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 705 + "size": 717 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -358,7 +360,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -410,7 +412,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -453,16 +455,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[2,17]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -524,7 +526,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1192 + "size": 1204 } @@ -541,16 +543,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -593,16 +595,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true},"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -655,16 +657,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1156 + "size": 1168 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -680,7 +679,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -742,7 +741,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 6f0df1081e693..86d3063d318f6 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -38,18 +38,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -88,7 +90,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 683 + "size": 695 } @@ -105,7 +107,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -124,17 +126,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -164,17 +166,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -217,7 +219,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -234,7 +236,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -274,17 +276,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,21 +319,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -347,7 +343,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -399,7 +395,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -433,17 +429,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -482,7 +478,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 890 + "size": 902 } @@ -499,7 +495,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -539,17 +535,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9502176711-export const a = class { private p = 10; };","signature":"-11414918990-export declare const a: {\n new (): {\n p: number;\n };\n};\n(13,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -582,19 +578,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 859 + "size": 871 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -610,7 +600,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -662,7 +652,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js index 04db7c024eb89..6cb5cdfa02450 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js @@ -35,17 +35,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -77,7 +79,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 664 + "size": 676 } @@ -92,7 +94,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -110,15 +112,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -147,16 +149,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -189,7 +191,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -205,16 +207,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -246,16 +248,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -282,11 +284,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -301,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -351,7 +353,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -384,16 +386,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -426,7 +428,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 852 + "size": 864 } @@ -442,16 +444,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -483,16 +485,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7752727223-const a = class { private p = 10; };","signature":"10386759778-declare const a: {\n new (): {\n p: number;\n };\n};\n(6,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected.","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -519,16 +521,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 821 + "size": 833 } //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -543,7 +542,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -593,7 +592,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js index 6844d189668ea..5dd56667e9319 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -46,7 +48,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -63,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -111,16 +113,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -150,7 +152,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -212,7 +214,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -256,16 +258,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -295,12 +297,9 @@ Output:: //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -314,7 +313,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -362,7 +361,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js index d7658f81334d2..46aecaf49ab4a 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js @@ -45,6 +45,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -57,7 +59,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -75,15 +77,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -124,16 +126,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -165,7 +167,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/project/a.d.ts] @@ -184,7 +186,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -234,7 +236,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -289,16 +291,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -340,12 +342,9 @@ Output:: //// [/home/src/projects/project/a.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -360,7 +359,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -420,7 +419,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js index 6d62806a3ea69..0a209796c4895 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental-as-modules.js @@ -43,18 +43,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -107,7 +109,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } @@ -124,7 +126,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -143,17 +145,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -183,17 +185,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -236,7 +238,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 744 + "size": 756 } @@ -253,7 +255,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -293,17 +295,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},"-13368947479-export const b = 10;"],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -336,21 +338,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 711 + "size": 723 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -366,7 +362,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -418,7 +414,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -457,17 +453,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -520,7 +516,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 897 + "size": 909 } @@ -537,7 +533,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -582,17 +578,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11417512537-export const a: number = \"hello\"","signature":"-3045186137-export declare const a: number;\n"},"-13368947479-export const b = 10;"],"root":[2,3],"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -639,7 +635,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 866 + "size": 878 } //// [/home/src/projects/project/a.js] file written with same contents @@ -656,7 +652,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -713,7 +709,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental.js index cba1fa6edde61..6a97687e6150a 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental.js @@ -40,17 +40,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -96,7 +98,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 806 + "size": 818 } @@ -111,7 +113,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -129,15 +131,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -166,16 +168,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -208,7 +210,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -224,16 +226,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -265,16 +267,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -301,11 +303,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -320,7 +322,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -370,7 +372,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -408,16 +410,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -464,7 +466,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 858 + "size": 870 } @@ -480,16 +482,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -526,16 +528,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","signature":"1093425381-declare const a: number;\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -576,7 +578,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 827 + "size": 839 } //// [/home/src/projects/project/a.js] file written with same contents @@ -592,7 +594,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -647,7 +649,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js index e46375730b626..014b05b54c2bf 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js @@ -39,6 +39,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -51,7 +53,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -68,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -116,16 +118,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -155,7 +157,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -169,7 +171,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -217,7 +219,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -266,16 +268,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: /home/src/projects/project/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -321,7 +323,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -374,7 +376,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js index ff5f65478daf6..4e3e7f769b009 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental-as-modules.js @@ -43,18 +43,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":false},{"version":"-13368947479-export const b = 10;","signature":false}],"root":[2,3],"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -91,10 +93,10 @@ Output:: "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 734 + "size": 746 } @@ -111,7 +113,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -130,7 +132,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -164,17 +166,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -221,7 +223,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 813 + "size": 825 } @@ -238,17 +240,17 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) /home/src/projects/project/b.ts (computed .d.ts) @@ -282,17 +284,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16641552193-export const a = \"hello\";","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -329,21 +331,15 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 780 + "size": 792 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello"; +export const a = "hello"; //// [/home/src/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -359,7 +355,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -411,7 +407,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -450,17 +446,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -500,7 +496,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 797 + "size": 809 } @@ -517,7 +513,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -561,17 +557,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14000546910-export const a = \"hello","signature":"-2692717255-export declare const a = \"hello\";\n"},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2,3],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -614,14 +610,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 810 + "size": 822 } //// [/home/src/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = "hello; +export const a = "hello; @@ -637,7 +630,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -696,7 +689,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental.js index 8f4d510516cfd..92fa211bfd65a 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors-with-incremental.js @@ -40,17 +40,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, @@ -77,10 +79,10 @@ Output:: ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.d.ts" + "../../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 672 + "size": 684 } @@ -95,7 +97,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -113,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -146,16 +148,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -188,7 +190,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 705 + "size": 717 } @@ -204,15 +206,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -245,16 +247,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3528887741-const a = \"hello\";","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -281,11 +283,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 674 + "size": 686 } //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -300,7 +302,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -350,7 +352,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -388,16 +390,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -427,7 +429,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 703 } @@ -443,7 +445,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -486,16 +488,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[2],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -528,11 +530,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 704 + "size": 716 } //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -547,7 +549,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -604,7 +606,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors.js b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors.js index 546fc45420cd9..106b2f853e619 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors.js @@ -39,6 +39,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -51,7 +53,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -68,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -112,15 +114,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -151,7 +153,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello"; +const a = "hello"; @@ -165,7 +167,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -213,7 +215,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -262,7 +264,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -303,7 +305,7 @@ Output:: //// [/home/src/projects/project/a.js] -var a = "hello; +const a = "hello; @@ -317,7 +319,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -372,7 +374,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js index 259a7765bb6ac..d4c99f4888da0 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental-as-modules.js @@ -51,18 +51,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -84,10 +86,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 716 + "size": 728 } @@ -104,7 +106,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -126,7 +128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -170,17 +172,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -202,10 +204,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 713 } @@ -225,7 +227,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -276,17 +278,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -307,7 +309,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -320,7 +322,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 714 + "size": 726 } //// [/home/src/projects/outFile.js] @@ -363,7 +365,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -431,7 +433,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -475,17 +477,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -508,7 +510,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 712 + "size": 724 } @@ -528,7 +530,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -589,17 +591,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[2,[{"start":13,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":13,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -620,7 +622,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -656,7 +658,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1035 + "size": 1047 } //// [/home/src/projects/outFile.js] @@ -664,12 +666,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -695,7 +695,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -763,7 +763,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js index 107a4e8c92915..309f140088b00 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-with-incremental.js @@ -42,17 +42,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -67,10 +69,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 640 + "size": 652 } @@ -85,7 +87,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -105,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -143,16 +145,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -167,10 +169,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 636 } @@ -188,7 +190,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -232,16 +234,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -256,7 +258,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -265,11 +267,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 637 + "size": 649 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -290,7 +292,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -349,7 +351,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -387,16 +389,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -413,7 +415,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 638 + "size": 650 } @@ -431,7 +433,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -485,16 +487,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"declaration":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"emitDiagnosticsPerFile":[[2,[{"start":6,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":6,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -509,7 +511,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -541,16 +543,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 957 + "size": 969 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -567,7 +566,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -626,7 +625,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js index 135a26755f3b0..2ec9abdb63dc1 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental-as-modules.js @@ -50,18 +50,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -82,10 +84,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 709 } @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -123,7 +125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -167,17 +169,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -198,10 +200,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -270,17 +272,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -300,7 +302,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -313,7 +315,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -346,7 +348,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -412,7 +414,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -456,17 +458,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -488,7 +490,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 693 + "size": 705 } @@ -507,7 +509,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -557,17 +559,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-9502176711-export const a = class { private p = 10; };","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-9502176711-export const a = class { private p = 10; };", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -587,7 +589,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -600,7 +602,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 710 + "size": 722 } //// [/home/src/projects/outFile.js] @@ -608,12 +610,10 @@ define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.a = void 0; - exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; - }()); + const a = class { + p = 10; + }; + exports.a = a; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -638,7 +638,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -704,7 +704,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js index 375d2d4a0a80c..0305d6d28052a 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled-with-incremental.js @@ -41,17 +41,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -65,10 +67,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 621 + "size": 633 } @@ -83,7 +85,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -140,16 +142,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -163,10 +165,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -183,7 +185,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -226,16 +228,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -249,7 +251,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -258,11 +260,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -278,7 +280,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -335,7 +337,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -373,16 +375,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -398,7 +400,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 619 + "size": 631 } @@ -415,7 +417,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -458,16 +460,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","7752727223-const a = class { private p = 10; };"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "7752727223-const a = class { private p = 10; };" }, "root": [ @@ -481,7 +483,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -490,16 +492,13 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 634 + "size": 646 } //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -515,7 +514,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -572,7 +571,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js index 9392179e27821..7550ba1b06b31 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors-without-dts-enabled.js @@ -40,6 +40,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -52,7 +54,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -70,7 +72,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -120,7 +122,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -162,7 +164,7 @@ Output:: //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -177,7 +179,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -232,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -282,7 +284,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -324,12 +326,9 @@ Output:: //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -344,7 +343,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -399,7 +398,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js index 130930c168c32..acc9f8a7f0e3d 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js @@ -41,6 +41,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -53,7 +55,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -72,7 +74,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -123,7 +125,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -166,7 +168,7 @@ Output:: //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; //// [/home/src/projects/outFile.d.ts] @@ -186,7 +188,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -243,7 +245,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -294,7 +296,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -347,12 +349,9 @@ Output:: //// [/home/src/projects/outFile.js] -var a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +const a = class { + p = 10; +}; @@ -368,7 +367,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -425,7 +424,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js index 2ad97fd4fbbee..58e8bd87db71a 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental-as-modules.js @@ -50,18 +50,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -82,10 +84,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 689 + "size": 701 } @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -123,7 +125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -167,17 +169,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -198,10 +200,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -220,7 +222,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -270,17 +272,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -300,7 +302,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -313,7 +315,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -346,7 +348,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -412,7 +414,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -456,17 +458,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -488,7 +490,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 685 + "size": 697 } @@ -507,7 +509,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -557,17 +559,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-11417512537-export const a: number = \"hello\"","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-11417512537-export const a: number = \"hello\"", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -587,7 +589,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -600,7 +602,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 702 + "size": 714 } //// [/home/src/projects/outFile.js] file written with same contents @@ -619,7 +621,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -685,7 +687,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js index e1f8946897287..275229f190ac7 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors-with-incremental.js @@ -41,17 +41,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -65,10 +67,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 624 } @@ -83,7 +85,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -140,16 +142,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -163,10 +165,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -183,7 +185,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -226,16 +228,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -249,7 +251,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -258,11 +260,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -278,7 +280,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -335,7 +337,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -373,16 +375,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -398,7 +400,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 610 + "size": 622 } @@ -415,7 +417,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -458,16 +460,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1311033573-const a: number = \"hello\""],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "1311033573-const a: number = \"hello\"" }, "root": [ @@ -481,7 +483,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -490,7 +492,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 625 + "size": 637 } //// [/home/src/projects/outFile.js] file written with same contents @@ -507,7 +509,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -564,7 +566,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js index f3316fa424c6c..50e30c619f974 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js @@ -40,6 +40,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -52,7 +54,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -70,7 +72,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -120,7 +122,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -162,7 +164,7 @@ Output:: //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -177,7 +179,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -232,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -282,7 +284,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -336,7 +338,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -391,7 +393,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js index 79d78af1e47aa..5fac8c7386a83 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental-as-modules.js @@ -45,18 +45,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -77,10 +79,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 679 + "size": 691 } @@ -97,7 +99,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -118,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -162,17 +164,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2,3,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -193,10 +195,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 682 + "size": 694 } @@ -215,7 +217,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -265,17 +267,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16641552193-export const a = \"hello\";","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-16641552193-export const a = \"hello\";", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -295,7 +297,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -308,7 +310,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 707 } //// [/home/src/projects/outFile.js] @@ -341,7 +343,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -407,7 +409,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -446,17 +448,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -478,7 +480,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 675 + "size": 687 } @@ -497,7 +499,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -542,17 +544,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.ts","./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14000546910-export const a = \"hello","-13368947479-export const b = 10;"],"root":[2,3],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.ts", "./project/b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "-14000546910-export const a = \"hello", "./project/b.ts": "-13368947479-export const b = 10;" }, @@ -572,7 +574,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -585,7 +587,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 692 + "size": 704 } //// [/home/src/projects/outFile.js] @@ -618,7 +620,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -679,7 +681,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js index cb15b32072b8e..1e42daa97f8f3 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors-with-incremental.js @@ -41,17 +41,19 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -65,10 +67,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 602 + "size": 614 } @@ -83,7 +85,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -102,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -140,16 +142,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2,1],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -163,10 +165,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.d.ts" + "../tslibs/ts/lib/lib.es2024.full.d.ts" ], "version": "FakeTSVersion", - "size": 605 + "size": 617 } @@ -183,7 +185,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -226,16 +228,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3528887741-const a = \"hello\";"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "3528887741-const a = \"hello\";" }, "root": [ @@ -249,7 +251,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -258,11 +260,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 618 + "size": 630 } //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -278,7 +280,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -335,7 +337,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -373,16 +375,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"changeFileSet":[2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -398,7 +400,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 600 + "size": 612 } @@ -415,7 +417,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -458,16 +460,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} +{"fileNames":["../tslibs/ts/lib/lib.es2024.full.d.ts","./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2464268576-const a = \"hello"],"root":[2],"options":{"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2],"version":"FakeTSVersion"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "./project/a.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./project/a.ts": "2464268576-const a = \"hello" }, "root": [ @@ -481,7 +483,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.d.ts", + "../tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -490,11 +492,11 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 615 + "size": 627 } //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -510,7 +512,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -567,7 +569,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js index 33ab5fd13a0d1..1d8a542239db9 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js @@ -40,6 +40,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -52,7 +54,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -70,7 +72,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -120,7 +122,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -162,7 +164,7 @@ Output:: //// [/home/src/projects/outFile.js] -var a = "hello"; +const a = "hello"; @@ -177,7 +179,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -232,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -282,7 +284,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -324,7 +326,7 @@ Output:: //// [/home/src/projects/outFile.js] -var a = "hello; +const a = "hello; @@ -339,7 +341,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -394,7 +396,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js index 9cf2974140542..21f244e3604b4 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration-with-incremental.js @@ -57,13 +57,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -74,7 +76,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -135,7 +137,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 979 + "size": 991 } @@ -146,7 +148,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -176,19 +178,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -239,12 +241,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -255,7 +257,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -309,12 +311,11 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1031 + "size": 1043 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -324,11 +325,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -336,9 +336,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -362,7 +361,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -422,12 +421,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -438,7 +437,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -512,7 +511,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1199 + "size": 1211 } @@ -532,7 +531,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -587,12 +586,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -603,7 +602,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -657,13 +656,12 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1022 + "size": 1034 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents @@ -684,7 +682,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -750,12 +748,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[3,17]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"emitDiagnosticsPerFile":[[3,[{"start":53,"length":1,"messageText":"Property 'p' of exported anonymous class type may not be private or protected.","category":1,"code":4094,"relatedInformation":[{"start":53,"length":1,"messageText":"Add a type annotation to the variable a.","category":1,"code":9027}]}]]],"affectedFilesPendingEmit":[[3,17]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -766,7 +764,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -852,7 +850,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1537 + "size": 1549 } @@ -872,7 +870,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -928,12 +926,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -944,7 +942,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -998,19 +996,13 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1091 + "size": 1103 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -1038,7 +1030,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js index ad0b14d70b062..9415be54add75 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js @@ -56,6 +56,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -64,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -93,19 +95,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -156,8 +158,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] @@ -167,11 +168,10 @@ export interface A { //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -179,9 +179,8 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] @@ -204,7 +203,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -279,7 +278,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -334,9 +333,8 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents @@ -356,7 +354,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -437,7 +435,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -493,15 +491,9 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] @@ -528,7 +520,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js index 854c4a711439c..279c11e1070d0 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js @@ -56,13 +56,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -73,7 +75,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,7 +135,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 960 + "size": 972 } @@ -144,7 +146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -173,19 +175,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -236,12 +238,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -252,7 +254,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -301,26 +303,23 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 961 + "size": 973 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -339,7 +338,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -399,12 +398,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -415,7 +414,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -484,7 +483,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1129 + "size": 1141 } @@ -503,7 +502,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -558,12 +557,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -574,7 +573,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -623,13 +622,12 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 952 + "size": 964 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; @@ -648,7 +646,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -704,12 +702,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","signature":"-3419031754-export declare const a: {\n new (): {\n p: number;\n };\n};\n(53,1)Error4094: Property 'p' of exported anonymous class type may not be private or protected."},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -720,7 +718,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -769,19 +767,13 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1125 + "size": 1137 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -800,7 +792,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -856,12 +848,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","signature":"4346604020-export declare const a: {\n new (): {\n p: number;\n };\n};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -872,7 +864,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -921,7 +913,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1021 + "size": 1033 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file written with same contents @@ -941,7 +933,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError.js b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError.js index a6ee70541c5b5..6034eec574ddb 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError.js @@ -55,6 +55,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -63,7 +65,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -91,19 +93,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/noemitonerror/shared/types/db.ts (used version) /user/username/projects/noemitonerror/src/main.ts (used version) /user/username/projects/noemitonerror/src/other.ts (used version) @@ -154,22 +156,19 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = { +const a = { lastName: 'sdsd' }; +export {}; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); console.log("hi"); +export {}; @@ -187,7 +186,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -261,7 +260,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -316,9 +315,8 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a = "hello"; +const a = "hello"; +export {}; @@ -336,7 +334,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -392,15 +390,9 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = /** @class */ (function () { - function class_1() { - this.p = 10; - } - return class_1; -}()); +export const a = class { + p = 10; +}; @@ -418,7 +410,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -489,7 +481,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js index 04a60d551f49f..ec865c7145868 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration-with-incremental.js @@ -68,19 +68,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -110,7 +112,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 939 + "size": 951 } @@ -121,7 +123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -152,13 +154,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -221,18 +223,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -262,7 +264,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 950 } @@ -283,13 +285,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -355,18 +357,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -409,7 +411,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1061 + "size": 1073 } @@ -430,13 +432,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -497,18 +499,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -538,7 +540,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 929 + "size": 941 } @@ -559,13 +561,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -627,18 +629,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -668,7 +670,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 945 + "size": 957 } @@ -689,13 +691,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -757,18 +759,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -798,7 +800,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 937 + "size": 949 } @@ -819,13 +821,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js index 8cb03b741235b..f5d6aa93d476e 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js @@ -67,6 +67,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -75,7 +77,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -105,13 +107,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -190,13 +192,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -278,13 +280,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -361,13 +363,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -445,13 +447,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -529,13 +531,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js index 89fdc5b062497..c6f8a540774a2 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js @@ -67,19 +67,21 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -108,7 +110,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 920 + "size": 932 } @@ -119,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -149,13 +151,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -218,18 +220,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -258,7 +260,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 919 + "size": 931 } @@ -278,13 +280,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -350,18 +352,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -403,7 +405,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1042 + "size": 1054 } @@ -423,13 +425,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -490,18 +492,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -530,7 +532,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 910 + "size": 922 } @@ -550,13 +552,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -618,18 +620,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "5099365167-import { A } from \"../shared/types/db\";\nexport const a = class { private p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -658,7 +660,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 926 + "size": 938 } @@ -678,13 +680,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -746,18 +748,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", "./noemitonerror/src/main.ts": "-614304812-import { A } from \"../shared/types/db\";\nexport const a = class { p = 10; };\n", "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" @@ -786,7 +788,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 918 + "size": 930 } @@ -806,13 +808,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js index 98d78b2066612..cdb28abcdeb7b 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js @@ -66,6 +66,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -74,7 +76,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -103,13 +105,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -187,13 +189,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -274,13 +276,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -356,13 +358,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -439,13 +441,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -522,13 +524,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js index 7c0047b0d2790..fd0daef713a95 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js @@ -45,8 +45,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] -var x = 10; +let x = 10; @@ -61,7 +63,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -81,15 +83,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js index f0819b28a8349..062461092f72d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js @@ -53,8 +53,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] -var x = 10; +let x = 10; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQSJ9 @@ -69,7 +71,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -91,13 +93,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined @@ -159,7 +161,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js b/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js index c04cfcc69eb76..30115e4377edf 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js @@ -40,6 +40,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] @@ -55,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -75,15 +77,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js index 79768247dc6c9..fc44c4f856aa1 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js @@ -30,8 +30,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] -var x = 10; +let x = 10; @@ -46,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -66,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined @@ -122,7 +124,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: @@ -168,7 +170,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--allowArbitraryExtensions'-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--allowArbitraryExtensions'-changes.js index 69da681466fd5..feab565f286f3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--allowArbitraryExtensions'-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--allowArbitraryExtensions'-changes.js @@ -45,9 +45,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -62,7 +63,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/a.ts: *new* {} @@ -82,17 +83,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/b.d.css.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/b.d.css.ts /user/username/workspace/solution/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/b.d.css.ts (used version) /user/username/workspace/solution/projects/project/a.ts (used version) @@ -146,7 +147,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/a.ts: {} @@ -169,7 +170,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -228,7 +229,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/a.ts: {} @@ -249,12 +250,12 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/b.d.css.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/b.d.css.ts /user/username/workspace/solution/projects/project/a.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js index b2e39ced92219..a3a62cf4068ea 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/a.js] label: while (1) { } @@ -50,7 +52,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/a.ts: *new* {} @@ -72,15 +74,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -130,11 +132,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts No shapes updated in the builder:: @@ -181,11 +183,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/a.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js index eac2e14281f17..e763e6327ad78 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js @@ -30,8 +30,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; @@ -46,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -66,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) exitCode:: ExitStatus.undefined @@ -104,7 +106,7 @@ Output:: //// [/user/username/workspace/solution/projects/project/commonFile1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -119,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -143,12 +145,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js index 1cc1d3a10457d..75abece93ae53 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js @@ -32,43 +32,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/file1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var T = __importStar(require("./moduleFile")); +import * as T from "./moduleFile"; T.bar(); @@ -82,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -97,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -144,10 +111,7 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/moduleFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } @@ -162,7 +126,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -182,7 +146,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index cc738782ecec8..21deae80cbd86 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -38,8 +38,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -var x = 1; +let x = 1; @@ -54,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -70,15 +72,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined @@ -114,7 +116,7 @@ Output:: //// [/user/username/workspace/solution/projects/project/f1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/f2.js] -var y = 1; +let y = 1; @@ -129,7 +131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -149,12 +151,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index 7b37d1dd25ff4..b32724e7d762d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -30,8 +30,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -var x = 1; +let x = 1; @@ -46,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -66,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined @@ -104,7 +106,7 @@ Output:: //// [/user/username/workspace/solution/projects/project/f1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/f2.js] -var y = 1; +let y = 1; @@ -119,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -143,12 +145,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js index 922c251cd2956..54623f188e07c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js @@ -35,11 +35,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/Project/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; @@ -52,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/Project/file1.ts: *new* {} @@ -74,17 +73,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Project/file1.ts /user/username/projects/myproject/Project/tsconfig.json Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Project/file1.ts /user/username/projects/myproject/Project/tsconfig.json Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/project/file1.ts (used version) /user/username/projects/myproject/project/tsconfig.json (used version) @@ -114,10 +113,7 @@ Output:: //// [/user/username/projects/myproject/Project/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; @@ -130,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/Project/file1.ts: {} @@ -156,7 +152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/Project/file1.ts /user/username/projects/myproject/Project/file2.ts /user/username/projects/myproject/Project/tsconfig.json diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js b/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js index f0523820049a1..adadaa093fbed 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js @@ -34,8 +34,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/PROJECTS/PROJECT/app.js] -var x = 1; +let x = 1; @@ -50,7 +52,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/PROJECTS/PROJECT/app.ts: *new* {} @@ -67,15 +69,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/PROJECTS/PROJECT/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/PROJECTS/PROJECT/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js index 87f3f0633a451..6f84373538b74 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -39,12 +39,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/f2.js] -var y = 1; +let y = 1; @@ -59,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -78,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) @@ -131,8 +133,8 @@ Output:: //// [/user/username/workspace/solution/projects/project/out.js] -var x = 1; -var y = 1; +let x = 1; +let y = 1; @@ -148,7 +150,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js index daa114e6fc071..4b2fe13b1eacd 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js +++ b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js @@ -31,9 +31,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -48,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -68,15 +69,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined @@ -113,7 +114,11 @@ Output:: -//// [/user/username/workspace/solution/projects/project/f1.js] file written with same contents +//// [/user/username/workspace/solution/projects/project/f1.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + Program root files: [ @@ -126,13 +131,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js index a459e4ad9a5d1..83e3defb18413 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js @@ -29,8 +29,8 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/f2.ts Imported via "./f2" from file 'project/f1.ts' project/f1.ts @@ -39,31 +39,14 @@ project/f1.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 1; +export let x = 1; //// [/user/username/workspace/solution/projects/project/f1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./f2"), exports); +export * from "./f2"; @@ -76,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -92,17 +75,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) @@ -127,8 +110,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' projectc/f3.ts Imported via "../projectc/f3" from file 'project/f2.ts' project/f2.ts @@ -140,31 +123,12 @@ project/f1.ts //// [/user/username/workspace/solution/projects/project/f2.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("../projectc/f3"), exports); +export * from "../projectc/f3"; //// [/user/username/workspace/solution/projects/project/f1.js] file written with same contents //// [/user/username/workspace/solution/projects/projectc/f3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 1; +export let y = 1; @@ -177,7 +141,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -196,7 +160,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f3.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js index dc80822268582..9372c2c14c9d1 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js @@ -42,23 +42,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 5; +export let x = 5; //// [/user/username/workspace/solution/projects/projectc/f2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/workspace/solution/projects/projectc/f3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 1; +export let y = 1; @@ -73,7 +68,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -95,19 +90,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/projectc/f2.ts /user/username/workspace/solution/projects/projectc/f3.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/projectc/f2.ts /user/username/workspace/solution/projects/projectc/f3.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) /user/username/workspace/solution/projects/projectc/f2.ts (used version) /user/username/workspace/solution/projects/projectc/f3.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js index d320fe358dcc1..75532bdaf7168 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js @@ -33,12 +33,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/f2.js] -var y = 2; +let y = 2; @@ -53,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -76,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js index 2e41c1ec10396..49290f575f6bb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js @@ -45,7 +45,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f1.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f2.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -56,11 +56,10 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 1; +export const x = 1; //// [/user/username/projects/myproject/f1.d.ts] @@ -68,10 +67,7 @@ export declare const x = 1; //// [/user/username/projects/myproject/f2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 1; +export const y = 1; //// [/user/username/projects/myproject/f2.d.ts] @@ -79,18 +75,18 @@ export declare const y = 1; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./f1.ts","./f2.ts","./tsconfig.json"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./f2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./f1.ts","./f2.ts","./tsconfig.json"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./f2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./f1.ts", "./f2.ts", "./tsconfig.json" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -138,7 +134,7 @@ export declare const y = 1; }, "latestChangedDtsFile": "./f2.d.ts", "version": "FakeTSVersion", - "size": 994 + "size": 1006 } @@ -149,7 +145,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/f1.ts: *new* {} @@ -175,19 +171,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts /user/username/projects/myproject/tsconfig.json Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts /user/username/projects/myproject/tsconfig.json Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/f1.ts (computed .d.ts during emit) /user/username/projects/myproject/f2.ts (computed .d.ts during emit) /user/username/projects/myproject/tsconfig.json (used version) @@ -235,19 +231,19 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./f1.ts","./f2.ts","./new-file.ts","./tsconfig.json"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./f1.ts","./f2.ts","./new-file.ts","./tsconfig.json"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./f1.ts", "./f2.ts", "./new-file.ts", "./tsconfig.json" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -304,14 +300,11 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "latestChangedDtsFile": "./new-file.d.ts", "version": "FakeTSVersion", - "size": 1119 + "size": 1131 } //// [/user/username/projects/myproject/new-file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.z = void 0; -exports.z = 1; +export const z = 1; //// [/user/username/projects/myproject/new-file.d.ts] @@ -326,7 +319,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/f1.ts: {} @@ -356,7 +349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts /user/username/projects/myproject/new-file.ts @@ -404,12 +397,12 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/f1.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./new-file.ts","./f1.ts","./f2.ts","./tsconfig.json"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},{"version":"1363236232-import { z } from \"./new-file\";export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./new-file.ts","./f1.ts","./f2.ts","./tsconfig.json"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},{"version":"1363236232-import { z } from \"./new-file\";export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./new-file.ts", "./f1.ts", "./f2.ts", @@ -421,7 +414,7 @@ CreatingProgramWith:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -483,7 +476,7 @@ CreatingProgramWith:: }, "latestChangedDtsFile": "./new-file.d.ts", "version": "FakeTSVersion", - "size": 1194 + "size": 1206 } @@ -502,7 +495,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/new-file.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js index af53292c27cf7..fb86194c32d56 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js @@ -42,12 +42,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/c/f1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/d/f2.js] -var y = 1; +let y = 1; @@ -62,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/c/f1.ts: *new* {} @@ -85,17 +87,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/c/f1.ts /user/username/workspace/solution/projects/project/d/f2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/c/f1.ts /user/username/workspace/solution/projects/project/d/f2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/c/f1.ts (used version) /user/username/workspace/solution/projects/project/d/f2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js index 0158758f92147..b1fa3f028f18d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js @@ -38,11 +38,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/c/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var module_1 = require("./module"); -console.log(module_1.f); +import { f } from "./module"; +console.log(f); @@ -57,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/c/app.ts: *new* {} @@ -76,17 +76,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/c/module.d.ts /user/username/workspace/solution/projects/project/c/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/c/module.d.ts /user/username/workspace/solution/projects/project/c/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/c/module.d.ts (used version) /user/username/workspace/solution/projects/project/c/app.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js index 0006aff205f1e..aad3b7e059bd4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js @@ -33,51 +33,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/projectc/f3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 1; +export let y = 1; //// [/user/username/workspace/solution/projects/project/f2.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("../projectc/f3"), exports); +export * from "../projectc/f3"; //// [/user/username/workspace/solution/projects/project/f1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./f2"), exports); +export * from "./f2"; @@ -90,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -109,19 +76,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f3.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f3.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/projectc/f3.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) @@ -165,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -191,7 +158,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/projectc/f3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js index 2db8bf90412b5..fa34baee78c0b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js @@ -33,51 +33,18 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/projectc/f3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 1; +export let y = 1; //// [/user/username/workspace/solution/projects/project/f2.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("../projectc/f3"), exports); +export * from "../projectc/f3"; //// [/user/username/workspace/solution/projects/project/f1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./f2"), exports); +export * from "./f2"; @@ -90,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -108,19 +75,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f3.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f3.ts /user/username/workspace/solution/projects/project/f2.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/projectc/f3.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) @@ -164,7 +131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -189,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js index 4d370152d57bb..a3a88c09c3e0d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js +++ b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js @@ -51,12 +51,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -71,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -91,17 +93,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) @@ -139,12 +141,12 @@ Output:: //// [/user/username/workspace/solution/projects/project/commonFile1.js] "use strict"; -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] "use strict"; -var y = 1; +let y = 1; @@ -159,7 +161,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -185,12 +187,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts @@ -226,11 +228,11 @@ Output:: //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -247,12 +249,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts @@ -303,12 +305,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts @@ -357,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -384,12 +386,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js index c9036e58b2c34..de2950181ffee 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js @@ -39,12 +39,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/f1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/f2.js] -var y = 1; +let y = 1; @@ -59,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -78,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts /user/username/workspace/solution/projects/project/f2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) @@ -139,7 +141,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -161,7 +163,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/f1.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js index dea8699b0c852..6a61f6146a0b5 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js @@ -39,12 +39,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -59,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -83,17 +85,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js index 71d0f9cbadfa9..db4a36a3faef7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js @@ -29,8 +29,8 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -39,12 +39,14 @@ commonFile2.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -59,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -83,17 +85,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) @@ -118,8 +120,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -130,8 +132,8 @@ commonFile2.ts //// [/user/username/workspace/solution/projects/project/commonFile1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; -var xy = 10; +let y = 1; +let xy = 10; @@ -147,18 +149,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: /user/username/workspace/solution/projects/project/commonfile2.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -180,8 +182,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -201,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -227,7 +229,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: @@ -257,8 +259,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -269,7 +271,7 @@ commonFile2.ts //// [/user/username/workspace/solution/projects/project/commonFile1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -284,7 +286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -309,12 +311,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js b/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js index a22eba5cf30b9..13bc22697c558 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js @@ -38,9 +38,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] /// -var x = y; +let x = y; @@ -57,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -70,15 +72,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) exitCode:: ExitStatus.undefined @@ -105,7 +107,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -128,7 +130,7 @@ Output:: //// [/user/username/workspace/solution/projects/project/commonFile1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -143,7 +145,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -159,12 +161,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile2.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile2.ts /user/username/workspace/solution/projects/project/commonFile1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js b/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js index f14970dca9904..cc954fa1b8a6a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js +++ b/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js @@ -32,8 +32,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] -var x = 10; +let x = 10; @@ -48,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -68,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js index a7227c5d97511..245e23f9c2904 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js @@ -33,51 +33,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/moduleFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } ; //// [/users/username/projects/project/file1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var T = __importStar(require("./moduleFile")); +import * as T from "./moduleFile"; T.bar(); @@ -89,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -113,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/modulefile.ts (used version) /users/username/projects/project/file1.ts (used version) @@ -160,10 +124,7 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/moduleFile1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } ; @@ -177,7 +138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: *new* {} @@ -212,7 +173,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/moduleFile1.ts @@ -264,10 +225,7 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/moduleFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } ; @@ -283,7 +241,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -314,7 +272,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js index badf388f96710..7a3909378323f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js @@ -30,51 +30,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/moduleFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } ; //// [/users/username/projects/project/file1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var T = __importStar(require("./moduleFile")); +import * as T from "./moduleFile"; T.bar(); @@ -86,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -101,17 +65,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/modulefile.ts (used version) /users/username/projects/project/file1.ts (used version) @@ -157,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: *new* {} @@ -181,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: @@ -227,10 +191,7 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents //// [/users/username/projects/project/moduleFile.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } ; @@ -246,7 +207,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -266,7 +227,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/moduleFile.ts /users/username/projects/project/file1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js index 42a091bfb171b..2a5009ad078e7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js @@ -43,16 +43,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspaces/projects/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/workspaces/projects/myproject/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -65,7 +63,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspaces/projects/b.ts: *new* {} @@ -89,17 +87,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/projects/b.ts /user/username/workspaces/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/projects/b.ts /user/username/workspaces/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspaces/projects/b.ts (used version) /user/username/workspaces/projects/myproject/a.ts (used version) @@ -149,7 +147,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/projects/b.ts /user/username/workspaces/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js index e11f9a00c658c..98da7133c5c40 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js @@ -38,18 +38,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = ""; +export const a = ""; //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = require("./a"); -var b = a_1.a; +import { a } from "./a"; +const b = a; @@ -60,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -84,17 +81,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -129,10 +126,7 @@ Output:: //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 1; +export const a = 1; @@ -148,7 +142,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js index 366f67928d112..3d493552bd3dd 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js @@ -36,8 +36,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/src/app.js] -var x = 1; +let x = 1; @@ -54,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/src/app.ts: *new* {} @@ -75,15 +77,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/src/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/src/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/src/app.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js index 2244f7c062e71..91a402a57e50d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -48,8 +48,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; @@ -66,7 +68,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -83,13 +85,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index a2da72dae84c5..46ab8721cb21a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -44,6 +44,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -78,7 +80,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -107,14 +109,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/file1.ts (computed .d.ts during emit) /user/username/projects/myproject/src/file2.ts (computed .d.ts during emit) @@ -178,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -211,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index f5c4e0295997b..9078a71af37a2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -45,6 +45,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/build/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -79,7 +81,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -109,14 +111,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/file1.ts (computed .d.ts during emit) /user/username/projects/myproject/src/file2.ts (computed .d.ts during emit) @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -214,7 +216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js index b12772984f6c3..15508a02e9e0d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js @@ -43,6 +43,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/build/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -69,7 +71,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -97,14 +99,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/file1.ts (used version) /user/username/projects/myproject/src/file2.ts (used version) @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -196,7 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js index 8310e61cfceea..88f2e638b61ab 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js @@ -48,6 +48,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/build/outFile.js] define("file1", ["require", "exports"], function (require, exports) { "use strict"; @@ -71,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -99,7 +101,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -212,7 +214,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index 80e410b5d5a6a..d0bba1459dc47 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -43,6 +43,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -77,7 +79,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -105,14 +107,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/file1.ts (computed .d.ts during emit) /user/username/projects/myproject/src/file2.ts (computed .d.ts during emit) @@ -176,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -208,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js index 58ebd33437d84..a5334dd9cd8a8 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js @@ -42,6 +42,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/file1.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -68,7 +70,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -95,14 +97,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/file1.ts (used version) /user/username/projects/myproject/src/file2.ts (used version) @@ -162,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -193,7 +195,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index a42a452a9637f..c943944361958 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -47,9 +47,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -74,7 +75,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/file1.ts: *new* {} @@ -98,14 +99,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/node_modules/module1.ts /user/username/workspace/solution/projects/project/file1.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/node_modules/module1.ts (used version) /user/username/workspace/solution/projects/project/file1.ts (used version) @@ -146,8 +147,7 @@ Output:: //// [/user/username/workspace/solution/projects/project/file1.js] file written with same contents //// [/user/username/workspace/solution/projects/module1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -174,7 +174,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/module1.ts: *new* {} @@ -205,7 +205,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/module1.ts /user/username/workspace/solution/projects/project/file1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js index d15786efb2bec..4e8d7b6aca06f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js @@ -32,8 +32,8 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json commonFile2.ts @@ -42,12 +42,14 @@ commonFile2.ts +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -62,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -82,17 +84,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) @@ -117,8 +119,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json commonFile2.ts @@ -129,8 +131,8 @@ commonFile2.ts //// [/user/username/workspace/solution/projects/project/commonFile1.js] file written with same contents //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; -var xy = 10; +let y = 1; +let xy = 10; @@ -146,18 +148,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: /user/username/workspace/solution/projects/project/commonfile2.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -184,8 +186,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -205,7 +207,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -227,7 +229,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js b/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js index 442defa4220f9..95a40aa7e576b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js @@ -27,8 +27,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/compile.js] -var x = 1; +let x = 1; @@ -43,7 +45,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/compile: *new* {} @@ -56,15 +58,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/compile Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/compile Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/compile (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js b/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js index a058af2dfe756..4da91034b1b4e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js @@ -49,12 +49,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -69,7 +71,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -93,14 +95,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js b/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js index 9828cbce58509..a84a87590a28c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js +++ b/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js @@ -32,6 +32,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/file.js] function one() { } function two() { @@ -53,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/file.ts: *new* {} @@ -67,15 +69,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/file.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/file.ts (used version) exitCode:: ExitStatus.undefined @@ -109,11 +111,8 @@ Output:: //// [/user/username/workspace/solution/projects/project/file.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.two = two; function one() { } -function two() { +export function two() { return function three() { one(); }; @@ -131,7 +130,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/file.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js b/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js index 8d7ce59e5ac34..a6ebab327217d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js +++ b/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js @@ -35,18 +35,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/projectc/f2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 1; +export let x = 1; //// [/user/username/workspace/solution/projects/projectd/f3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 1; +export let y = 1; @@ -59,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/projectc/f2.ts: *new* {} @@ -75,17 +71,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f2.ts /user/username/workspace/solution/projects/projectd/f3.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f2.ts /user/username/workspace/solution/projects/projectd/f3.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/projectc/f2.ts (used version) /user/username/workspace/solution/projects/projectd/f3.ts (used version) @@ -103,24 +99,8 @@ Output:: //// [/user/username/workspace/solution/projects/projectc/f2.js] file written with same contents //// [/user/username/workspace/solution/projects/projectd/f3.js] file written with same contents //// [/user/username/workspace/solution/projects/project/f1.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("../projectc/f2"), exports); -__exportStar(require("../projectd/f3"), exports); +export * from "../projectc/f2"; +export * from "../projectd/f3"; @@ -133,7 +113,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -150,19 +130,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f2.ts /user/username/workspace/solution/projects/projectd/f3.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/projectc/f2.ts /user/username/workspace/solution/projects/projectd/f3.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/projectc/f2.ts (used version) /user/username/workspace/solution/projects/projectd/f3.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js index 5f07aacbe0429..31ae5c30f742c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js @@ -39,8 +39,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] -var x = 1; +let x = 1; @@ -61,7 +63,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -89,17 +91,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts /user/username/workspace/solution/projects/project/node_modules/@types/node/index.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts /user/username/workspace/solution/projects/project/node_modules/@types/node/index.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) /user/username/workspace/solution/projects/project/node_modules/@types/node/index.d.ts (used version) diff --git a/tests/baselines/reference/tscWatch/programUpdates/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js b/tests/baselines/reference/tscWatch/programUpdates/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js index 1d3cfe9a5b083..7f8daaa72bed3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js +++ b/tests/baselines/reference/tscWatch/programUpdates/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js @@ -49,13 +49,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/app.js] -var x = 1; +let x = 1; FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -80,13 +82,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/app.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-add.js b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-add.js index 4739c7fd40ad2..c98531573ea17 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-add.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-add.js @@ -38,8 +38,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.js] -var d =
; +const d =
; @@ -50,7 +52,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.tsx: *new* {} @@ -70,15 +72,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/index.tsx (used version) exitCode:: ExitStatus.undefined @@ -107,7 +109,7 @@ Output:: //// [/user/username/projects/myproject/index.jsx] -var d =
; +const d =
; @@ -122,11 +124,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js index 34c855b5e9c0e..2a4f624f87f85 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js @@ -35,8 +35,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.jsx] -var d =
; +const d =
; @@ -47,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.tsx: *new* {} @@ -68,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/index.tsx (used version) exitCode:: ExitStatus.undefined @@ -105,7 +107,7 @@ Output:: //// [/user/username/projects/myproject/index.js] -var d = React.createElement("div", null); +const d = React.createElement("div", null); @@ -120,11 +122,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.tsx No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js index 8be3d9e40aecc..258c89110977c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js @@ -36,23 +36,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - } - return C; -}()); -exports.C = C; +export class C { +} //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = f; -function f(p) { return p; } +export function f(p) { return p; } @@ -63,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -86,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -125,32 +117,14 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:1:1 - error TS1287: A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled. - -1 export class C {} -  ~~~~~~ - -b.ts:1:9 - error TS1295: ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'. Adjust the 'type' field in the nearest 'package.json' to make this file an ECMAScript module, or adjust your 'verbatimModuleSyntax', 'module', and 'moduleResolution' settings in TypeScript. - -1 import {C} from './a'; -   ~ - -b.ts:2:1 - error TS1287: A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled. - -2 export function f(p: C) { return p; } -  ~~~~~~ - -[HH:MM:SS AM] Found 3 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = f; -var a_1 = require("./a"); -function f(p) { return p; } +import { C } from './a'; +export function f(p) { return p; } @@ -166,12 +140,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -208,10 +182,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.f = f; -function f(p) { return p; } +export function f(p) { return p; } @@ -227,12 +198,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js index f3ce0698f945e..94fbd423ff1bb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js @@ -43,6 +43,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -51,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -77,17 +79,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -139,7 +141,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -194,7 +196,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -259,7 +261,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -314,7 +316,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js index 3c252fe8bc52b..92d43be4ad650 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js @@ -32,23 +32,14 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -4 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -59,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -72,15 +63,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -123,16 +114,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -161,17 +152,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -4 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -186,15 +167,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js index 97b8bde450d15..1a7f4c2c16f8f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js @@ -32,18 +32,14 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -4 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -54,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -68,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -120,16 +116,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -158,17 +154,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -4 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -184,15 +170,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js index 710ebc5e81a52..b14539cc4349b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js @@ -32,18 +32,14 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -4 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -54,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -68,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -120,16 +116,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -158,12 +154,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -4 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -179,15 +170,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js index 374dc7fcb8e04..def9ac503fc39 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js @@ -29,20 +29,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] var y; @@ -55,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -68,15 +60,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -120,16 +112,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -155,17 +147,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -183,15 +165,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js index 422bc7e0e5913..d53e6fcb2b4d1 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js @@ -29,15 +29,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] var y; @@ -50,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -64,15 +61,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -117,16 +114,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -152,17 +149,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -181,15 +168,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js index e47ce24364ab1..df81c89eb36d8 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js @@ -29,15 +29,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] var y; @@ -50,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -64,15 +61,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -117,16 +114,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -152,12 +149,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -176,15 +168,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js index 7d8893bbb3e08..981a5fb73079f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js @@ -32,6 +32,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] @@ -43,7 +45,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -63,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -133,7 +135,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a.ts: {} @@ -157,17 +159,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a.ts: {} @@ -228,15 +230,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js index 8ebe7135f2a39..346cae11f145d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js @@ -37,21 +37,15 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.C = void 0; -var C = /** @class */ (function () { - function C() { - } - return C; -}()); -exports.C = C; +export class C { +} //// [/user/username/projects/project/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -62,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a.ts: *new* {} @@ -86,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a.ts /user/username/projects/project/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a.ts /user/username/projects/project/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/a.ts (used version) /user/username/projects/project/b.ts (used version) @@ -156,7 +150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a.ts /user/username/projects/project/b.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js index c07667f514412..fd552a02863fb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js @@ -46,6 +46,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] v === 'foo'; @@ -58,7 +60,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -78,15 +80,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -135,11 +137,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js index 81477c69017a4..cca659c4817af 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js @@ -33,6 +33,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] foo().hello; @@ -45,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -65,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -122,11 +124,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: @@ -179,11 +181,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: @@ -226,11 +228,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js index dff83e73254d7..c81e55c65b5fa 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js @@ -43,9 +43,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -58,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -81,13 +82,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -137,7 +138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -164,7 +165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/data.json /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js index 9f3b5fbd931f1..e60d1961967c5 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js @@ -30,6 +30,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/username/workspaces/project/src/file1.js] var a = 10; @@ -42,7 +44,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/username/workspaces/project/src/file1.ts: *new* {} @@ -62,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/workspaces/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/workspaces/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/username/workspaces/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -111,7 +113,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/username/workspaces/project/src/file2.ts: *new* {} @@ -136,11 +138,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/workspaces/project/src/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/username/workspaces/project/src/file2.ts Shape signatures in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file-2.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file-2.js index 203c981748960..12ef7d8d0851d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file-2.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file-2.js @@ -41,7 +41,7 @@ CreatingProgramWith:: options: {"noEmit":true,"allowImportingTsExtensions":false,"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -57,6 +57,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -65,7 +67,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -92,17 +94,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -162,12 +164,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js index f279804e6fbf5..aad02d1fdb566 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js @@ -41,7 +41,7 @@ CreatingProgramWith:: options: {"noEmit":true,"allowImportingTsExtensions":false,"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -57,6 +57,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -65,7 +67,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -92,17 +94,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -162,12 +164,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js index 6804281f69edf..097ce80970097 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js @@ -41,7 +41,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -54,9 +54,10 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -67,7 +68,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -92,15 +93,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/b.ts (used version) exitCode:: ExitStatus.undefined @@ -157,7 +158,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -186,7 +187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js index 2a0386552e75e..a53fc041539a3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js @@ -36,7 +36,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/a.ts"] options: {"noUncheckedSideEffectImports":false,"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations @@ -57,10 +57,10 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -require("does-not-exist"); +import "does-not-exist"; @@ -75,7 +75,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -102,15 +102,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -171,11 +171,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js index 17a3c7a0c8fd5..ce703af9f99e4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js @@ -32,7 +32,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/index.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/index.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -43,6 +43,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.js] @@ -54,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -76,15 +78,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/index.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js index cb42b75eb1e7f..85d5c27a0a10e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js @@ -51,7 +51,7 @@ CreatingProgramWith:: options: {"baseUrl":"/user/username/projects/myproject/client","paths":{"*":["*"]},"pathsBasePath":"/user/username/projects/myproject","watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/folder1/module1.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/linktofolder2/module2.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -70,21 +70,15 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder2 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/client/folder1/module1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Module1Class = void 0; -var Module1Class = /** @class */ (function () { - function Module1Class() { - } - return Module1Class; -}()); -exports.Module1Class = Module1Class; +export class Module1Class { +} //// [/user/username/projects/myproject/folder2/module2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -95,7 +89,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/client/folder1/module1.ts: *new* {} @@ -129,14 +123,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/client/folder1/module1.ts /user/username/projects/myproject/client/linktofolder2/module2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/client/folder1/module1.ts (used version) /user/username/projects/myproject/client/linktofolder2/module2.ts (used version) @@ -186,8 +180,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec //// [/user/username/projects/myproject/folder2/module3.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -198,7 +191,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/client/folder1/module1.ts: {} @@ -236,7 +229,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/client/folder1/module1.ts /user/username/projects/myproject/client/linktofolder2/module2.ts /user/username/projects/myproject/client/linktofolder2/module3.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index ccd1955da9f94..6efd37eb4fa43 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -62,7 +62,7 @@ CreatingProgramWith:: Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/class2.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Type roots @@ -85,12 +85,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/projects/project2/class2.js] -var class2 = /** @class */ (function () { - function class2() { - } - return class2; -}()); +class class2 { +} //// [/user/username/projects/myproject/projects/project2/class2.d.ts] @@ -99,17 +98,17 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -150,7 +149,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -164,7 +163,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 921 } @@ -179,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -209,14 +208,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/projects/project1/class1.d.ts (used version) /user/username/projects/myproject/projects/project2/class2.ts (computed .d.ts during emit) @@ -289,7 +288,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -320,7 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -362,7 +361,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -407,18 +406,18 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -468,7 +467,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -486,7 +485,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1025 } @@ -501,7 +500,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -534,7 +533,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project1/class3.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -623,17 +622,17 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -674,7 +673,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -688,7 +687,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 921 } @@ -705,7 +704,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -740,7 +739,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -784,7 +783,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -829,18 +828,18 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -890,7 +889,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -908,7 +907,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1025 } @@ -923,7 +922,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -956,7 +955,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project1/class3.d.ts /user/username/projects/myproject/projects/project2/class2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js index fe039949ed13e..2a5a13ad9444d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js @@ -36,25 +36,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 3 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] @@ -66,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -89,17 +76,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.d.ts (used version) @@ -132,12 +119,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -154,12 +136,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: @@ -193,22 +175,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 3 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -225,12 +192,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: @@ -260,22 +227,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 3 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -291,7 +243,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts @@ -328,22 +280,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 3 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -360,7 +297,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts @@ -397,12 +334,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -419,12 +351,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: @@ -454,22 +386,7 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../home/src/tslibs/TS/Lib/lib.d.ts:14:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -14 readonly fullscreen: boolean; -   ~~~~~~~~~~ - -a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -2 fullscreen: boolean; -   ~~~~~~~~~~ - -[HH:MM:SS AM] Found 3 errors. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -485,12 +402,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: diff --git a/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js b/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js index 6a2d8b02b5035..332e08877ec6d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js +++ b/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js @@ -36,12 +36,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/solution/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/workspace/solution/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -56,7 +58,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -75,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 61dc8203d60ca..b4336d09dea23 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,56 +189,19 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -254,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -271,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -317,52 +274,16 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -var c = __importStar(require("../core/index")); -var logic = __importStar(require("../logic/index")); +import * as c from '../core/index'; +import * as logic from '../logic/index'; c.leftPad("", 10); logic.getSecondsInDay(); -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/user/username/projects/sample1/tests/index.d.ts] @@ -371,12 +292,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -393,7 +314,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -446,7 +367,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1542 + "size": 1554 } @@ -457,19 +378,19 @@ Output:: ======== Resolving module '../core/index' from '/user/username/projects/sample1/tests/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/index.ts' exists - use it as a name resolution result. ======== Module name '../core/index' was successfully resolved to '/user/username/projects/sample1/core/index.ts'. ======== ======== Resolving module '../logic/index' from '/user/username/projects/sample1/tests/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/logic/index', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/logic/index.ts' exists - use it as a name resolution result. ======== Module name '../logic/index' was successfully resolved to '/user/username/projects/sample1/logic/index.ts'. ======== ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/tests/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as a name resolution result. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== @@ -477,8 +398,8 @@ File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as Using compiler options of project reference redirect '/user/username/projects/sample1/logic/tsconfig.json'. Module resolution kind is not specified, using 'Bundler'. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -505,7 +426,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.d.ts: *new* {} @@ -544,7 +465,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -555,8 +476,8 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -589,62 +510,25 @@ export const m = mod; function foo() { } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -656,7 +540,7 @@ function foo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -702,7 +586,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1422 + "size": 1434 } @@ -722,55 +606,17 @@ export const m = mod; function foo() { }export function gfoo() { } //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAGiB,oBAA0B;AAN5C,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC;AAAA,SAAgB,IAAI,KAAK,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAK,CAAC;AAAA,MAAM,UAAU,IAAI,KAAK,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -exports.gfoo = gfoo; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; function foo() { } -function gfoo() { } +export function gfoo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -781,12 +627,12 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -798,7 +644,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -844,7 +690,7 @@ export declare function gfoo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1488 + "size": 1500 } @@ -860,8 +706,8 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -880,12 +726,12 @@ tests/index.ts //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -902,7 +748,7 @@ tests/index.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -955,7 +801,7 @@ tests/index.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1582 + "size": 1594 } @@ -976,7 +822,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -991,8 +837,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/tests/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.d.ts @@ -1030,61 +876,23 @@ Input:: } //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -exports.gfoo = gfoo; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; function foo() { } -function gfoo() { } +export function gfoo() { } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1096,7 +904,7 @@ function gfoo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1141,7 +949,7 @@ function gfoo() { } }, "latestChangedDtsFile": "./decls/index.d.ts", "version": "FakeTSVersion", - "size": 1477 + "size": 1489 } //// [/user/username/projects/sample1/logic/decls/index.d.ts] @@ -1170,8 +978,8 @@ Reusing resolution of module '../core/anotherModule' from '/user/username/projec Using compiler options of project reference redirect '/user/username/projects/sample1/logic/tsconfig.json'. Module resolution kind is not specified, using 'Bundler'. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -1190,12 +998,12 @@ tests/index.ts //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/decls/index.d.ts", @@ -1212,7 +1020,7 @@ tests/index.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1265,7 +1073,7 @@ tests/index.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1588 + "size": 1600 } @@ -1278,7 +1086,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/sample1/core/anotherModule.d.ts: {} @@ -1322,7 +1130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/decls/index.d.ts @@ -1337,8 +1145,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/tests/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/decls/index.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 6ce4b837a43d9..f4f9f973bda02 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -74,16 +74,11 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a/index.d.ts] @@ -92,16 +87,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -130,15 +125,12 @@ export declare class A { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 734 + "size": 746 } //// [/user/username/projects/transitiveReferences/b/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); +import { A } from '@ref/a'; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b/index.d.ts] @@ -147,12 +139,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -162,7 +154,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -200,7 +192,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -214,16 +206,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 940 + "size": 952 } //// [/user/username/projects/transitiveReferences/c/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("../b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from '../b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/c/tsconfig.tsbuildinfo] @@ -247,7 +237,7 @@ Output:: ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. @@ -259,7 +249,7 @@ File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it a ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -279,8 +269,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -306,7 +296,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/transitiveReferences: *new* {} @@ -354,7 +344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -363,15 +353,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/transitivereferences/a/index.d.ts (used version) /user/username/projects/transitivereferences/b/index.d.ts (used version) /user/username/projects/transitivereferences/refs/a.d.ts (used version) /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -399,13 +389,9 @@ import {A} from '@ref/a'; export const b = new A();export function gfoo() { } //// [/user/username/projects/transitiveReferences/b/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.gfoo = gfoo; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); -function gfoo() { } +import { A } from '@ref/a'; +export const b = new A(); +export function gfoo() { } //// [/user/username/projects/transitiveReferences/b/index.d.ts] @@ -415,12 +401,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -430,7 +416,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -468,7 +454,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -482,7 +468,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1003 + "size": 1015 } @@ -513,8 +499,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -551,7 +537,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -564,8 +550,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -627,7 +613,7 @@ Output:: ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. @@ -639,7 +625,7 @@ File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it a ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -659,8 +645,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -686,7 +672,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -743,7 +729,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -756,8 +742,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -812,7 +798,7 @@ Output:: ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. @@ -824,7 +810,7 @@ File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it a ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -844,8 +830,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -871,7 +857,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -928,7 +914,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -941,8 +927,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1008,8 +994,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' nrefs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1033,7 +1019,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1088,7 +1074,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1102,8 +1088,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1169,8 +1155,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' refs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1193,7 +1179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1248,7 +1234,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1259,8 +1245,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/b/index.d.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1299,7 +1285,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -1324,8 +1310,8 @@ File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it 13 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' refs/a.d.ts Imported via '@ref/a' from file 'b/index.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1349,7 +1335,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1405,7 +1391,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1417,8 +1403,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1482,8 +1468,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1509,7 +1495,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1565,7 +1551,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1579,8 +1565,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1637,8 +1623,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1663,7 +1649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1719,7 +1705,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1733,8 +1719,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1788,8 +1774,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1814,7 +1800,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1870,7 +1856,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1884,8 +1870,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index a1e2311f19f8c..bc1bbf38abfb0 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -83,16 +83,11 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a/index.d.ts] @@ -101,16 +96,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -139,15 +134,12 @@ export declare class A { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 734 + "size": 746 } //// [/user/username/projects/transitiveReferences/b/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); +import { A } from '@ref/a'; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b/index.d.ts] @@ -156,12 +148,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -171,7 +163,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +201,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -223,16 +215,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 940 + "size": 952 } //// [/user/username/projects/transitiveReferences/c/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("../b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from '../b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/c/tsconfig.tsbuildinfo] @@ -256,7 +246,7 @@ Output:: ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. @@ -268,7 +258,7 @@ File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it a ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -288,8 +278,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -315,7 +305,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/transitiveReferences: *new* {} @@ -361,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -370,15 +360,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/transitivereferences/a/index.d.ts (used version) /user/username/projects/transitivereferences/b/index.d.ts (used version) /user/username/projects/transitivereferences/refs/a.d.ts (used version) /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -406,13 +396,9 @@ import {A} from '@ref/a'; export const b = new A();export function gfoo() { } //// [/user/username/projects/transitiveReferences/b/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.gfoo = gfoo; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); -function gfoo() { } +import { A } from '@ref/a'; +export const b = new A(); +export function gfoo() { } //// [/user/username/projects/transitiveReferences/b/index.d.ts] @@ -422,12 +408,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../a/index.d.ts","./index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -437,7 +423,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -475,7 +461,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -489,7 +475,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1003 + "size": 1015 } @@ -520,8 +506,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -558,7 +544,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -571,8 +557,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -637,7 +623,7 @@ Output:: ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. @@ -649,7 +635,7 @@ File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it a ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -669,8 +655,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -696,7 +682,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -751,7 +737,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -764,8 +750,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -823,7 +809,7 @@ Output:: ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. @@ -835,7 +821,7 @@ File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it a ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -855,8 +841,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -882,7 +868,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -937,7 +923,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -950,8 +936,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1020,8 +1006,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' nrefs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1045,7 +1031,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1100,7 +1086,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1114,8 +1100,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1184,8 +1170,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' refs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1208,7 +1194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1259,7 +1245,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1270,8 +1256,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/b/index.d.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1310,7 +1296,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -1335,8 +1321,8 @@ File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it 16 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' refs/a.d.ts Imported via '@ref/a' from file 'b/index.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1360,7 +1346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1410,7 +1396,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1422,8 +1408,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1490,8 +1476,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1517,7 +1503,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1571,7 +1557,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1585,8 +1571,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1643,8 +1629,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1669,7 +1655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1723,7 +1709,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1737,8 +1723,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1795,8 +1781,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1821,7 +1807,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1875,7 +1861,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1889,8 +1875,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a/index.d.ts /user/username/projects/transitiveReferences/b/index.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 69ba5d10768a0..82fa3820fe01d 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -86,16 +86,11 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a.d.ts] @@ -104,16 +99,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,15 +137,12 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 725 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); +import { A } from '@ref/a'; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b.d.ts] @@ -159,12 +151,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.d.ts", "./b.ts" ], @@ -174,7 +166,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +204,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -226,16 +218,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 924 + "size": 936 } //// [/user/username/projects/transitiveReferences/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from './b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/tsconfig.c.tsbuildinfo] @@ -259,13 +249,13 @@ Output:: ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -285,8 +275,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -310,7 +300,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -350,7 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -359,15 +349,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/transitivereferences/a.d.ts (used version) /user/username/projects/transitivereferences/b.d.ts (used version) /user/username/projects/transitivereferences/refs/a.d.ts (used version) /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -396,13 +386,9 @@ export const b = new A(); export function gfoo() { } //// [/user/username/projects/transitiveReferences/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.gfoo = gfoo; -var a_1 = require("@ref/a"); -exports.b = new a_1.A(); -function gfoo() { } +import { A } from '@ref/a'; +export const b = new A(); +export function gfoo() { } //// [/user/username/projects/transitiveReferences/b.d.ts] @@ -412,12 +398,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.d.ts", "./b.ts" ], @@ -427,7 +413,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -465,7 +451,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -479,7 +465,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 988 + "size": 1000 } @@ -510,8 +496,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -548,7 +534,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -561,8 +547,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -625,13 +611,13 @@ Output:: ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -651,8 +637,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -676,7 +662,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: {} @@ -725,7 +711,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -738,8 +724,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -797,13 +783,13 @@ Output:: ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -823,8 +809,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -848,7 +834,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: {} @@ -897,7 +883,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -910,8 +896,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -980,8 +966,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' nrefs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' b.d.ts @@ -1003,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/b.d.ts: {} @@ -1050,7 +1036,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1064,8 +1050,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1134,8 +1120,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' refs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' Imported via "@ref/a" from file 'c.ts' @@ -1156,7 +1142,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/b.d.ts: {} @@ -1203,7 +1189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/c.ts @@ -1214,8 +1200,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/b.d.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/c.ts @@ -1252,7 +1238,7 @@ Reusing resolution of module './b' from '/user/username/projects/transitiveRefer Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -1277,8 +1263,8 @@ File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it 16 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' refs/a.d.ts Imported via '@ref/a' from file 'b.ts' Imported via "@ref/a" from file 'c.ts' @@ -1300,7 +1286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/b.ts: *new* {} @@ -1343,7 +1329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.ts /user/username/projects/transitiveReferences/c.ts @@ -1355,8 +1341,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.ts /user/username/projects/transitiveReferences/c.ts @@ -1421,8 +1407,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1446,7 +1432,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -1491,7 +1477,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1505,8 +1491,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1561,8 +1547,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via '@ref/a' from file 'b.d.ts' b.d.ts @@ -1585,7 +1571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/a.ts: *new* {} @@ -1630,7 +1616,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1644,8 +1630,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1700,8 +1686,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1724,7 +1710,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -1769,7 +1755,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1783,8 +1769,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/watch-options-differing-between-projects.js b/tests/baselines/reference/tscWatch/projectsWithReferences/watch-options-differing-between-projects.js index 4d271c7794d49..0cf1f81035388 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/watch-options-differing-between-projects.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/watch-options-differing-between-projects.js @@ -58,11 +58,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/workspace/project/src/a/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 10; +export const a = 10; //// [/user/username/workspace/project/src/a/a.d.ts] @@ -70,16 +69,16 @@ export declare const a = 10; //// [/user/username/workspace/project/tsconfig.A.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/a/a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14660415448-export const a = 10;","signature":"-3497920574-export declare const a = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/a/a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/a/a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14660415448-export const a = 10;","signature":"-3497920574-export declare const a = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/a/a.d.ts","version":"FakeTSVersion"} //// [/user/username/workspace/project/tsconfig.A.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/a/a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -108,7 +107,7 @@ export declare const a = 10; }, "latestChangedDtsFile": "./src/a/a.d.ts", "version": "FakeTSVersion", - "size": 740 + "size": 752 } @@ -125,7 +124,7 @@ CreatingProgramWith:: projectReferences: [{"path":"/user/username/workspace/project/tsconfig.A.json","originalPath":"./tsconfig.A.json"}] Loading config file: /user/username/workspace/project/tsconfig.A.json FileWatcher:: Added:: WatchInfo: /user/username/workspace/project/src/b/b.ts 250 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Source file ExcludeWatcher:: Added:: WatchInfo: /user/username/workspace/project/node_modules/@types 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules/@types 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules/@types 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Type roots @@ -140,10 +139,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/pro //// [/user/username/workspace/project/src/b/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -exports.b = 10; +export const b = 10; @@ -152,7 +148,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/project/src/b/b.ts: *new* {} @@ -181,15 +177,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/project/src/b/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/project/src/b/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/workspace/project/src/b/b.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js index 2cf55990c381f..311b19f960dbb 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/sample1/core/anotherModule.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.World = void 0; -exports.World = "hello"; +export const World = "hello"; //// [/user/username/projects/sample1/core/anotherModule.d.ts.map] @@ -108,14 +107,9 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/user/username/projects/sample1/core/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.someString = void 0; -exports.leftPad = leftPad; -exports.multiply = multiply; -exports.someString = "HELLO WORLD"; -function leftPad(s, n) { return s + n; } -function multiply(a, b) { return a * b; } +export const someString = "HELLO WORLD"; +export function leftPad(s, n) { return s + n; } +export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/index.d.ts.map] @@ -128,18 +122,18 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -195,7 +189,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1369 } @@ -206,18 +200,18 @@ Output:: ======== Resolving module '../core/index' from '/user/username/projects/sample1/logic/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/index.ts' exists - use it as a name resolution result. ======== Module name '../core/index' was successfully resolved to '/user/username/projects/sample1/core/index.ts'. ======== ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as a name resolution result. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -231,52 +225,15 @@ logic/index.ts //// [/user/username/projects/sample1/logic/index.js.map] -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAEC;AAHD,+CAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,yDAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.m = void 0; -exports.getSecondsInDay = getSecondsInDay; -var c = __importStar(require("../core/index")); -function getSecondsInDay() { +import * as c from '../core/index'; +export function getSecondsInDay() { return c.multiply(10, 15); } -var mod = __importStar(require("../core/anotherModule")); -exports.m = mod; +import * as mod from '../core/anotherModule'; +export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/index.d.ts] @@ -286,12 +243,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -303,7 +260,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -349,7 +306,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1404 + "size": 1416 } @@ -362,7 +319,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.d.ts: *new* {} @@ -398,26 +355,26 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -456,18 +413,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -523,7 +480,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1358 + "size": 1370 } @@ -540,8 +497,8 @@ Output:: Reusing resolution of module '../core/index' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/index.ts'. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -573,7 +530,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts @@ -583,8 +540,8 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/sample1/core/index.d.ts /user/username/projects/sample1/core/anotherModule.d.ts /user/username/projects/sample1/logic/index.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index cdcf37e4ea990..b76cd077b746d 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -79,16 +79,11 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/transitiveReferences/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; -var A = /** @class */ (function () { - function A() { - } - return A; -}()); -exports.A = A; +export class A { +} //// [/user/username/projects/transitiveReferences/a.d.ts] @@ -97,16 +92,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -135,15 +130,12 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 725 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.b = void 0; -var a_1 = require("a"); -exports.b = new a_1.A(); +import { A } from "a"; +export const b = new A(); //// [/user/username/projects/transitiveReferences/b.d.ts] @@ -152,12 +144,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.d.ts","./b.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.d.ts", "./b.ts" ], @@ -167,7 +159,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +197,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -219,16 +211,14 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 914 + "size": 926 } //// [/user/username/projects/transitiveReferences/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("./b"); -var a_1 = require("@ref/a"); -b_1.b; -a_1.X; +import { b } from './b'; +import { X } from "@ref/a"; +b; +X; //// [/user/username/projects/transitiveReferences/tsconfig.c.tsbuildinfo] @@ -252,13 +242,13 @@ Output:: ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. @@ -278,8 +268,8 @@ Explicitly specified module resolution kind: 'Classic'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.d.ts Imported via "a" from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -303,7 +293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -343,7 +333,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -352,15 +342,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/transitivereferences/a.d.ts (used version) /user/username/projects/transitivereferences/b.d.ts (used version) /user/username/projects/transitivereferences/refs/a.d.ts (used version) /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.d.ts: - /home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js index 049198a748d5f..1e343759982a1 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js @@ -32,6 +32,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/f1.js] foo(); @@ -51,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/d/f0.ts: *new* {} @@ -70,14 +72,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/f1.ts /users/username/projects/project/d/f0.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/f1.ts (used version) /users/username/projects/project/d/f0.ts (used version) @@ -127,7 +129,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/f1.ts /users/username/projects/project/d/f0.ts @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: *new* {} @@ -208,7 +210,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/d/f0.ts No cached semantic diagnostics in the builder:: @@ -259,7 +261,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/d/f0.ts: {} @@ -285,7 +287,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/f1.ts /users/username/projects/project/d/f0.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index cea09c0e66bba..31c4fed79254b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -33,9 +33,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -54,7 +55,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -83,17 +84,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/somemodule/index.d.ts /user/username/projects/myproject/test.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/somemodule/index.d.ts /user/username/projects/myproject/test.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/somemodule/index.d.ts (used version) /user/username/projects/myproject/test.ts (used version) diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index e50b2d7601caa..397daa690dddf 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -33,9 +33,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -54,7 +55,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -78,17 +79,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/somemodule/index.d.ts /user/username/projects/myproject/test.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/somemodule/index.d.ts /user/username/projects/myproject/test.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/somemodule/index.d.ts (used version) /user/username/projects/myproject/test.ts (used version) diff --git a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js index 17bf5ddff73e8..16c44c8017b2b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js @@ -29,6 +29,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/foo.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -48,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -65,13 +67,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/foo.ts (used version) exitCode:: ExitStatus.undefined @@ -120,7 +122,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: {} @@ -145,7 +147,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/bar.d.ts /users/username/projects/project/foo.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js index bddaeba511796..719f28d7b3189 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -55,7 +55,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /users/username/projects/project/fileWithImports.ts 250 undefined Source file ======== Resolving module 'pkg0' from '/users/username/projects/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/users/username/projects/project/package.json' does not exist. File '/users/username/projects/package.json' does not exist. File '/users/username/package.json' does not exist. @@ -74,7 +74,7 @@ Resolving real path for '/users/username/projects/project/node_modules/pkg0/inde ======== Module name 'pkg0' was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== ======== Resolving module 'pkg1' from '/users/username/projects/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. File '/users/username/projects/package.json' does not exist according to earlier cached lookups. File '/users/username/package.json' does not exist according to earlier cached lookups. @@ -149,7 +149,7 @@ File '/users/username/package.json' does not exist according to earlier cached l File '/users/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg2/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Failed Lookup Locations @@ -180,8 +180,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project 3 interface LocalInterface extends Import2, Import3 {}    ~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' fileWithImports.ts @@ -196,9 +196,10 @@ DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefin Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/outDir/fileWithImports.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/users/username/projects/project/outDir/fileWithImports.d.ts] @@ -206,10 +207,9 @@ export {}; //// [/users/username/projects/project/outDir/fileWithTypeRefs.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); /// /// +export {}; //// [/users/username/projects/project/outDir/fileWithTypeRefs.d.ts] @@ -217,12 +217,12 @@ export {}; //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[3,5],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1],[5,2]],"semanticDiagnosticsPerFile":[[3,[{"start":66,"length":6,"messageText":"Cannot find module 'pkg1' or its corresponding type declarations.","category":1,"code":2307}]],[5,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../node_modules/pkg0/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2],[4]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[3,5],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1],[5,2]],"semanticDiagnosticsPerFile":[[3,[{"start":66,"length":6,"messageText":"Cannot find module 'pkg1' or its corresponding type declarations.","category":1,"code":2307}]],[5,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../node_modules/pkg0/index.d.ts", "../filewithimports.ts", "../node_modules/pkg2/index.d.ts", @@ -237,7 +237,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -337,7 +337,7 @@ export {}; ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1694 + "size": 1706 } @@ -360,7 +360,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -398,21 +398,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/pkg0/index.d.ts /users/username/projects/project/fileWithImports.ts /users/username/projects/project/node_modules/pkg2/index.d.ts /users/username/projects/project/fileWithTypeRefs.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/pkg0/index.d.ts /users/username/projects/project/fileWithImports.ts /users/username/projects/project/node_modules/pkg2/index.d.ts /users/username/projects/project/fileWithTypeRefs.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/node_modules/pkg0/index.d.ts (used version) /users/username/projects/project/filewithimports.ts (computed .d.ts during emit) /users/username/projects/project/node_modules/pkg2/index.d.ts (used version) @@ -491,7 +491,7 @@ File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg0' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== Resolving module 'pkg1' from '/users/username/projects/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. File '/users/username/projects/package.json' does not exist according to earlier cached lookups. File '/users/username/package.json' does not exist according to earlier cached lookups. @@ -543,8 +543,8 @@ FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/p 3 interface LocalInterface extends Import2, Import3 {}    ~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' node_modules/pkg1/index.d.ts @@ -561,12 +561,12 @@ fileWithTypeRefs.ts //// [/users/username/projects/project/outDir/fileWithImports.js] file written with same contents //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,6],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[[6,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,6],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[[6,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../node_modules/pkg0/index.d.ts", "../node_modules/pkg1/index.d.ts", "../filewithimports.ts", @@ -583,7 +583,7 @@ fileWithTypeRefs.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -681,7 +681,7 @@ fileWithTypeRefs.ts ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1665 + "size": 1677 } @@ -706,7 +706,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -747,7 +747,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/pkg0/index.d.ts /users/username/projects/project/node_modules/pkg1/index.d.ts /users/username/projects/project/fileWithImports.ts @@ -891,8 +891,8 @@ FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/p 3 interface LocalInterface extends Import2, Import3 {}    ~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' node_modules/pkg1/index.d.ts @@ -911,12 +911,12 @@ fileWithTypeRefs.ts //// [/users/username/projects/project/outDir/fileWithTypeRefs.js] file written with same contents //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../node_modules/pkg3/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5,6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124648610-export interface Import3 {}","impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,7],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[7,2]],"semanticDiagnosticsPerFile":[[7,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../node_modules/pkg3/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5,6]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124648610-export interface Import3 {}","impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,7],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[7,2]],"semanticDiagnosticsPerFile":[[7,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../node_modules/pkg0/index.d.ts", "../node_modules/pkg1/index.d.ts", "../filewithimports.ts", @@ -935,7 +935,7 @@ fileWithTypeRefs.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -1043,7 +1043,7 @@ fileWithTypeRefs.ts ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1773 + "size": 1785 } @@ -1070,7 +1070,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -1113,7 +1113,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/node_modules/pkg0/index.d.ts /users/username/projects/project/node_modules/pkg1/index.d.ts /users/username/projects/project/fileWithImports.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js index d49b051a3eef2..29a4715f4d94d 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js @@ -36,7 +36,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/app.ts 250 undefined Source file ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/lib/package.json' does not exist. File '/user/username/projects/myproject/package.json' does not exist. File '/user/username/projects/package.json' does not exist. @@ -65,7 +65,7 @@ Directory '/user/username/node_modules' does not exist, skipping all lookups in Directory '/user/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@myapp/ts-types' was not resolved. ======== -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations @@ -93,11 +93,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var ts_types_1 = require("@myapp/ts-types"); -var x = ts_types_1.myapp; +import { myapp } from "@myapp/ts-types"; +const x = myapp; @@ -112,7 +112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -141,15 +141,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib/app.ts (used version) exitCode:: ExitStatus.undefined @@ -202,7 +202,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -255,7 +255,7 @@ CreatingProgramWith:: options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -306,7 +306,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib/app.ts Semantic diagnostics in builder refreshed for:: @@ -377,7 +377,7 @@ CreatingProgramWith:: options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -433,7 +433,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib/app.ts Semantic diagnostics in builder refreshed for:: @@ -543,7 +543,7 @@ CreatingProgramWith:: options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -606,7 +606,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -640,7 +640,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts /user/username/projects/myproject/lib/app.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js index 8f8c7d3238219..4937d836fc73b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js @@ -32,6 +32,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/foo.js] define(["require", "exports"], function (require, exports) { "use strict"; @@ -47,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -64,14 +66,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/bar.d.ts /users/username/projects/project/foo.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/bar.d.ts (used version) /users/username/projects/project/foo.ts (used version) @@ -115,7 +117,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: *new* {} @@ -140,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts No cached semantic diagnostics in the builder:: @@ -199,7 +201,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: {} @@ -221,7 +223,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/bar.d.ts /users/username/projects/project/foo.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js b/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js index 0b2f625074463..fd12748d129fd 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js @@ -39,7 +39,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/main.ts 250 undefined Source file ======== Resolving module './app/services/generated' from '/home/src/workspaces/project/src/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/project/src/app/services/generated.ts' does not exist. File '/home/src/workspaces/project/src/app/services/generated.tsx' does not exist. @@ -52,7 +52,7 @@ File '/home/src/workspaces/project/src/app/services/generated/index.ts' exists - DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/app/services/generated/index.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Type roots @@ -67,18 +67,15 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined W Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/workspaces/project/src/app/services/generated/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/home/src/workspaces/project/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var generated_1 = require("./app/services/generated"); -var x = generated_1.y; +import { y } from "./app/services/generated"; +const x = y; @@ -89,7 +86,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspaces/project/src/app/services/generated/index.ts: *new* {} @@ -116,17 +113,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/app/services/generated/index.ts /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/app/services/generated/index.ts /home/src/workspaces/project/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/workspaces/project/src/app/services/generated/index.ts (used version) /home/src/workspaces/project/src/main.ts (used version) @@ -181,7 +178,7 @@ CreatingProgramWith:: options: {"watch":true,"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/home/src/workspaces/project/tsconfig.json"} ======== Resolving module './app/services/generated' from '/home/src/workspaces/project/src/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/project/src/app/services/generated.ts' does not exist. File '/home/src/workspaces/project/src/app/services/generated.tsx' does not exist. @@ -209,7 +206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspaces/project/src/main.ts: {} @@ -242,7 +239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: @@ -302,7 +299,7 @@ CreatingProgramWith:: options: {"watch":true,"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/home/src/workspaces/project/tsconfig.json"} ======== Resolving module './app/services/generated' from '/home/src/workspaces/project/src/main.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/project/src/app/services/generated.ts' does not exist. File '/home/src/workspaces/project/src/app/services/generated.tsx' does not exist. @@ -324,10 +321,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/workspaces/project/src //// [/home/src/workspaces/project/src/main.js] file written with same contents //// [/home/src/workspaces/project/src/app/services/generated/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; @@ -338,7 +332,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspaces/project/src/app/services/generated/index.ts: *new* {} @@ -366,7 +360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/workspaces/project/src/app/services/generated/index.ts /home/src/workspaces/project/src/main.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js index e1f603739a710..0baf35abba26a 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js @@ -51,6 +51,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/lib/app.js] myapp.component("hello"); @@ -63,7 +65,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/lib/app.ts: *new* {} @@ -87,13 +89,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib/app.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/lib/app.ts (used version) exitCode:: ExitStatus.undefined @@ -127,7 +129,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/lib/app.ts: {} @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/lib/app.ts: {} @@ -213,7 +215,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/lib/app.ts /user/username/projects/myproject/node_modules/@myapp/ts-types/types/somefile.define.d.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js index 1191d3f8dccbe..0e08902828976 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js @@ -68,6 +68,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -85,7 +87,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/linked-package/dist/index.d.ts: *new* {} @@ -117,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/linked-package/dist/other.d.ts /user/username/projects/myproject/linked-package/dist/index.d.ts /user/username/projects/myproject/main/index.ts @@ -125,7 +127,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/linked-package/dist/other.d.ts (used version) /user/username/projects/myproject/linked-package/dist/index.d.ts (used version) /user/username/projects/myproject/main/index.ts (used version) diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js index a12348fb8ccaa..e381c03adde83 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js @@ -44,9 +44,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -61,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -81,17 +82,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts /users/username/projects/project/bar.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts /users/username/projects/project/bar.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/foo.ts (used version) /users/username/projects/project/bar.d.ts (used version) @@ -144,7 +145,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts /users/username/projects/project/bar.d.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index 04016c90983eb..b0c772843c20a 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js @@ -56,7 +56,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution @@ -73,6 +73,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/worker.js] process.on("uncaughtException"); @@ -95,7 +97,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/node_modules/@types/node/base.d.ts: *new* {} @@ -128,7 +130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/node/globals.d.ts /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts @@ -136,7 +138,7 @@ Program files:: /user/username/projects/myproject/node_modules/@types/node/index.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/node/globals.d.ts /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts @@ -144,7 +146,7 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/node_modules/@types/node/index.d.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/worker.ts (used version) /user/username/projects/myproject/node_modules/@types/node/globals.d.ts (used version) /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts (used version) @@ -304,7 +306,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -340,11 +342,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts Shape signatures in builder refreshed for:: @@ -441,7 +443,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: *new* {} @@ -469,7 +471,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts @@ -544,7 +546,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: {} @@ -572,7 +574,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts @@ -681,7 +683,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: {} @@ -724,7 +726,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts /user/username/projects/myproject/node_modules/@types/node/globals.d.ts @@ -733,7 +735,7 @@ Program files:: /user/username/projects/myproject/node_modules/@types/node/index.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts /user/username/projects/myproject/node_modules/@types/node/globals.d.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index 163f8ccd3a270..edc79dc16dc80 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js @@ -32,9 +32,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/users/username/projects/project/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -49,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -66,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /users/username/projects/project/foo.ts (used version) exitCode:: ExitStatus.undefined @@ -116,7 +117,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -158,7 +159,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -189,7 +190,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /users/username/projects/project/foo.ts /users/username/projects/project/node_modules/@types/node/index.d.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index 7377bbdf415c8..921dc3add8334 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -35,9 +35,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -52,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -69,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -108,7 +109,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -161,7 +162,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -190,7 +191,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/@types/qqq/index.d.ts /user/username/projects/myproject/a.ts diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index f030103a6781f..3e957888bf998 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -52,18 +52,16 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/a/b/projects/myProject/dist/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var module1 = require("module1"); module1("hello"); +export {}; //// [/a/b/projects/myProject/dist/file2.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var module11 = require("module1"); module11("hello"); +export {}; @@ -96,7 +94,7 @@ FsWatches:: {} /a/b/projects/myProject/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -121,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/b/projects/myProject/node_modules/module1/index.js /a/b/projects/myProject/src/file1.ts /a/b/projects/myProject/src/file2.ts @@ -129,7 +127,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /a/b/projects/myproject/node_modules/module1/index.js (used version) /a/b/projects/myproject/src/file1.ts (used version) /a/b/projects/myproject/src/file2.ts (used version) @@ -168,11 +166,9 @@ Output:: //// [/a/b/projects/myProject/dist/file1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var module1 = require("module1"); module1("hello"); ; +export {}; @@ -193,7 +189,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/b/projects/myProject/node_modules/module1/index.js /a/b/projects/myProject/src/file1.ts /a/b/projects/myProject/src/file2.ts diff --git a/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js b/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js index 79461ffc7276e..ae8af2114b114 100644 --- a/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js +++ b/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js @@ -45,23 +45,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/project/main.js] -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var data_json_1 = __importDefault(require("./data.json")); -var x = data_json_1.default; +import data from "./data.json"; +let x = data; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./data.d.json.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2718060498-declare var val: string; export default val;","6961905452-import data from \"./data.json\"; let x: string = data;"],"root":[2,3],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":17,"length":13,"messageText":"Module './data.json' was resolved to '/home/src/projects/project/data.d.json.ts', but '--allowArbitraryExtensions' is not set.","category":1,"code":6263}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.es2024.full.d.ts","./data.d.json.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2718060498-declare var val: string; export default val;","6961905452-import data from \"./data.json\"; let x: string = data;"],"root":[2,3],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":17,"length":13,"messageText":"Module './data.json' was resolved to '/home/src/projects/project/data.d.json.ts', but '--allowArbitraryExtensions' is not set.","category":1,"code":6263}]]],"version":"FakeTSVersion"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.d.ts", + "../../tslibs/ts/lib/lib.es2024.full.d.ts", "./data.d.json.ts", "./main.ts" ], @@ -71,7 +68,7 @@ var x = data_json_1.default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.d.ts": { + "../../tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -119,7 +116,7 @@ var x = data_json_1.default; ] ], "version": "FakeTSVersion", - "size": 970 + "size": 982 } @@ -136,7 +133,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -155,17 +152,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/data.d.json.ts /home/src/projects/project/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/data.d.json.ts /home/src/projects/project/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/project/data.d.json.ts (used version) /home/src/projects/project/main.ts (used version) @@ -217,7 +214,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/data.d.json.ts /home/src/projects/project/main.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index b5d9a2f15559a..01b84be1b3b8b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -64,11 +64,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -76,10 +75,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -87,17 +83,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,16 +136,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("b"); -var bar_1 = require("b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from 'b'; +import { bar } from 'b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -157,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -174,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -219,7 +213,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1015 + "size": 1027 } @@ -234,12 +228,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -251,7 +245,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -296,7 +290,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 983 + "size": 995 } @@ -315,7 +309,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -359,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index e259ed990fc58..43745c665fbc1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -66,11 +66,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -78,10 +77,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -89,17 +85,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,16 +138,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("b"); -var bar_1 = require("b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from 'b'; +import { bar } from 'b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -159,12 +153,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/b/lib/index.d.ts", "../../node_modules/b/lib/bar.d.ts", "./src/index.ts" @@ -176,7 +170,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +225,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1107 + "size": 1119 } @@ -246,12 +240,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -263,7 +257,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -308,7 +302,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 983 + "size": 995 } @@ -327,7 +321,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -372,7 +366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index 8044ea8c3f34b..b4d71cf6a795d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -76,13 +76,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("b"); -var bar_1 = require("b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from 'b'; +import { bar } from 'b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -90,12 +90,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -107,7 +107,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -152,7 +152,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 983 + "size": 995 } @@ -171,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -219,19 +219,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) /user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 095e089144348..3412bb531a1d1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -64,11 +64,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -76,10 +75,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -87,17 +83,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,16 +136,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("@issue/b"); -var bar_1 = require("@issue/b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from '@issue/b'; +import { bar } from '@issue/b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -157,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -174,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -219,7 +213,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1029 + "size": 1041 } @@ -234,12 +228,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -251,7 +245,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -296,7 +290,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 997 + "size": 1009 } @@ -315,7 +309,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -359,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 520d5fd3e5075..622b30dfcb27a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -66,11 +66,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -78,10 +77,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -89,17 +85,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,16 +138,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("@issue/b"); -var bar_1 = require("@issue/b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from '@issue/b'; +import { bar } from '@issue/b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -159,12 +153,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/@issue/b/lib/index.d.ts", "../../node_modules/@issue/b/lib/bar.d.ts", "./src/index.ts" @@ -176,7 +170,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +225,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1135 + "size": 1147 } @@ -246,12 +240,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -263,7 +257,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -308,7 +302,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 997 + "size": 1009 } @@ -327,7 +321,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -372,7 +366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index 4757b6d4b6cff..52460106d400b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -76,13 +76,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("@issue/b"); -var bar_1 = require("@issue/b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from '@issue/b'; +import { bar } from '@issue/b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -90,12 +90,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -107,7 +107,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -152,7 +152,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 997 + "size": 1009 } @@ -171,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -219,19 +219,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) /user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index 1a2a0c5cd3172..20cbaa88a4775 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -74,13 +74,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("@issue/b"); -var bar_1 = require("@issue/b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from '@issue/b'; +import { bar } from '@issue/b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -88,12 +88,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -105,7 +105,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -150,7 +150,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 997 + "size": 1009 } @@ -169,7 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -216,19 +216,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) /user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index eb59d7937808f..fd9cda6a516cb 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -74,13 +74,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("b"); -var bar_1 = require("b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from 'b'; +import { bar } from 'b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -88,12 +88,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -105,7 +105,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -150,7 +150,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 983 + "size": 995 } @@ -169,7 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -216,19 +216,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/index.ts /user/username/projects/myproject/packages/B/src/bar.ts /user/username/projects/myproject/packages/A/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) /user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 2176a1ca8fe8b..bace60a691853 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -61,11 +61,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -73,10 +72,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -84,17 +80,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,16 +133,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("b/lib/foo"); -var foo_2 = require("b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from 'b/lib/foo'; +import { bar } from 'b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -154,12 +148,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -171,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -216,7 +210,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1028 + "size": 1040 } @@ -231,12 +225,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -248,7 +242,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -293,7 +287,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 996 + "size": 1008 } @@ -312,7 +306,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -354,7 +348,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 03945352e3053..5a84f574ae123 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -63,11 +63,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -75,10 +74,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -86,17 +82,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -139,16 +135,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("b/lib/foo"); -var foo_2 = require("b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from 'b/lib/foo'; +import { bar } from 'b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -156,12 +150,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/b/lib/foo.d.ts", "../../node_modules/b/lib/bar/foo.d.ts", "./src/test.ts" @@ -173,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -228,7 +222,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1120 + "size": 1132 } @@ -243,12 +237,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -260,7 +254,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -305,7 +299,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 996 + "size": 1008 } @@ -324,7 +318,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -367,7 +361,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index 7e78d3f5c6b63..530a78836f913 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -73,13 +73,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("b/lib/foo"); -var foo_2 = require("b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from 'b/lib/foo'; +import { bar } from 'b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -87,12 +87,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -104,7 +104,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -149,7 +149,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 996 + "size": 1008 } @@ -168,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -214,19 +214,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) /user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 6956a09de19be..695716fac4bd8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -61,11 +61,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -73,10 +72,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -84,17 +80,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,16 +133,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("@issue/b/lib/foo"); -var foo_2 = require("@issue/b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from '@issue/b/lib/foo'; +import { bar } from '@issue/b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -154,12 +148,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -171,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -216,7 +210,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1043 + "size": 1055 } @@ -231,12 +225,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -248,7 +242,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -293,7 +287,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -312,7 +306,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -354,7 +348,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 197e85033ea65..568f835bb42a1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -63,11 +63,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -75,10 +74,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -86,17 +82,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -139,16 +135,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("@issue/b/lib/foo"); -var foo_2 = require("@issue/b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from '@issue/b/lib/foo'; +import { bar } from '@issue/b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -156,12 +150,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/@issue/b/lib/foo.d.ts", "../../node_modules/@issue/b/lib/bar/foo.d.ts", "./src/test.ts" @@ -173,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -228,7 +222,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1149 + "size": 1161 } @@ -243,12 +237,12 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -260,7 +254,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -305,7 +299,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -324,7 +318,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -367,7 +361,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index 13cf6c2e273ca..7b981d60c1a03 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -73,13 +73,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("@issue/b/lib/foo"); -var foo_2 = require("@issue/b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from '@issue/b/lib/foo'; +import { bar } from '@issue/b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -87,12 +87,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -104,7 +104,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -149,7 +149,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -168,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -214,19 +214,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) /user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index 683f9262919c5..4ad24fcabae68 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -71,13 +71,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("@issue/b/lib/foo"); -var foo_2 = require("@issue/b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from '@issue/b/lib/foo'; +import { bar } from '@issue/b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -85,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -102,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -147,7 +147,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 1023 } @@ -166,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -211,19 +211,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) /user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index 535f329497716..77570a17b7bd7 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -71,13 +71,13 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("b/lib/foo"); -var foo_2 = require("b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from 'b/lib/foo'; +import { bar } from 'b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -85,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -102,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -147,7 +147,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 996 + "size": 1008 } @@ -166,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -211,19 +211,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/packages/B/src/foo.ts /user/username/projects/myproject/packages/B/src/bar/foo.ts /user/username/projects/myproject/packages/A/src/test.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) /user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js index cd5627ef2ac0e..94d251101e13c 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js @@ -104,7 +104,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. File '/home/src/projects/b/2/b-impl/package.json' does not exist. @@ -153,7 +153,7 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations @@ -196,8 +196,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/ 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -206,9 +206,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 44 + //// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 144 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -261,8 +262,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":44} Program root files: [ "/home/src/projects/b/2/b-impl/b/src/index.ts" @@ -279,15 +280,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/b/2/b-impl/b/src/index.ts (used version) exitCode:: ExitStatus.undefined @@ -332,10 +333,7 @@ Change:: Build dependencies Input:: //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 149 @@ -343,23 +341,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 150 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 151 @@ -380,10 +362,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 155 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 156 @@ -391,24 +370,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 157 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 158 @@ -499,8 +462,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} Timeout callback:: count: 1 8: timerToInvalidateFailedLookupResolutions *new* @@ -532,7 +495,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -559,7 +522,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -569,7 +532,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -590,7 +553,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -614,8 +577,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -693,8 +656,8 @@ FsWatches:: {"inode":151} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -720,7 +683,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -893,8 +856,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -929,7 +892,7 @@ CreatingProgramWith:: FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -1004,8 +967,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -1079,8 +1042,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1105,7 +1068,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -1143,10 +1106,7 @@ Input:: //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 159 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 160 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 @@ -1154,23 +1114,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 @@ -1178,10 +1122,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 @@ -1189,24 +1130,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 @@ -1283,8 +1208,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} Timeout callback:: count: 1 27: timerToInvalidateFailedLookupResolutions *new* @@ -1316,7 +1241,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -1343,7 +1268,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -1353,7 +1278,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -1372,7 +1297,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -1396,8 +1321,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1475,8 +1400,8 @@ FsWatches:: {"inode":167} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1502,7 +1427,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js index 77df5648182a8..f9000db710ae3 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js @@ -104,7 +104,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. File '/home/src/projects/b/2/b-impl/package.json' does not exist. @@ -153,7 +153,7 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations @@ -196,8 +196,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/ 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -206,9 +206,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 44 + //// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 144 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -249,8 +250,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":44} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* @@ -275,15 +276,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/b/2/b-impl/b/src/index.ts (used version) exitCode:: ExitStatus.undefined @@ -328,10 +329,7 @@ Change:: Build dependencies Input:: //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 149 @@ -339,23 +337,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 150 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 151 @@ -376,10 +358,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 155 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 156 @@ -387,24 +366,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 157 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 158 @@ -480,7 +443,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -507,7 +470,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -517,7 +480,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -538,7 +501,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -562,8 +525,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -631,8 +594,8 @@ FsWatches:: {"inode":151} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -670,7 +633,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -853,8 +816,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: @@ -897,7 +860,7 @@ CreatingProgramWith:: FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -972,8 +935,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -1031,8 +994,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1073,7 +1036,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -1092,10 +1055,7 @@ Input:: //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 159 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 160 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 @@ -1103,23 +1063,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 @@ -1127,10 +1071,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 @@ -1138,24 +1079,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 @@ -1211,7 +1136,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -1238,7 +1163,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -1248,7 +1173,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -1267,7 +1192,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -1291,8 +1216,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1360,8 +1285,8 @@ FsWatches:: {"inode":167} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1399,7 +1324,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js index aea02e592d5fb..e7014747a2f99 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js @@ -104,7 +104,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. File '/home/src/projects/b/2/b-impl/package.json' does not exist. @@ -153,7 +153,7 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations @@ -196,8 +196,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/ 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -206,9 +206,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/b/2/b-impl/b/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -249,7 +250,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -275,15 +276,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/b/2/b-impl/b/src/index.ts (used version) exitCode:: ExitStatus.undefined @@ -328,10 +329,7 @@ Change:: Build dependencies Input:: //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -339,23 +337,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -376,10 +358,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -387,24 +366,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -480,7 +443,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -507,7 +470,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -517,7 +480,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -538,7 +501,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -562,8 +525,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -631,7 +594,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -670,7 +633,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -827,7 +790,7 @@ CreatingProgramWith:: FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -902,8 +865,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -953,7 +916,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1003,7 +966,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -1022,10 +985,7 @@ Input:: //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -1033,23 +993,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -1057,10 +1001,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -1068,24 +1009,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -1141,7 +1066,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -1168,7 +1093,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -1178,7 +1103,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -1197,7 +1122,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -1221,8 +1146,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1290,7 +1215,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1329,7 +1254,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js index 06c0744b64b8b..b6c63959fb06f 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js @@ -90,11 +90,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 44 + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 144 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 145 @@ -102,23 +101,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 146 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 147 @@ -139,10 +122,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 151 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 152 @@ -150,24 +130,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 153 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 154 @@ -202,7 +166,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. File '/home/src/projects/b/2/b-impl/package.json' does not exist. @@ -229,7 +193,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -239,7 +203,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -260,7 +224,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -269,7 +233,7 @@ File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations @@ -302,8 +266,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 u Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -321,8 +285,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-imp //// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 158 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -377,8 +340,8 @@ FsWatches:: {"inode":147} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":44} Program root files: [ "/home/src/projects/b/2/b-impl/b/src/index.ts" @@ -395,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -403,7 +366,7 @@ Program files:: /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -411,7 +374,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/b/2/b-impl/b/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/1/a-impl/a/lib/a.d.ts (used version) /home/src/projects/c/3/c-impl/c/lib/c.d.ts (used version) /home/src/projects/c/3/c-impl/c/lib/index.d.ts (used version) @@ -606,8 +569,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -642,7 +605,7 @@ CreatingProgramWith:: FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -717,8 +680,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -792,8 +755,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -818,7 +781,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -856,10 +819,7 @@ Input:: //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 155 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 156 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 @@ -867,23 +827,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 @@ -891,10 +835,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 @@ -902,24 +843,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 @@ -996,8 +921,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} Timeout callback:: count: 1 18: timerToInvalidateFailedLookupResolutions *new* @@ -1029,7 +954,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -1056,7 +981,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -1066,7 +991,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 unde Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -1085,7 +1010,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -1109,8 +1034,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1188,8 +1113,8 @@ FsWatches:: {"inode":167} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1215,7 +1140,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js index c4eada03fabfb..d5c97527eaabd 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js @@ -90,11 +90,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 44 + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 144 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 145 @@ -102,23 +101,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 146 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 147 @@ -139,10 +122,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 151 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 152 @@ -150,24 +130,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 153 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 154 @@ -202,7 +166,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. File '/home/src/projects/b/2/b-impl/package.json' does not exist. @@ -229,7 +193,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -239,7 +203,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -260,7 +224,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -269,7 +233,7 @@ File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations @@ -302,8 +266,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 u Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -321,8 +285,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-imp //// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 158 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -367,8 +330,8 @@ FsWatches:: {"inode":147} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":44} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -397,7 +360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -405,7 +368,7 @@ Program files:: /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -413,7 +376,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/b/2/b-impl/b/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/1/a-impl/a/lib/a.d.ts (used version) /home/src/projects/c/3/c-impl/c/lib/c.d.ts (used version) /home/src/projects/c/3/c-impl/c/lib/index.d.ts (used version) @@ -640,8 +603,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: @@ -684,7 +647,7 @@ CreatingProgramWith:: FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -759,8 +722,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -818,8 +781,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -860,7 +823,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -879,10 +842,7 @@ Input:: //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 155 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 156 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 @@ -890,23 +850,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 @@ -914,10 +858,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 @@ -925,24 +866,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 @@ -998,7 +923,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -1025,7 +950,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -1035,7 +960,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -1054,7 +979,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -1078,8 +1003,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1147,8 +1072,8 @@ FsWatches:: {"inode":167} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":42} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":44} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1186,7 +1111,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js index 3c9461653e570..5217e9b7e285a 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js @@ -90,11 +90,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -102,23 +101,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -139,10 +122,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -150,24 +130,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -202,7 +166,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. File '/home/src/projects/b/2/b-impl/package.json' does not exist. @@ -229,7 +193,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -239,7 +203,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -260,7 +224,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -269,7 +233,7 @@ File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations @@ -302,8 +266,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 u Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -321,8 +285,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-imp //// [/home/src/projects/b/2/b-impl/b/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -367,7 +330,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -397,7 +360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -405,7 +368,7 @@ Program files:: /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts @@ -413,7 +376,7 @@ Semantic diagnostics in builder refreshed for:: /home/src/projects/b/2/b-impl/b/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/src/projects/a/1/a-impl/a/lib/a.d.ts (used version) /home/src/projects/c/3/c-impl/c/lib/c.d.ts (used version) /home/src/projects/c/3/c-impl/c/lib/index.d.ts (used version) @@ -614,7 +577,7 @@ CreatingProgramWith:: FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -689,8 +652,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -740,7 +703,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -790,7 +753,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -809,10 +772,7 @@ Input:: //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -820,23 +780,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -844,10 +788,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -855,24 +796,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -928,7 +853,7 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","rootDir":"/home/src/projects/b/2/b-impl/b/src","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. @@ -955,7 +880,7 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. @@ -965,7 +890,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lo Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. @@ -984,7 +909,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. @@ -1008,8 +933,8 @@ DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' +../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1077,7 +1002,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1116,7 +1041,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/a/1/a-impl/a/lib/a.d.ts /home/src/projects/c/3/c-impl/c/lib/c.d.ts /home/src/projects/c/3/c-impl/c/lib/index.d.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js index 00bf9cead631e..f88e3b71697e2 100644 --- a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js +++ b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js @@ -33,8 +33,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main.js] -var x = 10; +const x = 10; //// [/user/username/projects/myproject/other.vue.js] @@ -48,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -71,17 +73,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.vue Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.vue Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.vue (used version) @@ -121,7 +123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -148,7 +150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.vue /user/username/projects/myproject/other2.vue diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js index 704ca0821a28c..8ca299f2205f0 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js @@ -53,7 +53,7 @@ File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.d.ts'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -62,9 +62,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -75,7 +76,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -94,17 +95,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/other.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -160,7 +161,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts @@ -223,7 +224,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts @@ -278,10 +279,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 //// [/user/username/projects/myproject/main.js] file written with same contents //// [/user/username/projects/myproject/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } @@ -292,7 +290,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -314,7 +312,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js index 82feb606d95da..ea15e6714bfba 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js @@ -53,7 +53,7 @@ File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.d.ts'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -62,9 +62,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -75,7 +76,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -94,17 +95,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/other.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -182,7 +183,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts @@ -237,10 +238,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 //// [/user/username/projects/myproject/main.js] file written with same contents //// [/user/username/projects/myproject/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } @@ -251,7 +249,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -273,7 +271,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/other.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-emit-builder.js index c9991bb0f1ac0..06a588a0f0654 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-emit-builder.js @@ -37,18 +37,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -100,7 +102,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 745 + "size": 757 } @@ -111,7 +113,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -135,17 +137,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -161,17 +163,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,14 +214,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 855 + "size": 867 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/main.d.ts] @@ -227,10 +226,7 @@ export declare const x = 10; //// [/user/username/projects/myproject/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/myproject/other.d.ts] @@ -251,7 +247,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -261,7 +257,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -288,7 +284,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -313,7 +309,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -336,17 +332,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17]],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17]],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -396,7 +392,7 @@ Output:: ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 907 + "size": 919 } @@ -407,7 +403,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -431,7 +427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -453,17 +449,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -504,14 +500,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 871 + "size": 883 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; // SomeComment @@ -529,7 +522,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -539,7 +532,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -566,7 +559,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -592,7 +585,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -615,17 +608,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -666,14 +659,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 887 + "size": 899 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; // SomeComment // SomeComment @@ -686,7 +676,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -709,7 +699,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-semantic-builder.js index 92c3cc51fcb6e..d8178e92c0301 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmit-with-composite-with-semantic-builder.js @@ -37,18 +37,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17],[3,17]],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -100,7 +102,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 745 + "size": 757 } @@ -111,7 +113,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -135,17 +137,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -168,17 +170,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -219,14 +221,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 855 + "size": 867 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/main.d.ts] @@ -234,10 +233,7 @@ export declare const x = 10; //// [/user/username/projects/myproject/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/myproject/other.d.ts] @@ -258,7 +254,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -268,7 +264,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -295,7 +291,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -327,7 +323,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -350,17 +346,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17]],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[[2,17]],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -410,7 +406,7 @@ Output:: ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 907 + "size": 919 } @@ -421,7 +417,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -445,7 +441,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -474,17 +470,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -525,14 +521,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 871 + "size": 883 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; // SomeComment @@ -550,7 +543,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -560,7 +553,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -587,7 +580,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -620,7 +613,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -643,17 +636,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -694,14 +687,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 887 + "size": 899 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; // SomeComment // SomeComment @@ -715,7 +705,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -738,7 +728,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-emit-builder.js index 6997df09587f5..548cd8356f4bb 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-emit-builder.js @@ -43,18 +43,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -115,7 +117,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 915 + "size": 927 } @@ -126,7 +128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -150,17 +152,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -181,7 +183,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -209,17 +211,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -284,7 +286,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -295,7 +297,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -319,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -345,7 +347,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -368,17 +370,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -420,14 +422,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 876 + "size": 888 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/main.d.ts] @@ -435,10 +434,7 @@ export declare const x = 10; //// [/user/username/projects/myproject/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/myproject/other.d.ts] @@ -453,7 +449,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -477,7 +473,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-semantic-builder.js index 462310e98942c..0dfa212d93cc8 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/noEmitOnError-with-composite-with-semantic-builder.js @@ -43,18 +43,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -115,7 +117,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 915 + "size": 927 } @@ -126,7 +128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -150,17 +152,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -188,7 +190,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -216,17 +218,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -291,7 +293,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 1004 + "size": 1016 } @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -326,7 +328,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -359,7 +361,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -382,17 +384,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -434,14 +436,11 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 876 + "size": 888 } //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/main.d.ts] @@ -449,10 +448,7 @@ export declare const x = 10; //// [/user/username/projects/myproject/other.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/myproject/other.d.ts] @@ -467,7 +463,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -491,7 +487,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/semantic-builder-emitOnlyDts.js index 6d0d7f661eea5..97afef2d8b5c9 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/semantic-builder-emitOnlyDts.js @@ -43,18 +43,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -115,7 +117,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 915 + "size": 927 } @@ -126,7 +128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -150,17 +152,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -180,7 +182,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -202,17 +204,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./other.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -270,7 +272,7 @@ Output:: ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 917 + "size": 929 } //// [/user/username/projects/myproject/main.d.ts] @@ -289,7 +291,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -313,7 +315,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index 23fbab00fabc0..2442329400d91 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -33,6 +33,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -41,7 +43,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -64,17 +66,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -116,7 +118,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/multiFile/when-emitting-with-emitOnlyDtsFiles.js b/tests/baselines/reference/tscWatch/watchApi/multiFile/when-emitting-with-emitOnlyDtsFiles.js index 318fa417eb2fb..83ed2706dd783 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/when-emitting-with-emitOnlyDtsFiles.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/when-emitting-with-emitOnlyDtsFiles.js @@ -46,7 +46,7 @@ CreatingProgramWith:: options: {"composite":true,"noEmitOnError":true,"module":2,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -65,18 +65,20 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-11268290852-export const y: 10 = 20;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;","-11268290852-export const y: 10 = 20;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -138,7 +140,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node "./b.ts" ], "version": "FakeTSVersion", - "size": 908 + "size": 920 } @@ -149,7 +151,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -171,17 +173,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -218,17 +220,17 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3],"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -281,7 +283,7 @@ CreatingProgramWith:: ], "errors": true, "version": "FakeTSVersion", - "size": 843 + "size": 855 } @@ -299,7 +301,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js index 3a6d766986106..3ddab7ebfc560 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-emit-builder.js @@ -49,18 +49,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -80,12 +82,12 @@ Output:: "outFile": "./outFile.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "version": "FakeTSVersion", - "size": 718 + "size": 730 } @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -122,7 +124,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -152,17 +154,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -183,7 +185,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -198,7 +200,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 913 + "size": 925 } //// [/user/username/projects/outFile.js] @@ -239,7 +241,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -249,7 +251,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -278,7 +280,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -303,7 +305,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -336,17 +338,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -371,7 +373,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 912 + "size": 924 } @@ -382,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -408,7 +410,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -438,17 +440,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -469,7 +471,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -484,7 +486,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/outFile.js] @@ -517,7 +519,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -527,7 +529,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -556,7 +558,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -582,7 +584,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -615,17 +617,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -646,7 +648,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -661,7 +663,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 957 } //// [/user/username/projects/outFile.js] @@ -689,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -714,7 +716,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js index c0ab852fc83ec..917dd5fa135bd 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmit-with-composite-with-semantic-builder.js @@ -49,18 +49,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[1,2,3],"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -80,12 +82,12 @@ Output:: "outFile": "./outFile.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "version": "FakeTSVersion", - "size": 718 + "size": 730 } @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -122,7 +124,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -159,17 +161,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -190,7 +192,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -205,7 +207,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 913 + "size": 925 } //// [/user/username/projects/outFile.js] @@ -246,7 +248,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -256,7 +258,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -285,7 +287,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -317,7 +319,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -350,17 +352,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -385,7 +387,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 912 + "size": 924 } @@ -396,7 +398,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -422,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -459,17 +461,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -490,7 +492,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -505,7 +507,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/outFile.js] @@ -538,7 +540,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -548,7 +550,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -577,7 +579,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -610,7 +612,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -643,17 +645,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"changeFileSet":[2],"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -678,7 +680,7 @@ Output:: "outSignature": "3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts", "version": "FakeTSVersion", - "size": 928 + "size": 940 } //// [/user/username/projects/outFile.js] @@ -706,7 +708,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -731,7 +733,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js index a2e2289dd8ef7..4509b2826ff3b 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-emit-builder.js @@ -55,18 +55,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-8089124208-export const x: string = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -105,7 +107,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 894 + "size": 906 } @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -142,12 +144,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -170,7 +172,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -208,17 +210,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5691975201-export const x: string = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5691975201-export const x: string = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-5691975201-export const x: string = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -257,7 +259,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 910 + "size": 922 } @@ -268,7 +270,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -294,12 +296,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -321,7 +323,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -354,17 +356,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -390,7 +392,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 749 + "size": 761 } @@ -401,7 +403,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -427,12 +429,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js index 614f4c173579e..13e7392f546e3 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/noEmitOnError-with-composite-with-semantic-builder.js @@ -55,18 +55,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-8089124208-export const x: string = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -105,7 +107,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 894 + "size": 906 } @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -142,12 +144,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -177,7 +179,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -215,17 +217,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5691975201-export const x: string = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5691975201-export const x: string = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-5691975201-export const x: string = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -264,7 +266,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 910 + "size": 922 } @@ -275,7 +277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -301,12 +303,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -335,7 +337,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -368,17 +370,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -404,7 +406,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 749 + "size": 761 } @@ -415,7 +417,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -441,12 +443,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js index e04c6439794c2..a8bc1846e29ed 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js @@ -55,18 +55,20 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-8089124208-export const x: string = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -105,7 +107,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 894 + "size": 906 } @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -142,12 +144,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -169,7 +171,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -191,17 +193,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"fileNames":["../../../home/src/tslibs/ts/lib/lib.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./myproject/main.ts","./myproject/other.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -227,7 +229,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 749 + "size": 761 } @@ -238,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -264,12 +266,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index d7303e7ba4425..1e49cfea67c76 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -37,6 +37,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -45,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -70,7 +72,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -122,7 +124,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js b/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js index 4097c813ca761..fccdb7e567a84 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/when-emitting-with-emitOnlyDtsFiles.js @@ -47,7 +47,7 @@ CreatingProgramWith:: options: {"composite":true,"noEmitOnError":true,"module":2,"outFile":"/user/username/projects/myproject/outFile.js","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -71,18 +71,20 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-11268290852-export const y: 10 = 20;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-11268290852-export const y: 10 = 20;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"pendingEmit":false,"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./a.ts": "-10726455937-export const x = 10;", "./b.ts": "-11268290852-export const y: 10 = 20;" }, @@ -121,7 +123,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node false ], "version": "FakeTSVersion", - "size": 859 + "size": 871 } @@ -132,7 +134,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -155,12 +157,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -199,17 +201,17 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./a.ts","./b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./a.ts","./b.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"pendingEmit":false,"errors":true,"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./a.ts": "-10726455937-export const x = 10;", "./b.ts": "-13729955264-export const y = 10;" }, @@ -235,7 +237,7 @@ CreatingProgramWith:: ], "errors": true, "version": "FakeTSVersion", - "size": 725 + "size": 737 } @@ -254,12 +256,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js index 47505600dcce3..d6866abacb52e 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js @@ -43,6 +43,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -56,7 +58,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -75,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/settings.json /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/settings.json /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/settings.json (used version) /user/username/projects/myproject/index.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js index da96c184821de..75b7b6edbf5d1 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js @@ -52,9 +52,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/index.js] -var compiler = new Compiler(); -for (var i = 0; j < 5; i++) { } +let compiler = new Compiler(); +for (let i = 0; j < 5; i++) { } @@ -65,7 +67,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -81,15 +83,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/index.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index dcdc31bc469ac..0b9699fd83d48 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -62,7 +62,7 @@ CreatingProgramWith:: Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/class2.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Type roots @@ -85,12 +85,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/projects/project2/class2.js] -var class2 = /** @class */ (function () { - function class2() { - } - return class2; -}()); +class class2 { +} //// [/user/username/projects/myproject/projects/project2/class2.d.ts] @@ -99,17 +98,17 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -150,7 +149,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -164,7 +163,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 921 } @@ -179,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -207,14 +206,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/projects/project1/class1.d.ts (used version) /user/username/projects/myproject/projects/project2/class2.ts (computed .d.ts during emit) @@ -287,7 +286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -316,7 +315,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -358,7 +357,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -403,18 +402,18 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -464,7 +463,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -482,7 +481,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1025 } @@ -497,7 +496,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -528,7 +527,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project1/class3.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -617,17 +616,17 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -668,7 +667,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -682,7 +681,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 921 } @@ -699,7 +698,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -732,7 +731,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -776,7 +775,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -821,18 +820,18 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -882,7 +881,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -900,7 +899,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1025 } @@ -915,7 +914,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -946,7 +945,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project1/class3.d.ts /user/username/projects/myproject/projects/project2/class2.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index f00fd1c4946b3..97df204c20d23 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -62,7 +62,7 @@ CreatingProgramWith:: Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/class2.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Type roots @@ -85,12 +85,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/projects/project2/class2.js] -var class2 = /** @class */ (function () { - function class2() { - } - return class2; -}()); +class class2 { +} //// [/user/username/projects/myproject/projects/project2/class2.d.ts] @@ -99,17 +98,17 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -150,7 +149,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -164,7 +163,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 897 + "size": 909 } @@ -179,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.ts: *new* {} @@ -207,14 +206,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.ts /user/username/projects/myproject/projects/project2/class2.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/projects/project1/class1.ts (used version) /user/username/projects/myproject/projects/project2/class2.ts (computed .d.ts during emit) @@ -262,18 +261,18 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../project1/class1.ts","../project1/class3.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"777933178-class class1 {}","signature":"-2723220098-declare class class1 {\n}\n","affectsGlobalScope":true},{"version":"778005052-class class3 {}","signature":"-2644949312-declare class class3 {\n}\n","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../project1/class1.ts","../project1/class3.ts","./class2.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"777933178-class class1 {}","signature":"-2723220098-declare class class1 {\n}\n","affectsGlobalScope":true},{"version":"778005052-class class3 {}","signature":"-2644949312-declare class class3 {\n}\n","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./class2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../project1/class1.ts", "../project1/class3.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -325,7 +324,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -343,7 +342,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1097 + "size": 1109 } @@ -358,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.ts: {} @@ -389,7 +388,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/projects/project1/class1.ts /user/username/projects/myproject/projects/project1/class3.ts /user/username/projects/myproject/projects/project2/class2.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js index 1023db9c90ea9..5ee25eb620e30 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js @@ -77,7 +77,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/proj DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -85,16 +85,16 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/ FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/tsconfig.json 2000 undefined Config file of referened project +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var lib_1 = require("./lib"); -console.log(lib_1.one); +import { one } from './lib'; +console.log(one); FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -119,17 +119,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/lib/index.d.ts (used version) /user/username/projects/project/app.ts (used version) @@ -188,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js index cecfe3cecb5cb..6827fdc4e6cd6 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js @@ -74,7 +74,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/proj DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects/project 0 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -83,16 +83,16 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/tsconfig.js FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/tsconfig.base.json 2000 undefined Extended config file of referenced project +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/app.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var lib_1 = require("./lib"); -console.log(lib_1.one); +import { one } from './lib'; +console.log(one); FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -119,17 +119,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/lib/index.d.ts (used version) /user/username/projects/project/app.ts (used version) @@ -189,7 +189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts @@ -249,7 +249,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts diff --git a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js index 0b5ed8f684665..8780b62d06555 100644 --- a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js +++ b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js @@ -30,8 +30,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main.js] -var x = 10; +const x = 10; @@ -42,7 +44,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -61,15 +63,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -88,7 +90,7 @@ Output:: //// [/user/username/projects/myproject/main.js] file written with same contents //// [/user/username/projects/myproject/bar.js] -var y = 10; +const y = 10; @@ -99,7 +101,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/bar.ts: *new* {} @@ -121,12 +123,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/bar.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/bar.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsEvent-for-change-is-repeated.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsEvent-for-change-is-repeated.js index 5d49d7c33c718..c3afa8f80708a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsEvent-for-change-is-repeated.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsEvent-for-change-is-repeated.js @@ -28,7 +28,7 @@ CreatingProgramWith:: roots: ["main.ts"] options: {"watch":true,"extendedDiagnostics":true} FileWatcher:: Added:: WatchInfo: main.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -37,8 +37,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/main.js] -var a = "Hello"; +let a = "Hello"; @@ -49,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/main.ts: *new* {} @@ -63,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/main.ts (used version) exitCode:: ExitStatus.undefined @@ -109,7 +111,7 @@ CreatingProgramWith:: //// [/user/username/projects/project/main.js] -var a = "Hello World"; +let a = "Hello World"; @@ -123,16 +125,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts main.ts Shape signatures in builder refreshed for:: /user/username/projects/project/main.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined @@ -208,7 +210,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts main.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js index 2b69ac5f26d9f..7f511e31e43d9 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js @@ -36,7 +36,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":5} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"watchFile":5} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"watchFile":5} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":5} Type roots @@ -45,11 +45,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; @@ -75,15 +74,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -147,11 +146,8 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = exports.x = void 0; -exports.x = 10; -exports.y = 10; +export const x = 10; +export const y = 10; @@ -166,7 +162,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js index e21dc72f93e83..295c58ce89a7a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js @@ -36,7 +36,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -45,11 +45,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; @@ -60,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -77,15 +76,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -149,11 +148,8 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = exports.x = void 0; -exports.x = 10; -exports.y = 10; +export const x = 10; +export const y = 10; @@ -168,7 +164,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js index 142589037bb49..72748a129e34c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js @@ -36,7 +36,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":5} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"watchFile":5} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"watchFile":5} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":5} Type roots @@ -45,11 +45,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 14 + //// [/user/username/projects/myproject/main.js] Inode:: 113 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; @@ -75,15 +74,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -132,11 +131,8 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/main.js] Inode:: 113 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = exports.x = void 0; -exports.x = 10; -exports.y = 10; +export const x = 10; +export const y = 10; @@ -151,7 +147,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js index 8b662c6214ec0..62e963c70f278 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js @@ -36,7 +36,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -45,11 +45,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 14 + //// [/user/username/projects/myproject/main.js] Inode:: 113 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; @@ -60,8 +59,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":12} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":14} /user/username/projects/myproject/main.ts: *new* {"inode":5} /user/username/projects/myproject/tsconfig.json: *new* @@ -77,15 +76,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -134,11 +133,8 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/main.js] Inode:: 113 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = exports.x = void 0; -exports.x = 10; -exports.y = 10; +export const x = 10; +export const y = 10; @@ -153,7 +149,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js index 7bf2808276f81..44fb9c82630a4 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js @@ -46,7 +46,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -57,11 +57,11 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/user/username/projects/myproject/main.js] Inode:: 114 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("./foo"); -(0, foo_1.foo)(); +import { foo } from "./foo"; +foo(); @@ -72,8 +72,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/foo.d.ts: *new* @@ -94,17 +94,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/foo.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -157,8 +157,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: @@ -220,7 +220,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts @@ -281,8 +281,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: @@ -334,7 +334,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js index b9cea974a56f4..bdc218796ca21 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js @@ -44,7 +44,7 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":4} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -53,16 +53,15 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/user/username/projects/myproject/foo.js] Inode:: 114 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/main.js] Inode:: 115 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("./foo"); -(0, foo_1.foo)(); +import { foo } from "./foo"; +foo(); @@ -73,8 +72,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} /user/username/projects/myproject/foo.ts: *new* {"inode":6} /user/username/projects/myproject/main.ts: *new* @@ -93,17 +92,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/foo.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -130,8 +129,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} /user/username/projects/myproject/foo.ts: {} *new* /user/username/projects/myproject/main.ts: @@ -187,7 +186,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts @@ -230,8 +229,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} /user/username/projects/myproject/foo.ts: {"inode":117} *new* /user/username/projects/myproject/main.ts: @@ -277,7 +276,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js index d6e0456dddd54..3c240b2268c9f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js @@ -46,7 +46,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -57,11 +57,11 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/user/username/projects/myproject/main.js] Inode:: 114 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("./foo"); -(0, foo_1.foo)(); +import { foo } from "./foo"; +foo(); @@ -72,8 +72,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/foo.d.ts: *new* @@ -94,17 +94,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/foo.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -145,8 +145,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: @@ -208,7 +208,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts @@ -257,8 +257,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: @@ -310,7 +310,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js index ccfa0f7474389..7c2e81416b400 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js @@ -44,7 +44,7 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":4} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -53,16 +53,15 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("./foo"); -(0, foo_1.foo)(); +import { foo } from "./foo"; +foo(); @@ -73,7 +72,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/foo.ts: *new* {} @@ -93,17 +92,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/foo.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -166,7 +165,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts @@ -230,7 +229,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js index e2e364f0c0f54..1a2392c946004 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/a/username/projects/project/src/file1.js] Inode:: 114 @@ -43,8 +45,8 @@ FsWatches:: {"inode":6} /a/username/projects/project/tsconfig.json: *new* {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} Timeout callback:: count: 1 1: pollPollingIntervalQueue *new* @@ -58,15 +60,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /a/username/projects/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -90,8 +92,8 @@ PolledWatches:: FsWatches:: /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} FsWatches *deleted*:: /a/username/projects/project/src/file1.ts: @@ -141,8 +143,8 @@ FsWatches:: {"inode":115} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} Timeout callback:: count: 3 6: timerToUpdateProgram *new* @@ -159,7 +161,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file2.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js index 9ee5326f30217..bed05795cbd59 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/a/username/projects/project/src/file1.js] Inode:: 114 @@ -53,8 +55,8 @@ FsWatches:: {"inode":6} /a/username/projects/project/tsconfig.json: *new* {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} Program root files: [ "/a/username/projects/project/src/file1.ts" @@ -65,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /a/username/projects/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -105,8 +107,8 @@ FsWatches:: {"inode":5} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} FsWatches *deleted*:: /a/username/projects/project/src/file1.ts: @@ -151,8 +153,8 @@ FsWatches:: {"inode":115} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} Program root files: [ @@ -164,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file2.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js index c3d70bc3a9d07..b7ee4c79eaf5e 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js @@ -34,6 +34,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/a/username/projects/project/src/file1.js] Inode:: 114 @@ -53,8 +55,8 @@ FsWatches:: {"inode":6} /a/username/projects/project/tsconfig.json: *new* {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} Program root files: [ "/a/username/projects/project/src/file1.ts" @@ -65,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /a/username/projects/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -105,8 +107,8 @@ PolledWatches:: FsWatches:: /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} FsWatches *deleted*:: /a/username/projects/project/src/file1.ts: @@ -151,8 +153,8 @@ FsWatches:: {"inode":115} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":15} Timeout callback:: count: 1 3: timerToUpdateProgram *new* @@ -167,7 +169,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/src/file2.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js index f4a96e025b24c..85b890a089d00 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js @@ -56,7 +56,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/file.ts 250 {"synchronousWatchDirectory":true} Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/user/projects/myproject/src/package.json' does not exist. File '/home/user/projects/myproject/package.json' does not exist. File '/home/user/projects/package.json' does not exist. @@ -83,7 +83,7 @@ File '/home/user/package.json' does not exist according to earlier cached lookup File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"synchronousWatchDirectory":true} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"synchronousWatchDirectory":true} Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects 0 {"synchronousWatchDirectory":true} Failed Lookup Locations @@ -110,9 +110,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 1 {"synchron Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 1 {"synchronousWatchDirectory":true} Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 25 + //// [/home/user/projects/myproject/src/file.js] Inode:: 124 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -131,8 +132,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":23} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":25} /home/user/projects: *new* {"inode":3} /home/user/projects/myproject: *new* @@ -169,17 +170,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/node_modules/reala/index.d.ts /home/user/projects/myproject/src/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/node_modules/reala/index.d.ts /home/user/projects/myproject/src/file.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/user/projects/myproject/node_modules/reala/index.d.ts (used version) /home/user/projects/myproject/src/file.ts (used version) @@ -229,8 +230,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":23} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":25} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -286,7 +287,7 @@ File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/package.json' does not exist according to earlier cached lookups. @@ -358,8 +359,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":23} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":25} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -395,7 +396,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/src/file.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index 92c164219a94f..65b28b0e74297 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -53,7 +53,7 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/file.ts 250 undefined Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/user/projects/myproject/src/package.json' does not exist. File '/home/user/projects/myproject/package.json' does not exist. File '/home/user/projects/package.json' does not exist. @@ -80,7 +80,7 @@ File '/home/user/package.json' does not exist according to earlier cached lookup File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects 0 undefined Failed Lookup Locations @@ -105,9 +105,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 1 undefined Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 1 undefined Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 25 + //// [/home/user/projects/myproject/src/file.js] Inode:: 124 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -126,8 +127,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":23} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":25} /home/user/projects: *new* {"inode":3} /home/user/projects/myproject: *new* @@ -167,17 +168,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/node_modules/reala/index.d.ts /home/user/projects/myproject/src/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/node_modules/reala/index.d.ts /home/user/projects/myproject/src/file.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /home/user/projects/myproject/node_modules/reala/index.d.ts (used version) /home/user/projects/myproject/src/file.ts (used version) @@ -212,8 +213,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":23} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":25} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -269,7 +270,7 @@ File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/package.json' does not exist according to earlier cached lookups. @@ -364,8 +365,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":23} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":25} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -405,7 +406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/src/file.ts Semantic diagnostics in builder refreshed for:: @@ -457,7 +458,7 @@ CreatingProgramWith:: options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Bundler'. -Resolving in CJS mode with conditions 'require', 'types'. +Resolving in CJS mode with conditions 'import', 'types'. File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/package.json' does not exist according to earlier cached lookups. @@ -513,7 +514,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/user/projects/myproject/src/file.ts Semantic diagnostics in builder refreshed for:: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js index dd47731c44d5d..9f869dfd61d9d 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js @@ -43,16 +43,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 16 + //// [/user/username/projects/myproject/dist/src/file2.js] Inode:: 117 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; //// [/user/username/projects/myproject/dist/src/file1.js] Inode:: 118 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -63,8 +61,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":14} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":16} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/dist: *new* @@ -91,14 +89,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/file2.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/src/file2.ts (used version) /user/username/projects/myproject/src/file1.ts (used version) @@ -132,8 +130,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":14} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: @@ -194,8 +192,8 @@ PolledWatches *deleted*:: {"pollingInterval":250} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":14} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: @@ -221,7 +219,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: @@ -265,10 +263,7 @@ Output:: //// [/user/username/projects/myproject/dist/src/renamed.js] Inode:: 120 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.x = void 0; -exports.x = 10; +export const x = 10; @@ -283,8 +278,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":14} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: @@ -321,7 +316,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/file1.ts /user/username/projects/myproject/src/renamed.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 9df674f0435f9..83dcf9f0b6c19 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -44,9 +44,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + //// [/user/username/projects/myproject/dist/src/file1.js] Inode:: 119 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/dist/src/file1.d.ts] Inode:: 120 @@ -69,8 +70,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":18} /user/username/projects: *new* {"inode":3} /user/username/projects/myproject: *new* @@ -103,14 +104,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/file2/index.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/file2/index.d.ts (used version) /user/username/projects/myproject/src/file1.ts (computed .d.ts during emit) @@ -171,10 +172,7 @@ Output:: //// [/user/username/projects/myproject/dist/src/file3.js] Inode:: 122 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.y = void 0; -exports.y = 10; +export const y = 10; //// [/user/username/projects/myproject/dist/src/file3.d.ts] Inode:: 123 @@ -197,8 +195,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /user/username/projects: {"inode":3} /user/username/projects/myproject: @@ -238,7 +236,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/file2/index.d.ts /user/username/projects/myproject/src/file1.ts /user/username/projects/myproject/src/file3.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index 14f43fb747164..4c16b33920422 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -39,9 +39,10 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + //// [/user/username/projects/myproject/src/file1.js] Inode:: 117 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; @@ -60,8 +61,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":18} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/node_modules: *new* @@ -90,14 +91,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/file2/index.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/file2/index.d.ts (used version) /user/username/projects/myproject/src/file1.ts (used version) @@ -145,8 +146,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/src: @@ -216,8 +217,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/src: @@ -242,7 +243,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: @@ -307,7 +308,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: @@ -338,8 +339,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/node_modules: *new* @@ -396,8 +397,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/node_modules: @@ -480,8 +481,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/node_modules: @@ -508,7 +509,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/file2/index.d.ts /user/username/projects/myproject/src/file1.ts diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js index 7c4eb98667f75..95d2db82fec30 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js @@ -27,6 +27,8 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/a/username/projects/project/typescript.js] var z = 10; @@ -49,15 +51,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/typescript.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/typescript.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /a/username/projects/project/typescript.ts (used version) exitCode:: ExitStatus.undefined @@ -701,16 +703,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/typescript.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/username/projects/project/typescript.ts Shape signatures in builder refreshed for:: /a/username/projects/project/typescript.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js index 2ebabf662cb3b..c0c1e43813456 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js @@ -37,12 +37,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -69,17 +71,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (used version) /user/username/projects/project/commonfile2.ts (used version) @@ -184,18 +186,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: /user/username/projects/project/commonfile1.ts (computed .d.ts) -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile2.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index 92f9856a3dd59..768e1f796a914 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -56,7 +56,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 2 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/index.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/foo.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations @@ -78,11 +78,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excl Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar_1 = require("bar"); -(0, bar_1.foo)(); +import { foo } from "bar"; +foo(); @@ -99,7 +99,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -130,19 +130,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/bar/foo.d.ts (used version) /user/username/projects/myproject/node_modules/bar/index.d.ts (used version) /user/username/projects/myproject/src/main.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index 15617dab79225..b7a99a49933de 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -57,7 +57,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/foo.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations @@ -78,11 +78,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excl Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 22 + //// [/user/username/projects/myproject/src/main.js] Inode:: 121 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar_1 = require("bar"); -(0, bar_1.foo)(); +import { foo } from "bar"; +foo(); @@ -101,8 +101,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":20} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":22} /user/username/projects: *new* {"inode":3} /user/username/projects/myproject: *new* @@ -135,19 +135,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/bar/foo.d.ts (used version) /user/username/projects/myproject/node_modules/bar/index.d.ts (used version) /user/username/projects/myproject/src/main.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index 3ef6aec249df8..1e0b8a0eb346a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -51,11 +51,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 22 + //// [/user/username/projects/myproject/src/main.js] Inode:: 121 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar_1 = require("bar"); -(0, bar_1.foo)(); +import { foo } from "bar"; +foo(); @@ -74,8 +74,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":20} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":22} /user/username/projects: *new* {"inode":3} /user/username/projects/myproject: *new* @@ -107,19 +107,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/bar/foo.d.ts (used version) /user/username/projects/myproject/node_modules/bar/index.d.ts (used version) /user/username/projects/myproject/src/main.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index 46852b34edeb7..f3c8850bd80cb 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -51,11 +51,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar_1 = require("bar"); -(0, bar_1.foo)(); +import { foo } from "bar"; +foo(); @@ -72,7 +72,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -102,19 +102,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/bar/foo.d.ts (used version) /user/username/projects/myproject/node_modules/bar/index.d.ts (used version) /user/username/projects/myproject/src/main.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index 6a8e8c1329c79..cc0b69b620fc2 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -57,7 +57,7 @@ ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modul DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/foo.d.ts 250 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Source file -FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 250 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations @@ -80,11 +80,11 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excl Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Wild card directory +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar_1 = require("bar"); -(0, bar_1.foo)(); +import { foo } from "bar"; +foo(); @@ -99,7 +99,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -128,19 +128,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/bar/foo.d.ts (used version) /user/username/projects/myproject/node_modules/bar/index.d.ts (used version) /user/username/projects/myproject/src/main.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index 6cc8c0347ca6c..c753104242468 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -51,11 +51,11 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/src/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var bar_1 = require("bar"); -(0, bar_1.foo)(); +import { foo } from "bar"; +foo(); @@ -70,7 +70,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -98,19 +98,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/node_modules/bar/foo.d.ts /user/username/projects/myproject/node_modules/bar/index.d.ts /user/username/projects/myproject/src/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/myproject/node_modules/bar/foo.d.ts (used version) /user/username/projects/myproject/node_modules/bar/index.d.ts (used version) /user/username/projects/myproject/src/main.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js index 1c36f990a3745..5cb6f1e6d8e10 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js @@ -36,23 +36,25 @@ Output:: sysLog:: /user/username/projects/project/tsconfig.json:: Changing to watchFile sysLog:: /user/username/projects/project/commonFile1.ts:: Changing to watchFile sysLog:: /user/username/projects/project/commonFile2.ts:: Changing to watchFile -sysLog:: /home/src/tslibs/TS/Lib/lib.d.ts:: Changing to watchFile +sysLog:: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts:: Changing to watchFile [HH:MM:SS AM] Found 0 errors. Watching for file changes. sysLog:: /user/username/projects/project:: Changing to watchFile +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/user/username/projects/project/commonFile1.js] Inode:: 114 -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] Inode:: 115 -var y = 1; +let y = 1; PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {"pollingInterval":250} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -77,17 +79,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (used version) /user/username/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js index 84489381d1703..beb2c8475225b 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js @@ -37,12 +37,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 + //// [/user/username/projects/project/commonFile1.js] Inode:: 114 -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] Inode:: 115 -var y = 1; +let y = 1; @@ -53,8 +55,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":13} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":15} /user/username/projects/project: *new* {"inode":4} /user/username/projects/project/commonFile1.ts: *new* @@ -74,17 +76,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (used version) /user/username/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js index 6ff20fe59a771..125fefc7946f0 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js @@ -33,12 +33,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -49,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -72,17 +74,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (used version) /user/username/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js index 113d1a276d857..90470812fd24f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js @@ -37,12 +37,14 @@ Output:: +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/commonFile1.js] -var x = 1; +let x = 1; //// [/user/username/projects/project/commonFile2.js] -var y = 1; +let y = 1; @@ -53,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -76,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.d.ts (used version) +/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) /user/username/projects/project/commonfile1.ts (used version) /user/username/projects/project/commonfile2.ts (used version) diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js index bb8994304565f..482cc3f5029a8 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -80,15 +80,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let z = 1;" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" /user/username/projects/project/file3.ts Text-1 "let xyz = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' commonFile1.ts @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -187,7 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -209,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -248,7 +250,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let z = 1;" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" @@ -284,7 +286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/commonFile1.ts: {} @@ -308,7 +310,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -382,7 +384,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-1 "let zzz = 10;let zz = 10;let z = 1;" /user/username/projects/project/commonFile1.ts SVC-2-0 "// some copy right notice\nlet x = 1" /user/username/projects/project/commonFile2.ts SVC-2-0 "// some copy right notice\nlet y = 1" @@ -418,7 +420,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.ts: *new* {} @@ -442,7 +444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -486,7 +488,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-1 "let zzz = 10;let zz = 10;let z = 1;" /user/username/projects/project/commonFile1.ts SVC-3-0 "let x = 1" /user/username/projects/project/commonFile2.ts SVC-2-0 "// some copy right notice\nlet y = 1" @@ -521,7 +523,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js index 7082a1148c048..0046b239ceeb3 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -80,15 +80,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let z = 1;" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" /user/username/projects/project/file3.ts Text-1 "let xyz = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' commonFile1.ts @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -187,7 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -209,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -248,7 +250,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let z = 1;" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" @@ -284,7 +286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/commonFile1.ts: {} @@ -308,7 +310,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -390,7 +392,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-2 "let zzz = 10;let zz = 10;let z = 1;" /user/username/projects/project/commonFile1.ts SVC-2-0 "// some copy right notice\nlet x = 1" /user/username/projects/project/commonFile2.ts SVC-2-0 "// some copy right notice\nlet y = 1" @@ -426,7 +428,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.ts: *new* {} @@ -450,7 +452,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -494,7 +496,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-2 "let zzz = 10;let zz = 10;let z = 1;" /user/username/projects/project/commonFile1.ts SVC-3-0 "let x = 1" /user/username/projects/project/commonFile2.ts SVC-2-0 "// some copy right notice\nlet y = 1" @@ -529,7 +531,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index d08e23a37b601..ec9a3fd722fc3 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -90,17 +90,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/@angular/forms/forms.d.ts SVC-1-0 "export declare class PatternValidator {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' forms.d.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -127,7 +129,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -138,7 +140,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -170,11 +172,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/node_modules/@angular/forms/forms.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -227,7 +229,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -250,7 +252,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -373,13 +375,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/@angular/forms/forms.d.ts SVC-1-0 "export declare class PatternValidator {}" /user/username/projects/project/index.ts SVC-1-0 "import '@angular/forms'" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@angular/forms/forms.d.ts Imported via '@angular/forms' from file 'index.ts' index.ts @@ -502,7 +504,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -527,7 +529,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js index 782ec133b58e6..8968ca10ec250 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -213,6 +213,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -299,7 +301,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/index.ts: *new* {} @@ -327,7 +329,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -371,12 +373,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/random/random.ts SVC-1-0 "export const y = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -398,12 +400,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/index.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -459,7 +461,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -505,7 +507,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js index 480301e64dfdd..d257b49a99193 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/packages/a/node Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a/node_modules/b/tsconfig.json 2000 undefined Project: /user/username/projects/project/packages/a/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a/node_modules/b 1 undefined Config: /user/username/projects/project/packages/a/node_modules/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a/node_modules/b 1 undefined Config: /user/username/projects/project/packages/a/node_modules/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a/node_modules/@types 1 undefined Project: /user/username/projects/project/packages/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/a/node_modules/@types 1 undefined Project: /user/username/projects/project/packages/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/node_modules/@types 1 undefined Project: /user/username/projects/project/packages/a/tsconfig.json WatchType: Type roots @@ -125,12 +125,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/packages/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/packages/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/packages/a/index.ts SVC-1-0 "" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/packages/a/node_modules/b/package.json: *new* {} @@ -281,7 +283,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/packages/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js index 1f8bf711cff6d..9d44e1597d868 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js @@ -156,7 +156,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -164,12 +164,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -257,6 +257,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -265,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -283,7 +285,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index cca21522f2049..c6e1f99f2280a 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b 1 undefined Config: /user/username/projects/project/packages/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b 1 undefined Config: /user/username/projects/project/packages/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/packages/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b/node_modules/@types 1 undefined Project: /user/username/projects/project/packages/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/b/node_modules/@types 1 undefined Project: /user/username/projects/project/packages/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/packages/node_modules/@types 1 undefined Project: /user/username/projects/project/packages/b/tsconfig.json WatchType: Type roots @@ -118,12 +118,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/packages/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/packages/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/packages/b/index.ts SVC-1-0 "export class B {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -241,6 +241,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -253,7 +255,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -287,7 +289,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/packages/b/tsconfig.json @@ -375,13 +377,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/packages/b/index.ts SVC-1-0 "export class B {}" /user/username/projects/project/packages/a/index.ts Text-1 "import { B } from '../b';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' packages/b/index.ts Imported via '../b' from file 'packages/a/index.ts' Matched by default include pattern '**/*' @@ -476,13 +478,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/packages/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/packages/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/packages/b/index.ts SVC-1-0 "export class B {}" /user/username/projects/project/packages/a/index.ts Text-1 "import { B } from '../b';" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via '../b' from file 'index.ts' index.ts @@ -629,7 +631,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -686,7 +688,7 @@ Projects:: /user/username/projects/project/packages/a/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/packages/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js index a47dead40aa32..da5d3971689bb 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -96,12 +96,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -196,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -212,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -280,7 +282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/package.json: *new* {} diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js index bf41f05f66e48..b6ac6b341cb96 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -218,7 +220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -267,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -292,7 +294,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index df283e9dd83e1..e51c14310daf4 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -105,12 +105,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -223,6 +223,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/core/package.json: *new* {} @@ -258,7 +260,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -322,7 +324,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -372,7 +374,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index d09b093d3705e..ac379ba0f7dcd 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -105,12 +105,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -223,6 +223,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/core/package.json: *new* {} @@ -258,7 +260,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -309,12 +311,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' forms.d.ts Root file specified for compilation @@ -346,7 +348,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/core/package.json: {} @@ -376,7 +378,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/tsconfig.json @@ -419,11 +421,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/node_modules/@angular/forms/forms.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -476,7 +478,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -499,7 +501,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -570,7 +572,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/core/package.json: {} @@ -630,7 +632,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/@angular/forms/forms.d.ts SVC-2-0 "export class ValidatorPattern {}" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -683,7 +685,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js index 0b9b38977302c..1b388067b9fca 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -218,7 +220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -271,7 +273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -296,7 +298,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js index 149256941a623..cbfa4b29f25e9 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -213,6 +213,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -281,7 +283,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-2-0 "console.log(0)" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -320,7 +322,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index a8b17d95dbb10..4a2c9b97a07fc 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -110,17 +110,17 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types/node/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "export {};" /user/username/projects/project/node_modules/@types/node/index.d.ts Text-1 "export declare class Stats {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' node_modules/@types/node/index.d.ts @@ -269,13 +269,15 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/project/node_modules/memfs/lib/package.json: *new* {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@types/node/package.json: *new* {} @@ -302,7 +304,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js index 2479721fd861e..e91c5f070056a 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -105,13 +105,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" /user/username/projects/project/index.ts SVC-1-0 "import '@angular/forms';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@angular/forms/forms.d.ts Imported via '@angular/forms' from file 'index.ts' index.ts @@ -201,6 +201,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -209,7 +211,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -231,7 +233,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js index d48bbdd78cc41..2df62a6dd5379 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -87,17 +87,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/@angular/forms/forms.d.ts SVC-1-0 "export declare class PatternValidator {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' forms.d.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -124,7 +126,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -135,7 +137,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -167,11 +169,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/node_modules/@angular/forms/forms.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -229,7 +231,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -252,7 +254,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -312,7 +314,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} diff --git a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js index 5d977dacce124..1564ea5af217d 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -218,7 +220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js index b1b492005f6d9..c576d202f001a 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -52,13 +52,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b.d.ts Text-1 "export declare class B {}" /user/username/projects/project/a.ts SVC-1-0 "import { B } from \"./b\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.d.ts Imported via "./b" from file 'a.ts' a.ts @@ -84,6 +84,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -110,7 +112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -195,7 +197,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project: {} @@ -217,7 +219,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -258,12 +260,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b.js Text-1 "export class B {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.js Root file specified for compilation @@ -281,7 +283,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project: {} @@ -306,7 +308,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -351,11 +353,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/b.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -405,7 +407,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -429,7 +431,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -487,7 +489,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project: {} diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index 069f8f8f716fe..0d0d4669894d4 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -90,14 +90,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts Text-1 "export declare class Yargs { positional(): Yargs; }\n" /user/users/projects/myproject/node_modules/@types/yargs/index.d.ts Text-1 "\nimport { Yargs } from \"./callback\";\nexport declare function command(command: string, cb: (yargs: Yargs) => void): void;\n" /user/users/projects/myproject/index.ts SVC-1-0 "import { command } from \"yargs\";\ncommand(\"foo\", yargs => {\n yargs.positional();\n});\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/yargs/callback.d.ts Imported via "./callback" from file 'node_modules/@types/yargs/index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' node_modules/@types/yargs/index.d.ts @@ -126,6 +126,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/users/projects/myproject/jsconfig.json: *new* @@ -136,7 +138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/users/projects: *new* {} @@ -160,7 +162,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -273,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/users/projects: {} @@ -303,7 +305,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -425,7 +427,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index 17bb1fbfebe02..6d65e39d64659 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -108,15 +108,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts Text-1 "export declare class Yargs { positional(): Yargs; }\n" /user/users/projects/myproject/folder/random.ts Text-1 "import { Yargs } from \"yargs/callback\";\n" /user/users/projects/myproject/node_modules/@types/yargs/index.d.ts Text-1 "\nimport { Yargs } from \"./callback\";\nexport declare function command(command: string, cb: (yargs: Yargs) => void): void;\n" /user/users/projects/myproject/some/index.ts SVC-1-0 "import { random } from \"../folder/random\";\nimport { command } from \"yargs\";\ncommand(\"foo\", yargs => {\n yargs.positional();\n});\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/@types/yargs/callback.d.ts Imported via "yargs/callback" from file '../folder/random.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' Imported via "./callback" from file '../node_modules/@types/yargs/index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' @@ -148,6 +148,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/users/projects/myproject/folder/node_modules: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/users/projects: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -322,7 +324,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/users/projects: {} @@ -358,7 +360,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index 0deb795b6a602..284e97d84a946 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/moo/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations @@ -84,13 +84,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/proj/foo/boo/app.ts SVC-1-0 "import * as debug from \"debug\"" /users/username/projects/proj/foo/boo/moo/app.ts Text-1 "import * as debug from \"debug\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo/boo/app.ts Part of 'files' list in tsconfig.json foo/boo/moo/app.ts @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules: *new* @@ -204,7 +206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -226,7 +228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/proj/tsconfig.json @@ -279,7 +281,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -332,14 +334,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/proj/node_modules/debug/index.d.ts Text-1 "export {}" /users/username/projects/proj/foo/boo/app.ts SVC-1-0 "import * as debug from \"debug\"" /users/username/projects/proj/foo/boo/moo/app.ts Text-1 "import * as debug from \"debug\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/debug/index.d.ts Imported via "debug" from file 'foo/boo/app.ts' Imported via "debug" from file 'foo/boo/moo/app.ts' @@ -399,7 +401,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -424,7 +426,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/proj/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index ddb42d9c22b87..1f0f9b2278e86 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/moo/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations @@ -84,13 +84,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/proj/foo/boo/app.ts SVC-1-0 "import * as debug from \"debug\"" /users/username/projects/proj/foo/boo/moo/app.ts Text-1 "import * as debug from \"debug\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo/boo/app.ts Part of 'files' list in tsconfig.json foo/boo/moo/app.ts @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules: *new* @@ -204,7 +206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -226,7 +228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/proj/tsconfig.json @@ -279,7 +281,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -332,14 +334,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/proj/node_modules/debug/index.d.ts Text-1 "export {}" /users/username/projects/proj/foo/boo/app.ts SVC-1-0 "import * as debug from \"debug\"" /users/username/projects/proj/foo/boo/moo/app.ts Text-1 "import * as debug from \"debug\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/debug/index.d.ts Imported via "debug" from file 'foo/boo/app.ts' Imported via "debug" from file 'foo/boo/moo/app.ts' @@ -399,7 +401,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -424,7 +426,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/proj/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index bb45a0b9c9799..09c1f087196be 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -141,12 +141,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" - ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -231,6 +231,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/rootfolder/node_modules: *new* @@ -267,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: *new* {} @@ -284,7 +286,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json @@ -765,7 +767,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -1293,7 +1295,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -2123,13 +2125,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/index.d.ts Text-1 "\n// Stub for lodash\nexport = _;\nexport as namespace _;\ndeclare var _: _.LoDashStatic;\ndeclare namespace _ {\n interface LoDashStatic {\n someProp: string;\n }\n class SomeClass {\n someMethod(): void;\n }\n}" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" - ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'app.ts' with packageId '@types/lodash/index.d.ts@4.14.74' Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.74' @@ -2201,7 +2203,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json: *new* {} @@ -2227,7 +2229,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index 9d99004937dff..7343ab3d57a6c 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -141,12 +141,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" - ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -231,6 +231,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/rootfolder/node_modules: *new* @@ -267,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: *new* {} @@ -284,7 +286,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json @@ -768,7 +770,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -812,7 +814,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/roo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1384,7 +1386,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -1430,7 +1432,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/roo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -2298,13 +2300,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/index.d.ts Text-1 "\n// Stub for lodash\nexport = _;\nexport as namespace _;\ndeclare var _: _.LoDashStatic;\ndeclare namespace _ {\n interface LoDashStatic {\n someProp: string;\n }\n class SomeClass {\n someMethod(): void;\n }\n}" /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" - ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'app.ts' with packageId '@types/lodash/index.d.ts@4.14.74' Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.74' @@ -2387,7 +2389,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json: *new* {} @@ -2413,7 +2415,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js index cc5757b224dec..18bbd99059099 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/folder1/module1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -94,13 +94,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/client/folder1/module1.ts Text-1 "export class Module1Class { }" /user/username/projects/myproject/client/linktofolder2/module2.ts SVC-1-0 "import * as M from \"folder1/module1\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' client/folder1/module1.ts Matched by include pattern 'client/**/*' in 'tsconfig.json' Imported via "folder1/module1" from file 'client/linktofolder2/module2.ts' @@ -206,6 +206,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -214,7 +216,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/client/folder1/module1.ts: *new* {} @@ -234,7 +236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -275,14 +277,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/client/folder1/module1.ts Text-1 "export class Module1Class { }" /user/username/projects/myproject/client/linktofolder2/module2.ts SVC-1-0 "import * as M from \"folder1/module1\";" /user/username/projects/myproject/client/linktofolder2/module3.ts Text-1 "import * as M from \"folder1/module1\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' client/folder1/module1.ts Matched by include pattern 'client/**/*' in 'tsconfig.json' Imported via "folder1/module1" from file 'client/linktofolder2/module2.ts' @@ -331,7 +333,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/client/folder1/module1.ts: {} @@ -354,7 +356,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index 199a3984c01d1..2ba23dd963350 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 1 undefined Config: /user/username/folder/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 1 undefined Config: /user/username/folder/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -73,12 +73,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/folder/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/folder/myproject/app.ts SVC-1-0 "import * as debug from \"debug\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/folder/myproject/node_modules: *new* @@ -175,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/folder: *new* {} @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/folder/myproject/tsconfig.json @@ -254,7 +256,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/folder: {} @@ -298,13 +300,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/folder/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/folder/myproject/node_modules/@types/debug/index.d.ts Text-1 "export {}" /user/username/folder/myproject/app.ts SVC-1-0 "import * as debug from \"debug\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/debug/index.d.ts Imported via "debug" from file 'app.ts' Entry point for implicit type library 'debug' @@ -333,7 +335,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/folder: {} @@ -363,7 +365,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/folder/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js index 7d2a7bc815be4..f3c97a269136e 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/app.ts SVC-1-0 "let x = 1" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } TestServerCancellationToken:: resetRequest:: 1 is as expected After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: FsWatches:: /home/src/projects/myproject/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -187,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js index df1ce8d7471d1..189ca5ccceefa 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/app.ts SVC-1-0 "{ let x = 1; } var foo = \"foo\"; var bar = \"bar\"; var fooBar = \"fooBar\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } TestServerCancellationToken:: resetRequest:: 1 is as expected After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: FsWatches:: /home/src/projects/myproject/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -187,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js b/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js index 235bf1cd186ca..d61318143f96c 100644 --- a/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js +++ b/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -44,12 +44,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/app.ts SVC-1-0 "let xyz = 1;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -74,6 +74,8 @@ Info seq [hh:mm:ss:mss] response: } TestServerCancellationToken:: resetRequest:: 1 is as expected After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/jsconfig.json: *new* @@ -86,7 +88,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -100,7 +102,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js index 924605a2abb95..f6de10e2e57d6 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -81,12 +81,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/file.ts SVC-1-0 "import * as os from \"os\";\nimport * as https from \"https\";\nimport * as vscode from \"vscode\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file.ts Matched by default include pattern '**/*' @@ -171,6 +171,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -187,7 +189,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -209,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/codeFix/install-package.js b/tests/baselines/reference/tsserver/codeFix/install-package.js index 0958720fb8733..5a86ad039ee92 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -81,12 +81,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/file.ts SVC-1-0 "import * as os from \"os\";\nimport * as https from \"https\";\nimport * as vscode from \"vscode\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file.ts Matched by default include pattern '**/*' @@ -171,6 +171,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -187,7 +189,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -209,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js index 17b0c9edbf954..10b8a0e398947 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/core.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots @@ -95,13 +95,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app1/app.ts SVC-1-0 "let x = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/app1/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app1/tsconfig.json: *new* {} @@ -266,7 +268,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app1/tsconfig.json @@ -323,13 +325,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app2/app.ts SVC-1-0 "let y = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -488,7 +490,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -508,7 +510,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/app1/tsconfig.json @@ -576,7 +578,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -588,7 +590,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -646,7 +648,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -704,7 +706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -738,7 +740,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app1/app.ts SVC-1-1 "let k = 1let x = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" @@ -747,7 +749,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app2/app.ts SVC-1-1 "let k = 1let y = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js index 78be97bc1e6f4..f350c06722eeb 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/core.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots @@ -95,13 +95,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app1/app.ts SVC-1-0 "let x = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/app1/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app1/tsconfig.json: *new* {} @@ -266,7 +268,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app1/tsconfig.json @@ -323,13 +325,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app2/app.ts SVC-1-0 "let y = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -488,7 +490,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -508,7 +510,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/app1/tsconfig.json @@ -576,7 +578,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -588,7 +590,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -646,7 +648,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -704,7 +706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -739,7 +741,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app1/app.ts SVC-1-1 "let k = 1let x = 10;" /user/username/projects/myproject/core/core.ts Text-1 "let z = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js index 75e3f03e1197d..667f8ae77cf47 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project 1 undefined Config: /home/src/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/node_modules/@types 1 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/node_modules/@types 1 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/project/a.ts SVC-1-0 "let x = 1" /home/src/workspace/projects/project/b.ts Text-1 "let y = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -198,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/project/b.ts: *new* {} @@ -216,7 +218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js index 8085c9b07b015..8b6095d860e5c 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project 1 undefined Config: /home/src/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/node_modules/@types 1 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project/node_modules/@types 1 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/project/tsconfig.json WatchType: Type roots @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/project/a.ts SVC-1-0 "let x = 1" /home/src/workspace/projects/project/b.ts Text-1 "let y = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -178,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/project/b.ts: *new* {} @@ -196,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js index 3030a979bc997..07e1beecba91e 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/file1.ts SVC-1-0 "export var t = 10;" /home/src/workspace/projects/b/file2.ts Text-1 "import {t} from \"./file1\"; var t2 = 11;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' Imported via "./file1" from file 'file2.ts' @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file2.ts: *new* {} @@ -200,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -254,7 +256,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -268,7 +270,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -326,13 +328,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/file1.ts SVC-1-0 "export var t = 10;" /home/src/workspace/projects/c/file2.ts SVC-1-0 "import {t} from \"../b/file1\"; var t3 = 11;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/file1.ts Imported via "../b/file1" from file 'file2.ts' file2.ts @@ -439,7 +441,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -463,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js index d6b136f22ecbe..c36c9586b38ba 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -84,15 +84,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" /home/src/workspace/projects/b/globalFile3.ts Text-1 "interface GlobalFoo { age: number }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -195,7 +197,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -217,7 +219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -279,7 +281,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/file1Consumer1Consumer1.ts: {} @@ -297,7 +299,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -382,7 +384,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -430,7 +432,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -467,7 +469,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts SVC-2-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;" /home/src/workspace/projects/b/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js index 1064976004bab..7232938cf2943 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/file2.ts Text-1 "\n /// \n export var t2 = 10;" /home/src/workspace/projects/b/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -173,6 +173,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -183,7 +185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file2.ts: *new* {} @@ -201,7 +203,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -255,7 +257,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -269,7 +271,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js index 066152198e998..90e575e91d661 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -77,14 +77,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -185,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -205,7 +207,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js index 63fe00773767d..d055b327276c0 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -183,6 +183,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -215,7 +217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -273,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/file1Consumer2.ts: {} @@ -291,7 +293,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js index b23e8a2838ce3..d1f3bbcfd9cb8 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -72,13 +72,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; let y = Foo();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -175,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -189,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -253,7 +255,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -329,7 +331,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -358,7 +360,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; let y = Foo();" @@ -423,7 +425,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -452,7 +454,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-2 "var T1: number;export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; let y = Foo();" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js index afde0db5a449e..5d80ad2509f88 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts Text-1 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -97,8 +97,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -286,7 +288,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -326,7 +328,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts Text-1 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -357,7 +359,7 @@ Info seq [hh:mm:ss:mss] response: "projectFileName": "/home/src/workspace/projects/b/tsconfig.json", "fileNames": [ "/home/src/workspace/projects/b/globalFile3.ts", - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/workspace/projects/b/moduleFile1.ts", "/home/src/workspace/projects/b/file1Consumer1.ts", "/home/src/workspace/projects/b/file1Consumer2.ts", diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js index 99bcc701e0472..922264e52352f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -174,6 +174,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -184,7 +186,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -202,7 +204,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -249,7 +251,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -278,7 +280,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export function Foo() { };Point," /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js index 7551eca893a40..2a3f2a5640d1f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -97,8 +97,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -293,7 +295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/file1Consumer2.ts: {} @@ -313,7 +315,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -402,7 +404,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -443,7 +445,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -512,7 +514,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -553,7 +555,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-2 "export var T: number;export function Foo() { console.log('hi');};" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js index 7e3bb2299ff86..66ef0e1ce33fb 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -83,14 +83,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -183,6 +183,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js index 3eb7f8da4fb8c..18a2d75fbccf1 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -72,12 +72,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -162,6 +162,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/tsconfig.json: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js index a54808e722601..2d19afe06497d 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -206,6 +206,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -216,7 +218,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -234,7 +236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -281,7 +283,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -310,7 +312,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export function Foo() { };Point," /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js index d663adb20ea2d..bec53211ccaea 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts Text-1 "export function Foo() { };" /home/src/workspace/projects/b/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Matched by default include pattern '**/*' Referenced via './moduleFile1.ts' from file 'referenceFile1.ts' @@ -170,6 +170,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/moduleFile1.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -234,7 +236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -263,12 +265,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js index c6a46dee2c628..9edc86d3361e9 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -97,8 +97,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -302,7 +304,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -353,7 +355,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -395,7 +397,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/file1Consumer1.ts Text-2 "let y = 10;" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -430,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js index 4ddfab6df657e..f2573a7e6d87d 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -97,8 +97,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -315,7 +317,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -356,7 +358,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -397,15 +399,15 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/globalFile3.ts Text-1 "interface GlobalFoo { age: number }" /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js index d6777f162b3c7..90bdd40e38e66 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -97,8 +97,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -309,7 +311,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -318,8 +320,8 @@ Info seq [hh:mm:ss:mss] Files (7) /home/src/workspace/projects/b/file1Consumer3.ts Text-1 "import {Foo} from \"./moduleFile1\"; let y = Foo();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/file1Consumer1.ts: {} @@ -404,7 +406,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -466,7 +468,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -511,7 +513,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js index 48f92ed1a7aa6..1ebd0f49f5f10 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-0 "export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts Text-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -97,8 +97,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/workspace/projects/b/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -203,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -293,7 +295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/file1Consumer2.ts: {} @@ -313,7 +315,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -402,7 +404,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -454,7 +456,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -495,7 +497,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/file1Consumer1.ts SVC-2-1 "File1\"; export var y = 10;" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-1 "export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -563,7 +565,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -615,7 +617,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -656,7 +658,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/moduleFile1.ts SVC-1-2 "export var T2: string;export var T: number;export function Foo() { };" /home/src/workspace/projects/b/file1Consumer1.ts SVC-2-2 "import {Foo} from \"./moduleFile1\";File1\"; export var y = 10;" /home/src/workspace/projects/b/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js index 059ec781596ca..47fe8140cfdee 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b.ts Text-1 "var y = 1;" /home/src/workspace/projects/runtime/a.d.ts SVC-1-0 "declare const x: string;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -251,7 +253,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -265,7 +267,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js index b61c03b67ccf4..a565548ad033e 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b.ts Text-1 "var y = 1;" /home/src/workspace/projects/runtime/a.d.ts SVC-1-0 "declare const x: string;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -174,6 +174,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -200,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -266,7 +268,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js index 7ba814948a909..dbb1236e576c3 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b.ts Text-1 "var y = 1;" /home/src/workspace/projects/runtime/a.d.ts SVC-1-0 "declare const x: string;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -171,6 +171,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -179,7 +181,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -197,7 +199,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -249,7 +251,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -263,7 +265,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js index dfb56d89dd67d..812eb3b8870a7 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects 1 undefined Config: /home/src/workspace/projects/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots @@ -73,13 +73,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b.ts Text-1 "var y = 1;" /home/src/workspace/projects/runtime/a.d.ts SVC-1-0 "declare const x: string;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -192,7 +194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -244,7 +246,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -258,7 +260,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js index a7893f752af48..efd0d7809a41f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/pr Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/runtime 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/runtime 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /home/src/workspace/projects/tsconfig.json WatchType: Type roots @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b.ts Text-1 "import { x } from './runtime/a;" /home/src/workspace/projects/runtime/a.d.ts SVC-1-0 "export const x: string;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -176,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -196,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -264,7 +266,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js index 0690451a25b92..779626b842183 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -89,14 +89,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;\nfunction foo() {\n return \"hello\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -203,6 +203,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -211,7 +213,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -231,7 +233,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -287,7 +289,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -303,7 +305,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -393,7 +395,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "hello"; } @@ -429,7 +431,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "world"; } @@ -465,7 +467,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file3.js] -var xy = 3; +const xy = 3; //// [/user/username/projects/myproject/file3.d.ts] @@ -516,7 +518,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -548,7 +550,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -597,7 +599,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "world"; } @@ -648,7 +650,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -680,7 +682,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts SVC-2-1 "const y = 2;\nfunction bar() {\n return \"hello\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -729,7 +731,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "hello"; } diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js index bd690e582747c..7af01908d8143 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -92,15 +92,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;\nfunction foo() {\n return \"hello\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" /user/username/projects/myproject/module.ts Text-1 "export const xyz = 4;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -201,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -223,7 +225,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -283,7 +285,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -301,7 +303,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -396,7 +398,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "hello"; } @@ -432,7 +434,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "world"; } @@ -468,7 +470,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file3.js] -var xy = 3; +const xy = 3; //// [/user/username/projects/myproject/file3.d.ts] @@ -500,10 +502,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/module.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = void 0; -exports.xyz = 4; +export const xyz = 4; //// [/user/username/projects/myproject/module.d.ts] @@ -554,7 +553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -590,7 +589,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -640,7 +639,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "world"; } @@ -691,7 +690,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -727,7 +726,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts SVC-2-1 "const y = 2;\nfunction bar() {\n return \"hello\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -777,7 +776,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "hello"; } diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js index 642f6516fcb67..6ccfd5c51aee3 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -92,15 +92,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;\nfunction foo() {\n return \"hello\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" /user/username/projects/myproject/module.ts Text-1 "export const xyz = 4;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -201,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -223,7 +225,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -283,7 +285,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -301,7 +303,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -393,7 +395,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "hello"; } @@ -421,7 +423,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "world"; } @@ -449,7 +451,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file3.js] -var xy = 3; +const xy = 3; @@ -474,10 +476,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/module.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.xyz = void 0; -exports.xyz = 4; +export const xyz = 4; @@ -524,7 +523,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -560,7 +559,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -610,7 +609,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "world"; } @@ -660,7 +659,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -696,7 +695,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts SVC-2-1 "const y = 2;\nfunction bar() {\n return \"hello\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -710,7 +709,7 @@ Info seq [hh:mm:ss:mss] response: "projectFileName": "/user/username/projects/myproject/tsconfig.json", "fileNames": [ "/user/username/projects/myproject/file2.ts", - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/file1.ts", "/user/username/projects/myproject/file3.ts", "/user/username/projects/myproject/module.ts" @@ -750,7 +749,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "hello"; } diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js index 349f99e764652..1093a12e77423 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -89,14 +89,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;\nfunction foo() {\n return \"hello\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -203,6 +203,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -211,7 +213,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -231,7 +233,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -287,7 +289,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -303,7 +305,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -390,7 +392,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "hello"; } @@ -418,7 +420,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "world"; } @@ -446,7 +448,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file3.js] -var xy = 3; +const xy = 3; @@ -493,7 +495,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -525,7 +527,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;\nfunction bar() {\n return \"world\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -574,7 +576,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file1.js] -var x = 1; +const x = 1; function foo() { return "world"; } @@ -624,7 +626,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -656,7 +658,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-1 "const x = 1;\nfunction foo() {\n return \"world\";\n}" /user/username/projects/myproject/file2.ts SVC-2-1 "const y = 2;\nfunction bar() {\n return \"hello\";\n}" /user/username/projects/myproject/file3.ts Text-1 "const xy = 3;" @@ -669,7 +671,7 @@ Info seq [hh:mm:ss:mss] response: "projectFileName": "/user/username/projects/myproject/tsconfig.json", "fileNames": [ "/user/username/projects/myproject/file2.ts", - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/file1.ts", "/user/username/projects/myproject/file3.ts" ], @@ -708,7 +710,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/file2.js] -var y = 2; +const y = 2; function bar() { return "hello"; } diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js index 69a4923710e16..18984f0486088 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b 1 undefined Config: /home/src/workspace/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/tsconfig.json WatchType: Type roots @@ -72,13 +72,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/f1.ts SVC-1-0 "export function Foo() { return 10; }" /home/src/workspace/projects/b/f2.ts Text-1 "import {Foo} from \"./f1\"; let y = Foo();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' Imported via "./f1" from file 'f2.ts' @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -176,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/f2.ts: *new* {} @@ -194,7 +196,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -262,7 +264,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -298,9 +300,6 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/home/src/workspace/projects/b/f1.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = Foo; -function Foo() { return 10; } +export function Foo() { return 10; } diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js index 8624cb58b8e7e..d56b6c432dd65 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -180,6 +180,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -206,7 +208,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -292,7 +294,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/test/file1.js] -var x = 1; +const x = 1; //// [/user/username/projects/myproject/test/file1.d.ts] @@ -328,14 +330,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;" /user/username/projects/myproject/test/file1.d.ts Text-1 "declare const x = 1;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -378,7 +380,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file2.ts: {} @@ -399,7 +401,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js index 90acc23865157..5ea00304730f8 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -180,6 +180,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -206,7 +208,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -295,7 +297,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/test/file1.js] -var x = 1; +const x = 1; //// [/user/username/projects/myproject/test/file1.d.ts] @@ -331,14 +333,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;" /user/username/projects/myproject/test/file1.d.ts Text-1 "declare const x = 1;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -390,7 +392,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file2.ts: {} @@ -411,7 +413,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js index 01a3923584263..2bc102051257f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -180,6 +180,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -206,7 +208,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -291,7 +293,7 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/test/file1.js] -var x = 1; +const x = 1; //// [/user/username/projects/myproject/test/file1.d.ts] @@ -326,14 +328,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "const x = 1;" /user/username/projects/myproject/file2.ts Text-1 "const y = 2;" /user/username/projects/myproject/test/file1.d.ts Text-1 "declare const x = 1;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -376,7 +378,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/file2.ts: {} @@ -397,7 +399,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/line-endings.js b/tests/baselines/reference/tsserver/compileOnSave/line-endings.js index c8c5e0db60c4a..f5b31e297dbb6 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/line-endings.js +++ b/tests/baselines/reference/tsserver/compileOnSave/line-endings.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -44,12 +44,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/app.ts SVC-1-0 "var x = 1;\nvar y = 2;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -73,6 +73,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -85,7 +87,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -95,7 +97,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -165,7 +167,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -173,12 +175,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/app.ts SVC-1-0 "var x = 1;\r\nvar y = 2;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -202,6 +204,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -214,7 +218,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -224,7 +228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js b/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js index a999135fe5caf..b2ecdbcce8a84 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js +++ b/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/workspace/projects/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/file2.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/b/externalproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/externalproject WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/b/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/externalproject WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@types 1 undefined Project: /home/src/workspace/projects/b/externalproject WatchType: Type roots @@ -63,13 +63,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/b/externalproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/b/externalproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspace/projects/b/file1.ts Text-1 "consonle.log('file1');" /home/src/workspace/projects/b/file2.js Text-1 "console.log'file2');" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation file2.js @@ -130,6 +130,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspace/node_modules/@types: *new* @@ -140,7 +142,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspace/projects/b/file1.ts: *new* {} @@ -153,7 +155,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/externalproject diff --git a/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js b/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js index d9ed8a0d13b3a..6aa976cc1d8b2 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js +++ b/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj, currentDirectory: /home/src/root/TypeScriptProject3/TypeScriptProject3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/root/TypeScriptProject3/TypeScriptProject3/Foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/root/TypeScriptProject3/TypeScriptProject3/node_modules/@types 1 undefined Project: /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/root/TypeScriptProject3/TypeScriptProject3/node_modules/@types 1 undefined Project: /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/root/TypeScriptProject3/node_modules/@types 1 undefined Project: /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj WatchType: Type roots @@ -53,12 +53,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/root/TypeScriptProject3/TypeScriptProject3/Foo.ts Text-1 "consonle.log('file1');" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Foo.ts Root file specified for compilation @@ -117,6 +117,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/root/TypeScriptProject3/TypeScriptProject3/node_modules/@types: *new* @@ -129,7 +131,7 @@ PolledWatches:: FsWatches:: /home/src/root/TypeScriptProject3/TypeScriptProject3/Foo.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -142,7 +144,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js index 368daa372ef6f..e213999d89fca 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js @@ -219,7 +219,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -227,13 +227,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/shared/src/index.ts Text-1 "export class MyClass { }" /user/username/projects/app/src/index.ts SVC-1-0 "\n\nimport { MyClass } from 'shared';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via 'shared' from file 'src/index.ts' src/index.ts @@ -325,6 +325,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -333,7 +335,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -361,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -867,7 +869,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/shared/src/index.ts Text-1 "export class MyClass { }" /user/username/projects/app/src/index.ts SVC-1-0 "\n\nimport { MyClass } from 'shared';" @@ -1363,7 +1365,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/shared/src/index.ts Text-1 "export class MyClass { }" /user/username/projects/app/src/index.ts SVC-1-0 "\n\nimport { MyClass } from 'shared';" @@ -2336,7 +2338,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/app/package.json: {} @@ -2371,7 +2373,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js index 623b2d68d776c..9d7a955a6a6d1 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js @@ -220,7 +220,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -228,13 +228,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/shared/src/index.ts Text-1 "export class MyClass { }" /user/username/projects/app/src/index.ts SVC-1-0 "\n\nimport { MyClass } from 'shared';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via 'shared' from file 'src/index.ts' src/index.ts @@ -345,6 +345,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -353,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -386,7 +388,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -921,7 +923,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/shared/src/index.ts Text-1 "export class MyClass { }" /user/username/projects/app/src/index.ts SVC-1-0 "\n\nimport { MyClass } from 'shared';" @@ -1444,7 +1446,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/app/package.json: {} @@ -1481,7 +1483,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -1542,7 +1544,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/shared/src/index.ts Text-1 "export class MyClass { }" /user/username/projects/app/src/index.ts SVC-1-0 "\n\nimport { MyClass } from 'shared';" @@ -2566,7 +2568,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js index e9ba1f365e689..03929473f1df6 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js @@ -218,7 +218,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/mylib/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/mylib/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -226,12 +226,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "\n\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern './src/**/*' in 'tsconfig.json' @@ -321,6 +321,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -329,7 +331,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -355,7 +357,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -851,7 +853,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "\n\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1340,7 +1342,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "\n\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -2372,7 +2374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/app/package.json: {} @@ -2407,7 +2409,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js index ff51a9e07fa20..01d430f5fa0af 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js @@ -219,7 +219,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/mylib/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/mylib/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -227,12 +227,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "\n\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern './src/**/*' in 'tsconfig.json' @@ -345,6 +345,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -353,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -386,7 +388,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -937,7 +939,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "\n\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1478,7 +1480,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/app/package.json: {} @@ -1515,7 +1517,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -1576,7 +1578,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "\n\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -2609,7 +2611,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js index 4ea0aaec18a06..e844fbe894338 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js +++ b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/shared/tsconfig.json : Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/tsconfig.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/shared/src 1 undefined Config: /user/username/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/shared/src 1 undefined Config: /user/username/projects/shared/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -159,12 +159,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/app/src/index.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern './src/**/*' in 'tsconfig.json' @@ -272,6 +272,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -280,7 +282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -307,7 +309,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -802,7 +804,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/app/package.json: {} diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index 16f0540db5140..817688a6a2777 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/mypro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules/@types/prop-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -173,7 +173,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" e:/solution/myproject/node_modules/@types/prop-types/index.d.ts Text-1 "export type ReactComponentLike =\n | string\n | ((props: any, context?: any) => any)\n | (new (props: any, context?: any) => any);\n\nexport const PropTypes = {};\n" e:/solution/myproject/node_modules/@types/react/index.d.ts Text-1 "import * as PropTypes from 'prop-types';\nexport class Component {}\n" c:/typescript/node_modules/@types/react/index.d.ts Text-1 "import * as PropTypes from 'prop-types';\nexport class Component {}\n" @@ -181,8 +181,8 @@ Info seq [hh:mm:ss:mss] Files (6) e:/solution/myproject/src/app.js SVC-1-0 "import React from 'react';\nimport {\n BrowserRouter as Router,\n} from \"react-router-dom\";\n" - c:/home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/@types/prop-types/index.d.ts Imported via 'prop-types' from file '../node_modules/@types/react/index.d.ts' with packageId '@types/prop-types/index.d.ts@15.7.3' Entry point for implicit type library 'prop-types' with packageId '@types/prop-types/index.d.ts@15.7.3' @@ -199,6 +199,8 @@ Info seq [hh:mm:ss:mss] Files (6) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: e:/solution/myproject/jsconfig.json: *new* @@ -219,7 +221,7 @@ e:/solution/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/typescript/node_modules/@types/react-router-dom/package.json: *new* {} @@ -250,7 +252,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -289,11 +291,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "c:/home/src/tslibs/TS/Lib/lib.d.ts", + "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "e:/solution/myproject/src/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -343,7 +345,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -367,7 +369,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -422,7 +424,7 @@ e:/solution/node_modules/@types: {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} c:/typescript/node_modules/@types/react-router-dom/package.json: {} diff --git a/tests/baselines/reference/tsserver/completions/works.js b/tests/baselines/reference/tsserver/completions/works.js index 6a5e005cc69b8..ddb81f91ec784 100644 --- a/tests/baselines/reference/tsserver/completions/works.js +++ b/tests/baselines/reference/tsserver/completions/works.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project 1 undefined Config: /home/src/project/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -94,13 +94,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/project/project/b.ts Text-1 "foo" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -187,6 +187,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -199,7 +201,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -221,7 +223,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -267,7 +269,7 @@ PolledWatches:: FsWatches:: /home/src/project/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -288,7 +290,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index bdb1aca2e2e38..d97a5738b9b7b 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -1486,7 +1486,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/ambient_98.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/ambient_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -1494,7 +1494,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (202) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-0 "" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;\nexport const aa_0__1 = 1;\nexport const aa_0__2 = 2;\nexport const aa_0__3 = 3;\nexport const aa_0__4 = 4;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;\nexport const aa_1__1 = 1;\nexport const aa_1__2 = 2;\nexport const aa_1__3 = 3;\nexport const aa_1__4 = 4;" @@ -1698,8 +1698,8 @@ Info seq [hh:mm:ss:mss] Files (202) /home/src/project/project/lib/ambient_99.ts Text-1 "declare module \"ambient_99\" { export const aa_99 = 99; }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -2202,6 +2202,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -2612,7 +2614,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -3430,7 +3432,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4282,7 +4284,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4304,7 +4306,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (202) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-1 "a" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;\nexport const aa_0__1 = 1;\nexport const aa_0__2 = 2;\nexport const aa_0__3 = 3;\nexport const aa_0__4 = 4;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;\nexport const aa_1__1 = 1;\nexport const aa_1__2 = 2;\nexport const aa_1__3 = 3;\nexport const aa_1__4 = 4;" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index 0ffa0892e3ae3..1889478e498df 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -2786,7 +2786,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_8.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_9.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -2794,7 +2794,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (52) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-0 "" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;\nexport const aa_0__1 = 1;\nexport const aa_0__2 = 2;\nexport const aa_0__3 = 3;\nexport const aa_0__4 = 4;\nexport const aa_0__5 = 5;\nexport const aa_0__6 = 6;\nexport const aa_0__7 = 7;\nexport const aa_0__8 = 8;\nexport const aa_0__9 = 9;\nexport const aa_0__10 = 10;\nexport const aa_0__11 = 11;\nexport const aa_0__12 = 12;\nexport const aa_0__13 = 13;\nexport const aa_0__14 = 14;\nexport const aa_0__15 = 15;\nexport const aa_0__16 = 16;\nexport const aa_0__17 = 17;\nexport const aa_0__18 = 18;\nexport const aa_0__19 = 19;\nexport const aa_0__20 = 20;\nexport const aa_0__21 = 21;\nexport const aa_0__22 = 22;\nexport const aa_0__23 = 23;\nexport const aa_0__24 = 24;\nexport const aa_0__25 = 25;\nexport const aa_0__26 = 26;\nexport const aa_0__27 = 27;\nexport const aa_0__28 = 28;\nexport const aa_0__29 = 29;\nexport const aa_0__30 = 30;\nexport const aa_0__31 = 31;\nexport const aa_0__32 = 32;\nexport const aa_0__33 = 33;\nexport const aa_0__34 = 34;\nexport const aa_0__35 = 35;\nexport const aa_0__36 = 36;\nexport const aa_0__37 = 37;\nexport const aa_0__38 = 38;\nexport const aa_0__39 = 39;\nexport const aa_0__40 = 40;\nexport const aa_0__41 = 41;\nexport const aa_0__42 = 42;\nexport const aa_0__43 = 43;\nexport const aa_0__44 = 44;\nexport const aa_0__45 = 45;\nexport const aa_0__46 = 46;\nexport const aa_0__47 = 47;\nexport const aa_0__48 = 48;\nexport const aa_0__49 = 49;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;\nexport const aa_1__1 = 1;\nexport const aa_1__2 = 2;\nexport const aa_1__3 = 3;\nexport const aa_1__4 = 4;\nexport const aa_1__5 = 5;\nexport const aa_1__6 = 6;\nexport const aa_1__7 = 7;\nexport const aa_1__8 = 8;\nexport const aa_1__9 = 9;\nexport const aa_1__10 = 10;\nexport const aa_1__11 = 11;\nexport const aa_1__12 = 12;\nexport const aa_1__13 = 13;\nexport const aa_1__14 = 14;\nexport const aa_1__15 = 15;\nexport const aa_1__16 = 16;\nexport const aa_1__17 = 17;\nexport const aa_1__18 = 18;\nexport const aa_1__19 = 19;\nexport const aa_1__20 = 20;\nexport const aa_1__21 = 21;\nexport const aa_1__22 = 22;\nexport const aa_1__23 = 23;\nexport const aa_1__24 = 24;\nexport const aa_1__25 = 25;\nexport const aa_1__26 = 26;\nexport const aa_1__27 = 27;\nexport const aa_1__28 = 28;\nexport const aa_1__29 = 29;\nexport const aa_1__30 = 30;\nexport const aa_1__31 = 31;\nexport const aa_1__32 = 32;\nexport const aa_1__33 = 33;\nexport const aa_1__34 = 34;\nexport const aa_1__35 = 35;\nexport const aa_1__36 = 36;\nexport const aa_1__37 = 37;\nexport const aa_1__38 = 38;\nexport const aa_1__39 = 39;\nexport const aa_1__40 = 40;\nexport const aa_1__41 = 41;\nexport const aa_1__42 = 42;\nexport const aa_1__43 = 43;\nexport const aa_1__44 = 44;\nexport const aa_1__45 = 45;\nexport const aa_1__46 = 46;\nexport const aa_1__47 = 47;\nexport const aa_1__48 = 48;\nexport const aa_1__49 = 49;" @@ -2848,8 +2848,8 @@ Info seq [hh:mm:ss:mss] Files (52) /home/src/project/project/lib/a_9.ts Text-1 "export const aa_9__0 = 0;\nexport const aa_9__1 = 1;\nexport const aa_9__2 = 2;\nexport const aa_9__3 = 3;\nexport const aa_9__4 = 4;\nexport const aa_9__5 = 5;\nexport const aa_9__6 = 6;\nexport const aa_9__7 = 7;\nexport const aa_9__8 = 8;\nexport const aa_9__9 = 9;\nexport const aa_9__10 = 10;\nexport const aa_9__11 = 11;\nexport const aa_9__12 = 12;\nexport const aa_9__13 = 13;\nexport const aa_9__14 = 14;\nexport const aa_9__15 = 15;\nexport const aa_9__16 = 16;\nexport const aa_9__17 = 17;\nexport const aa_9__18 = 18;\nexport const aa_9__19 = 19;\nexport const aa_9__20 = 20;\nexport const aa_9__21 = 21;\nexport const aa_9__22 = 22;\nexport const aa_9__23 = 23;\nexport const aa_9__24 = 24;\nexport const aa_9__25 = 25;\nexport const aa_9__26 = 26;\nexport const aa_9__27 = 27;\nexport const aa_9__28 = 28;\nexport const aa_9__29 = 29;\nexport const aa_9__30 = 30;\nexport const aa_9__31 = 31;\nexport const aa_9__32 = 32;\nexport const aa_9__33 = 33;\nexport const aa_9__34 = 34;\nexport const aa_9__35 = 35;\nexport const aa_9__36 = 36;\nexport const aa_9__37 = 37;\nexport const aa_9__38 = 38;\nexport const aa_9__39 = 39;\nexport const aa_9__40 = 40;\nexport const aa_9__41 = 41;\nexport const aa_9__42 = 42;\nexport const aa_9__43 = 43;\nexport const aa_9__44 = 44;\nexport const aa_9__45 = 45;\nexport const aa_9__46 = 46;\nexport const aa_9__47 = 47;\nexport const aa_9__48 = 48;\nexport const aa_9__49 = 49;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -3052,6 +3052,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -3162,7 +3164,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -3380,7 +3382,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -3632,7 +3634,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -3654,7 +3656,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (52) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-1 "a" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;\nexport const aa_0__1 = 1;\nexport const aa_0__2 = 2;\nexport const aa_0__3 = 3;\nexport const aa_0__4 = 4;\nexport const aa_0__5 = 5;\nexport const aa_0__6 = 6;\nexport const aa_0__7 = 7;\nexport const aa_0__8 = 8;\nexport const aa_0__9 = 9;\nexport const aa_0__10 = 10;\nexport const aa_0__11 = 11;\nexport const aa_0__12 = 12;\nexport const aa_0__13 = 13;\nexport const aa_0__14 = 14;\nexport const aa_0__15 = 15;\nexport const aa_0__16 = 16;\nexport const aa_0__17 = 17;\nexport const aa_0__18 = 18;\nexport const aa_0__19 = 19;\nexport const aa_0__20 = 20;\nexport const aa_0__21 = 21;\nexport const aa_0__22 = 22;\nexport const aa_0__23 = 23;\nexport const aa_0__24 = 24;\nexport const aa_0__25 = 25;\nexport const aa_0__26 = 26;\nexport const aa_0__27 = 27;\nexport const aa_0__28 = 28;\nexport const aa_0__29 = 29;\nexport const aa_0__30 = 30;\nexport const aa_0__31 = 31;\nexport const aa_0__32 = 32;\nexport const aa_0__33 = 33;\nexport const aa_0__34 = 34;\nexport const aa_0__35 = 35;\nexport const aa_0__36 = 36;\nexport const aa_0__37 = 37;\nexport const aa_0__38 = 38;\nexport const aa_0__39 = 39;\nexport const aa_0__40 = 40;\nexport const aa_0__41 = 41;\nexport const aa_0__42 = 42;\nexport const aa_0__43 = 43;\nexport const aa_0__44 = 44;\nexport const aa_0__45 = 45;\nexport const aa_0__46 = 46;\nexport const aa_0__47 = 47;\nexport const aa_0__48 = 48;\nexport const aa_0__49 = 49;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;\nexport const aa_1__1 = 1;\nexport const aa_1__2 = 2;\nexport const aa_1__3 = 3;\nexport const aa_1__4 = 4;\nexport const aa_1__5 = 5;\nexport const aa_1__6 = 6;\nexport const aa_1__7 = 7;\nexport const aa_1__8 = 8;\nexport const aa_1__9 = 9;\nexport const aa_1__10 = 10;\nexport const aa_1__11 = 11;\nexport const aa_1__12 = 12;\nexport const aa_1__13 = 13;\nexport const aa_1__14 = 14;\nexport const aa_1__15 = 15;\nexport const aa_1__16 = 16;\nexport const aa_1__17 = 17;\nexport const aa_1__18 = 18;\nexport const aa_1__19 = 19;\nexport const aa_1__20 = 20;\nexport const aa_1__21 = 21;\nexport const aa_1__22 = 22;\nexport const aa_1__23 = 23;\nexport const aa_1__24 = 24;\nexport const aa_1__25 = 25;\nexport const aa_1__26 = 26;\nexport const aa_1__27 = 27;\nexport const aa_1__28 = 28;\nexport const aa_1__29 = 29;\nexport const aa_1__30 = 30;\nexport const aa_1__31 = 31;\nexport const aa_1__32 = 32;\nexport const aa_1__33 = 33;\nexport const aa_1__34 = 34;\nexport const aa_1__35 = 35;\nexport const aa_1__36 = 36;\nexport const aa_1__37 = 37;\nexport const aa_1__38 = 38;\nexport const aa_1__39 = 39;\nexport const aa_1__40 = 40;\nexport const aa_1__41 = 41;\nexport const aa_1__42 = 42;\nexport const aa_1__43 = 43;\nexport const aa_1__44 = 44;\nexport const aa_1__45 = 45;\nexport const aa_1__46 = 46;\nexport const aa_1__47 = 47;\nexport const aa_1__48 = 48;\nexport const aa_1__49 = 49;" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index 4621e6f502d2c..1849655fa6701 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -836,7 +836,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_98.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -844,7 +844,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (152) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-0 "" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -998,8 +998,8 @@ Info seq [hh:mm:ss:mss] Files (152) /home/src/project/project/lib/a_99.ts Text-1 "export const aa_99__0 = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -1402,6 +1402,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -1712,7 +1714,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -2330,7 +2332,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2982,7 +2984,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -3004,7 +3006,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (152) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-1 "a" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -6913,7 +6915,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -6922,7 +6924,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (152) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-2 "" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -7730,7 +7732,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -7752,7 +7754,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (152) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-3 "a" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index aa3d6848d6c9c..d1cba0cf089f0 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -594,7 +594,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -602,7 +602,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (103) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-0 "" /home/src/project/project/lib/a_0.ts Text-1 "export const S0_0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const S1_0 = 0;" @@ -707,8 +707,8 @@ Info seq [hh:mm:ss:mss] Files (103) /home/src/project/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -1013,6 +1013,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -1225,7 +1227,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -1647,7 +1649,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2103,7 +2105,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2125,7 +2127,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (103) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-1 "s" /home/src/project/project/lib/a_0.ts Text-1 "export const S0_0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const S1_0 = 0;" @@ -5178,7 +5180,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -5201,7 +5203,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (103) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-2 "si" /home/src/project/project/lib/a_0.ts Text-1 "export const S0_0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const S1_0 = 0;" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index ae710cc8b2d8d..9081e468b4baa 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -795,7 +795,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_98.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -803,7 +803,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (102) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-0 "" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -907,8 +907,8 @@ Info seq [hh:mm:ss:mss] Files (102) /home/src/project/project/lib/a_99.ts Text-1 "export const aa_99__0 = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -1383,6 +1383,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -1597,7 +1599,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -2224,7 +2226,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2883,7 +2885,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2905,7 +2907,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (102) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-1 "a" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -6894,7 +6896,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -6917,7 +6919,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (102) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-2 "a_" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index bb483ebabc08e..f8f7376561a06 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -1336,7 +1336,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_98.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Project: /home/src/project/project/tsconfig.json WatchType: Type roots @@ -1344,7 +1344,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (252) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-0 "" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -1598,8 +1598,8 @@ Info seq [hh:mm:ss:mss] Files (252) /home/src/project/project/lib/a_99.ts Text-1 "export const aa_99__0 = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -2202,6 +2202,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -2712,7 +2714,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -3730,7 +3732,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4782,7 +4784,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4804,7 +4806,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (252) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-1 "a" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -10513,7 +10515,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -10536,7 +10538,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (252) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-2 "aa" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" @@ -16939,7 +16941,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -16962,7 +16964,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (252) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/index.ts SVC-1-3 "aa_" /home/src/project/project/lib/a_0.ts Text-1 "export const aa_0__0 = 0;" /home/src/project/project/lib/a_1.ts Text-1 "export const aa_1__0 = 0;" diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js index 3b426fcae7749..ed7b80354411d 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -49,12 +49,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/a/file1.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -78,6 +78,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -92,7 +94,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -106,7 +108,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -157,7 +159,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/project/project/a/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -174,7 +176,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -222,12 +224,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/a/file1.ts SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/file1.ts Matched by default include pattern '**/*' @@ -296,12 +298,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/project/project/a/file1.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -345,7 +347,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -375,7 +377,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 *changed* /home/src/project/project/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/project/project/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js index cd9e337c87593..a012d0fb47cab 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/a/b/projects/project/src/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src/node_modules/@types 1 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src/node_modules/@types 1 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/node_modules/@types 1 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Type roots @@ -73,12 +73,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/a/b/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/a/b/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/a/b/projects/project/src/file1.ts SVC-1-0 "" - ../../../../../src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/a/b/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -195,7 +197,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json @@ -244,12 +246,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/a/b/projects/project/src/file1.ts SVC-1-0 "" - ../../../../src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Root file specified for compilation @@ -299,7 +301,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -323,7 +325,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /home/a/b/projects/project/src/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/a/b/projects/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js index 7197b161ca1de..2037f2b08f688 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/a/b/projects/project/src/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src/node_modules/@types 1 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/src/node_modules/@types 1 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/a/b/projects/project/node_modules/@types 1 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Type roots @@ -73,12 +73,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/a/b/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/a/b/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/a/b/projects/project/src/file1.ts SVC-1-0 "" - ../../../../../src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/a/b/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -195,7 +197,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json @@ -246,12 +248,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/a/b/projects/project/src/file1.ts SVC-1-0 "" - ../../../../../src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -301,7 +303,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -325,7 +327,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /home/a/b/projects/project/src/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/a/b/projects/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js index 01b7acde6fd59..97900b35b53b0 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -48,12 +48,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/project/src/index.ts SVC-1-0 "let y = 10" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Root file specified for compilation @@ -77,6 +77,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/projects/node_modules/@types: *new* @@ -95,7 +97,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -109,7 +111,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -149,7 +151,7 @@ PolledWatches *deleted*:: FsWatches:: /a/b/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Timeout callback:: count: 1 @@ -197,12 +199,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/project/src/index.ts SVC-1-0 "let y = 10" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' @@ -321,7 +323,7 @@ PolledWatches *deleted*:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -345,7 +347,7 @@ ScriptInfos:: containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json *default* *new* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json *new* @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/project/src/index.ts SVC-1-0 "let y = 10" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Root file specified for compilation @@ -449,7 +451,7 @@ PolledWatches:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -473,7 +475,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /a/b/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /a/b/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js index c8c9b934bb77f..11a12e9c62617 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/project/src/index.ts SVC-1-0 "let y = 10" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: FsWatches:: /a/b/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -184,7 +186,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/b/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/b/projects/project/tsconfig.json @@ -233,12 +235,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/project/src/index.ts SVC-1-0 "let y = 10" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Root file specified for compilation @@ -286,7 +288,7 @@ PolledWatches:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -310,7 +312,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /a/b/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /a/b/projects/project/tsconfig.json @@ -457,7 +459,7 @@ PolledWatches *deleted*:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -481,7 +483,7 @@ ScriptInfos:: containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json *default* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js index d850729cd455a..c0461af556a56 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/S Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,17 +51,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js SVC-1-0 "const x = 10" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /root/teams/VSCode68/Shared Documents/General/jsconfig.json: *new* @@ -86,7 +88,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -95,7 +97,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -127,11 +129,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -181,7 +183,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -205,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -265,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js index 7dbada6342045..1059548832368 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/S Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -52,17 +52,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js SVC-1-0 "const x = 10" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /root/teams/VSCode68/Shared Documents/General/jsconfig.json: *new* @@ -87,7 +89,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -96,7 +98,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -128,11 +130,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -182,7 +184,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -206,7 +208,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -266,7 +268,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js index 37240c9546ef5..ea2a959d1735c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/src/file1.ts SVC-1-0 "let x = 1;" /user/username/projects/project/a/b/file3.ts Text-1 "let z = 1;" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Part of 'files' list in tsconfig.json file3.ts @@ -176,6 +176,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -202,7 +204,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -261,12 +263,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/src/file2.ts SVC-1-0 "let y = 1;" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Root file specified for compilation @@ -324,7 +326,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/file3.ts: {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -425,7 +427,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -435,7 +437,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -516,7 +518,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: *new* {} @@ -524,7 +526,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -603,7 +605,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -624,7 +626,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -692,12 +694,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/file4.ts SVC-1-0 "let z = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file4.ts Root file specified for compilation @@ -747,7 +749,7 @@ Projects:: dirty: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -804,14 +806,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/src/file1.ts SVC-1-0 "let x = 1;" /user/username/projects/project/a/b/file3.ts Text-1 "let z = 1;" /user/username/projects/project/a/b/src/file2.ts SVC-1-0 "let y = 1;" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' file3.ts @@ -929,7 +931,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/file3.ts: {} @@ -958,7 +960,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js index f6ab071eb668e..63c6401003069 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/src/file1.ts SVC-1-0 "let x = 1;" /user/username/projects/project/a/b/file3.ts Text-1 "let z = 1;" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Part of 'files' list in tsconfig.json file3.ts @@ -176,6 +176,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -202,7 +204,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -261,12 +263,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/src/file2.ts SVC-1-0 "let y = 1;" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Root file specified for compilation @@ -324,7 +326,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/file3.ts: {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -425,7 +427,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -435,7 +437,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -477,12 +479,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/file4.ts SVC-1-0 "let z = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file4.ts Root file specified for compilation @@ -536,7 +538,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -622,14 +624,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/src/file1.ts SVC-1-0 "let x = 1;" /user/username/projects/project/a/b/file3.ts Text-1 "let z = 1;" /user/username/projects/project/a/b/src/file2.ts SVC-1-0 "let y = 1;" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' file3.ts @@ -757,7 +759,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -782,7 +784,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -868,7 +870,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: *new* {} @@ -880,7 +882,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -963,7 +965,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: {} @@ -977,7 +979,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1064,7 +1066,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: {} @@ -1095,7 +1097,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1204,7 +1206,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: {} @@ -1238,7 +1240,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1313,7 +1315,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -1338,7 +1340,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1387,12 +1389,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file5.ts SVC-1-0 "let zz = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file5.ts Root file specified for compilation @@ -1400,14 +1402,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a/b/src/file1.ts /user/username/projects/project/a/b/file3.ts /user/username/projects/project/a/b/src/file2.ts - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' file3.ts @@ -1477,7 +1479,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1509,7 +1511,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index a3b837e0fa249..4f33f1c7c234e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -46,12 +46,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -75,6 +75,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -87,7 +89,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -97,7 +99,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -127,12 +129,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/commonFile2.ts SVC-1-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Root file specified for compilation @@ -174,7 +176,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -221,7 +223,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -272,12 +274,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -401,7 +403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -469,12 +471,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -528,7 +530,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject2* @@ -698,7 +700,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -806,7 +808,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -830,7 +832,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject2* @@ -903,7 +905,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/commonFile1.ts: *new* {} @@ -925,7 +927,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject2* @@ -1000,7 +1002,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -1026,7 +1028,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject2* @@ -1097,7 +1099,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -1125,7 +1127,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject2* @@ -1163,12 +1165,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1176,12 +1178,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/commonFile1.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1194,12 +1196,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Root file specified for compilation @@ -1245,7 +1247,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1277,7 +1279,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* @@ -1336,7 +1338,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1347,7 +1349,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject3* @@ -1397,12 +1399,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/commonFile1.ts SVC-2-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1430,12 +1432,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1475,7 +1477,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -1493,7 +1495,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig.json *new* @@ -1541,12 +1543,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Root file specified for compilation @@ -1586,7 +1588,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -1603,7 +1605,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -1772,12 +1774,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1829,7 +1831,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -1848,7 +1850,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -1921,7 +1923,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/commonFile1.ts: *new* {} @@ -1943,7 +1945,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -2018,7 +2020,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -2044,7 +2046,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -2115,7 +2117,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -2143,7 +2145,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -2181,12 +2183,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-4-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2194,12 +2196,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/commonFile1.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2212,12 +2214,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Root file specified for compilation @@ -2263,7 +2265,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -2295,7 +2297,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject5* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index fad4d10205d43..e2eae16709626 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -80,12 +80,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts Text-1 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -180,12 +180,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -274,6 +274,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: *new* @@ -284,7 +286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -303,7 +305,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -557,12 +559,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -612,7 +614,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -635,7 +637,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -706,7 +708,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -733,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -806,7 +808,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -835,7 +837,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -874,12 +876,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -887,12 +889,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -907,12 +909,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -961,7 +963,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -994,7 +996,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1054,7 +1056,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1065,7 +1067,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1118,12 +1120,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts Text-2 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1177,12 +1179,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1210,12 +1212,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1261,7 +1263,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1286,7 +1288,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1361,7 +1363,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -1386,7 +1388,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -1425,12 +1427,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1438,12 +1440,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1458,12 +1460,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1512,7 +1514,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1545,7 +1547,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* @@ -1646,7 +1648,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1658,7 +1660,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject2* @@ -1711,12 +1713,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts Text-3 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1770,12 +1772,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-3-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1803,12 +1805,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1854,7 +1856,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1880,7 +1882,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index 85d8861f6a9fd..97572a2719caf 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -79,12 +79,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -169,6 +169,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: *new* @@ -179,7 +181,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -191,7 +193,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json @@ -283,12 +285,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -389,7 +391,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -408,7 +410,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -577,12 +579,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -634,7 +636,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -655,7 +657,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -728,7 +730,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -738,7 +740,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -810,7 +812,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -837,7 +839,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -910,7 +912,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -939,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -978,12 +980,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -991,12 +993,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1011,12 +1013,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1065,7 +1067,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1098,7 +1100,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1158,7 +1160,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1169,7 +1171,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1221,12 +1223,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-2-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1254,12 +1256,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1301,7 +1303,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -1319,7 +1321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1370,12 +1372,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1435,7 +1437,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1453,7 +1455,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1522,12 +1524,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-2-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -1578,7 +1580,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1601,7 +1603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1774,7 +1776,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1797,7 +1799,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1837,12 +1839,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1907,7 +1909,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1933,7 +1935,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2006,7 +2008,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2016,7 +2018,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2088,7 +2090,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2115,7 +2117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2188,7 +2190,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2217,7 +2219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2256,12 +2258,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-4-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2269,12 +2271,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2289,12 +2291,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -2343,7 +2345,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -2376,7 +2378,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* @@ -2436,7 +2438,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -2447,7 +2449,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject3* @@ -2499,12 +2501,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-3-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2532,12 +2534,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2579,7 +2581,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -2597,7 +2599,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -2664,12 +2666,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-3-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -2729,7 +2731,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -2748,7 +2750,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2804,7 +2806,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2814,7 +2816,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2869,7 +2871,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2894,7 +2896,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2933,12 +2935,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-5-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2946,12 +2948,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2966,12 +2968,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3020,7 +3022,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -3053,7 +3055,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject4* *new* @@ -3120,7 +3122,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -3132,7 +3134,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject4* @@ -3184,12 +3186,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-4-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3217,12 +3219,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -3264,7 +3266,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -3283,7 +3285,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -3351,12 +3353,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-4-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3416,7 +3418,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -3435,7 +3437,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3491,7 +3493,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -3501,7 +3503,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -3540,12 +3542,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-6-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -3595,7 +3597,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3620,7 +3622,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3691,7 +3693,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3720,7 +3722,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3793,7 +3795,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3824,7 +3826,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3863,12 +3865,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-7-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -3876,12 +3878,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3896,12 +3898,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3950,7 +3952,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -3985,7 +3987,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject5* @@ -4052,7 +4054,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -4063,7 +4065,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject5* @@ -4115,12 +4117,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-5-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4148,12 +4150,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -4195,7 +4197,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -4213,7 +4215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -4281,12 +4283,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-5-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -4346,7 +4348,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4365,7 +4367,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4421,7 +4423,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -4443,7 +4445,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4482,12 +4484,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-8-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -4495,12 +4497,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -4552,7 +4554,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4581,7 +4583,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4648,7 +4650,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -4668,7 +4670,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4732,7 +4734,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -4754,7 +4756,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4788,12 +4790,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-9-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -4801,12 +4803,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4856,7 +4858,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -4881,7 +4883,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject6* @@ -4944,7 +4946,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -4955,7 +4957,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject6* @@ -5007,12 +5009,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -5040,12 +5042,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -5087,7 +5089,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -5105,7 +5107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -5156,12 +5158,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -5221,7 +5223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5239,7 +5241,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5295,7 +5297,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -5316,7 +5318,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5355,12 +5357,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-10-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -5368,12 +5370,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -5425,7 +5427,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5453,7 +5455,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5523,7 +5525,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5541,7 +5543,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5620,12 +5622,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-7-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -5653,12 +5655,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -5706,7 +5708,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5732,7 +5734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5774,12 +5776,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -5815,7 +5817,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5838,7 +5840,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6038,7 +6040,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -6061,7 +6063,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6132,12 +6134,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -6188,7 +6190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -6211,7 +6213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index 79069c462340e..fc44ba3d5e022 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -83,12 +83,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts Text-1 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -190,12 +190,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -290,6 +290,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: *new* @@ -300,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -319,7 +321,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -573,12 +575,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -628,7 +630,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -651,7 +653,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -722,7 +724,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -749,7 +751,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -822,7 +824,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -851,7 +853,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -890,12 +892,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -903,12 +905,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -923,12 +925,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -979,7 +981,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1012,7 +1014,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1072,7 +1074,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1083,7 +1085,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1136,12 +1138,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts Text-2 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1202,12 +1204,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -1235,12 +1237,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1286,7 +1288,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1311,7 +1313,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1386,7 +1388,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -1411,7 +1413,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -1450,12 +1452,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1463,12 +1465,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1483,12 +1485,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -1539,7 +1541,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1572,7 +1574,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* @@ -1673,7 +1675,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1685,7 +1687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject2* @@ -1738,12 +1740,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts Text-3 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1804,12 +1806,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-3-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -1837,12 +1839,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1888,7 +1890,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1914,7 +1916,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index cdb42b4bbab1e..3310856849282 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots @@ -82,12 +82,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: *new* @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -194,7 +196,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json @@ -293,12 +295,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -405,7 +407,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -424,7 +426,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -593,12 +595,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-1-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -650,7 +652,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -671,7 +673,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -744,7 +746,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -754,7 +756,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -826,7 +828,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -853,7 +855,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -926,7 +928,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -955,7 +957,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -994,12 +996,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-2-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1007,12 +1009,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1027,12 +1029,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -1083,7 +1085,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1116,7 +1118,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1176,7 +1178,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -1187,7 +1189,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1239,12 +1241,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-2-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1272,12 +1274,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1319,7 +1321,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -1337,7 +1339,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1395,12 +1397,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -1460,7 +1462,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -1478,7 +1480,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1547,12 +1549,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-2-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -1603,7 +1605,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -1626,7 +1628,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1799,7 +1801,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -1822,7 +1824,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1862,12 +1864,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-3-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -1932,7 +1934,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -1958,7 +1960,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2031,7 +2033,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2041,7 +2043,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2113,7 +2115,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2140,7 +2142,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2213,7 +2215,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2242,7 +2244,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2281,12 +2283,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-4-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2294,12 +2296,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2314,12 +2316,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -2370,7 +2372,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -2403,7 +2405,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* @@ -2463,7 +2465,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -2474,7 +2476,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject3* @@ -2526,12 +2528,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-3-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2559,12 +2561,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2606,7 +2608,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -2624,7 +2626,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -2698,12 +2700,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-3-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -2763,7 +2765,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -2782,7 +2784,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2838,7 +2840,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2848,7 +2850,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2903,7 +2905,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2928,7 +2930,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2967,12 +2969,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-5-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -2980,12 +2982,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3000,12 +3002,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -3056,7 +3058,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -3089,7 +3091,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject4* *new* @@ -3156,7 +3158,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -3168,7 +3170,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject4* @@ -3220,12 +3222,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-4-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3253,12 +3255,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -3300,7 +3302,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -3319,7 +3321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -3394,12 +3396,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-4-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -3459,7 +3461,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -3478,7 +3480,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3534,7 +3536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -3544,7 +3546,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -3583,12 +3585,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-6-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -3638,7 +3640,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3663,7 +3665,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3734,7 +3736,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3763,7 +3765,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3836,7 +3838,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3867,7 +3869,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3906,12 +3908,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-7-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -3919,12 +3921,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3939,12 +3941,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -3995,7 +3997,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -4030,7 +4032,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject5* @@ -4097,7 +4099,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -4108,7 +4110,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject5* @@ -4160,12 +4162,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-5-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4193,12 +4195,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -4240,7 +4242,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -4258,7 +4260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -4333,12 +4335,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-5-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -4398,7 +4400,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -4417,7 +4419,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4473,7 +4475,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -4495,7 +4497,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4534,12 +4536,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-8-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -4547,12 +4549,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -4606,7 +4608,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4635,7 +4637,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4702,7 +4704,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -4722,7 +4724,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4786,7 +4788,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -4808,7 +4810,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4842,12 +4844,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-9-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -4855,12 +4857,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4910,7 +4912,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -4935,7 +4937,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject6* @@ -4998,7 +5000,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -5009,7 +5011,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject6* @@ -5061,12 +5063,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -5094,12 +5096,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -5141,7 +5143,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -5159,7 +5161,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -5217,12 +5219,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -5282,7 +5284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -5300,7 +5302,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5356,7 +5358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -5377,7 +5379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5416,12 +5418,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/random/random.ts SVC-10-0 "export const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -5429,12 +5431,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -5488,7 +5490,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5516,7 +5518,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5586,7 +5588,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5604,7 +5606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5690,12 +5692,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile2.ts SVC-7-0 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Part of 'files' list in tsconfig.json @@ -5723,12 +5725,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -5776,7 +5778,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -5802,7 +5804,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5844,12 +5846,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -5885,7 +5887,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -5908,7 +5910,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6108,7 +6110,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -6131,7 +6133,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6202,12 +6204,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/folder/commonFile1.ts SVC-6-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -6258,7 +6260,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -6281,7 +6283,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js index e848df319aea3..94bd7e903d180 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -179,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -216,13 +218,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -267,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -286,7 +288,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index 64466995d6287..769c5b1bb6070 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Part of 'files' list in tsconfig.json @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -244,13 +246,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1" /user/username/projects/project/f2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Part of 'files' list in tsconfig.json f2.ts @@ -315,7 +317,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/f2.ts: *new* {} @@ -329,7 +331,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index b72ed8253c268..33e96ad406393 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -157,6 +157,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -218,13 +220,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1" /user/username/projects/project/f2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' f2.ts @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/f2.ts: *new* {} @@ -288,7 +290,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js index 54ce31ae73413..cd2cd46c81ca2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1" /user/username/projects/project/f2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Part of 'files' list in tsconfig.json f2.ts @@ -167,6 +167,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/f2.ts: *new* {} @@ -189,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -258,7 +260,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1" /user/username/projects/project/f2.ts Text-1 "let y = 1" diff --git a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js index 2a7d4686ed7d6..13900ed09dea3 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/solution/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/solution/projects/file2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/solution/projects/project 0 undefined Project: /users/username/solution/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/solution/projects/project 0 undefined Project: /users/username/solution/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/solution/projects/project/node_modules/@types 1 undefined Project: /users/username/solution/projects/project/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/solution/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/solution/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/solution/projects/file2.ts Text-1 "export classc { method2a() { return 10; } }" /users/username/solution/projects/project/file1.ts SVC-1-0 "import classc from \"file2\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../file2.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -189,6 +189,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/solution/node_modules/@types: *new* @@ -199,7 +201,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/solution/projects/file2.ts: *new* {} @@ -215,7 +217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/solution/projects/project/tsconfig.json @@ -268,13 +270,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/solution/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/solution/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/solution/projects/project/file2.ts Text-1 "export classc { method2() { return 10; } }" /users/username/solution/projects/project/file1.ts SVC-1-0 "import classc from \"file2\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -321,7 +323,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/solution/projects/file2.ts: {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/solution/projects/project/tsconfig.json @@ -401,7 +403,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/solution/projects/project/tsconfig.json: {} @@ -413,7 +415,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/solution/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js index d484a44797cb4..32d84cbd2218f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b 0 undefined Config: /home/src/project/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/node_modules/@types 1 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/node_modules/@types 1 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/node_modules/@types 1 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Type roots @@ -82,13 +82,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/a/b/f1.ts SVC-1-0 "let x = 1" /home/src/project/project/a/b/f2.ts Text-1 "let y = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by include pattern '*.ts' in 'tsconfig.json' f2.ts @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -193,7 +195,7 @@ FsWatches:: {} /home/src/project/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -211,7 +213,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js index a90c808f07e47..675e9830d7d46 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b 1 undefined Config: /home/src/project/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/d/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/project/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/node_modules/@types 1 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/b/node_modules/@types 1 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project/project/a/node_modules/@types 1 undefined Project: /home/src/project/project/a/b/tsconfig.json WatchType: Type roots @@ -82,13 +82,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/project/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/project/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/project/project/a/b/c/f1.ts SVC-1-0 "let x = 1" /home/src/project/project/a/b/d/f2.ts Text-1 "let y = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' c/f1.ts Matched by default include pattern '**/*' d/f2.ts @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/project/node_modules/@types: *new* @@ -191,7 +193,7 @@ FsWatches:: {} /home/src/project/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -213,7 +215,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 921b97954023c..625b3d654ca35 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -263,12 +265,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fooBar.ts Root file specified for compilation @@ -320,7 +322,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 2e4281790cef1..4deb7e396d2f9 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,6 +169,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -247,14 +249,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -299,7 +301,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index d93aab189dcf3..c10832c11fc8a 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -263,12 +265,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fooBar.ts Root file specified for compilation @@ -320,7 +322,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index 5020c659a7dc4..91efa73f1bd80 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,6 +169,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -247,14 +249,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -299,7 +301,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 92ffaa4cb0404..b95583197ec52 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -257,12 +259,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fooBar.ts Root file specified for compilation @@ -314,7 +316,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -336,7 +338,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index be74294a3098f..547d88068e3cb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,6 +169,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -258,12 +260,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fooBar.ts Root file specified for compilation @@ -315,7 +317,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -341,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -420,14 +422,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -471,7 +473,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -499,7 +501,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 0cfea09765abf..6cbd8aa8bdf29 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -257,12 +259,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fooBar.ts Root file specified for compilation @@ -314,7 +316,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -336,7 +338,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index c1abc7ed4fbc0..9d9708f812f50 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,6 +169,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -258,12 +260,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fooBar.ts Root file specified for compilation @@ -315,7 +317,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -341,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -479,14 +481,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/src/foo.ts SVC-1-0 "export function foo() { }" /user/username/projects/myproject/src/sub/fooBar.ts SVC-1-0 "export function fooBar() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -530,7 +532,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -558,7 +560,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index 83a31a1535ce5..223d4bde5d716 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/a/b/src/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations @@ -101,14 +101,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/a/b/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/a/b/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/a/b/node_modules/module2/index.d.ts Text-1 "export class2 { method2() { return 10; } }" /user/username/rootfolder/a/b/node_modules/module1/index.d.ts Text-1 "import { class2 } from \"module2\";\n export classc { method2a(): class2; }" /user/username/rootfolder/a/b/src/file1.ts SVC-1-0 "import { classc } from \"module1\"" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/module2/index.d.ts Imported via "module2" from file '../node_modules/module1/index.d.ts' ../node_modules/module1/index.d.ts @@ -197,6 +197,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/rootfolder/a/b/node_modules/@types: *new* @@ -223,7 +225,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -247,7 +249,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/a/b/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js index 48fcbd661cd45..91395724a944e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js @@ -81,16 +81,16 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/lib.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/app.js SVC-1-0 "var x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -195,9 +195,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/largefile.js: *new* {} @@ -212,7 +214,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -257,7 +259,7 @@ Info seq [hh:mm:ss:mss] response: After request FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/app.js: *new* {} @@ -276,7 +278,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -320,12 +322,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/aa.js SVC-1-0 "var x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' aa.js Root file specified for compilation @@ -343,7 +345,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/app.js: {} @@ -365,7 +367,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/tsconfig.json @@ -410,11 +412,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/aa.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -464,7 +466,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -488,7 +490,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -504,12 +506,12 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a/app.js - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -553,7 +555,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -579,7 +581,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js index 3b4e003848234..7448f9babfdd2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Config: /user/username/projects/project/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /user/username/projects/project/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /user/username/projects/project/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/b/tsconfig.json WatchType: Type roots @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/b/commonFile2.ts Text-1 "let y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -173,6 +173,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -183,7 +185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/b/commonFile2.ts: *new* {} @@ -201,7 +203,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/b/tsconfig.json @@ -241,12 +243,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/excluedFile1.ts SVC-1-0 "let t = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' excluedFile1.ts Root file specified for compilation @@ -296,7 +298,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/commonFile2.ts: {} @@ -318,7 +320,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js index 7d03b0b549fb3..da4da488d8a54 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -171,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -189,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -247,12 +249,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' @@ -319,7 +321,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -338,13 +340,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -389,7 +391,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js index 8755540b2bf64..6e4333a90ed91 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -57,12 +57,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/b/f1.ts SVC-1-0 "export let x = 5" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Root file specified for compilation @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/b/jsconfig.json: *new* @@ -110,7 +112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -120,7 +122,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -156,12 +158,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/c/f3.ts SVC-1-0 "export let y = 1" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -235,7 +237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -300,7 +302,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/c/tsconfig.json: *new* {} @@ -358,14 +360,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/b/f1.ts SVC-1-0 "export let x = 5" /user/username/projects/myproject/a/c/f2.ts Text-1 "import {x} from \"../b/f1\"" /user/username/projects/myproject/a/c/f3.ts SVC-1-0 "export let y = 1" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/f1.ts Imported via "../b/f1" from file 'f2.ts' f2.ts @@ -519,7 +521,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/c/f2.ts: *new* {} @@ -543,7 +545,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/a/c/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js index 9de469db9a0f8..de4b3355e54ea 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -159,7 +159,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types/typings/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -175,14 +175,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/app.ts SVC-1-0 "let x = 1" /user/username/projects/project/a/node_modules/@types/typings/lib.d.ts Text-1 "export const x: number" /user/username/projects/project/a/node_modules/@types/typings/index.d.ts Text-1 "export * from \"./lib\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation node_modules/@types/typings/lib.d.ts @@ -214,6 +214,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js index 78f2ce7f6b809..c5219faf88142 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file1.ts SVC-1-0 "let t = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -185,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js index 0861117957657..c50ba62ede2b4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -162,12 +162,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/file1.ts SVC-1-0 "let t = 10;" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -195,6 +195,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -223,7 +225,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/b/tsconfig.json: *new* {} @@ -239,7 +241,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js index 67292664ce44a..f149b7b3e5d15 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile3.ts 500 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -198,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -277,12 +279,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile2.ts SVC-1-0 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Root file specified for compilation @@ -324,7 +326,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -340,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js index c2b3e5fd12c18..c7e2390858721 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js @@ -271,18 +271,23 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Li Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/tslibs/TS/Lib/lib.d.ts SVC-1-0 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../tslibs/TS/Lib/lib.d.ts Root file specified for compilation - Default library for target 'es5' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/tslibs/TS/Lib/jsconfig.json: *new* @@ -299,6 +304,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {} /home/src/tslibs/TS/Lib/lib.es6.d.ts: {} /user/username/projects/project/main.ts: @@ -321,6 +328,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.es6.d.ts version: Text-1 containingProjects: 1 @@ -353,10 +364,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/tslibs/TS/Lib/lib.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -401,7 +413,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -424,7 +436,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -457,7 +469,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/project/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es6.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -492,6 +504,10 @@ PolledWatches *deleted*:: /user/username/projects/project/node_modules/@types: {"pollingInterval":500} +FsWatches:: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {} + FsWatches *deleted*:: /home/src/tslibs/TS/Lib/lib.es6.d.ts: {} @@ -517,6 +533,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.es6.d.ts *deleted* version: Text-1 containingProjects: 0 *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index 458476870bc5a..0d363a94242df 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/node_modules/package.json 2000 undefined Project: /user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution @@ -93,13 +93,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/node_modules/module1.ts Text-1 "export interface T {}" /user/username/projects/project/a/b/file1.ts SVC-1-0 "import { T } from \"module1\";" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -203,6 +203,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -225,7 +227,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/b/tsconfig.json: *new* {} @@ -241,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -288,7 +290,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -329,12 +331,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/module1.ts SVC-1-0 "export interface T {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module1.ts Root file specified for compilation @@ -396,7 +398,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -416,7 +418,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -501,13 +503,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/module1.ts SVC-1-0 "export interface T {}" /user/username/projects/project/a/b/file1.ts SVC-1-0 "import { T } from \"module1\";" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../module1.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -588,12 +590,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/node_modules/module1.ts Text-1 "export interface T {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module1.ts Root file specified for compilation @@ -693,7 +695,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b: *new* {} @@ -719,7 +721,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -760,12 +762,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/file1.ts SVC-1-0 "export interface T {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -839,7 +841,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/b: {} @@ -859,7 +861,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js index f74758739e904..171f540bff87e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -96,12 +96,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -196,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -262,12 +264,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Part of 'files' list in tsconfig.json @@ -370,7 +372,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -392,7 +394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -450,12 +452,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dummy/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dummy/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dummy/dummy.ts SVC-1-0 "let dummy = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Matched by default include pattern '**/*' @@ -566,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -598,7 +600,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -669,7 +671,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -704,7 +706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/a/tsconfig.json @@ -774,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -812,7 +814,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/a/tsconfig.json @@ -848,12 +850,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/b/b.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Part of 'files' list in tsconfig.json @@ -905,7 +907,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -946,7 +948,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -1010,7 +1012,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/a.ts: *new* {} @@ -1037,7 +1039,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/a/tsconfig.json @@ -1094,7 +1096,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/a.ts: {} @@ -1124,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/a/tsconfig.json @@ -1155,12 +1157,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/a/a.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -1204,7 +1206,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dummy/tsconfig.json: {} @@ -1237,7 +1239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/dummy/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js index cef2efa094aac..de5ee8baef985 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -163,12 +163,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/server/index.ts SVC-1-0 "let x = 1" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Root file specified for compilation @@ -196,6 +196,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -220,7 +222,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/server/tsconfig.json: *new* {} @@ -236,7 +238,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js index b8d3e0b1e0c7d..9dfb912378f0e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -90,12 +90,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -180,6 +180,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -190,7 +192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -204,7 +206,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -256,12 +258,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Part of 'files' list in tsconfig.json @@ -364,7 +366,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -386,7 +388,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -458,7 +460,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -506,7 +508,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -637,7 +639,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -768,7 +770,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -847,7 +849,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -924,7 +926,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -971,7 +973,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js index 63a893b74bfac..6fba44f9c3d77 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js @@ -76,16 +76,16 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/app.js SVC-1-0 "let x = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -188,9 +188,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/jsconfig.json: *new* {} @@ -203,7 +205,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/jsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js index b5e9071171ecc..d3f1f5c2122c8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js @@ -45,11 +45,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/foo/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/foo/lib/index.d.ts] @@ -105,7 +104,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots @@ -115,13 +114,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/foo/lib/index.d.ts Text-1 "export declare function foo(): void;\n" /user/username/projects/myproject/bar/index.ts SVC-1-0 "import {foo} from \"../foo/lib\";\nfoo();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../foo/lib/index.d.ts Imported via "../foo/lib" from file 'index.ts' index.ts @@ -218,7 +217,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/bar/tsconfig.json: *new* {} @@ -238,7 +237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/bar/tsconfig.json @@ -297,13 +296,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foobar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/foobar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/foo/lib/index.d.ts Text-1 "export declare function foo(): void;\n" /user/username/projects/myproject/foobar/index.ts SVC-1-0 "import {foo} from \"../foo/lib\";\nfoo();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../foo/lib/index.d.ts Imported via "../foo/lib" from file 'index.ts' index.ts @@ -633,7 +632,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/bar/tsconfig.json: {} @@ -661,7 +660,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/bar/tsconfig.json @@ -724,12 +723,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/foo/index.ts SVC-1-0 "export function foo() {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by include pattern 'index.ts' in 'tsconfig.json' @@ -843,7 +842,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/bar/tsconfig.json: {} @@ -877,7 +876,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/bar/tsconfig.json @@ -959,7 +958,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/bar/tsconfig.json: {} @@ -981,7 +980,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/bar/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js b/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js index 2ff6842acda26..0b5b74ab1e846 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/^app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/^app.ts Text-1 "const y = 10;" /user/username/projects/myproject/file.ts SVC-1-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^app.ts Matched by default include pattern '**/*' file.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -171,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/^app.ts: *new* {} @@ -189,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js index ac9cb3a7635f6..ba2ff5ad64f7a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/bin/b.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/user/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -104,14 +104,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -139,6 +139,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -161,7 +163,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -189,7 +191,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -270,7 +272,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -306,7 +308,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -392,7 +394,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -440,7 +442,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -510,7 +512,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -558,7 +560,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -590,12 +592,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -603,14 +605,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -676,7 +678,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -748,7 +750,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index 3aa57715eb111..ee3514e74f641 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -903,12 +905,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-2-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -985,7 +987,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1021,7 +1023,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1119,7 +1121,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1169,7 +1171,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1246,7 +1248,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1295,7 +1297,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1328,12 +1330,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1341,14 +1343,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1424,7 +1426,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1490,7 +1492,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js index f4f49034c2583..8f214ec2ccb84 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -940,7 +942,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -976,7 +978,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1042,7 +1044,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1079,7 +1081,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1111,12 +1113,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1124,14 +1126,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1195,7 +1197,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1251,7 +1253,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index ee707f91a0ef7..3f650d2e1dcdf 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -908,12 +910,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1019,7 +1021,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1066,7 +1068,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1143,7 +1145,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1192,7 +1194,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1225,12 +1227,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1238,12 +1240,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1260,14 +1262,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1334,7 +1336,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1407,7 +1409,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js index d6230e2825d9b..2505466be8bd6 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -104,12 +104,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "function f() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -213,6 +213,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -225,7 +227,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -243,7 +245,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -304,7 +306,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -324,7 +326,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -379,13 +381,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "function f() {}" /home/src/projects/project/b/b.ts SVC-1-0 "f();" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Source from referenced project '../a/tsconfig.json' included because '--module' is specified as 'none' b.ts @@ -509,7 +511,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -539,7 +541,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index 469a44e1f168e..4f286d7f9726e 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -908,12 +910,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1053,7 +1055,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1100,7 +1102,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1177,7 +1179,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1226,7 +1228,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1259,12 +1261,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1272,12 +1274,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1294,14 +1296,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1368,7 +1370,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1441,7 +1443,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js index e99ba70bc6ac5..d8c8439a9ae18 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -151,12 +151,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -247,6 +247,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -259,7 +261,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -277,7 +279,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -338,7 +340,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -358,7 +360,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -411,12 +413,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -491,12 +493,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -546,7 +548,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -584,7 +586,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -646,7 +648,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -666,7 +668,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -698,7 +700,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -773,13 +775,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/user/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/a\";\nimport * as b from \"../b/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Imported via "../a/a" from file 'user.ts' user.ts @@ -891,7 +893,7 @@ FsWatches:: {} /home/src/projects/project/user/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -932,7 +934,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/b/tsconfig.json @@ -1042,7 +1044,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1076,7 +1078,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/b/tsconfig.json @@ -1116,12 +1118,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1196,7 +1198,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1239,7 +1241,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/b/tsconfig.json @@ -1304,7 +1306,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1344,7 +1346,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/b/tsconfig.json @@ -1378,12 +1380,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1391,12 +1393,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -1410,13 +1412,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Imported via "../a/a" from file 'user.ts' user.ts @@ -1440,12 +1442,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1506,7 +1508,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1568,7 +1570,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/project/user/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js index 11dbcf7cbfac6..9884b9b2f847a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -934,7 +936,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -975,7 +977,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1043,7 +1045,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1085,7 +1087,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1117,12 +1119,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1130,14 +1132,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1202,7 +1204,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1265,7 +1267,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js index 059ec28745814..96262ced49c8d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -97,12 +97,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/src/a.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by default include pattern '**/*' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -205,7 +207,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -223,7 +225,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -280,12 +282,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/src/b.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/b.ts Matched by include pattern './src' in 'tsconfig.json' @@ -396,7 +398,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -424,7 +426,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json @@ -454,13 +456,13 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false /home/src/projects/project/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false ScriptInfos:: @@ -472,7 +474,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 2 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js index 8061dda810d6e..2746a7cf228dc 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -921,7 +923,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -935,7 +937,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 3 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* /home/src/projects/project/a/bin/a.d.ts: DocumentPositionMapper1 *new* /home/src/projects/project/b/bin/b.d.ts: DocumentPositionMapper2 *new* autoImportProviderHost: false @@ -970,7 +972,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -1042,7 +1044,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1090,7 +1092,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -1123,12 +1125,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1136,14 +1138,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1209,7 +1211,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1240,7 +1242,7 @@ Projects:: isClosed: true *changed* isOrphan: true documentPositionMappers: 0 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *deleted* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *deleted* /home/src/projects/project/a/bin/a.d.ts: DocumentPositionMapper1 *deleted* /home/src/projects/project/b/bin/b.d.ts: DocumentPositionMapper2 *deleted* autoImportProviderHost: undefined *changed* @@ -1282,7 +1284,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false containingProjects: 1 *changed* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js index 09e6b182fdc42..0d06f550862c7 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -919,7 +921,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -955,7 +957,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1021,7 +1023,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1058,7 +1060,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1090,12 +1092,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1103,14 +1105,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1174,7 +1176,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1230,7 +1232,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js index 7ab6e590c60f2..6ec005d11cfc0 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -922,7 +924,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -963,7 +965,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1031,7 +1033,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1073,7 +1075,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1105,12 +1107,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1118,14 +1120,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1190,7 +1192,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1253,7 +1255,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js index a73aeda06e986..8b9229ec2958d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -922,7 +924,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -963,7 +965,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1031,7 +1033,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1073,7 +1075,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1105,12 +1107,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1118,14 +1120,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1190,7 +1192,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1253,7 +1255,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js index ea8f383d41b00..db8313f162f61 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -922,7 +924,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -963,7 +965,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1031,7 +1033,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1073,7 +1075,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1105,12 +1107,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1118,14 +1120,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1190,7 +1192,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1253,7 +1255,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js index 651e66ed90041..94b6a8d81eaba 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -937,7 +939,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -985,7 +987,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1056,7 +1058,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1104,7 +1106,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1136,12 +1138,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1149,14 +1151,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1222,7 +1224,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1294,7 +1296,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js index 9e2db3636ab0b..fb2c70e08987a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -151,12 +151,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -247,6 +247,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -259,7 +261,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -277,7 +279,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -338,7 +340,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -358,7 +360,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -411,12 +413,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -491,12 +493,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -546,7 +548,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -584,7 +586,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -646,7 +648,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -666,7 +668,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -741,14 +743,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/user/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/a\";\nimport * as b from \"../b/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Imported via "../a/a" from file 'user.ts' ../b/b.ts @@ -863,7 +865,7 @@ FsWatches:: {} /home/src/projects/project/user/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -899,7 +901,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js index 2c5c2d0ac9b3c..df2a8bf18bf95 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -151,12 +151,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -247,6 +247,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -259,7 +261,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -277,7 +279,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -338,7 +340,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -358,7 +360,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -411,12 +413,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -491,12 +493,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -546,7 +548,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -584,7 +586,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -646,7 +648,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -666,7 +668,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -741,14 +743,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/user/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/a\";\nimport * as b from \"../b/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Imported via "../a/a" from file 'user.ts' ../b/b.ts @@ -863,7 +865,7 @@ FsWatches:: {} /home/src/projects/project/user/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -899,7 +901,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index 9d4a9b3b71a7c..0054856d0c2b5 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -903,12 +905,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-2-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -985,7 +987,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1021,7 +1023,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1133,7 +1135,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1183,7 +1185,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1260,7 +1262,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1309,7 +1311,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1342,12 +1344,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1355,14 +1357,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1438,7 +1440,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1504,7 +1506,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js index 36d44ef8dd086..489caaabdc5e9 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -957,7 +959,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -993,7 +995,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1059,7 +1061,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1096,7 +1098,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1128,12 +1130,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1141,14 +1143,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1212,7 +1214,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1268,7 +1270,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index dbe33971fda76..22265cad0c44d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -907,12 +909,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1034,7 +1036,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1081,7 +1083,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1158,7 +1160,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1207,7 +1209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1240,12 +1242,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1253,12 +1255,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1275,14 +1277,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1349,7 +1351,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1422,7 +1424,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index 692c82a2a0340..5599f5309a4cb 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -136,12 +136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -232,6 +232,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -323,7 +325,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -396,12 +398,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/b.ts SVC-1-0 "export function fnB() {}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -476,12 +478,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -531,7 +533,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -569,7 +571,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -631,7 +633,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -651,7 +653,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -683,7 +685,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -719,14 +721,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" /home/src/projects/project/b/bin/b.d.ts Text-1 "export declare function fnB(): void;\n//# sourceMappingURL=b.d.ts.map" /home/src/projects/project/user/user.ts SVC-1-0 "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -738,12 +740,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -803,7 +805,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -849,7 +851,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -907,12 +909,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -995,7 +997,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1042,7 +1044,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1119,7 +1121,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1168,7 +1170,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1201,12 +1203,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1214,12 +1216,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -1236,14 +1238,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/bin/a.d.ts /home/src/projects/project/b/bin/b.d.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1310,7 +1312,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1383,7 +1385,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js index 0bf385b3b33ae..c660bb9204df0 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -73,13 +73,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module1.d.ts Text-1 "export const a: number;" /user/username/projects/myproject/index.ts SVC-1-0 "import {a} from \"./module1\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -207,7 +209,7 @@ DocumentRegistry:: Key:: undefined|undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 - /home/src/tslibs/ts/lib/lib.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: TS 1 Before request Info seq [hh:mm:ss:mss] request: @@ -242,7 +244,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -259,12 +261,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/index.ts SVC-1-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -272,7 +274,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: Key:: undefined|undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 - /home/src/tslibs/ts/lib/lib.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: TS 1 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/module1.d.ts 1:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/module1.d.ts 1:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info Before request @@ -289,7 +291,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -334,7 +336,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -351,13 +353,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module1.d.ts Text-2 "export const a: number;\nexport const b: number;" /user/username/projects/myproject/index.ts SVC-1-2 "import {a} from \"./module1\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -367,5 +369,5 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: Key:: undefined|undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 - /home/src/tslibs/ts/lib/lib.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js index a1345f87b84fb..d7b31c1cb075e 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -73,13 +73,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module1.d.ts Text-1 "export const a: number;" /user/username/projects/myproject/index.ts SVC-1-0 "import {a} from \"./module1\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -207,7 +209,7 @@ DocumentRegistry:: Key:: undefined|undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 - /home/src/tslibs/ts/lib/lib.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: TS 1 Before request Info seq [hh:mm:ss:mss] request: @@ -242,7 +244,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -259,12 +261,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/index.ts SVC-1-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -272,7 +274,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: Key:: undefined|undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 - /home/src/tslibs/ts/lib/lib.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: TS 1 Before request Projects:: @@ -283,7 +285,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -327,7 +329,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -343,13 +345,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module1.d.ts Text-1 "export const a: number;" /user/username/projects/myproject/index.ts SVC-1-2 "import {a} from \"./module1\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -359,5 +361,5 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: Key:: undefined|undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 - /home/src/tslibs/ts/lib/lib.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js index 209db89b26ae0..afde861044776 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js +++ b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js @@ -33,7 +33,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^/inmemory/model/6 ProjectRootPath: /users/user/projects/san:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /users/user/projects/san Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -41,12 +41,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/inmemory/model/6 SVC-1-0 "import x from 'react';\nexrpot const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/inmemory/model/6 Root file specified for compilation @@ -70,6 +70,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/user/projects/node_modules/@types: *new* @@ -78,7 +80,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -116,13 +118,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/inmemory/model/6 SVC-1-0 "import x from 'react';\nexrpot const x = 10;" ^/inmemory/model/4 SVC-1-0 "import x from 'react';\nexrpot const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/inmemory/model/6 Root file specified for compilation ^/inmemory/model/4 @@ -158,7 +160,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -206,7 +208,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -261,13 +263,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/inmemory/model/6 SVC-1-1 "exrpot const x = 10;" ^/inmemory/model/4 SVC-2-0 "exrpot const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/inmemory/model/6 Root file specified for compilation ^/inmemory/model/4 @@ -300,7 +302,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js index 6f8e6592fd5e3..fe54658febe36 100644 --- a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js +++ b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -104,15 +104,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/node_modules/foo/index.d.ts Text-1 "export const foo: number;" /home/src/projects/project/a/user.ts SVC-1-0 "import(\"foo\");\nfoo" /home/src/projects/project/b/node_modules/foo/index.d.ts Text-1 "export const foo: number;" /home/src/projects/project/b/user.ts Text-1 "import(\"foo\");\nfoo" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/node_modules/foo/index.d.ts Imported via "foo" from file 'a/user.ts' with packageId 'foo/index.d.ts@1.2.3' a/user.ts @@ -204,6 +204,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -224,7 +226,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +264,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -316,7 +318,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -353,7 +355,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/dynamicFiles/chat-block-with-imports.js b/tests/baselines/reference/tsserver/dynamicFiles/chat-block-with-imports.js index b34d41684e7d1..7619db171f2ed 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/chat-block-with-imports.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/chat-block-with-imports.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -180,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -208,12 +210,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/chat-editing-snapshot-text-model/ts-nul-authority/c/temp/codeRepo/src/services/user.service.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/chat-editing-snapshot-text-model/ts-nul-authority/c/temp/codeRepo/src/services/user.service.ts Root file specified for compilation @@ -255,7 +257,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -289,12 +291,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/vscode-chat-code-block/dnnjb2rllwnoyxqtc2vzc2lvbjovl2xvy2fsl1peag1oelv6tkdvde9uvtvnuzawtxpbnuxxstrare10tvrobfpuvtbpvgmytudwaq/response_6b1244f1-9aca-4b8b-8f65-0ff7ed4e6b4e/2#{"references":[]} SVC-1-0 "import { UserService from './src/services/user.service';}" - home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/vscode-chat-code-block/dnnjb2rllwnoyxqtc2vzc2lvbjovl2xvy2fsl1peag1oelv6tkdvde9uvtvnuzawtxpbnuxxstrare10tvrobfpuvtbpvgmytudwaq/response_6b1244f1-9aca-4b8b-8f65-0ff7ed4e6b4e/2#{"references":[]} Root file specified for compilation @@ -346,7 +348,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js index 22dc86672d8a9..7a362e30111ec 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js @@ -53,24 +53,26 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js SVC-1-0 "var x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -79,7 +81,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -111,11 +113,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -165,7 +167,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -189,7 +191,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js index 532b37cc7857c..681e5d013a378 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -45,17 +45,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -64,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -73,7 +75,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -105,11 +107,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -165,7 +167,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -189,7 +191,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -235,7 +237,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -280,12 +282,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js SVC-1-0 "var x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js Root file specified for compilation @@ -294,11 +296,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -347,7 +349,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -371,7 +373,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -421,7 +423,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js index 88f424048d3df..5b73b35ff02c9 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js @@ -31,23 +31,25 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/typings/@epic/Shell.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js SVC-1-0 "/// \n/// \nvar x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/typings/@epic/Core.d.ts: *new* @@ -56,7 +58,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -65,7 +67,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -97,11 +99,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -151,7 +153,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -175,7 +177,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js index 212ae5eca57d9..3470d82901a20 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js @@ -54,24 +54,26 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js SVC-1-0 "var x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -112,7 +114,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js" ], "compilerOptions": { diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js index ca04a17751ddd..1134160169d78 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: untitled:^Untitled-1 ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -46,17 +46,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:^Untitled-1 SVC-1-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -65,7 +67,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -74,7 +76,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -106,11 +108,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "untitled:^Untitled-1" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -159,7 +161,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -182,7 +184,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -225,7 +227,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -269,7 +271,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -321,12 +323,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file.ts SVC-1-0 "const y = 10" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file.ts Matched by default include pattern '**/*' @@ -395,12 +397,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts untitled:^Untitled-1 - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation @@ -454,7 +456,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -477,7 +479,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js index dba2da47557d4..c586e70a7a734 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files-without-inferred-project-per-projectRootPath.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -83,12 +83,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Untitled-1.ts SVC-1-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Untitled-1.ts Matched by default include pattern '**/*' @@ -173,6 +173,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -181,7 +183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -197,7 +199,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js index 095009423339c..58fa0a5c243af 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: untitled:^Untitled-1 ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,17 +43,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:^Untitled-1 SVC-1-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -62,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -71,7 +73,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -103,11 +105,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "untitled:^Untitled-1" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -156,7 +158,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -179,7 +181,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -222,7 +224,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -278,12 +280,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Untitled-1.ts SVC-1-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Untitled-1.ts Matched by default include pattern '**/*' @@ -386,7 +388,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -406,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -465,7 +467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -498,12 +500,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:^Untitled-1 SVC-2-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation @@ -512,11 +514,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "untitled:^Untitled-1" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -556,7 +558,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -630,7 +632,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js index 3ec671bd4b50e..ba62cc8a0d148 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/proj 1 undefined Config: /home/src/projects/project/proj/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/proj 1 undefined Config: /home/src/projects/project/proj/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/proj/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/proj/node_modules/@types 1 undefined Project: /home/src/projects/project/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/proj/node_modules/@types 1 undefined Project: /home/src/projects/project/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/proj/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/proj/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/proj/a.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -157,6 +157,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/proj/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -187,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/proj/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/proj/tsconfig.json @@ -219,12 +221,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:^Untitled-1 SVC-1-0 "/// \nlet foo = 1;\nfooo/**/" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation @@ -268,7 +270,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/proj/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -290,7 +292,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/proj/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/proj/tsconfig.json diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js index a89a607206d43..c648fe9a0c9b8 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js @@ -31,18 +31,18 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: untitled:/Users/matb/projects/san/^newFile.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/typings/@epic/Shell.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:/Users/matb/projects/san/^newFile.ts SVC-1-0 "/// \n/// \nvar x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:/Users/matb/projects/san/^newFile.ts Root file specified for compilation @@ -66,6 +66,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/typings/@epic/Core.d.ts: *new* @@ -74,7 +76,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -84,7 +86,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js index 5c0343ea82bb6..27e8e8b89ac0f 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js @@ -31,18 +31,18 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/walkThroughSnippet:/usr/share/code/resources/app/out/vs/typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/walkThroughSnippet:/usr/share/code/resources/app/out/vs/typings/@epic/Shell.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts SVC-1-0 "/// \n/// \nvar x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts Root file specified for compilation @@ -66,6 +66,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/walkThroughSnippet:/usr/share/code/resources/app/out/vs/typings/@epic/Core.d.ts: *new* @@ -74,7 +76,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -84,7 +86,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js index 15d0dfc2b5bd6..4bcce4b160867 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js @@ -33,7 +33,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: untitled:^Untitled-1 ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -41,12 +41,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:^Untitled-1 SVC-1-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation @@ -70,6 +70,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -78,7 +80,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -132,7 +134,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -161,12 +163,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:^Untitled-1 SVC-2-0 "const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:^Untitled-1 Root file specified for compilation @@ -200,7 +202,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js index 0d5e871689c52..a8885b026915a 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] event: "maxFileSize": 4194304 } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -65,13 +65,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/large.js Text-1 "" /user/username/projects/myproject/src/file.ts SVC-1-0 "export var y = 10;import {x} from \"./large\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' large.js Imported via "./large" from file 'file.ts' file.ts @@ -97,6 +97,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -115,7 +117,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src: *new* {} @@ -129,7 +131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js index 2ab3d65605bfa..028c6df6b915e 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] event: "maxFileSize": 4194304 } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -90,13 +90,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/file.ts SVC-1-0 "export var y = 10;" /user/username/projects/myproject/src/large.js Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file.ts Part of 'files' list in tsconfig.json src/large.js @@ -205,6 +205,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -213,7 +215,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/large.js: *new* {} @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js index da059bbc3dc60..d3bebde706486 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,13 +51,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/large.ts Text-1 "export var x = 10;" /user/username/projects/myproject/src/file.ts SVC-1-0 "export var y = 10;import {x} from \"./large\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' large.ts Imported via "./large" from file 'file.ts' file.ts @@ -83,6 +83,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -101,7 +103,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/large.ts: *new* {} @@ -113,7 +115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js index 2de33e59dc83f..39f5de6825a75 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/file.ts SVC-1-0 "export var y = 10;" /user/username/projects/myproject/src/large.ts Text-1 "export var x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file.ts Part of 'files' list in tsconfig.json src/large.ts @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -196,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/large.ts: *new* {} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js index 6d4dd9f1f4d3e..17149a5ca7aef 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js @@ -76,16 +76,16 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -188,9 +188,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -203,7 +205,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -283,12 +285,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -296,7 +298,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -314,7 +316,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -350,7 +352,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -498,7 +500,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js index acad306338142..7e3d56d6b91a7 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js @@ -81,16 +81,16 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/extremlylarge.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -193,9 +193,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/extremlylarge.d.ts: *new* {} @@ -210,7 +212,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js index 8144d999a3f5a..baf84d5ea2df8 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/b/b.ts SVC-1-0 "export class B {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/b/node_modules/@types: *new* @@ -172,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js index 61d0d3b6a5a0f..bb9a38a620006 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/b/b.ts SVC-1-0 "export class B {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/b/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js index d39002005ad09..730fa74c8014b 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts SVC-1-0 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -179,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js index 8f14221ac8b1e..7b6e71ad34c05 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts SVC-1-0 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -152,6 +152,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -160,7 +162,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -176,7 +178,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js index 0ca454c7eb82a..1f757af2ddfda 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -133,12 +133,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -216,6 +216,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -224,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js index 5c9ccb985f629..075e44a51f66d 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -133,12 +133,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -213,6 +213,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -240,7 +242,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js index 460862be6526e..161ac6760d10b 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -97,12 +97,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -182,6 +182,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -190,7 +192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -207,7 +209,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js index 1cf9b58f42285..adbf13db4e645 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -97,12 +97,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -187,7 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -204,7 +206,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js index a06926717f50a..fe555c3449326 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -131,12 +131,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts SVC-1-0 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -221,6 +221,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -229,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: {} @@ -247,7 +249,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js index 820d0c6fdb7d9..80c63f461ad42 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -131,12 +131,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts SVC-1-0 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: {} @@ -244,7 +246,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index d866859b73850..9d8fb900b474a 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -109,7 +109,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -117,13 +117,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.d.ts Text-1 "export declare class A {\n}\n//# sourceMappingURL=a.d.ts.map\n" /user/username/projects/b/b.ts SVC-1-0 "import {A} from \"../a/a\"; new A();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.d.ts Imported via "../a/a" from file 'b.ts' File is output of project reference source '../a/a.ts' @@ -228,6 +228,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/b/node_modules/@types: *new* @@ -236,7 +238,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.d.ts: *new* {} @@ -258,7 +260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -307,12 +309,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -460,7 +462,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/a/a.d.ts: {} @@ -493,7 +495,7 @@ Projects:: /user/username/projects/a/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index 46d199f7e025f..eb51e8ec6bc55 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -109,7 +109,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -117,13 +117,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.d.ts Text-1 "export declare class A {\n}\n//# sourceMappingURL=a.d.ts.map\n" /user/username/projects/b/b.ts SVC-1-0 "import {A} from \"../a/a\"; new A();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.d.ts Imported via "../a/a" from file 'b.ts' File is output of project reference source '../a/a.ts' @@ -225,6 +225,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/b/node_modules/@types: *new* @@ -233,7 +235,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.d.ts: *new* {} @@ -255,7 +257,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -304,12 +306,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -454,7 +456,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/a/a.d.ts: {} @@ -487,7 +489,7 @@ Projects:: /user/username/projects/a/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js index e96c4516854b0..35e1c17dab5e5 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -113,13 +113,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" /user/username/projects/b/b.ts SVC-1-0 "import {A} from \"../a/a\"; new A();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Imported via "../a/a" from file 'b.ts' b.ts @@ -221,6 +221,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/b/node_modules/@types: *new* @@ -229,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -251,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -298,12 +300,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -451,7 +453,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/a/a.ts: {} @@ -479,7 +481,7 @@ Projects:: /user/username/projects/b/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js index 95022ed284d52..8add5cecaa0d7 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -113,13 +113,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" /user/username/projects/b/b.ts SVC-1-0 "import {A} from \"../a/a\"; new A();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/a.ts Imported via "../a/a" from file 'b.ts' b.ts @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/b/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -248,7 +250,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -295,12 +297,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts Text-1 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -445,7 +447,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/a/a.ts: {} @@ -473,7 +475,7 @@ Projects:: /user/username/projects/b/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js index fd4896fb897e7..c945f6a9b2f3d 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts SVC-1-0 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -185,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json @@ -236,12 +238,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/b/b.ts SVC-1-0 "export class B {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -342,7 +344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/a/tsconfig.json: {} @@ -366,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js index 2424c20526011..103fa6c07be3f 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/a/a.ts SVC-1-0 "export class A { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -182,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json @@ -233,12 +235,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/b/b.ts SVC-1-0 "export class B {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' @@ -336,7 +338,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/a/tsconfig.json: {} @@ -360,7 +362,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index f17542939dda3..067c23ee6f457 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 un Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /a/b/project/file3.ts Text-1 "export class c { }" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file3.ts @@ -167,6 +167,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/project/node_modules: *new* @@ -179,7 +181,7 @@ FsWatches:: {} /a/b/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -201,7 +203,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -238,7 +240,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -248,7 +250,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /a/b/project/file3.ts Text-2 "export class c { }export class d {}" @@ -300,7 +302,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index 5c1c04dc69d91..ef114003b1915 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -91,13 +91,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-1 "export class c { }" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file3.ts @@ -183,6 +183,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/rootfolder/node_modules: *new* @@ -197,7 +199,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -225,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -261,7 +263,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -280,7 +282,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/roo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-2 "export class c { }export class d {}" @@ -323,7 +325,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -370,7 +372,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder: {} @@ -434,14 +436,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts Text-1 "export class a { }" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-2 "export class c { }export class d {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -503,7 +505,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder: {} @@ -534,7 +536,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 06b31bcb98a81..61b457f8caa26 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -173,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -191,7 +193,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -288,7 +290,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -296,8 +298,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -353,7 +355,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -382,7 +384,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 170f68fdf88ca..30a3cdef30e58 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -201,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -219,7 +221,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -314,7 +316,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -322,8 +324,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -375,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -404,7 +406,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js index 74029ef349e38..a4c9e226e4168 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -297,15 +299,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/globalFile3.ts Text-1 "interface GlobalFoo { age: number }" /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -358,7 +360,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/globalFile3.ts: *new* {} @@ -385,7 +387,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js index 5e7bd0c0d5d8f..e871f0eed3221 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -301,7 +303,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -310,8 +312,8 @@ Info seq [hh:mm:ss:mss] Files (7) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -370,7 +372,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -401,7 +403,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js index 23ff528c269d0..d78891ed5611a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -288,7 +290,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -310,7 +312,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "export let y = Foo();;" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -318,8 +320,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -372,7 +374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: {} @@ -399,7 +401,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -446,7 +448,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -477,7 +479,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "export let y = Foo();;" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -522,7 +524,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -581,7 +583,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -626,7 +628,7 @@ Timeout callback:: count: 2 18: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -661,7 +663,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-3 "export var T: number;export var T2: string;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-2 "import {Foo} from \"./moduleFile1\";let y = Foo();;;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -710,7 +712,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: {} @@ -738,7 +740,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -797,7 +799,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -838,7 +840,7 @@ Timeout callback:: count: 2 20: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -869,7 +871,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-3 "export let y = Foo();;;;" /users/username/projects/project/moduleFile1.ts Text-4 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -914,7 +916,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js index f42a8a1ebfc2b..b8aeb98782a37 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -281,7 +283,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -289,8 +291,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -346,7 +348,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -375,7 +377,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -422,7 +424,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -453,7 +455,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { console.log('hi'); };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -498,7 +500,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js index be62f198b836b..e85ddab6b7f24 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Part of 'files' list in tsconfig.json @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -182,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -254,13 +256,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -308,7 +310,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile1.ts: *new* {} @@ -327,7 +329,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -362,7 +364,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -381,7 +383,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export function Foo() { };var T1: number;" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -423,7 +425,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js index 69c4db73a57ed..802965f5c0ca6 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -224,7 +226,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -264,7 +266,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -283,13 +285,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" /users/username/projects/project/referenceFile1.ts SVC-1-1 "\n /// \n export var x = Foo();export var yy = Foo();;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' @@ -334,7 +336,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile2.ts: *new* {} @@ -353,7 +355,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js index 30d97989cea86..f5803d9d4e5b1 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -218,7 +220,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js index bc7b7d42c6859..8eecd99315bc0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -281,7 +283,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -289,8 +291,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -346,7 +348,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -375,7 +377,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js index 759dfa1d878e3..422bccd9e1947 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -298,7 +300,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -325,7 +327,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -334,8 +336,8 @@ Info seq [hh:mm:ss:mss] Files (7) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -394,7 +396,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer1Consumer1.ts: *new* {} @@ -425,7 +427,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -476,7 +478,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -511,7 +513,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -557,7 +559,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -620,7 +622,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -665,7 +667,7 @@ Timeout callback:: count: 2 21: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -700,7 +702,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-3 "export var T2: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-2 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;export var T2: number;;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -746,7 +748,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js index a76b1cf3a6706..9b8f37ffd9108 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -219,7 +221,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -245,13 +247,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file2.ts Text-1 "\n /// \n export var t2 = 10;export var t3 = 10;" /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -297,7 +299,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -316,7 +318,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js index ddec9469f706d..cec9b935649b0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -70,12 +70,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -174,6 +174,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -235,13 +237,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-1 "export let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -285,7 +287,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -304,7 +306,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -339,7 +341,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -358,7 +360,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-2 "export let x = 11" @@ -400,7 +402,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js index c799353b5e8d1..2fb7acbebc216 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -152,6 +152,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -160,7 +162,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -176,7 +178,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -213,13 +215,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" /users/username/projects/project/file2.ts Text-1 "export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -263,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -282,7 +284,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -322,14 +324,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" /users/username/projects/project/file2.ts Text-1 "export var y = 10;" /users/username/projects/project/file3.ts Text-1 "export var z = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -375,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: {} @@ -395,7 +397,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js index f117b5a32f3a9..24189df5831ae 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -154,6 +154,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -162,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -178,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -215,13 +217,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-1 "export let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -265,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -284,7 +286,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -319,7 +321,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -338,7 +340,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-2 "export let x = 11" @@ -380,7 +382,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index ae1cb8695f8c8..c83a30742f63f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 un Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /a/b/project/file3.ts Text-1 "export class c { }" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file3.ts @@ -170,6 +170,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/project/node_modules: *new* @@ -182,7 +184,7 @@ FsWatches:: {} /a/b/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +206,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -241,7 +243,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -251,7 +253,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /a/b/project/file3.ts Text-2 "export class c { }export class d {}" @@ -304,7 +306,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 7afa6690a3144..67fe085a664d0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -91,13 +91,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-1 "export class c { }" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file3.ts @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/rootfolder/node_modules: *new* @@ -200,7 +202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -228,7 +230,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -264,7 +266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -283,7 +285,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/roo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-2 "export class c { }export class d {}" @@ -327,7 +329,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -374,7 +376,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder: {} @@ -438,14 +440,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts Text-1 "export class a { }" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-2 "export class c { }export class d {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -508,7 +510,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder: {} @@ -539,7 +541,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 2383ff3b72a7c..e8ecb7676db10 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -176,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -194,7 +196,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -291,7 +293,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -299,8 +301,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -357,7 +359,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -386,7 +388,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 79a7835ad13b5..cb571a63ff66e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -196,6 +196,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -204,7 +206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -222,7 +224,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -317,7 +319,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -325,8 +327,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -379,7 +381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -408,7 +410,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 72f5a500b7707..a7dec8df3a8dc 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -300,15 +302,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/globalFile3.ts Text-1 "interface GlobalFoo { age: number }" /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -362,7 +364,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/globalFile3.ts: *new* {} @@ -389,7 +391,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index dce6c13381551..15161760e7d0e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -304,7 +306,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -313,8 +315,8 @@ Info seq [hh:mm:ss:mss] Files (7) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -374,7 +376,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -405,7 +407,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index eaafad1cccae6..6a8905f429ee0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -291,7 +293,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -313,7 +315,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "export let y = Foo();;" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -321,8 +323,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -376,7 +378,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: {} @@ -403,7 +405,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -450,7 +452,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -481,7 +483,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "export let y = Foo();;" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -527,7 +529,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -586,7 +588,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -631,7 +633,7 @@ Timeout callback:: count: 2 18: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -666,7 +668,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-3 "export var T: number;export var T2: string;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-2 "import {Foo} from \"./moduleFile1\";let y = Foo();;;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -716,7 +718,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: {} @@ -744,7 +746,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -803,7 +805,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -844,7 +846,7 @@ Timeout callback:: count: 2 20: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -875,7 +877,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-3 "export let y = Foo();;;;" /users/username/projects/project/moduleFile1.ts Text-4 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -921,7 +923,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index 95d72cd5b4f26..b77d7a248d3ea 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -284,7 +286,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -292,8 +294,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -350,7 +352,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -379,7 +381,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -426,7 +428,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -457,7 +459,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { console.log('hi'); };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -503,7 +505,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index 460704a523a8d..02cb9c2db5d6e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Part of 'files' list in tsconfig.json @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -171,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -185,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -257,13 +259,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -312,7 +314,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile1.ts: *new* {} @@ -331,7 +333,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -366,7 +368,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -385,7 +387,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export function Foo() { };var T1: number;" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -428,7 +430,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 4baf73946db7e..2c8cc66ebeb94 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -267,7 +269,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -286,13 +288,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" /users/username/projects/project/referenceFile1.ts SVC-1-1 "\n /// \n export var x = Foo();export var yy = Foo();;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' @@ -338,7 +340,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile2.ts: *new* {} @@ -357,7 +359,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index f01c2acc3e114..fdb2492f49f53 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -221,7 +223,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 17874d248dcd5..2b0d32be5cf03 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -284,7 +286,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -292,8 +294,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -350,7 +352,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -379,7 +381,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index b3671a79e8cb4..d124669a52094 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -301,7 +303,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -328,7 +330,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -337,8 +339,8 @@ Info seq [hh:mm:ss:mss] Files (7) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -398,7 +400,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer1Consumer1.ts: *new* {} @@ -429,7 +431,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -480,7 +482,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -515,7 +517,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -562,7 +564,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -625,7 +627,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -670,7 +672,7 @@ Timeout callback:: count: 2 21: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -705,7 +707,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-3 "export var T2: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-2 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;export var T2: number;;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -752,7 +754,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index e3334c262095c..8fcfcbc842c16 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -222,7 +224,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -248,13 +250,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file2.ts Text-1 "\n /// \n export var t2 = 10;export var t3 = 10;" /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -301,7 +303,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -320,7 +322,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index c4825063626c8..566e9a36e00bc 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -70,12 +70,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -177,6 +177,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -185,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -201,7 +203,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -238,13 +240,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-1 "export let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -289,7 +291,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -308,7 +310,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -343,7 +345,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -362,7 +364,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-2 "export let x = 11" @@ -405,7 +407,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index 3ba7fdbb019c1..8070b275650d9 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -179,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -216,13 +218,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" /users/username/projects/project/file2.ts Text-1 "export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -267,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -286,7 +288,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -326,14 +328,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" /users/username/projects/project/file2.ts Text-1 "export var y = 10;" /users/username/projects/project/file3.ts Text-1 "export var z = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -380,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: {} @@ -400,7 +402,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index f5fd853b0b050..7832d93e8fb38 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -157,6 +157,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -218,13 +220,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-1 "export let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -288,7 +290,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -323,7 +325,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -342,7 +344,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-2 "export let x = 11" @@ -385,7 +387,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index fcceb4a33dd19..e2638a129c55e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 un Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 1 undefined Config: /a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /a/b/project/file3.ts Text-1 "export class c { }" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file3.ts @@ -170,6 +170,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/project/node_modules: *new* @@ -182,7 +184,7 @@ FsWatches:: {} /a/b/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +206,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -241,7 +243,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -251,7 +253,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /a/b/project/file3.ts Text-2 "export class c { }export class d {}" @@ -308,7 +310,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index ccec432b8887f..0548d2378dd8a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -91,13 +91,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-1 "export class c { }" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file3.ts @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/rootfolder/node_modules: *new* @@ -200,7 +202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -228,7 +230,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -264,7 +266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -283,7 +285,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/roo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-2 "export class c { }export class d {}" @@ -331,7 +333,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -379,7 +381,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder: {} @@ -424,14 +426,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts Text-1 "export class a { }" /user/username/rootfolder/otherfolder/a/b/project/file1.ts SVC-1-0 "import a from \"file2\"" /user/username/rootfolder/otherfolder/a/b/project/file3.ts Text-2 "export class c { }export class d {}" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -475,7 +477,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/rootfolder: {} @@ -512,7 +514,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 54cbbe356053e..c9b6023897edc 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -176,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -194,7 +196,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -291,7 +293,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -299,8 +301,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -358,7 +360,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -390,7 +392,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index fc19c57e20edf..1d1354334074e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -196,6 +196,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -204,7 +206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -222,7 +224,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -317,7 +319,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -325,8 +327,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -380,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -412,7 +414,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 927155771cb92..268a83a7221f5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -300,15 +302,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/globalFile3.ts Text-1 "interface GlobalFoo { age: number }" /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -363,7 +365,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/globalFile3.ts: *new* {} @@ -393,7 +395,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index 06d94d568b689..8d26636f33dda 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -304,7 +306,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -313,8 +315,8 @@ Info seq [hh:mm:ss:mss] Files (7) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -375,7 +377,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -409,7 +411,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index e8c56569369ff..e3a2bf7f4476f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -291,7 +293,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -313,7 +315,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "export let y = Foo();;" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -321,8 +323,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: {} @@ -407,7 +409,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -456,7 +458,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -486,7 +488,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "export let y = Foo();;" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -549,7 +551,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -608,7 +610,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -654,7 +656,7 @@ Timeout callback:: count: 2 20: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -689,7 +691,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-3 "export var T: number;export var T2: string;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-2 "import {Foo} from \"./moduleFile1\";let y = Foo();;;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -740,7 +742,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: {} @@ -771,7 +773,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -830,7 +832,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -873,7 +875,7 @@ Timeout callback:: count: 3 23: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -904,7 +906,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-3 "export let y = Foo();;;;" /users/username/projects/project/moduleFile1.ts Text-4 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -954,7 +956,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index 6b6318ae2646c..a2e8b9a3517a3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -284,7 +286,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -292,8 +294,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -351,7 +353,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -383,7 +385,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -432,7 +434,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -462,7 +464,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { console.log('hi'); };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -525,7 +527,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index f8a65949a5306..2e5e55f06cdb4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Part of 'files' list in tsconfig.json @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -171,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -185,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -257,13 +259,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -313,7 +315,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile1.ts: *new* {} @@ -335,7 +337,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -372,7 +374,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -390,7 +392,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export function Foo() { };var T1: number;" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -450,7 +452,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 37b27fdf108c0..2261e5e3a53a7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -227,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -267,7 +269,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -286,13 +288,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" /users/username/projects/project/referenceFile1.ts SVC-1-1 "\n /// \n export var x = Foo();export var yy = Foo();;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' @@ -339,7 +341,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile2.ts: *new* {} @@ -361,7 +363,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index a3693065b9d79..148d633660e0c 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' referenceFile1.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -221,7 +223,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index c3c47aa961c07..36de7d5911550 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -284,7 +286,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" /users/username/projects/project/file1Consumer2.ts Text-1 "import {Foo} from \"./moduleFile1\"; let z = 10;" @@ -292,8 +294,8 @@ Info seq [hh:mm:ss:mss] Files (6) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -351,7 +353,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -383,7 +385,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index 607f8b7884e6f..7a105164da4d1 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,6 +159,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -169,7 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -301,7 +303,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -328,7 +330,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-1 "export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -337,8 +339,8 @@ Info seq [hh:mm:ss:mss] Files (7) /users/username/projects/project/moduleFile2.ts Text-1 "export var Foo4 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -399,7 +401,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file1Consumer1Consumer1.ts: *new* {} @@ -433,7 +435,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -486,7 +488,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -520,7 +522,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-2 "export var T: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-1 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -584,7 +586,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -647,7 +649,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -694,7 +696,7 @@ Timeout callback:: count: 3 23: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -729,7 +731,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile1.ts Text-3 "export var T2: number;export function Foo() { };" /users/username/projects/project/file1Consumer1.ts SVC-1-2 "import {Foo} from \"./moduleFile1\"; export var y = 10;export var T: number;export var T2: number;;;" /users/username/projects/project/file1Consumer1Consumer1.ts Text-1 "import {y} from \"./file1Consumer1\";" @@ -780,7 +782,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 3a480e6b14d4f..991e4a9482dad 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -184,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -222,7 +224,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -248,13 +250,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file2.ts Text-1 "\n /// \n export var t2 = 10;export var t3 = 10;" /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -324,7 +326,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 2c68688466f9c..f3bbea2929e31 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -70,12 +70,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -177,6 +177,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -185,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -201,7 +203,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -238,13 +240,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-1 "export let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -290,7 +292,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -312,7 +314,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -349,7 +351,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -367,7 +369,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-2 "export let x = 11" @@ -427,7 +429,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index d20be290be977..15ae84458a32d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -179,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -216,13 +218,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" /users/username/projects/project/file2.ts Text-1 "export var y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -268,7 +270,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -290,7 +292,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -331,14 +333,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "export var x = 10;" /users/username/projects/project/file2.ts Text-1 "export var y = 10;" /users/username/projects/project/file3.ts Text-1 "export var z = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -397,7 +399,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/file2.ts: {} @@ -422,7 +424,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index effb7a2425558..ea2dbffacb1b8 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -157,6 +157,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -218,13 +220,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-1 "export let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -270,7 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -292,7 +294,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -329,7 +331,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -347,7 +349,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export let x = 1" /users/username/projects/project/b.ts Text-2 "export let x = 11" @@ -407,7 +409,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js index 0d1ba8c8ba9b8..29963c0584150 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":5,"path":"c:/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -138,10 +138,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 6, - "path": "c:/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -255,15 +255,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/b.ts Text-1 "export class b { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" c:/projects/myproject/m.ts Text-1 "import { x } from \"something\"" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -354,10 +354,12 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} c:/projects/myproject/b.ts: *new* {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/m.ts: *new* @@ -396,7 +398,7 @@ c:/projects/myproject/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -496,7 +498,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproj Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/b.ts Text-1 "export class b { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -504,8 +506,8 @@ Info seq [hh:mm:ss:mss] Files (6) c:/projects/myproject/c.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -550,8 +552,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} c:/projects/myproject/b.ts: {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: *new* @@ -593,7 +595,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* autoImportProviderHost: undefined *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -659,7 +661,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -694,7 +696,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproj Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -740,7 +742,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -809,8 +811,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} c:/projects/myproject/c.ts: {"event":{"id":15,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: @@ -847,7 +849,7 @@ c:/projects/node_modules/@types: {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -914,8 +916,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} c:/projects/myproject/b.ts: *new* {"event":{"id":16,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: @@ -950,7 +952,7 @@ c:/projects/node_modules/@types: {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1017,7 +1019,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1052,7 +1054,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproj Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -1098,7 +1100,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1222,7 +1224,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1283,7 +1285,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproj Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -1293,8 +1295,8 @@ Info seq [hh:mm:ss:mss] Files (8) c:/projects/myproject/e.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -1343,8 +1345,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} c:/projects/myproject/b.ts: {"event":{"id":16,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: @@ -1389,7 +1391,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1467,7 +1469,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1512,7 +1514,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproj Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" c:/projects/myproject/node_modules/something/index.d.ts Text-2 "export const x = 10;export const y = 20;" @@ -1536,7 +1538,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index a4efbf00d56da..a3e773b304527 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -80,15 +80,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-1 "export class b { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" /user/username/projects/myproject/m.ts Text-1 "import { x } from \"something\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -118,6 +118,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -134,7 +136,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -160,7 +162,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -215,7 +217,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-1 "export class b { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -223,8 +225,8 @@ Info seq [hh:mm:ss:mss] Files (6) /user/username/projects/myproject/c.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -271,7 +273,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -300,7 +302,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -378,7 +380,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -409,7 +411,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -443,7 +445,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -547,7 +549,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -571,7 +573,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -641,7 +643,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -663,7 +665,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -711,7 +713,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -742,7 +744,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -776,7 +778,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -866,7 +868,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -875,8 +877,8 @@ Info seq [hh:mm:ss:mss] Files (7) /user/username/projects/myproject/d.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -925,7 +927,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -955,7 +957,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1006,7 +1008,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1041,7 +1043,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 6 projectProgramVersion: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -1076,7 +1078,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1139,7 +1141,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 7 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -1149,8 +1151,8 @@ Info seq [hh:mm:ss:mss] Files (8) /user/username/projects/myproject/e.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -1201,7 +1203,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -1233,7 +1235,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index c46a1d4578177..19aa144683ce1 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -138,10 +138,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 6, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -255,15 +255,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-1 "export class b { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" /user/username/projects/myproject/m.ts Text-1 "import { x } from \"something\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -354,10 +354,12 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} /user/username/projects/myproject/b.ts: *new* {"event":{"id":3,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/m.ts: *new* @@ -396,7 +398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -496,7 +498,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-1 "export class b { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -504,8 +506,8 @@ Info seq [hh:mm:ss:mss] Files (6) /user/username/projects/myproject/c.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -550,8 +552,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} /user/username/projects/myproject/b.ts: {"event":{"id":3,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: *new* @@ -593,7 +595,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -659,7 +661,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -694,7 +696,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -740,7 +742,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -809,8 +811,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} /user/username/projects/myproject/c.ts: {"event":{"id":15,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: @@ -847,7 +849,7 @@ FsWatchesRecursive:: {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -914,8 +916,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} /user/username/projects/myproject/b.ts: *new* {"event":{"id":16,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: @@ -950,7 +952,7 @@ FsWatchesRecursive:: {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1017,7 +1019,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1052,7 +1054,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -1098,7 +1100,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1222,7 +1224,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1283,7 +1285,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-1 "export const x = 10;" @@ -1293,8 +1295,8 @@ Info seq [hh:mm:ss:mss] Files (8) /user/username/projects/myproject/e.ts Text-1 "export class a { prop = \"hello\"; foo() { return this.prop; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -1343,8 +1345,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} /user/username/projects/myproject/b.ts: {"event":{"id":16,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: @@ -1389,7 +1391,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1467,7 +1469,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1512,7 +1514,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts Text-2 "export class a { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/node_modules/something/index.d.ts Text-2 "export const x = 10;export const y = 20;" @@ -1536,7 +1538,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js index 51be582320e89..8bd27b44906d3 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js +++ b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -119,15 +119,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -299,7 +301,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -357,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -392,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js index f947622f8411b..242fc2fe2e775 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -119,15 +119,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -299,7 +301,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -357,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -392,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js index 7327af21a175d..76c7250ac682a 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots @@ -156,14 +156,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/index.ts SVC-1-0 "foo" /home/src/projects/project/packages/lib/index.ts Text-1 "export const foo = 0;" /home/src/projects/project/packages/app/other.ts Text-1 "import { foo } from \"../lib\";" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' ../lib/index.ts @@ -257,6 +257,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -279,7 +281,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -307,7 +309,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -348,12 +350,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/lib/index.ts Text-1 "export const foo = 0;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -470,7 +472,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -508,7 +510,7 @@ ScriptInfos:: containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json /home/src/projects/project/packages/lib/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -648,7 +650,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json /home/src/projects/project/packages/lib/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json @@ -658,7 +660,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/index.ts SVC-1-0 "foo" /home/src/projects/project/packages/lib/index.ts SVC-2-1 "ex\nfoo.toFixed()port const foo = 0;" /home/src/projects/project/packages/app/other.ts Text-1 "import { foo } from \"../lib\";" diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js index af237c421be4c..73eaeb0310b67 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/lib/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Config: /home/src/projects/project/packages/lib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Config: /home/src/projects/project/packages/lib/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots @@ -146,12 +146,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/index.ts SVC-1-0 "foo" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -260,6 +260,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -278,7 +280,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -305,7 +307,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -346,12 +348,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/lib/index.ts Text-1 "export const foo = 0;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -468,7 +470,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -505,7 +507,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -647,7 +649,7 @@ ScriptInfos:: containingProjects: 2 /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js index 7cab4bba31850..8edfd94120a06 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -119,15 +119,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -299,7 +301,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -357,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -392,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -537,7 +539,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -546,7 +548,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts SVC-2-1 " foo" diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js index b02ea88346d62..1c194c07a1636 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/utils.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/utils.ts Text-1 "export class Element {\n // ...\n }\n\n export abstract class Component {\n abstract render(): Element;\n }" /home/src/projects/project/classes.ts SVC-1-0 "import { Component } from \"./utils.js\";\n\n export class MyComponent extends Component {\n render/**/\n }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' utils.ts Imported via "./utils.js" from file 'classes.ts' Matched by default include pattern '**/*' @@ -174,6 +174,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -186,7 +188,7 @@ FsWatches:: {} /home/src/projects/project/utils.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -208,7 +210,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -403,7 +405,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/utils.ts SVC-2-0 "export class Element {\n // ...\n }\n\n export abstract class Component {\n abstract render2(): Element;\n }" /home/src/projects/project/classes.ts SVC-1-0 "import { Component } from \"./utils.js\";\n\n export class MyComponent extends Component {\n render/**/\n }" @@ -439,7 +441,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -466,7 +468,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -522,7 +524,7 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -551,7 +553,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/utils.ts SVC-2-0 "export class Element {\n // ...\n }\n\n export abstract class Component {\n abstract render2(): Element;\n }" /home/src/projects/project/classes.ts SVC-1-1 "import { Component } from \"./utils.js\";\n\n export class MyComponent extends Component {\n rende/**/\n }" diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js index a9b9b81e7524a..12e4f6b829460 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -119,15 +119,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -299,7 +301,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -357,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -392,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -523,7 +525,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -554,7 +556,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -609,7 +611,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -619,14 +621,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ambient.d.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js index 6f14a7d76eac8..f8d20638b1ef0 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -119,15 +119,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -299,7 +301,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -357,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -392,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -506,7 +508,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" @@ -514,8 +516,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/a2.ts Text-1 "export const foo = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -595,7 +597,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -640,7 +642,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js index 667a6cee75b04..f0f0278b74a01 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -119,15 +119,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/b.ts Text-1 "foo" /home/src/projects/project/lib/foo/constants.d.ts Text-1 "\n type Signals = \"SIGINT\" | \"SIGABRT\";\n declare const exp: {} & { [K in Signals]: K };\n export = exp;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -299,7 +301,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -357,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -392,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -516,7 +518,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -561,7 +563,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /dev/null/autoImportProviderProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js index 5848c87450824..9d801b1e6d34c 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots @@ -156,14 +156,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/index.ts SVC-1-0 "foo" /home/src/projects/project/packages/lib/index.ts Text-1 "export const foo = 0;" /home/src/projects/project/packages/app/other.ts Text-1 "import { foo } from \"../lib\";" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' ../lib/index.ts @@ -257,6 +257,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -279,7 +281,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -307,7 +309,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -348,12 +350,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/lib/index.ts Text-1 "export const foo = 0;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -470,7 +472,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -508,7 +510,7 @@ ScriptInfos:: containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json /home/src/projects/project/packages/lib/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -648,7 +650,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json /home/src/projects/project/packages/lib/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json @@ -658,7 +660,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/index.ts SVC-1-0 "foo" /home/src/projects/project/packages/lib/index.ts SVC-2-1 "export const food = 0;port const foo = 0;" /home/src/projects/project/packages/app/other.ts Text-1 "import { foo } from \"../lib\";" diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js index bf57e74564d99..5d2126598f538 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/lib/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Config: /home/src/projects/project/packages/lib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/lib 1 undefined Config: /home/src/projects/project/packages/lib/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots @@ -146,12 +146,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/index.ts SVC-1-0 "foo" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -260,6 +260,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -278,7 +280,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -305,7 +307,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -346,12 +348,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/lib/index.ts Text-1 "export const foo = 0;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -468,7 +470,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -505,7 +507,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -647,7 +649,7 @@ ScriptInfos:: containingProjects: 2 /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/extends/configDir-template.js b/tests/baselines/reference/tsserver/extends/configDir-template.js index 8cd452476d64b..9cdb5749bbd7d 100644 --- a/tests/baselines/reference/tsserver/extends/configDir-template.js +++ b/tests/baselines/reference/tsserver/extends/configDir-template.js @@ -180,7 +180,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myp Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -191,7 +191,7 @@ Info seq [hh:mm:ss:mss] ======== Module name '@myscope/sometype' was successful Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/sometype.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Info seq [hh:mm:ss:mss] Module name 'other/sometype2', matched pattern 'other/*'. @@ -225,7 +225,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/index.d.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -244,15 +244,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/types/sometype.ts Text-1 "export const x = 10;\n" /home/src/projects/myproject/main.ts Text-1 "// some comment\nexport const y = 10;\nimport { x } from \"@myscope/sometype\";\n" /home/src/projects/myproject/root2/other/sometype2/index.d.ts Text-1 "export const k = 10;\n" /home/src/projects/myproject/src/secondary.ts SVC-1-0 "// some comment\nexport const z = 10;\nimport { k } from \"other/sometype2\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -371,6 +371,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/other: *new* @@ -395,7 +397,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -429,7 +431,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -514,7 +516,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] Module name '@myscope/sometype', matched pattern '@myscope/*'. @@ -524,7 +526,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/sometype.ts' e Info seq [hh:mm:ss:mss] ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Info seq [hh:mm:ss:mss] Module name 'other/sometype2', matched pattern 'other/*'. @@ -561,7 +563,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/types/sometype.ts Text-1 "export const x = 10;\n" /home/src/projects/myproject/main.ts Text-1 "// some comment\nexport const y = 10;\nimport { x } from \"@myscope/sometype\";\n" /home/src/projects/myproject/root2/other/sometype2/index.d.ts Text-1 "export const k = 10;\n" @@ -657,7 +659,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js index f53b49767b87e..3d8f0a2029bdb 100644 --- a/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsserver/extends/resolves-the-symlink-path.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src 1 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src 1 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/myproject/src/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots @@ -92,12 +92,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/user/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/user/projects/myproject/src/index.ts SVC-1-0 "// some comment\nexport const x = 10;\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/user/projects/myproject/node_modules/@types: *new* @@ -196,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/user/projects/myconfigs/node_modules/@something/tsconfig-base/tsconfig.json: *new* {} @@ -216,7 +218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/user/projects/myproject/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js b/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js index e9fb29373ebea..577360aedda36 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: project, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project WatchType: Type roots @@ -52,12 +52,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/f1.ts Root file specified for compilation @@ -113,6 +113,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -125,7 +127,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -138,7 +140,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project @@ -168,13 +170,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts Text-1 "let x = 1" /home/src/projects/project/a/b/f2.ts Text-1 "let y = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -209,7 +211,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -226,7 +228,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 project diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js index 02907332687d6..8b49d777868a4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js @@ -209,7 +209,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -221,12 +221,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -254,6 +254,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /HOME/SRC/PROJECTS/PROJECT/A/B/node_modules/@types: *new* @@ -278,7 +280,7 @@ PolledWatches:: FsWatches:: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -297,7 +299,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js index 4876f1940999e..5ae221b427092 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js @@ -237,7 +237,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -249,12 +249,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -282,6 +282,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /HOME/SRC/PROJECTS/PROJECT/A/B/node_modules/@types: @@ -306,7 +308,7 @@ PolledWatches:: FsWatches:: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -323,7 +325,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js index 802b710984c5b..d414c5e064239 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: project, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations @@ -69,13 +69,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts Text-1 "export * from \"m\"" /home/src/projects/project/a/b/f2.ts Text-1 "export let y = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -135,6 +135,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -157,7 +159,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -174,7 +176,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project @@ -216,14 +218,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/m.ts Text-1 "export let y = 1" /home/src/projects/project/a/b/f1.ts Text-1 "export * from \"m\"" /home/src/projects/project/a/b/f2.ts Text-1 "export let y = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/m.ts Imported via "m" from file '../../../projects/project/a/b/f1.ts' ../../../projects/project/a/b/f1.ts @@ -272,7 +274,7 @@ FsWatches:: {} /home/src/projects/project/a/m.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -297,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 project diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js index dd4e64af7a57f..5a89ed833df69 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots @@ -81,13 +81,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" /home/src/projects/project/a/b/lib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -145,6 +145,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -161,7 +163,7 @@ FsWatches:: {} /home/src/projects/project/a/b/lib.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -178,7 +180,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -225,7 +227,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -242,7 +244,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -278,7 +280,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -306,13 +308,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts /home/src/projects/project/a/b/lib.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -356,7 +358,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -381,7 +383,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: true containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* @@ -418,12 +420,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -536,7 +538,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -567,7 +569,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* @@ -603,13 +605,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" /home/src/projects/project/a/b/lib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -619,12 +621,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -670,7 +672,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -705,7 +707,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js index 0db91decbaccc..e3394aaf05871 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots @@ -81,13 +81,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" /home/src/projects/project/a/b/lib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -145,6 +145,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -161,7 +163,7 @@ FsWatches:: {} /home/src/projects/project/a/b/lib.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -178,7 +180,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -225,7 +227,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -242,7 +244,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -278,7 +280,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -335,12 +337,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -409,13 +411,13 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts /home/src/projects/project/a/b/lib.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -462,7 +464,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -490,7 +492,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: true containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* @@ -534,7 +536,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -570,13 +572,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" /home/src/projects/project/a/b/lib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -586,12 +588,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -637,7 +639,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -672,7 +674,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js index 5d756952c69a6..badbb78bef884 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/b/proj1, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots @@ -86,12 +86,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -147,6 +147,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -161,7 +163,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -174,7 +176,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -209,12 +211,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -260,7 +262,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -284,7 +286,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* @@ -324,12 +326,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/c/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -430,12 +432,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/d/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -548,7 +550,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -581,7 +583,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -608,12 +610,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -668,7 +670,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -705,7 +707,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json @@ -741,12 +743,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -754,12 +756,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -813,7 +815,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -846,7 +848,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* @@ -882,12 +884,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -937,7 +939,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -967,7 +969,7 @@ ScriptInfos:: /home/src/projects/project/a/b/d/lib.ts version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* @@ -1006,12 +1008,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/c/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -1070,12 +1072,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/d/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -1147,7 +1149,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1180,7 +1182,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -1198,12 +1200,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -1224,12 +1226,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -1276,7 +1278,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1315,7 +1317,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/c/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js index 10da61f508b8a..15b623aa41f54 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/b/proj1, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/proj1 WatchType: Type roots @@ -86,12 +86,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -147,6 +147,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -161,7 +163,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -174,7 +176,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -239,12 +241,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/c/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -347,12 +349,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/d/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -421,12 +423,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -483,7 +485,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -517,7 +519,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -547,12 +549,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -607,7 +609,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -644,7 +646,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json @@ -680,12 +682,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -693,12 +695,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -752,7 +754,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -785,7 +787,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* @@ -850,12 +852,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/c/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -916,12 +918,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/d/lib.ts Text-1 "" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -949,12 +951,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -1011,7 +1013,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1045,7 +1047,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -1066,12 +1068,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -1092,12 +1094,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib.ts Matched by default include pattern '**/*' @@ -1144,7 +1146,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1183,7 +1185,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/c/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js index ae54f1d26eb0f..2269fa1a90b5d 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js @@ -196,7 +196,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/someuser/projects/project/WebApplication6.csproj, currentDirectory: /user/someuser/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/project/js/site.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/project/WebApplication6.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/project/node_modules/@types 1 undefined Project: /user/someuser/projects/project/WebApplication6.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/project/node_modules/@types 1 undefined Project: /user/someuser/projects/project/WebApplication6.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/project/WebApplication6.csproj WatchType: Type roots @@ -204,17 +204,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/project/WebApplication6.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/project/WebApplication6.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/someuser/projects/project/js/site.js Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' js/site.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/someuser/projects/node_modules/@types: *new* @@ -223,7 +225,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/someuser/projects/project/js/site.js: *new* {} @@ -244,7 +246,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/project/WebApplication6.csproj @@ -276,7 +278,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/someuser/projects/project/WebApplication6.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/someuser/projects/project/js/site.js" ], "compilerOptions": { @@ -435,7 +437,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/someuser/projects/project/js/site.js: {} diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js index 5d116e1a4283a..b17a4547873b0 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js @@ -316,7 +316,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/someuser/projects/project/WebApplication6.csproj, currentDirectory: /user/someuser/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/project/js/site.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/project/WebApplication6.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/project/node_modules/@types 1 undefined Project: /user/someuser/projects/project/WebApplication6.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/project/node_modules/@types 1 undefined Project: /user/someuser/projects/project/WebApplication6.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/project/WebApplication6.csproj WatchType: Type roots @@ -324,17 +324,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/project/WebApplication6.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/project/WebApplication6.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/someuser/projects/project/js/site.js Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' js/site.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/someuser/projects/node_modules/@types: @@ -343,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/someuser/projects/project/js/site.js: *new* {} @@ -366,7 +368,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/project/WebApplication6.csproj @@ -398,7 +400,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/someuser/projects/project/WebApplication6.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/someuser/projects/project/js/site.js" ], "compilerOptions": { @@ -565,7 +567,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/someuser/projects/project/js/site.js: {} diff --git a/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js b/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js index b069b09a608ce..590cecde6a1f4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] Loading myplugin from /home/src/tslibs/TS/Lib/tsc.js/.. Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/proj1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj1.csproj WatchType: Type roots @@ -53,12 +53,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/proj1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/proj1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/file1.ts Text-1 "let x = [1, 2];" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -114,6 +114,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -126,7 +128,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -139,7 +141,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj1.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj1.csproj diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js b/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js index d8281e177cd79..a05aa8689bf2a 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating ExternalProject: ^ScriptDocument1 file1.ts, currentDirectory: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: ^ScriptDocument1 file1.ts -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: ^ScriptDocument1 file1.ts WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: ^ScriptDocument1 file1.ts WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: ^ScriptDocument1 file1.ts WatchType: Type roots @@ -45,12 +45,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: ^ScriptDocument1 file1.ts projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '^ScriptDocument1 file1.ts' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^ScriptDocument1 file1.ts Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^ScriptDocument1 file1.ts Root file specified for compilation @@ -106,6 +106,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -125,7 +127,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 ^ScriptDocument1 file1.ts @@ -154,7 +156,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: ^ScriptDocument1 f Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: ^ScriptDocument1 file1.ts projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '^ScriptDocument1 file1.ts' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^ScriptDocument1 file1.ts SVC-2-0 "let x =1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -181,7 +183,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 ^ScriptDocument1 file1.ts diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js index 76f1e9d6a601e..2debc955688ef 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/tsconfig.json : } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -98,12 +98,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts Text-1 "let x =1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Part of 'files' list in tsconfig.json @@ -202,12 +202,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/c/f2.ts Text-1 "let y =1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Part of 'files' list in tsconfig.json @@ -291,6 +291,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -313,7 +315,7 @@ FsWatches:: {} /home/src/projects/project/a/c/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -333,7 +335,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/c/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -392,7 +394,7 @@ FsWatches:: {} /home/src/projects/project/a/c/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -409,7 +411,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/c/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -446,12 +448,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/d/f3.ts SVC-1-0 "let z =1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -519,7 +521,7 @@ FsWatches:: {} /home/src/projects/project/a/c/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -547,7 +549,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/a/b/tsconfig.json @@ -568,12 +570,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/c/f2.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Part of 'files' list in tsconfig.json @@ -640,7 +642,7 @@ FsWatches:: {} /home/src/projects/project/a/c/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -674,7 +676,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/tsconfig.json @@ -753,7 +755,7 @@ FsWatches:: {} /home/src/projects/project/a/d/f3.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -780,7 +782,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -838,7 +840,7 @@ FsWatches:: {} /home/src/projects/project/a/d/f3.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -865,7 +867,7 @@ ScriptInfos:: /home/src/projects/project/a/d/f3.ts version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -916,12 +918,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/c/f2.ts Text-1 "let y =1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Part of 'files' list in tsconfig.json @@ -949,12 +951,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/f1.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Part of 'files' list in tsconfig.json @@ -971,12 +973,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/d/f3.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -1030,7 +1032,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/c/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1074,7 +1076,7 @@ ScriptInfos:: /home/src/projects/project/a/d/f3.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/c/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js index ae3e1f56b0b17..63ee77c10673e 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts SVC-1-0 "let x = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -178,7 +180,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -196,7 +198,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -299,7 +301,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -319,7 +321,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -351,12 +353,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/f2.ts SVC-1-0 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Root file specified for compilation @@ -364,12 +366,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/f1.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -427,7 +429,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -461,7 +463,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js index cc51ae67b6bcf..cbecc37911af3 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts SVC-1-0 "let x = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -193,7 +195,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -271,7 +273,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -284,7 +286,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -303,12 +305,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/f1.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -345,7 +347,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/f1.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -369,7 +371,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js index f0ec18dbd1875..56dbee0c5d1e4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js @@ -258,7 +258,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /user/username/projects/myproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -266,17 +266,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/javascript.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' javascript.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -287,7 +289,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: {} @@ -305,7 +307,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -337,11 +339,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/javascript.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -391,7 +393,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -415,7 +417,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -462,7 +464,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -546,12 +548,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/javascript.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' javascript.js Matched by default include pattern '**/*' @@ -560,7 +562,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/myproject/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/javascript.js" ], "compilerOptions": { @@ -761,7 +763,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js index 065eee684c1b0..e283d5a44cf17 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -137,12 +137,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -236,7 +238,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -255,7 +257,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -274,12 +276,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -316,7 +318,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/app.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -339,7 +341,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* @@ -398,12 +400,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -458,7 +460,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -475,7 +477,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js b/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js index b5e3f584090eb..ba0f203332abb 100644 --- a/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js +++ b/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js @@ -177,7 +177,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/proj.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj.csproj WatchType: Type roots @@ -187,17 +187,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/proj.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/app.js Text-1 "var x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -212,7 +214,7 @@ FsWatches:: {} /home/src/projects/project/a/largefile.js: {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -229,7 +231,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/proj.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj.csproj @@ -257,7 +259,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/proj.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/app.js" ], "compilerOptions": { @@ -368,7 +370,7 @@ FsWatches:: {} /home/src/projects/project/a/largefile.js: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -455,7 +457,7 @@ FsWatches:: {} /home/src/projects/project/a/largefile.js: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -472,7 +474,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/proj.csproj *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/proj.csproj *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js b/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js index 8a82391709f6f..671d3a04f3874 100644 --- a/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js +++ b/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Loading myplugin from /home/src/tslibs/TS/Lib/tsc.js/.. Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/proj1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/proj1.csproj WatchType: Type roots @@ -57,12 +57,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/proj1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/proj1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/file1.ts Text-1 "let x = [1, 2];" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -118,6 +118,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -130,7 +132,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -143,7 +145,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj1.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj1.csproj diff --git a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js index 99711ef6ea666..c4476b0db010c 100644 --- a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js +++ b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/app.ts.csproj, currentDirectory: /home/src/projects/project/a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/app.ts.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/app.ts.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/app.ts.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/app.ts.csproj WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/app.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -127,12 +127,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/app.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -208,7 +210,7 @@ FsWatches:: {} /home/src/projects/project/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -228,7 +230,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/b/app.ts.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/app.ts.csproj @@ -282,12 +284,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/c/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/c/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/c/app.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -332,12 +334,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/b/app.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -388,7 +390,7 @@ FsWatches:: {} /home/src/projects/project/c/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -416,7 +418,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/c/app.ts.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/app.ts.csproj @@ -437,12 +439,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/app.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -456,12 +458,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/c/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/c/app.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -497,7 +499,7 @@ FsWatches:: {} /home/src/projects/project/c/app.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -522,7 +524,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/c/app.ts.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/app.ts.csproj *deleted* @@ -563,12 +565,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/app.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -603,7 +605,7 @@ FsWatches:: {} /home/src/projects/project/c/app.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -622,7 +624,7 @@ ScriptInfos:: /home/src/projects/project/c/app.ts version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/app.ts.csproj *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js index 3ea6f79f32a48..aa6843c2d7bb7 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/notexistingfolder 0 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/notexistingfolder 0 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -75,12 +75,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/src/app.ts SVC-1-0 "let x = 1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/app.ts Matched by include pattern 'src/**/*' in 'tsconfig.json' @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -179,7 +181,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +199,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -244,7 +246,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -264,7 +266,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -312,7 +314,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -336,7 +338,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js b/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js index b494d06db1bc4..06cba08cb0334 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: externalproject, currentDirec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: externalproject WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: externalproject WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: externalproject WatchType: Type roots @@ -56,13 +56,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'externalproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.ts Text-1 "let x =1;" /home/src/projects/project/a/b/f2.ts Text-1 "let y =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -120,6 +120,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -134,7 +136,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -151,7 +153,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalproject -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 externalproject @@ -196,7 +198,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -213,7 +215,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalproject -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 externalproject @@ -258,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} ScriptInfos:: @@ -271,7 +273,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalproject -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 externalproject @@ -290,13 +292,13 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project 'externalproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/f1.ts /home/src/projects/project/a/b/f2.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -330,7 +332,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -348,7 +350,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* externalproject *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* externalproject *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js b/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js index c5c18ba24ea04..204eb634b617d 100644 --- a/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js +++ b/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/mypro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/^app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/myproject.njsproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/myproject.njsproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/myproject.njsproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/myproject.njsproj WatchType: Type roots @@ -58,13 +58,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/myproject.njsproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/myproject.njsproj' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file.ts Text-1 "const x = 10;" /user/username/projects/myproject/^app.ts Text-1 "const y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file.ts Root file specified for compilation ^app.ts @@ -122,6 +122,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -130,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/^app.ts: *new* {} @@ -143,7 +145,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/myproject.njsproj diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js index 0a210a8b6d400..9c1b8cd0c59ea 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -449,7 +451,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -496,7 +498,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -525,7 +527,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js index 91d605a937170..d6e355f746957 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -391,7 +393,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -532,7 +534,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -575,7 +577,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js index b8fe55c5c1578..1b17e00aaab8f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -459,7 +461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -502,7 +504,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index df86c265d3bfe..1b7690ad76617 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -380,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -428,7 +430,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -457,7 +459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js index 1331c489e855c..b3ad998e79ca9 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -416,7 +418,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -463,7 +465,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -492,7 +494,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js index fa542763cb361..428b601f3a384 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -344,7 +346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -358,7 +360,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -499,7 +501,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -542,7 +544,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js index f0dd53bb615c2..f1d219a67b3fb 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -426,7 +428,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -469,7 +471,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index cad9811cc4267..4ff733c8d72d1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -347,7 +349,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -395,7 +397,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -424,7 +426,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index 628655f563cb6..e30d06df575be 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Logger.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Logger.ts Text-1 "export class logger { }" /user/username/projects/myproject/another.ts SVC-1-0 "import { logger } from \"./Logger\"; new logger();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Logger.ts Matched by default include pattern '**/*' Imported via "./Logger" from file 'another.ts' @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/Logger.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -382,7 +384,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Logger.ts Text-1 "export class logger { }" /user/username/projects/myproject/another.ts SVC-1-1 "import { logger } from \"./logger\"; new logger();" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js index bd6a056b54f8e..6158aa41a8cf9 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -449,7 +451,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -496,7 +498,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -525,7 +527,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index 52b36ca07b192..4743242a47311 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -391,7 +393,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -532,7 +534,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -575,7 +577,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js index 822b8f00665e2..7cf7a0f0f9248 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -459,7 +461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -502,7 +504,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index 99c18810c479d..ee778b483a914 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -380,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -428,7 +430,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -457,7 +459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index ab8d7f7490ea8..4f1d7cce04e6a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -106,15 +106,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts Text-1 "export function foo(): void" /home/src/projects/project/src/Struct.d.ts SVC-1-0 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" /home/src/projects/project/src/anotherFile.ts Text-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" /home/src/projects/project/src/oneMore.ts Text-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -216,6 +216,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -244,7 +246,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -278,7 +280,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -679,7 +681,7 @@ ScriptInfos:: version: SVC-1-1 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -701,7 +703,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts Text-1 "export function foo(): void" /home/src/projects/project/src/Struct.d.ts SVC-1-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n\nexport const y = 10;" /home/src/projects/project/src/anotherFile.ts Text-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" @@ -757,7 +759,7 @@ ScriptInfos:: version: SVC-1-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -822,7 +824,7 @@ ScriptInfos:: version: SVC-1-2 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -853,7 +855,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts Text-1 "export function foo(): void" /home/src/projects/project/src/Struct.d.ts SVC-1-2 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n\nexport const y = 10;\nexport const yy = 10;" /home/src/projects/project/src/anotherFile.ts Text-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" @@ -1245,7 +1247,7 @@ ScriptInfos:: version: SVC-1-3 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1267,7 +1269,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts Text-1 "export function foo(): void" /home/src/projects/project/src/Struct.d.ts SVC-1-3 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\n" /home/src/projects/project/src/anotherFile.ts Text-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" @@ -1365,7 +1367,7 @@ ScriptInfos:: version: SVC-1-4 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1396,7 +1398,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts Text-1 "export function foo(): void" /home/src/projects/project/src/Struct.d.ts SVC-1-4 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs3 from \"./struct\";\n" /home/src/projects/project/src/anotherFile.ts Text-1 "import * as xs1 from \"fp-ts/lib/Struct\";\nimport * as xs2 from \"fp-ts/lib/struct\";\nimport * as xs3 from \"./Struct\";\nimport * as xs4 from \"./struct\";\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js index 909074b512c29..66c34d1dd3dda 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -416,7 +418,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -463,7 +465,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -492,7 +494,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index c8b6f3ce0525a..d361615b68dde 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -344,7 +346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -358,7 +360,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -499,7 +501,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -542,7 +544,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js index 215c4f987c436..1a1c1ee6dd015 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -426,7 +428,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -469,7 +471,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index 2db0855bd7041..9923b8783ae8e 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -347,7 +349,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -395,7 +397,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./XY\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -424,7 +426,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js index 7da3485f87ecc..76f3d1b97d7d1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -463,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -510,7 +512,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -539,7 +541,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index 0a23adc84770c..b2bcabf721d57 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -391,7 +393,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -546,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -589,7 +591,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js index 2740772d819fd..33fca14c84ef3 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -473,7 +475,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -516,7 +518,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 5da3fd56338ac..d42e6d7cc2dc7 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -394,7 +396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -442,7 +444,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/xY/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -471,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js index 6741800bb7017..f2d4c1ec32504 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -430,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -477,7 +479,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -506,7 +508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index fa252d4da601f..78489e7d00643 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -344,7 +346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -358,7 +360,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -513,7 +515,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -556,7 +558,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js index 55b55a21e89b8..bb3c63113ace3 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -440,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -483,7 +485,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 468121e2668ae..7a63e72208295 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -361,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -409,7 +411,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./xY\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -438,7 +440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js index af90468d95ef0..d2ed9acb02862 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -463,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -510,7 +512,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -539,7 +541,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 265c35c664733..dfef54d2f4319 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -391,7 +393,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -546,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -589,7 +591,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js index c0cfe24f4ba96..be0021fc1c13f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -473,7 +475,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -516,7 +518,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index 6a204271bcf54..2507af6eaef61 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -394,7 +396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -442,7 +444,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -471,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js index 101f2dc6048e3..207bd30a38669 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -430,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -477,7 +479,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -506,7 +508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 25eba94f7cea8..ee6167e4e83ec 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -344,7 +346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -358,7 +360,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -513,7 +515,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -556,7 +558,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js index 3908269ae13c1..e2774e949373b 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -440,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -483,7 +485,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 7441846eab4e7..1f10f821983ba 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -361,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -409,7 +411,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -438,7 +440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js index e90600a46c5a4..d39ba3b9d7b7a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -463,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -510,7 +512,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -539,7 +541,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js index 5e30023469447..b148939faa1f7 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -377,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -391,7 +393,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -546,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -589,7 +591,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js index 873b0eab69cd4..56a6a9f36ccbc 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -318,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -473,7 +475,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -516,7 +518,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index abcbfc0bfe981..25344c9d2a45c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,6 +218,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -246,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -394,7 +396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -442,7 +444,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Xy/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link/a.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy/a\";\nimport { b } from \"./link/a\";\n\na;b;\n" @@ -471,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js index 31a800222ab0b..af9d8df14ebfd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -430,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -477,7 +479,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -506,7 +508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js index 0c28c112aa88f..8a9e33f8d190e 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -344,7 +346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -358,7 +360,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -513,7 +515,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -556,7 +558,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js index c130858f543a6..86c852fe07a54 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -285,7 +287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -440,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -483,7 +485,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts SVC-2-1 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 7a574c692b4c4..8370d4408b5f0 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,14 +85,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-1 "export const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -213,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -361,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -409,7 +411,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/XY.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/link.ts Text-2 "// some comment\nexport const a = 1;\nexport const b = 2;\n" /user/username/projects/myproject/b.ts SVC-1-0 "import { a } from \"./Xy\";\nimport { b } from \"./link\";\n\na;b;\n" @@ -438,7 +440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index 2dd76c46ba54f..449a2bfbcc2f3 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js @@ -97,19 +97,19 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/pr Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Users/username/dev/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/username/dev/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/username/dev/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /Users/username/dev/project/index.ts SVC-1-0 "import {x} from \"file2\";" /Users/username/dev/project/types/file2/index.d.ts Text-1 "export declare const x: string;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' types/file2/index.d.ts @@ -210,6 +210,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: /Users/username/dev/project/tsconfig.all.json: *new* @@ -218,7 +220,7 @@ FsWatches:: {} /Users/username/dev/project/types/file2/index.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -242,7 +244,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /Users/username/dev/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /Users/username/dev/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js index 6e26f776b8715..5c70e62261ad6 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/another.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -76,13 +76,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/Logger.ts SVC-1-0 "export class logger { }" /user/username/projects/myproject/another.ts Text-1 "import { logger } from \"./Logger\"; new logger();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Logger.ts Matched by default include pattern '**/*' Imported via "./Logger" from file 'another.ts' @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/another.ts: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -339,7 +341,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/Logger.ts: *new* {} @@ -361,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -394,7 +396,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/logger.ts SVC-1-0 "export class logger { }" /user/username/projects/myproject/another.ts Text-1 "import { logger } from \"./Logger\"; new logger();" @@ -426,7 +428,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/another.ts: {} @@ -450,7 +452,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -504,7 +506,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -518,7 +520,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -575,7 +577,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -615,7 +617,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/logger.ts SVC-1-0 "export class logger { }" /user/username/projects/myproject/another.ts SVC-2-1 "import { logger } from \"./logger\"; new logger();" diff --git a/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index c5c19e0887794..6ca8277b8c165 100644 --- a/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -104,7 +106,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -118,7 +120,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js index c9b1e1130b781..98b5371c3d630 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] request: "./*" ] }, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index c29b44e3c4f5d..160aea778bca9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "moduleResolution": "node10", "noEmit": true, "baseUrl": "/home/src/workspaces/project/web", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "outDir": "/home/src/workspaces/project/common/dist", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js index be34de951cd47..aa4c238456b14 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] request: ] }, "outDir": "/home/src/workspaces/project/dist/packages/dep", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index 53ed3b9c967b2..d9faa85f40e22 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/dep/dist", "rootDir": "/home/src/workspaces/project/packages/dep/src", "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "baseUrl": "/home/src/workspaces/project/packages/app", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index d10578139e936..7ed5f244adb14 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/dep/dist", "rootDir": "/home/src/workspaces/project/packages/dep/src", "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "baseUrl": "/home/src/workspaces/project/packages/app", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index 4d16c41d8d809..8c1f69d5d470a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] request: "../common/dist/src/*" ] }, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "outDir": "/home/src/workspaces/project/common/dist", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index b08e6f2618b64..086481c78f54d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/dep/dist", "rootDir": "/home/src/workspaces/project/packages/dep/src", "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "baseUrl": "/home/src/workspaces/project/packages/app", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index fcaee63a3340e..03dea7dc0a34c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/dep/dist", "rootDir": "/home/src/workspaces/project/packages/dep/src", "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "baseUrl": "/home/src/workspaces/project/packages/app", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index 47717fd5b1dae..922e03da2b3ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/dep/dist", "rootDir": "/home/src/workspaces/project/packages/dep/src", "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "baseUrl": "/home/src/workspaces/project/packages/app", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index 1ab2f97f123f2..969dc5ffd0f9d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/dep/dist", "rootDir": "/home/src/workspaces/project/packages/dep/src", "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "baseUrl": "/home/src/workspaces/project/packages/app" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js index b0a878209a656..575c5bfed1113 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "module": "commonjs", "lib": [ diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js index 0715d6f2e8775..3714bc1832b00 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js index d7bd8816227fe..41bc0dca69cd6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index 23671218b35ea..4af5dae2e8df9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index 5307025442ca7..02ac1f84e897b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 43153bf698f0e..f98dcf6f7ca7b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js index fd63a30c7d5ba..ee06fca141ec9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/solution/packages/web/src", "outDir": "/home/src/workspaces/solution/packages/web/dist", "emitDeclarationOnly": true, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js index b7bdaec3ac074..87314882ea2a7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js index 9dd42fb32254d..732e5cc1d8a13 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js index f08f7bdce74f8..183c8b3acf9a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index f71b3dc6247c4..17d1e3fd800f1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js index d6acfc0e1a874..a83419ff0c0c8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js index 5124dfe711500..b7b8f7ddd4121 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index e4b496c20cd32..4e53213623157 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es2019" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index bd84019d4ce1b..10043fa857a69 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index 68d607fd94c05..957f157b69c53 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js index 61cc65c7f23f5..1ce578eec31bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index cc7bd0dd0d6ec..4ef8b8e399e6e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index b684e889c9729..4fbee10105747 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -12,7 +12,7 @@ Info seq [hh:mm:ss:mss] request: ], "module": "commonjs", "moduleResolution": "node10", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 5704f08a5b000..8dac8febe3bbc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index efc0516a838a7..1d0cb2a9af033 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index ef412e6267976..5ef28326012a2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index 031ea9a272579..2c29aaefab817 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 6733226ba1f9a..6b3b9382161de 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index 298b9bfa33888..83690f3a6b777 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index 1d9ea1fd039ff..cdc7e8b21d999 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index aed8fbb45b0a8..8459b6d3c8e1d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "allowJs": true, "checkJs": true, "maxNodeModuleJsDepth": 2, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 734173e144a2b..691404ee6a66a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index 7ad6e0d6deeac..2ff8d060a90df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index aa1b6be70d05f..08b5d59447380 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index 394edb564c5bf..564cb1667d576 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index 7b5ef1252c8e4..97d11086dc902 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", "declarationDir": "/home/src/workspaces/project/types", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js index 5cdbae30bd005..9ec7651318d14 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index 5855fc63777ac..fc5e57a37df0e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index e6bcc8f9af6ad..e8a779d75c68c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "disableSourceOfProjectReferenceRedirect": true diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js index dd2d0a1f22567..792565ba76ca8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js index 4ab18d7585a47..93b32983a3a80 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js index 8af7a28c59ee6..9f88a0b00b228 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 37fc767326061..12ba8d6e1d170 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index b6f456bbe64cb..c269a5497665d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js index 9fc1e3ce90836..7250749c612cc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/brace01.js b/tests/baselines/reference/tsserver/fourslashServer/brace01.js index 2bfc45f07518a..f4c0d03805497 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/brace01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/brace01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js index 86d4f8aed3be1..7893346e70529 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index 6debeccda1a05..1ccdaf1eea19b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index e7355b5548ec9..a5a63911b3688 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions01.js b/tests/baselines/reference/tsserver/fourslashServer/completions01.js index ce384ccc99a29..0ae46c081809c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions02.js b/tests/baselines/reference/tsserver/fourslashServer/completions02.js index 03c1a938758d9..d7ad56c1bfc3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions02.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions03.js b/tests/baselines/reference/tsserver/fourslashServer/completions03.js index 0991ea367f398..1d5f7d225a9b1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions03.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index e311dcc59a96a..ca88403139f24 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index 594553cbfc619..079773c199684 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 706be5fdb702e..99abf2b1a4d82 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index 8148bb2c2d2cb..0e44503e91bf2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -12,7 +12,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index e1635f7ab1d67..ba932ad390734 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index ffc3ab849fe80..2bfe886f6dc3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index 32ee12f0ff712..4c9e9f9b8f5ce 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js b/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js index 556e1165ce834..4f63338861cee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 607d6086718a1..7fd0f0be3e50f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] request: "message": "configured error" } ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js index c4dee583299e1..4e5259316aed1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js index bc86fd7da4e74..3608cb4b1df50 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js index 88ee8ee972a3f..6646e62219fae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js index 88e9b05ab1586..8f32add101a43 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index 9100e759cd784..7bc7acc038ca9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "outFile": "/tests/cases/fourslash/server/buttonClass/Source.js", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 2b8b444c8e9cd..5132f31179866 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/definition01.js b/tests/baselines/reference/tsserver/fourslashServer/definition01.js index 232ec989d8a1c..f6aab0141d901 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/definition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/definition01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js index c91be08d66045..6a27faf8415c3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js index c84ba9595bd3d..2976372845fcd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js index f75295244d1e4..1c627c7fb1f88 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js index 745b9a866ef30..aa42eac3fcb7c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js +++ b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/format01.js b/tests/baselines/reference/tsserver/fourslashServer/format01.js index 3da73cb579492..5b1c40ced32e0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/format01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/format01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js index 8ca19f8b1f564..bee6448eea80b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js index 41f52077b19bf..4e652d0abc23b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js index b20ea826b140e..36f19bb9b735b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatTrimRemainingRange.js b/tests/baselines/reference/tsserver/fourslashServer/formatTrimRemainingRange.js index fe0b6d2ad0fb5..7c011c2c2bcd1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatTrimRemainingRange.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatTrimRemainingRange.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js index 5473677c80833..c9ba70ed9ae09 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 13e8011ff6614..6b9634dcbb44e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 82a8f0fb04a85..dadf6723f9d3d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 6670cefe3d901..e6bbd9c8c52c4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "../shared/src/*" ] }, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "rootDir": "/home/src/workspaces/project/packages/shared/src", diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js index daf070b961d55..ffb791d07f13a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js index 05f51b3796587..3dfef3c0be34e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js index 753a8ca6a1ceb..e025567845e45 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js index 615fab3b571a6..76790f2fd474b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js index 9f364893440be..4ea37af84a042 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js index 8eaea46756c72..60805d3a56659 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js index 4f9cbce4bdc57..eeadeb23364b4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js index ba68abb160633..635a09d211421 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js index 0dfef2dd07190..11976865a5ed2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js index 54e8916a05dbb..13db256d23072 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js index 213768f8a777b..f4087d921cf84 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "strict": true, "outDir": "/home/src/workspaces/project/out", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js index c842b54faf9ed..96b2b2f5c50d6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index 9b638c2d661e7..d993af65958e8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -12,7 +12,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js index 2b9fc46469345..f2a560f594e30 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js index bd94cf1d6afcc..9d1c9ebbe7f7b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js index 2795969c5065c..fdbbaa31f042a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js index 2f68642628685..8e0ed5b9ab4e7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 8a9c4bc7d285c..620f9f10d893b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 6d54cf03585d2..d0a6377685048 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js index a1fab733071b0..2913e9e4e03ec 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index 07a2d1183ab14..4d0aa672378c7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js index d0f2c8155ef5a..45edef50857be 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 360cc189b3369..8540147065f73 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index 179414be7308e..1dd823fca06ee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js index 4fdf4c33a7a60..c74a61b9661a1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 39c43694f0733..e64e371e28959 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap1.js index 09bc34f33c3bb..42efd13a2f81c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap1.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap2.js index 60c599b2f326c..23fb5dffd86ea 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap2.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap3.js index 3bcc9de631f0d..7a00b8a3aa1ef 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap3.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap4.js index 0895418841887..085fa7eae2526 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap4.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap5.js index 659eb3ddb9df9..03e916ffdf0e5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap5.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", "declarationDir": "/home/src/workspaces/project/types", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js index e93ab8dc35a65..3f8d1f3a488d4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index dd014fa7297fe..5cb8bbadc9fdb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] request: "../../shared/*" ] }, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js index 21193e05b3f66..16a1fc213b2a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -22,7 +22,7 @@ Info seq [hh:mm:ss:mss] request: "outDir": "/home/src/workspaces/project/packages/pkg-2/dist", "rootDir": "/home/src/workspaces/project/packages/pkg-2/src", "composite": true, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index e7946f526923c..4734f1e37d855 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 0cd4250d9bc8f..e2ac67f6adddb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 04215ab4645a2..c6efad4cc602c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index daf91dd068274..d0379374f0b3a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index bdcf4b94dca91..6db94f95d37ed 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] request: "typeRoots": [ "/home/src/workspaces/project/node_modules/@types" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 2ffed88ecb790..eb60cfe230023 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index 453e7727b69be..2fd2482fb93c2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index 9a00be6ec8d53..adc276074fd84 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 13e18e6fffbcb..8874fad70a544 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index f29d4a783e2b8..0ce8cac435814 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js index 13fbebd6c6085..0f194b5f996da 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js index 22a5478770558..0a1cb95a8b8c2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js index 706ea800aaebf..25c97cdd035d7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js index 944111dec9639..869c2a8082131 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js index 0e717ab854598..bf506292918ed 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js index 81a02af153d48..19b4cab207f83 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es6" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js index a5e60eaee34c5..3ceea6b4034d1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js index 3948139d9a84f..603c36c80c2b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js index 10136643f3cd6..25b0d8cfb1883 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js index a3b959e284740..93a02f25a740d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js index ac97a83c87c8e..e46f10f65ab19 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js index 3cdba680e66a3..da5fa95aa2676 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js index 09b3918d71165..55b2755076a2a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js index a0f02aa0ac497..39fe0a3462f2e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js index 2ec47d92cf966..b07ac13313227 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "skipDefaultLibCheck": true } }, diff --git a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js index cc529de84c58e..051fde94c2dab 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto01.js b/tests/baselines/reference/tsserver/fourslashServer/navto01.js index ba8bb1ed772e3..275c2cc7a8673 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js index 1a0132c0b9630..a111bcfd41a61 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index a93b79358e8ea..8162bb87ed6dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] request: "message": "hello world" } ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index d2e6fed132091..019d0d9073679 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "name": "invalidmodulename" } ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index 171a2dc597190..7fef6ef197c2e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "name": "create-thrower" } ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index 1b524010aff87..2763669bbf396 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "name": "diagnostic-adder" } ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js index a347001e0edba..00155f750b811 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js index 79fe952d23bcb..0933fb60d691f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js index 636eb51c80d49..fc51fc1f4f90f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js index bb1423606b851..ff13b30ffda13 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFile.js b/tests/baselines/reference/tsserver/fourslashServer/openFile.js index 536445ae9ddbb..a290ae358d819 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFile.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js index aafb01b644ef9..ccc5e70a0c48a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/packageJsonImportsFailedLookups.js b/tests/baselines/reference/tsserver/fourslashServer/packageJsonImportsFailedLookups.js index 6adf7a3010916..84c3a9e6a48df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/packageJsonImportsFailedLookups.js +++ b/tests/baselines/reference/tsserver/fourslashServer/packageJsonImportsFailedLookups.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js index a5831e3e1a9b1..57405b741792e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js index b9635ba601852..0c15c2bc49432 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport1.js index b2d99376c9bdd..f23a6fef2da3f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport2.js index 7c37e9582de37..4a0f7975d2c24 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport2.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultImport.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultImport.js index 35d0604c55bfe..f396c8eeb10f8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultImport.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js index 5d3e627f2ef11..1fdb7028d7e3c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js index 3c5aafb4655be..e6ceb46e9c3cf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal1.js index 2cd02601f56a1..0fa75f93cf58d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal2.js index d90065720b43b..8302c2d7ca188 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal2.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js index f7b26bfcea484..9048fcf25d952 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js index fc9b5a517e6ca..3cfee669b3cc3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js index 168c4a0007f65..b3ebf986cacb8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js index 8e98dee983f31..c6dea6de57b94 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js index 678284b107227..161491d735896 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js index 860b16d8d3f42..5e96a702aa215 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js index 28ebaf5c1631f..c2080143ae91f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js index 5ea694be07c15..560574d22a85d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js index 9fb0763664749..9c6ab6c9f9eae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js index ea8fe36699196..41b3f997e435a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js index fd4b1a4991033..ec79a9971db91 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_namespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_namespaceImport.js index f749e917fcefb..34413c384e893 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_namespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_namespaceImport.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js index 1037262c20223..6efc33559e9b5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js index 80941a67bcbd5..6307710df3a0b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js index b0fad00c37ec2..30e0114dad8db 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js index 5135984ec5b93..c7f47e8ae9f85 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection0.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection0.js index 898763eee81cc..bcf146a16714f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection0.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection0.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection1.js index 4261168f52d35..e81035ebb3f95 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection1.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection2.js index 27d65f83c15e0..cfdbaaa47aee5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection2.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection3.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection3.js index 142fb9c546e2a..00729d5b346a6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection3.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection4.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection4.js index 4cbf71f7f35c9..a0613af361bf7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection4.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection5.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection5.js index e2d5c9eed7312..1d64ca4faa309 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection5.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection6.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection6.js index 5f9c82907b3c8..d3bd3ceab2b21 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection6.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection7.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection7.js index 110b2b2cf8b2a..15ab5e5368a92 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection7.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection8.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection8.js index bc31004c2b15b..ef88bfbf5944d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection8.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection9.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection9.js index 8e8531aa8e2ce..2b6694e9427bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection9.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_requireImportJsx.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_requireImportJsx.js index 4d647b83808f4..9b72d9ad8350c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_requireImportJsx.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_requireImportJsx.js @@ -11,7 +11,7 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js index 96cab361b0763..d56ff5c93e26c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js index 9d10484b34b73..59f36ce6e5c8d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard1.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard1.js index 4f531e1754335..218c8e4ff6b42 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard1.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard2.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard2.js index 39a8ec8b768ca..92893bc81e2cb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard2.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard3.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard3.js index c21aea873ff8e..8df30031b01cc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard3.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", "declarationDir": "/home/src/workspaces/project/types", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js index 7b02cbe0aa110..92eab6357b27b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard5.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard5.js index 8e4a2f7c11596..86a2d126d33b5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard5.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist/esm", "declarationDir": "/home/src/workspaces/project/dist/types", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js index 6fc7364c48bbc..363c6eb93e57e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard7.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard7.js index 68aea684fda12..7c4cf407a23d5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard7.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard8.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard8.js index 68aea684fda12..7c4cf407a23d5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard8.js @@ -13,7 +13,7 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard9.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard9.js index 3d55cf7c1a658..4380cf71b5608 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard9.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", "allowJs": true, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js index 0c45a4c544d28..bdf7c89d20b21 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js index 6615d7c124990..5bc986077b9bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js index c6c46a54ed37c..a74b4136ce2e1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js index f606c3a22ae4e..97d70b7be2d37 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js index 83ccb793837d4..21854cd737d10 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js index f99f414deb1b4..35866e90f024e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js index 25736f0a59cce..cce559441c28b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/references01.js b/tests/baselines/reference/tsserver/fourslashServer/references01.js index 6c5af381569da..468f053a07c72 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/references01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/references01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js index f38b84f83ff90..a009c491711b1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js index b6b7f2ffb4b08..8de7c0789d7ce 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index eb3eaf1abb5ea..ca209e36a878a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index f3ac8e5c07561..a74a8ccbcc27b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js index 636efc3b69d43..5fafc1ddab95d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js index 58982442603ef..180794c435830 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/rename01.js b/tests/baselines/reference/tsserver/fourslashServer/rename01.js index 40d824cf7047f..3a6f97eac47b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rename01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js index dd663f33d4a8c..40982c69f6750 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index 8a2860a5e817d..b4c5c5883f66e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index a970fee343a7a..968caa83613ff 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences1.js b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences1.js index b5ab5fab5ae28..23d5c6a61d32f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences1.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/tests/cases/fourslash/server/packages/main/src", "outDir": "/tests/cases/fourslash/server/packages/main/dist", "resolveJsonModule": false, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true, "composite": true diff --git a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences2.js b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences2.js index 5c9d0783dc9ba..4306a4821caa4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences2.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/tests/cases/fourslash/server/src", "outDir": "/tests/cases/fourslash/server/dist", "rewriteRelativeImportExtensions": true, - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences3.js b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences3.js index 680858f1ff576..e5e4b8304feb0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences3.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "rewriteRelativeImportExtensions": true, "rootDir": "/tests/cases/fourslash/server/src/services", "outDir": "/tests/cases/fourslash/server/dist/services", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js index 3173c77fa5aa0..dbe15c4a935d7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js index f33e71c9dceb6..fca42784282e6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js index 2bea8077916c4..92d6747176936 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index e5cd01413e1d4..1e19c746bd316 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -14,7 +14,7 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "strict": true, "outDir": "/home/src/workspaces/project/out", - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index ae2bb33cc53b1..eee3a214feea0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -10,7 +10,7 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es5", + "target": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js index 708f354378e9c..60fa67aa8c2b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js index 31a7f12498df5..03c457c70c109 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js index e0c330f013e11..b9cadcf7d344e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js @@ -7,7 +7,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "target": "es5", + "target": "es2024", "newLine": "crlf", "lib": [ "es5" diff --git a/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-'move-to-file'-and-'move-to-new-file'-refactors.js b/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-'move-to-file'-and-'move-to-new-file'-refactors.js index 9ff49487944b6..db4c87b76cd06 100644 --- a/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-'move-to-file'-and-'move-to-new-file'-refactors.js +++ b/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-'move-to-file'-and-'move-to-new-file'-refactors.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -45,12 +45,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "const a = 1;\nconst b = 1;\nfunction foo() { }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -74,6 +74,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -86,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -100,7 +102,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-symbol-refactor.js b/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-symbol-refactor.js index e66312aac6f31..6d152d4fd38be 100644 --- a/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-symbol-refactor.js +++ b/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-symbol-refactor.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -54,12 +54,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class Foo {\n someMethod(m: number) {\n var x = m;\n x = x * 3;\n var y = 30;\n var j = 10;\n var z = y + j;\n console.log(z);\n var q = 10;\n return q;\n }\n}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -83,6 +83,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -95,7 +97,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -109,7 +111,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-type-refactor.js b/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-type-refactor.js index 0c81712d9c228..341e0f979981c 100644 --- a/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-type-refactor.js +++ b/tests/baselines/reference/tsserver/getApplicableRefactors/returns-the-affected-range-of-text-for-extract-type-refactor.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,12 +43,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "type A = Partial & D | C;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -72,6 +72,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -84,7 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js b/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js index 5e15c5736ec27..36ef7fa17d701 100644 --- a/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js +++ b/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,12 +43,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -72,6 +72,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -84,7 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js index e7b80fe5e5105..20f659577b046 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -77,12 +77,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "import {} from \"./b\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -191,6 +191,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -207,7 +209,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -221,7 +223,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -284,12 +286,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/c.ts SVC-1-0 "export {};" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' c.ts Root file specified for compilation @@ -337,7 +339,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -359,7 +361,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json @@ -422,13 +424,13 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false ScriptInfos:: @@ -440,7 +442,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 2 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js index 7e4da4b65b5bc..cd6b4b5ed399b 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/old.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -81,13 +81,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/old.ts Text-1 "export const x = 0;" /home/src/projects/project/a/user.ts SVC-1-0 "import { x } from \"./old\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' old.ts Part of 'files' list in tsconfig.json Imported via "./old" from file 'user.ts' @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -189,7 +191,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -207,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -256,13 +258,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/old.ts Text-1 "export const x = 0;" /home/src/projects/project/b/user.ts SVC-1-0 "import { x } from \"../a/old\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/old.ts Imported via "../a/old" from file 'user.ts' user.ts @@ -373,7 +375,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -404,7 +406,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json @@ -483,13 +485,13 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false /home/src/projects/project/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false ScriptInfos:: @@ -506,7 +508,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 2 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js index a890dbe09d8e6..9450988c33339 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -116,10 +116,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 3, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -153,13 +153,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/old.ts SVC-1-0 "export const x = 10;" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -249,12 +249,14 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -279,7 +281,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -431,13 +433,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" /home/src/projects/myproject/src/new.ts SVC-1-0 "export const x = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -466,8 +468,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -516,7 +518,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -562,7 +564,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -573,7 +575,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -623,8 +625,8 @@ PolledWatches:: {"event":{"id":11,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -663,7 +665,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -759,7 +761,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js index ab13000fd126d..cb9f869df5f9c 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchFile:: Added:: {"id":3,"path":"/home/src/projects/myproject/src/old.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -120,10 +120,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 4, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -157,13 +157,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/old.ts Text-1 "export const x = 10;" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -253,14 +253,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/src/old.ts: *new* {"event":{"id":3,"path":"/home/src/projects/myproject/src/old.ts"}} /home/src/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -336,8 +338,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/myproject/src/old.ts: @@ -361,7 +363,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -456,7 +458,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -555,13 +557,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" /home/src/projects/myproject/src/new.ts SVC-1-0 "export const x = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -593,8 +595,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -638,7 +640,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -684,7 +686,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -695,7 +697,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -746,8 +748,8 @@ PolledWatches:: {"event":{"id":12,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -786,7 +788,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -882,7 +884,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js index 5831fcf5ed5c4..357f2a0682b8e 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -116,10 +116,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 3, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -153,13 +153,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/old.ts SVC-1-0 "export const x = 10;" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -249,12 +249,14 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -279,7 +281,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -395,13 +397,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" /home/src/projects/myproject/src/new.ts SVC-1-0 "export const x = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -430,8 +432,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -477,7 +479,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -523,7 +525,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -534,7 +536,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -584,8 +586,8 @@ PolledWatches:: {"event":{"id":11,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -624,7 +626,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -753,7 +755,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js index 476716b41fe17..b38d6730c6514 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchFile:: Added:: {"id":3,"path":"/home/src/projects/myproject/src/old.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -120,10 +120,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 4, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -157,13 +157,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/old.ts Text-1 "export const x = 10;" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -253,14 +253,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/src/old.ts: *new* {"event":{"id":3,"path":"/home/src/projects/myproject/src/old.ts"}} /home/src/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -336,8 +338,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/myproject/src/old.ts: @@ -361,7 +363,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -425,7 +427,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -524,13 +526,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" /home/src/projects/myproject/src/new.ts SVC-1-0 "export const x = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -562,8 +564,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -607,7 +609,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -653,7 +655,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -664,7 +666,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -715,8 +717,8 @@ PolledWatches:: {"event":{"id":12,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -755,7 +757,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -884,7 +886,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js index 085e2469d5383..b5911d17119ee 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 1 undefined Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -116,10 +116,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 3, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -153,13 +153,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/old.ts SVC-1-0 "export const x = 10;" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -249,12 +249,14 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -279,7 +281,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -395,13 +397,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" /home/src/projects/myproject/src/new.ts SVC-1-0 "export const x = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -430,8 +432,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -477,7 +479,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -523,7 +525,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -534,7 +536,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -621,8 +623,8 @@ PolledWatches:: {"event":{"id":11,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -655,7 +657,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -751,7 +753,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js index 34f11f146b4d0..e3f96764b9efe 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchFile:: Added:: {"id":3,"path":"/home/src/projects/myproject/src/old.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -120,10 +120,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 4, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules/@types 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -157,13 +157,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/old.ts Text-1 "export const x = 10;" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -253,14 +253,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/myproject/src/old.ts: *new* {"event":{"id":3,"path":"/home/src/projects/myproject/src/old.ts"}} /home/src/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -336,8 +338,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/myproject/src/old.ts: @@ -361,7 +363,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -425,7 +427,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -524,13 +526,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" /home/src/projects/myproject/src/new.ts SVC-1-0 "export const x = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -562,8 +564,8 @@ After request PolledWatches:: /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -607,7 +609,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -653,7 +655,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -664,7 +666,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -752,8 +754,8 @@ PolledWatches:: {"event":{"id":12,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -786,7 +788,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -882,7 +884,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js index e65c4a87a8663..3a0c25d753f64 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" /home/src/projects/project/main.ts SVC-1-0 "import { value, valueA, valueB, valueC, renamedD, valueE, valueF } from \"./mod\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -269,7 +271,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js index 51c5d097c4ee5..96ae676134099 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" /home/src/projects/project/main.ts SVC-1-0 "import { value, valueA, valueB, valueC, renamedD, valueE, valueF } from \"./mod\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -269,7 +271,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js index ec43e5b7aa88a..a9c68eac1e708 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" /home/src/projects/project/main.ts SVC-1-0 "import { value, valueA, valueB, valueC, renamedD, valueE, valueF } from \"./mod\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -269,7 +271,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js b/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js index 9c0134ac2b54c..b182596e7b9ed 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" /home/src/projects/project/main.ts SVC-1-0 "import { value, valueA, valueB, valueC, renamedD, valueE, valueF } from \"./mod\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -269,7 +271,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js index 405494a095f60..477461fe1ad47 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" /home/src/projects/project/main.ts SVC-1-0 "import { value, valueA, valueB, valueC, renamedD, valueE, valueF } from \"./mod\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -248,7 +250,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -269,7 +271,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js index e9fb1e951dffe..ed632b66fb693 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -81,15 +81,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = {};" /home/src/projects/project/b.ts Text-1 "import \"./a\";" /home/src/projects/project/c.ts Text-1 "import {} from \"./a\";" /home/src/projects/project/d.ts Text-1 "import { a } from \"/home/src/projects/project/a\";\ntype T = typeof import(\"./a\").a;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' Imported via "./a" from file 'b.ts' @@ -184,6 +184,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -230,7 +232,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -280,7 +282,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -309,7 +311,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +361,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -388,7 +390,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -438,7 +440,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -467,7 +469,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js b/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js index 033a478bc53ab..c11a1908d92eb 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -81,15 +81,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = {};" /home/src/projects/project/b.ts Text-1 "import \"./a\";" /home/src/projects/project/c.ts Text-1 "import {} from \"./a\";" /home/src/projects/project/d.ts Text-1 "import { a } from \"/home/src/projects/project/a\";\ntype T = typeof import(\"./a\").a;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' Imported via "./a" from file 'b.ts' @@ -184,6 +184,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -230,7 +232,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -280,7 +282,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -309,7 +311,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +361,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -388,7 +390,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -438,7 +440,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -467,7 +469,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js index 028a70eace681..d469967f7c735 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/foo.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/foo.js Text-1 "export function foo() { }" /home/src/projects/project/bar.jsx SVC-1-0 "export function bar() { }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.js Part of 'files' list in tsconfig.json bar.jsx @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -218,7 +220,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js index 695b788e57ae4..1ed10a021c744 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/foo.ts Text-1 "export function foo() { }" /home/src/projects/project/bar.tsx SVC-1-0 "export function bar() { }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.ts Part of 'files' list in tsconfig.json bar.tsx @@ -182,6 +182,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -194,7 +196,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -212,7 +214,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js index be6845ebd82fd..cd8bbe35a00ce 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/lib.es6.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -85,15 +85,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/file1.d.ts SVC-1-0 "class C {}" /home/src/projects/project/a/lib.d.ts Text-1 "" /home/src/projects/project/a/file3.d.ts Text-1 "" /home/src/projects/project/a/lib.es6.d.ts Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.d.ts Part of 'files' list in tsconfig.json a/lib.d.ts @@ -184,6 +184,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -200,7 +202,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -226,7 +228,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js index 159319c62bd4f..c8baed792dd3c 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file4.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file5.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/file1.js SVC-1-0 "class C {}" /home/src/projects/project/file2.js Text-1 "" /home/src/projects/project/file3.mts Text-1 "" @@ -99,8 +99,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/file5.js Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.js Part of 'files' list in tsconfig.json file2.js @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -227,7 +229,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -257,7 +259,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js index 5cfd9edae05b0..2978abdcf8db3 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file6.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/file7.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/file1.ts SVC-1-0 "interface ka {\n name: string;\n }\n " /home/src/projects/project/file2.tsx Text-1 "" /home/src/projects/project/file3.mts Text-1 "" @@ -116,8 +116,8 @@ Info seq [hh:mm:ss:mss] Files (8) /home/src/projects/project/file7.ts Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Part of 'files' list in tsconfig.json file2.tsx @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -280,7 +282,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js index 231b264c5a687..a912615ae99ef 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/node/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -102,7 +102,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/file1.ts SVC-1-0 "interface ka {\n name: string;\n }\n " /home/src/projects/project/node_modules/@types/node/someFile.d.ts Text-1 "export const value = 0;" /home/src/projects/project/node_modules/.cache/someFile.d.ts Text-1 "export const value1 = 0;" @@ -111,8 +111,8 @@ Info seq [hh:mm:ss:mss] Files (7) /home/src/projects/project/d/e/file3.ts Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/file1.ts Matched by default include pattern '**/*' node_modules/@types/node/someFile.d.ts @@ -213,6 +213,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -241,7 +243,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -283,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js index 9125c2cdb5c7e..33b5200b574c0 100644 --- a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js +++ b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/type.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/workspace/projects/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/node_modules/@types 1 undefined Project: /user/username/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/node_modules/@types 1 undefined Project: /user/username/workspace/projects/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules/@types 1 undefined Project: /user/username/workspace/projects/tsconfig.json WatchType: Type roots @@ -100,14 +100,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/workspace/projects/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspace/projects/project/type.ts Text-1 "\nexport type Foo {\n bar: number;\n};" /user/username/workspace/projects/project/file1.ts Text-1 "\nimport { Foo } from \"./type\";\nconst a: Foo = { bar : 1 };\na.bar;" /user/username/workspace/projects/project/file2.ts Text-1 "\nimport { Foo } from \"./type\";\nconst a: Foo = { bar : 2 };\na.bar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/type.ts Imported via "./type" from file 'project/file1.ts' Imported via "./type" from file 'project/file2.ts' @@ -190,17 +190,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspace/projects/file3.js SVC-1-0 "console.log('noop');" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file3.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/workspace/node_modules/@types: *new* @@ -211,7 +213,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/workspace/projects/project/file1.ts: *new* {} @@ -236,7 +238,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/workspace/projects/tsconfig.json @@ -281,11 +283,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/workspace/projects/file3.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -335,7 +337,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -359,7 +361,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -409,7 +411,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace/projects/project/file1.ts: {} @@ -495,14 +497,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/workspace/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/workspace/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspace/projects/project/type.ts Text-1 "\nexport type Foo {\n bar: number;\n};" /user/username/workspace/projects/project/file1.ts Text-1 "\nimport { Foo } from \"./type\";\nconst a: Foo = { bar : 1 };\na.bar;" /user/username/workspace/projects/project/file2.ts Text-1 "\nimport { Foo } from \"./type\";\nconst a: Foo = { bar : 2 };\na.bar;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' type.ts Imported via "./type" from file 'file1.ts' Imported via "./type" from file 'file2.ts' @@ -579,14 +581,14 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/workspace/projects/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspace/projects/project/type.ts /user/username/workspace/projects/project/file1.ts /user/username/workspace/projects/project/file2.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' project/type.ts Imported via "./type" from file 'project/file1.ts' Imported via "./type" from file 'project/file2.ts' @@ -648,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace: *new* {} @@ -689,7 +691,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -854,7 +856,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/workspace: {} diff --git a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js index 8a0a051c3eb25..e0eaa743b47e7 100644 --- a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js +++ b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: p Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: p WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: p WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: p WatchType: Failed Lookup Locations @@ -64,13 +64,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: p projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'p' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/tslib/index.d.ts Text-1 "" /user/username/projects/project/app.ts Text-1 "export async function foo() { return 100; }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/node_modules/tslib/index.d.ts Imported via "tslib" from file '../../../../../user/username/projects/project/app.ts' to import 'importHelpers' as specified in compilerOptions ../../../../../user/username/projects/project/app.ts @@ -130,6 +130,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -148,7 +150,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -165,7 +167,7 @@ p (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 p diff --git a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error-2.js b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error-2.js index 8a23e1719c1b8..8ff3c810221e3 100644 --- a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error-2.js +++ b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error-2.js @@ -38,16 +38,16 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^/untitled/ts-nul-authority/Untitled-1 ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/untitled/ts-nul-authority/Untitled-1 SVC-1-0 "function fn(Foo: number) {\r\n type Foo = typeof Foo;\r\n return 0 as any as {x: Foo};\r\n}" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/untitled/ts-nul-authority/Untitled-1 Root file specified for compilation @@ -68,9 +68,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js index a1d5bfd6b2f2f..8bff352952805 100644 --- a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js +++ b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js @@ -38,16 +38,16 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^/untitled/ts-nul-authority/Untitled-1 ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/untitled/ts-nul-authority/Untitled-1 SVC-1-0 "export function foo() {\r\n /*$*/return bar;\r\n}\r\n\r\nexport function bar(x: T) {\r\n return x;\r\n}\r\n\r\nlet x = foo()(42);" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/untitled/ts-nul-authority/Untitled-1 Root file specified for compilation @@ -68,9 +68,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inferredProjects/closing-file-with-shared-resolutions.js b/tests/baselines/reference/tsserver/inferredProjects/closing-file-with-shared-resolutions.js index fc2189262d0e7..f61266501b7d2 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/closing-file-with-shared-resolutions.js +++ b/tests/baselines/reference/tsserver/inferredProjects/closing-file-with-shared-resolutions.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -50,12 +50,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/unrelated.ts SVC-1-0 "export {};\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' unrelated.ts Root file specified for compilation @@ -79,6 +79,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -91,7 +93,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -101,7 +103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -140,12 +142,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app.ts SVC-1-0 "import type { y } from \"pkg\" assert { \"resolution-mode\": \"require\" };\nimport type { x } from \"pkg\" assert { \"resolution-mode\": \"import\" };\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -191,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -209,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -271,7 +273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -293,7 +295,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js index 3b4e483e99b94..b501dd24e6c5c 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -52,13 +52,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module.d.ts Text-1 "export let x: number" /user/username/projects/myproject/app.ts SVC-1-0 "\n import {f} from \"./module\"\n console.log(f)\n " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module.d.ts Imported via "./module" from file 'app.ts' app.ts @@ -84,6 +84,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -110,7 +112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js index 24a0b732776cf..c1169fcc6d918 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -62,12 +62,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b/app.ts SVC-1-0 "import {x} from \"mod\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -91,6 +91,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* @@ -115,7 +117,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -131,7 +133,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -161,12 +163,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/mod.ts SVC-1-0 "export let x: number" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' mod.ts Root file specified for compilation @@ -208,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -282,13 +284,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/mod.ts SVC-1-0 "export let x: number" /user/username/projects/project/b/app.ts SVC-1-0 "import {x} from \"mod\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../mod.ts Imported via "mod" from file 'app.ts' app.ts @@ -300,7 +302,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/mod.ts SVC-1-0 "export let x: number" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -381,7 +383,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b: {} @@ -406,7 +408,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js b/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js index d766cb1de4f21..b1a38cdd82b2f 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js +++ b/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,17 +47,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/file1.js SVC-1-0 "" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -76,7 +78,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -85,7 +87,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -117,11 +119,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/a/file1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -171,7 +173,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -195,7 +197,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -249,7 +251,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index 7de9bc7afe0d6..936f2e6ebf8c8 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -72,12 +72,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app.ts Text-1 "const app = 20;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -154,17 +154,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/jsFile1.js SVC-1-0 "const jsFile1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jsFile1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -175,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -196,7 +198,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -233,11 +235,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/jsFile1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -287,7 +289,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -311,7 +313,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -361,7 +363,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app.ts: {} @@ -429,7 +431,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app.ts: {} @@ -455,7 +457,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -501,12 +503,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/jsFile2.js SVC-1-0 "const jsFile2 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jsFile2.js Root file specified for compilation @@ -515,11 +517,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/jsFile2.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -560,7 +562,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -584,7 +586,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -635,7 +637,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/app.ts: {} @@ -663,7 +665,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -715,12 +717,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/jsFile1.js SVC-2-0 "const jsFile1 = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jsFile1.js Root file specified for compilation @@ -729,11 +731,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/jsFile1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -782,7 +784,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -806,7 +808,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -863,7 +865,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -893,17 +895,132 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/tslibs/TS/Lib/lib.d.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: /home/src/tslibs/TS/Lib +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.d.ts SVC-1-0 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + + + lib.es2024.full.d.ts + Default library for target 'es2024' + lib.d.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +TI:: [hh:mm:ss:mss] Got install request + { + "projectName": "/dev/null/inferredProject3*", + "fileNames": [ + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts" + ], + "compilerOptions": { + "target": 11, + "jsx": 1, + "allowNonTsExtensions": true, + "allowJs": true, + "noEmitForJsFiles": true + }, + "typeAcquisition": { + "enable": true, + "include": [], + "exclude": [] + }, + "unresolvedImports": [], + "projectRootPath": "/home/src/tslibs/TS/Lib", + "kind": "discover" + } +TI:: [hh:mm:ss:mss] Explicitly included types: [] +TI:: [hh:mm:ss:mss] Inferred typings from unresolved imports: [] +TI:: [hh:mm:ss:mss] Finished typings discovery: + { + "cachedTypingPaths": [], + "newTypingNames": [], + "filesToWatch": [ + "/home/src/tslibs/TS/Lib/bower_components", + "/home/src/tslibs/TS/Lib/node_modules" + ] + } +TI:: [hh:mm:ss:mss] Sending response: + { + "kind": "action::watchTypingLocations", + "projectName": "/dev/null/inferredProject3*", + "files": [ + "/home/src/tslibs/TS/Lib/bower_components", + "/home/src/tslibs/TS/Lib/node_modules" + ] + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/bower_components 1 undefined Project: /dev/null/inferredProject3* WatchType: Directory location for typing installer +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/bower_components 1 undefined Project: /dev/null/inferredProject3* WatchType: Directory location for typing installer +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Directory location for typing installer +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Directory location for typing installer +TI:: [hh:mm:ss:mss] Sending response: + { + "projectName": "/dev/null/inferredProject3*", + "typeAcquisition": { + "enable": true, + "include": [], + "exclude": [] + }, + "compilerOptions": { + "target": 11, + "jsx": 1, + "allowNonTsExtensions": true, + "allowJs": true, + "noEmitForJsFiles": true + }, + "typings": [], + "unresolvedImports": [], + "kind": "action::set" + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "setTypings", + "body": { + "projectName": "/dev/null/inferredProject3*", + "typeAcquisition": { + "enable": true, + "include": [], + "exclude": [] + }, + "compilerOptions": { + "target": 11, + "jsx": 1, + "allowNonTsExtensions": true, + "allowJs": true, + "noEmitForJsFiles": true + }, + "typings": [], + "unresolvedImports": [], + "kind": "action::set" + } + } +TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/app.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -922,6 +1039,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/jsFile2.js ProjectRootPath: undefined @@ -929,18 +1050,39 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/jsFile1.js ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileName: /home/src/tslibs/TS/Lib/lib.d.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", "request_seq": 5, - "success": true + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } } After request PolledWatches:: +/home/src/tslibs/TS/Lib/bower_components: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/tslibs/TS/Lib/node_modules: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/node_modules/@types: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/tsconfig.json: *new* + {"pollingInterval":2000} +/home/src/tslibs/TS/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/tslibs/TS/node_modules/@types: *new* + {"pollingInterval":500} +/home/src/tslibs/TS/tsconfig.json: *new* + {"pollingInterval":2000} +/home/src/tslibs/node_modules/@types: *new* + {"pollingInterval":500} /user/username/projects/myproject/bower_components: {"pollingInterval":500} /user/username/projects/myproject/jsconfig.json: @@ -953,12 +1095,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {} /user/username/projects/myproject/tsconfig.json: {} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} /user/username/projects/myproject/app.ts: {} @@ -974,6 +1116,10 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: false +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -981,12 +1127,16 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts (Open) *changed* - open: true *changed* +/home/src/tslibs/TS/Lib/lib.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* *default* + containingProjects: 3 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* + /dev/null/inferredProject3* *new* /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/app.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js b/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js index 28bbeb02997bc..aab425bccfb6f 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -65,17 +65,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/compile SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' compile Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -88,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -97,7 +99,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,7 +131,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/compile" ], "compilerOptions": { @@ -249,7 +251,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js index fb349a097a71d..5ba5b7a5ef05d 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js @@ -45,16 +45,16 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/b/main.ts SVC-1-0 "let x =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a/b/main.ts Root file specified for compilation @@ -78,6 +78,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/b/jsconfig.json: *new* @@ -94,7 +96,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -104,7 +106,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -131,13 +133,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/b/main.ts SVC-1-0 "let x =1;" /user/username/projects/myproject/a/c/main.ts SVC-1-0 "let x =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a/b/main.ts Root file specified for compilation ../../../../../user/username/projects/myproject/a/c/main.ts @@ -185,7 +187,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -226,14 +228,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/b/main.ts SVC-1-0 "let x =1;" /user/username/projects/myproject/a/c/main.ts SVC-1-0 "let x =1;" /user/username/projects/myproject/a/d/main.ts SVC-1-0 "let x =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a/b/main.ts Root file specified for compilation ../../../../../user/username/projects/myproject/a/c/main.ts @@ -289,7 +291,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -298,7 +300,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -359,7 +361,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/b/tsconfig.json: *new* {} @@ -492,13 +494,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/c/main.ts SVC-1-0 "let x =1;" /user/username/projects/myproject/a/d/main.ts SVC-1-0 "let x =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a/c/main.ts Root file specified for compilation ../../../../../user/username/projects/myproject/a/d/main.ts @@ -570,7 +572,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} @@ -587,7 +589,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index 9819ac3717571..d8854f313f78c 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -77,15 +77,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module2.d.ts Text-1 "export const y = 10;\n" /user/username/projects/myproject/node_modules/module3/index.d.ts Text-1 "export const a = 10;\n" /user/username/projects/myproject/module.d.ts Text-1 "import {y} from \"./module2\";\nimport {a} from \"module3\";\nexport const x = y;\nexport const b = a;\n" /user/username/projects/myproject/app.ts SVC-1-0 "import {x} from \"./module\";\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module2.d.ts Imported via "./module2" from file 'module.d.ts' node_modules/module3/index.d.ts @@ -115,6 +115,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -127,7 +129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -151,7 +153,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -214,7 +216,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -242,7 +244,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -306,14 +308,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module2.d.ts Text-1 "export const y = 10;\n" /user/username/projects/myproject/node_modules/module3/index.d.ts Text-1 "export const a = 10;\n" /user/username/projects/myproject/module.d.ts Text-1 "import {y} from \"./module2\";\nimport {a} from \"module3\";\nexport const x = y;\nexport const b = a;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module2.d.ts Imported via "./module2" from file 'module.d.ts' node_modules/module3/index.d.ts @@ -335,7 +337,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -371,7 +373,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -415,12 +417,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/module2.d.ts", "/user/username/projects/myproject/module.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -476,7 +478,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -499,7 +501,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -544,7 +546,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -569,7 +571,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js index c2c29d7175b32..5bbea88447972 100644 --- a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js +++ b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -76,14 +76,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "declare function foo(param: any): void;\nfoo(12);" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' commonFile1.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -200,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -313,7 +315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -347,7 +349,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-1 "declare function foo(param: any): void//;\nfoo(12);" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" @@ -423,7 +425,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -457,7 +459,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-2 "declare function foo(param: any): void//c;\nfoo(12);" /user/username/projects/project/commonFile1.ts Text-1 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js index dca4f5fcee6aa..be5c1e38228a6 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js index b73aa2f28850a..d130732a5ef2a 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 7182f78f02844..79bf019ff2094 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 497642397904c..bbc87abcef2fd 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js index 840d8a66f9225..f8a91e8e5369d 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js index 89dba977c035b..bdf242650d005 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -207,6 +207,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -219,7 +221,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -233,7 +235,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 21aea4ea8b2d1..950dcf2f6735f 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index 685b13162b4e3..3c0465a4d7b02 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -207,6 +207,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -219,7 +221,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -233,7 +235,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 5f8430b7da1d8..e6565bd93be6b 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js index 11852db7ec532..01f734f5d285d 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -207,6 +207,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -219,7 +221,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -233,7 +235,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js index e560052382ddb..faa793f62730b 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index 76078100587e3..7573f7dc7764a 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -207,6 +207,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -219,7 +221,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -233,7 +235,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js index 41717c75b03c4..8635b83c8c73f 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js index e2a242fd9e9e7..29128658aad6a 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index e8604f79324f4..27edcd534cf3f 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js index c529bc2d5e0d0..070ea3dddb9f6 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -100,12 +100,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' someFile1.js Part of 'files' list in tsconfig.json @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -220,7 +222,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -234,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js b/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js index 3afc671ed7c41..a4faf96fd5b01 100644 --- a/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js +++ b/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/foo.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/shared.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -92,14 +92,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/foo.d.ts Text-1 "export const foo_a = 1;\n" /home/src/projects/project/shared.ts Text-1 "import {foo_a} from \"foo\";\n" /home/src/projects/project/a/index.ts SVC-1-0 "import \"../shared\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.d.ts Imported via "foo" from file '../shared.ts' Part of 'files' list in tsconfig.json @@ -191,6 +191,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -207,7 +209,7 @@ FsWatches:: {} /home/src/projects/project/shared.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -229,7 +231,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -284,14 +286,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b/foo.d.ts Text-1 "export const foo_b = 1;\n" /home/src/projects/project/shared.ts Text-1 "import {foo_a} from \"foo\";\n" /home/src/projects/project/b/index.ts SVC-1-0 "import \"../shared\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.d.ts Imported via "foo" from file '../shared.ts' Part of 'files' list in tsconfig.json @@ -411,7 +413,7 @@ FsWatches:: {} /home/src/projects/project/shared.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -446,7 +448,7 @@ ScriptInfos:: containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json /home/src/projects/project/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js b/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js index 5ebaf00d1f641..e08a91e4eb8cd 100644 --- a/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js +++ b/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,12 +43,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.ts SVC-1-0 "let x = 1;" - ../../tslibs/TS/lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -72,6 +72,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -84,7 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/lib/lib.d.ts: *new* +/home/src/tslibs/TS/lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/lib/lib.d.ts *new* +/home/src/tslibs/TS/lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index fe362c45da0c2..f52e3d8310d9c 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -74,15 +74,15 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project1/src/node_modules/minimatch/index.js Text-1 "import { z } from \"path\"; // This will be resolved two times\nexport const y = z;\n" /user/username/projects/project1/src/node_modules/glob/index.js Text-1 "import { y } from \"minimatch\"; // This import is will put minimatch at maxNodeModuleJsDepth so its imports are not added to program\nexport const x = y;\n" /user/username/projects/project1/src/node_modules/path/index.js Text-1 "export const z = 10;\n" /user/username/projects/project1/src/file1.js SVC-1-0 "import {x} from 'glob';\nimport {y} from 'minimatch'; // This imported file will add imports from minimatch to program\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project1/src/node_modules/minimatch/index.js Imported via "minimatch" from file '../../../../../user/username/projects/project1/src/node_modules/glob/index.js' Imported via 'minimatch' from file '../../../../../user/username/projects/project1/src/file1.js' @@ -95,6 +95,8 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* @@ -125,7 +127,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -140,7 +142,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -184,11 +186,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project1/src/file1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -253,7 +255,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -281,7 +283,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js index 885a1dbb6921d..a75172d47ca96 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -60,13 +60,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/test/index.js Text-1 "var v = 10; module.exports = v;" /home/src/projects/project/file1.js SVC-1-0 "var t = require(\"test\"); t." - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/test/index.js Imported via "test" from file 'file1.js' file1.js @@ -74,6 +74,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -100,7 +102,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -121,7 +123,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -149,11 +151,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/file1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -212,7 +214,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -238,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -299,7 +301,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js index 1044381e83bb7..95781f1edae6d 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js @@ -38,16 +38,16 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/file1.ts SVC-1-0 "let x =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/file1.ts Root file specified for compilation @@ -71,6 +71,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/project/jsconfig.json: *new* @@ -79,7 +81,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -93,7 +95,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -115,13 +117,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/file1.ts SVC-1-0 "let x =1;" /home/src/projects/project/file2.js SVC-1-0 "let x =1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/file1.ts Root file specified for compilation ../../../projects/project/file2.js @@ -165,7 +167,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -209,7 +211,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/file2.js: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -228,7 +230,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js index 733aa09040fe5..3a9b13ba33692 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Loading myplugin from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -81,12 +81,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -185,7 +187,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -203,7 +205,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js index 38d64f6e6f954..a080911d7292a 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Loading myplugin from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -81,12 +81,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -185,7 +187,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -203,7 +205,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js index 505e1928406e7..e27d84346a877 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin myplugin from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Loading myplugin from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -81,12 +81,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { const x = 0; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -185,7 +187,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -203,7 +205,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js index 0d0e2cc0d0b93..967d97bbb2276 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js @@ -372,7 +372,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/tslibs/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -393,14 +393,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/packa Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/node_modules/@types/bar2/index.d.ts Text-1 "export declare const bar2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/foo2/index.d.ts Imported via "foo2" from file 'index.mts' with packageId 'foo2/index.d.ts@1.0.0' node_modules/@types/bar2/index.d.ts @@ -510,6 +510,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -540,7 +542,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -566,7 +568,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -883,7 +885,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/node_modules/@types/bar2/index.d.ts Text-1 "export declare const bar2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -1219,7 +1221,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/node_modules/@types/bar2/index.d.ts Text-1 "export declare const bar2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -1565,7 +1567,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/node_modules/@types/bar2/index.d.ts Text-1 "export declare const bar2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -1890,7 +1892,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/node_modules/@types/bar2/index.d.ts Text-1 "export declare const bar2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -2205,15 +2207,15 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 6 projectProgramVersion: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/node_modules/@types/bar2/index.d.ts Text-1 "export declare const bar2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/bar/index.d.ts Imported via "bar" from file 'index.mts' with packageId '@types/bar/index.d.ts@1.0.0' node_modules/foo2/index.d.ts @@ -2279,7 +2281,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -2537,7 +2539,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 7 projectProgramVersion: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" @@ -2545,8 +2547,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/foo/index.d.ts Imported via "foo" from file 'index.mts' with packageId 'foo/index.d.ts@1.0.0' node_modules/@types/bar/index.d.ts @@ -2621,7 +2623,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -2655,7 +2657,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -2948,15 +2950,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 8 projectProgramVersion: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/node_modules/foo2/index.d.ts Text-1 "export declare const foo2: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/foo/index.d.ts Imported via "foo" from file 'index.mts' with packageId 'foo/index.d.ts@1.0.0' node_modules/@types/bar/index.d.ts @@ -3027,7 +3029,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -3061,7 +3063,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -3343,14 +3345,14 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 9 projectProgramVersion: 8 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/foo/index.d.ts Imported via "foo" from file 'index.mts' with packageId 'foo/index.d.ts@1.0.0' node_modules/@types/bar/index.d.ts @@ -3416,7 +3418,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -3628,7 +3630,7 @@ ScriptInfos:: /home/src/projects/project/node_modules/foo2/index.d.ts version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -3758,7 +3760,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 10 projectProgramVersion: 9 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -4010,7 +4012,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* deferredDelete: true *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -4120,7 +4122,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 11 projectProgramVersion: 10 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -4374,7 +4376,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: true containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -4492,7 +4494,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 12 projectProgramVersion: 11 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" @@ -4745,7 +4747,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -4842,7 +4844,7 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 13 projectProgramVersion: 12 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/foo/index.d.ts Text-1 "export declare const foo: number;" /home/src/projects/project/node_modules/@types/bar/index.d.ts Text-1 "export declare const bar: number;" /home/src/projects/project/index.mts SVC-1-0 "import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n" diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js index eb2346fca5553..63bba3d442b56 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js index a0748b1fc95c8..7e7f3981d4981 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index 6522a216222ce..6af934e0025fe 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1053,7 +1055,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -1062,8 +1064,8 @@ Info seq [hh:mm:ss:mss] Files (7) /home/src/projects/project/src/a2.ts Text-1 "export const foo = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -1150,7 +1152,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1199,7 +1201,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index 921df4218154a..90368c701fa56 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index 3be334472c7aa..697668894424b 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index c5bf19afffc7e..d266f29ed9441 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1079,7 +1081,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index 0eed4f1a2354d..50d7714b7a762 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1080,7 +1082,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1090,15 +1092,15 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b.ts Text-1 "foo" /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js index ddf7807bc8fac..e0f4d22ff5207 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/a.ts SVC-1-0 "export const foo = 0;" /home/src/projects/project/src/ambient.d.ts Text-1 "declare module 'ambient' {}" /home/src/projects/project/src/b-link.ts Text-1 "foo" @@ -104,8 +104,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/src/c.ts Text-1 "import " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,6 +220,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -242,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +287,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -345,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -384,7 +386,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -483,7 +485,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js index be18451593282..24cf58acd6be3 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -99,12 +99,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/index.ts SVC-1-0 "export const abcdef = 1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -199,6 +199,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -213,7 +215,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -236,7 +238,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -393,13 +395,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/index.ts SVC-1-0 "export const abcdef = 1;" /home/src/projects/project/b/index.ts Text-1 "import a = require(\"../a\");\nexport const ghijkl = a.abcdef;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via "../a" from file 'index.ts' index.ts @@ -517,7 +519,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -550,7 +552,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js index f6855d010bfa0..741162281437d 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -86,12 +86,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/index.ts SVC-1-0 "export const abcdef = 1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -191,7 +193,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -209,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -269,13 +271,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/index.ts SVC-1-0 "export const abcdef = 1;" /home/src/projects/project/b/index.ts SVC-1-0 "import a = require(\"../a\");\nexport const ghijkl = a.abcdef;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via "../a" from file 'index.ts' index.ts @@ -389,7 +391,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -418,7 +420,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js b/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js index 7399938b53a4a..ab967dd568422 100644 --- a/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Type roots @@ -74,17 +74,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file1.js SVC-1-0 "function foo() {}" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -99,7 +101,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -116,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json @@ -144,7 +146,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/b/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { @@ -342,7 +344,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js index f88dd02e69ee9..737b554b3d180 100644 --- a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js +++ b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/jsconfig.json WatchType: Type roots @@ -75,17 +75,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file1.js SVC-1-0 "/home/src/projects/project/** @deprecated */\nfunction foo () {}" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -100,7 +102,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -117,7 +119,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json @@ -145,7 +147,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/b/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { @@ -343,7 +345,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js b/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js index a23c9d23a13ff..8933afee366e9 100644 --- a/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js +++ b/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -54,12 +54,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file1.ts SVC-1-0 "let t1 = \"div\";\nlet t2 = \"div\";\nlet t3 = { \"div\": 123 };\nlet t4 = t3[\"div\"];" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -83,6 +83,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -107,7 +109,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -121,7 +123,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js index 93f02e2faedff..b9922caf8b2c9 100644 --- a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js +++ b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/someuser/projects/myproject/src/a.ts SVC-1-0 "export const x = 0;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by default include pattern '**/*' @@ -157,6 +157,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/someuser/projects/myproject/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/someuser/projects/myproject/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/myproject/tsconfig.json @@ -207,7 +209,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/someuser/projects/myproject/src/a.ts SVC-2-0 "export const x = 0;export const y = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -238,7 +240,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/someuser/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js index a26438d743bf2..f2e7347e0be48 100644 --- a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +199,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -220,7 +222,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 10;" /home/src/projects/project/b.ts SVC-2-0 "export const newB = 10;" @@ -256,7 +258,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -283,7 +285,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -335,7 +337,7 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -344,7 +346,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts SVC-2-0 "export const newB = 10;" @@ -396,7 +398,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -421,7 +423,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -430,7 +432,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-3 "export const b = 10;" @@ -467,7 +469,7 @@ ScriptInfos:: pendingReloadFromDisk: true containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -477,7 +479,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-4 "export const b = 10;export const x = 10;" @@ -530,7 +532,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js index f21793f5d8098..4640f69d9b610 100644 --- a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +199,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -264,7 +266,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -316,7 +318,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -325,7 +327,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" @@ -377,7 +379,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -394,7 +396,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -434,7 +436,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -444,7 +446,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-2 "export const b = 10;export const x = 10;" @@ -497,7 +499,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js index 8e7ce920965c2..30b46990289f2 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +199,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -264,7 +266,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -316,7 +318,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -325,7 +327,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" @@ -384,7 +386,7 @@ ScriptInfos:: version: SVC-2-1 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -393,7 +395,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts SVC-2-1 "export const y = 10;export const b = 10;" @@ -448,7 +450,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -473,7 +475,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -508,7 +510,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-3 "export const y = 10;export const b = 10;export const x = 10;" @@ -561,7 +563,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js index 6a77bdda1c746..894356df3cc66 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +199,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -264,7 +266,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -316,7 +318,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -325,7 +327,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-1 "export const b = 10;" @@ -384,7 +386,7 @@ ScriptInfos:: version: SVC-2-1 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -393,7 +395,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts SVC-2-1 "export const y = 10;export const b = 10;" @@ -445,7 +447,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -470,7 +472,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -479,7 +481,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-3 "export const b = 10;" @@ -516,7 +518,7 @@ ScriptInfos:: pendingReloadFromDisk: true containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -526,7 +528,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-1 "export const y = 10;export const a = 10;" /home/src/projects/project/b.ts Text-4 "export const b = 10;export const x = 10;" @@ -579,7 +581,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js index e1b4afb6741bb..a79369e1efb5e 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib/module2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/lib/module2.ts Text-1 "let z = 10;" /home/src/projects/project/a/b/src/app.ts SVC-1-0 "let x = 10;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' lib/module2.ts Matched by default include pattern '**/*' src/app.ts @@ -171,6 +171,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -187,7 +189,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -209,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -258,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -282,7 +284,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -333,7 +335,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -361,7 +363,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -410,7 +412,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -434,7 +436,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -485,7 +487,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -513,7 +515,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -562,7 +564,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -586,7 +588,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -637,7 +639,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -665,7 +667,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -714,7 +716,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -738,7 +740,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -789,7 +791,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -817,7 +819,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -866,7 +868,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -890,7 +892,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -941,7 +943,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -969,7 +971,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -1018,7 +1020,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1042,7 +1044,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js index 4c9b9ba58e66a..ac71ad5a78716 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -76,12 +76,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/src/app.ts SVC-1-0 "let x = 10;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/app.ts Matched by default include pattern '**/*' @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -198,7 +200,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -245,7 +247,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -265,7 +267,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -314,7 +316,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -338,7 +340,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -385,7 +387,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -405,7 +407,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -454,7 +456,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -478,7 +480,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -525,7 +527,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -545,7 +547,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -596,13 +598,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/B/lib/module2.ts SVC-1-0 "let z = 10;" /home/src/projects/project/a/b/src/app.ts SVC-1-0 "let x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' B/lib/module2.ts Matched by default include pattern '**/*' b/src/app.ts @@ -673,12 +675,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/src/app.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/app.ts Matched by default include pattern '**/*' @@ -731,7 +733,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -768,7 +770,7 @@ ScriptInfos:: containingProjects: 1 *changed* /home/src/projects/project/a/tsconfig.json *new* /home/src/projects/project/a/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/tsconfig.json *new* @@ -816,7 +818,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -840,7 +842,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -889,7 +891,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -917,7 +919,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -964,7 +966,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -988,7 +990,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -1010,13 +1012,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/B/lib/module2.ts /home/src/projects/project/a/b/src/app.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' B/lib/module2.ts Matched by default include pattern '**/*' b/src/app.ts @@ -1033,7 +1035,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/a/b/src/app.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/a/B/lib/module2.ts ProjectRootPath: /home/src/projects/project/a/B Info seq [hh:mm:ss:mss] Projects: @@ -1062,7 +1064,7 @@ FsWatches *deleted*:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive *deleted*:: @@ -1087,7 +1089,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/project/a/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *deleted* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *deleted* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js b/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js index 3c96a379432a7..737dff03f31f8 100644 --- a/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js +++ b/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: externalProject, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalProject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: externalProject WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: externalProject WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: externalProject WatchType: Type roots @@ -49,12 +49,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalProject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'externalProject' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/app.ts Root file specified for compilation @@ -110,6 +110,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -122,7 +124,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -135,7 +137,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalProject -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 externalProject @@ -157,7 +159,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalProject Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalProject projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'externalProject' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-2-0 "" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -190,7 +192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -208,7 +210,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 externalProject *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 externalProject diff --git a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js index 14873ed6890ec..a8ff72c22dead 100644 --- a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js +++ b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/someuser/projects/myproject/src/a.ts SVC-1-0 "export const x = 0;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/someuser/projects/myproject/node_modules/@types: *new* @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/someuser/projects/myproject/tsconfig.json: *new* {} @@ -180,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/myproject/tsconfig.json @@ -227,13 +229,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/someuser/projects/myproject/src/a.ts SVC-1-0 "export const x = 0;" /user/someuser/projects/myproject/src/b.ts SVC-1-0 "export {}; declare module \"./a\" { export const y: number; }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by default include pattern '**/*' src/b.ts @@ -276,7 +278,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/someuser/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js index 107c39d08822e..deba41c1a0666 100644 --- a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js +++ b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -55,12 +55,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file.ts SVC-1-0 "const x = 10;\nfunction foo() {\n // @ts-ignore\n let y: string = x;\n return y;\n}\nfunction bar() {\n // @ts-ignore\n let z : string = x;\n return z;\n}\nfoo();\nbar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file.ts Root file specified for compilation @@ -84,6 +84,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -106,7 +108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -247,7 +249,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -282,7 +284,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file.ts SVC-1-1 "const x = 10;\nfunction foo() {\n \n let y: string = x;\n return y;\n}\nfunction bar() {\n // @ts-ignore\n let z : string = x;\n return z;\n}\nfoo();\nbar();" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -418,7 +420,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -453,7 +455,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file.ts SVC-1-2 "const x = 10;\nfunction foo() {\n // @ts-ignore\n let y: string = x;\n return y;\n}\nfunction bar() {\n // @ts-ignore\n let z : string = x;\n return z;\n}\nfoo();\nbar();" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js index 0ae96880338e2..6becaab4a85b3 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -140,17 +140,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/tsconfig.json SVC-1-0 "{}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tsconfig.json Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -184,7 +186,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -212,11 +214,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -265,7 +267,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -288,7 +290,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -339,7 +341,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -397,7 +399,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js index 85b77cb5cd711..2dd0f55231219 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -156,17 +156,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/tsconfig.json SVC-1-0 "{}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tsconfig.json Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -179,7 +181,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -200,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -228,11 +230,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -296,7 +298,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -319,7 +321,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -372,7 +374,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -436,7 +438,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js index 6e80ae61fc082..ff52905fc50ca 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -156,17 +156,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/tsconfig.json SVC-1-0 "{}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tsconfig.json Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -179,7 +181,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -200,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -228,11 +230,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -296,7 +298,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -319,7 +321,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -372,7 +374,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -407,11 +409,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -456,7 +458,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -479,7 +481,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -517,7 +519,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js index 7fcb80ed809f2..c791f9af0eb94 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -143,17 +143,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/tsconfig.json SVC-1-0 "{}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tsconfig.json Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -187,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -215,11 +217,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -272,7 +274,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -295,7 +297,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -349,7 +351,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -380,11 +382,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -437,7 +439,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -460,7 +462,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js index ae1c320854bd2..e82e7f3999d27 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -143,17 +143,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/tsconfig.json SVC-1-0 "{}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tsconfig.json Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -166,7 +168,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -187,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -215,11 +217,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -272,7 +274,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -295,7 +297,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -349,7 +351,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -380,11 +382,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -437,7 +439,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -460,7 +462,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js index 1aecc6a07ce54..30bd0dd8c421d 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "import { y, cc } from \"./b\";\nimport { something } from \"something\";\nclass c { prop = \"hello\"; foo() { return this.prop; } }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -151,13 +153,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "import { y, cc } from \"./b\";\nimport { something } from \"something\";\nclass c { prop = \"hello\"; foo() { return this.prop; } }" /user/username/projects/myproject/b.ts SVC-1-0 "export { cc } from \"./c\";\nimport { something } from \"something\";\n export const y = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation ../../../../../user/username/projects/myproject/b.ts @@ -193,7 +195,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js index 6b6f9e94a6e3c..d70b4f4d76881 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "import { y, cc } from \"./b\";\nimport { something } from \"something\";\nclass c { prop = \"hello\"; foo() { return this.prop; } }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -132,7 +134,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -157,12 +159,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/c.ts SVC-1-0 "export const cc = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/c.ts Root file specified for compilation @@ -196,7 +198,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -223,13 +225,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/c.ts SVC-1-0 "export const cc = 10;" /user/username/projects/myproject/b.ts SVC-1-0 "export { cc } from \"./c\";\nimport { something } from \"something\";\n export const y = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/c.ts Root file specified for compilation ../../../../../user/username/projects/myproject/b.ts @@ -264,7 +266,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js index 8ed66bcd5ddcb..de79871a3f311 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js @@ -47,12 +47,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/index.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/index.ts Root file specified for compilation @@ -76,6 +76,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -84,7 +86,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js index 93fde3c5a30a1..03d7e5e7c7bf1 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js @@ -54,12 +54,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "import { y, cc } from \"./b\";\nimport { something } from \"something\";\nclass c { prop = \"hello\"; foo() { return this.prop; } }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -83,6 +83,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -91,7 +93,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js index c5230a4539a12..40ce250a6e884 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "///\n///\nfunction fooA() { }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js index afab4e577f388..f63fc6c08af69 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "import { y, cc } from \"./b\";\nimport { something } from \"something\";\nclass c { prop = \"hello\"; foo() { return this.prop; } }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js index dcb7127be94d2..607398d07c3f6 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js @@ -38,12 +38,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "if (a < (b + c) { }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -67,6 +67,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -75,7 +77,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js index 7124edf638690..661d30087c650 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "import { y, cc } from \"./b\";\nimport { something } from \"something\";\nclass c { prop = \"hello\"; foo() { return this.prop; } }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -88,7 +90,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js b/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js index 8625beae1ae66..113db388a214f 100644 --- a/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js +++ b/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -73,13 +73,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/file1.ts Text-1 "export const r = 1;\nexport const s = 2;" /home/src/projects/project/a/target.ts SVC-1-0 "const a = 1;\nconst b = 2;\nconst c = 3;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a/file1.ts Matched by default include pattern '**/*' a/target.ts @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -178,7 +180,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -200,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -235,7 +237,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/file1.ts Text-1 "export const r = 1;\nexport const s = 2;" /home/src/projects/project/a/target.ts SVC-1-1 "const a = 1;const q = 1;\nfunction e();\nconst f = r + s;\nconst b = 2;\nconst c = 3;" @@ -297,7 +299,7 @@ ScriptInfos:: version: SVC-1-2 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -328,7 +330,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/file1.ts Text-1 "export const r = 1;\nexport const s = 2;" /home/src/projects/project/a/target.ts SVC-1-2 "const a = 1;\nconst b = 2;\nconst c = 3;" diff --git a/tests/baselines/reference/tsserver/pasteEdits/should-not-error.js b/tests/baselines/reference/tsserver/pasteEdits/should-not-error.js index 8021fae99796a..4763bf0e9534d 100644 --- a/tests/baselines/reference/tsserver/pasteEdits/should-not-error.js +++ b/tests/baselines/reference/tsserver/pasteEdits/should-not-error.js @@ -45,16 +45,16 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: ^/untitled/ts-nul-authority/Untitled-1 ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/Vscode/Projects/bin Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^/untitled/ts-nul-authority/Untitled-1 SVC-1-0 "function foo(){}\r\n \r\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^/untitled/ts-nul-authority/Untitled-1 Root file specified for compilation @@ -75,9 +75,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -87,7 +89,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/plugins/With-global-plugins.js b/tests/baselines/reference/tsserver/plugins/With-global-plugins.js index 32d3ac45e4399..bd04e87d474c2 100644 --- a/tests/baselines/reference/tsserver/plugins/With-global-plugins.js +++ b/tests/baselines/reference/tsserver/plugins/With-global-plugins.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] Loading global plugin myPlugin/subpath/../../malicious Info seq [hh:mm:ss:mss] Enabling plugin myPlugin/subpath/../../malicious from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Skipped loading plugin myPlugin/subpath/../../malicious because only package name is allowed plugin name Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -107,12 +107,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -197,6 +197,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -207,7 +209,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -225,7 +227,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/With-local-plugins.js b/tests/baselines/reference/tsserver/plugins/With-local-plugins.js index 448a6302751cf..5dcc8908a82b1 100644 --- a/tests/baselines/reference/tsserver/plugins/With-local-plugins.js +++ b/tests/baselines/reference/tsserver/plugins/With-local-plugins.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] Skipped loading plugin myPlugin/subpath/../../malicious Info seq [hh:mm:ss:mss] Enabling plugin undefined from candidate paths: /home/src/tslibs/TS/Lib/tsc.js/../../.. Info seq [hh:mm:ss:mss] Skipped loading plugin {"transform":"some-transform"} because only package name is allowed plugin name Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -172,12 +172,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -276,6 +276,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -286,7 +288,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -304,7 +306,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js b/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js index 20bd879fc0a97..f06159a8923e2 100644 --- a/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js +++ b/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Loading some-plugin from /home/src/tslibs/TS/Lib/tsc.js Loading plugin: some-plugin Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -82,12 +82,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -176,6 +176,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -186,7 +188,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +206,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js b/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js index 074752bb2e420..2c3d23920bb18 100644 --- a/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js +++ b/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -91,14 +91,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { const x = 0; } }" /home/src/projects/project/b.ts Text-1 "class c { prop = \"hello\"; foo() { const x = 0; } }" /home/src/projects/project/c.ts Text-1 "class c { prop = \"hello\"; foo() { const x = 0; } }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' b.ts @@ -191,6 +191,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -205,7 +207,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -231,7 +233,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -279,7 +281,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -304,7 +306,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -352,7 +354,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -377,7 +379,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js index 71e040210e798..0df17d6c094e9 100644 --- a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js +++ b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js @@ -75,7 +75,7 @@ Require:: some-plugin PluginFactory Invoke Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/someFile.txt 500 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -84,12 +84,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export const x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -184,6 +184,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -194,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -288,7 +290,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export const x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -362,7 +364,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js index 0b273e6f31aec..41e43196c2523 100644 --- a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js +++ b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js @@ -80,7 +80,7 @@ getExternalFiles:: Getting new list of .vue files Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.vue 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -89,14 +89,14 @@ getExternalFiles:: Returning cached .vue files Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export const a = 10;" /user/username/projects/myproject/d.ts Text-1 "export const d = 10;" /user/username/projects/myproject/b.vue Text-1 "export const y = \"bVue file\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by include pattern '*.ts' in 'tsconfig.json' d.ts @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -196,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -214,7 +216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -261,15 +263,15 @@ getExternalFiles:: Returning cached .vue files Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export const a = 10;" /user/username/projects/myproject/d.ts Text-1 "export const d = 10;" /user/username/projects/myproject/b.vue Text-1 "export const y = \"bVue file\";" /user/username/projects/myproject/c.vue Text-1 "export const y = \"cVue file\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by include pattern '*.ts' in 'tsconfig.json' d.ts @@ -318,7 +320,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -339,7 +341,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -382,7 +384,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -410,7 +412,7 @@ getExternalFiles:: Returning cached .vue files Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts SVC-1-0 "export const a = 10;" /user/username/projects/myproject/d.ts Text-2 "export const d = 10;export const x = 10;" /user/username/projects/myproject/b.vue Text-1 "export const y = \"bVue file\";" @@ -455,7 +457,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js index 565c2fc01f02e..6884a38b7831a 100644 --- a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js +++ b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Loading some-plugin from /home/src/tslibs/TS/Lib/tsc.js Loading plugin: some-plugin Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b.ts 500 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -83,12 +83,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a.ts SVC-1-0 "/// " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -177,6 +177,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -187,7 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -203,7 +205,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -237,7 +239,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -275,13 +277,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b.ts Text-1 "const y = 10;" /user/username/projects/project/a.ts SVC-1-0 "/// " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Referenced via './b.ts' from file 'a.ts' Matched by default include pattern '**/*' @@ -298,7 +300,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b.ts: *new* {} @@ -317,7 +319,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js index 55b644ff1867e..b426bc6bc48b1 100644 --- a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js +++ b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Plugin validation succeeded getExternalFiles:: Getting new list of .vue files Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -92,13 +92,13 @@ getExternalFiles:: Returning cached .vue files Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts Text-1 "export const a = 10;" /user/username/projects/myproject/b.vue SVC-1-0 "import { y } from \"bVueFile\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by include pattern '*.ts' in 'tsconfig.json' b.vue @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules: *new* @@ -200,7 +202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -218,7 +220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -314,7 +316,7 @@ getExternalFiles:: Returning cached .vue files Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a.ts Text-1 "export const a = 10;" /user/username/projects/myproject/b.vue SVC-1-1 "import { y } from \"bVueFileUpdated\";" diff --git a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js index 9ec2b0e044d93..9db6ff87e7514 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js @@ -35,16 +35,16 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) request import plugin-a Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^memfs:/foo.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^memfs:/foo.ts Root file specified for compilation @@ -68,9 +68,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js index 8ba2edda2473d..37c28920baf3f 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js @@ -35,16 +35,16 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) request import plugin-a Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^memfs:/foo.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^memfs:/foo.ts Root file specified for compilation @@ -68,9 +68,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js index 3e1cdb0f103f0..2a8bd4087ce69 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js @@ -39,16 +39,16 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-b from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Dynamically importing plugin-b from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) request import plugin-b Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^memfs:/foo.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^memfs:/foo.ts Root file specified for compilation @@ -72,9 +72,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -84,7 +86,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js index 4f17d50553b2d..c0095ea593a8d 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js @@ -36,16 +36,16 @@ Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /home/src/tslibs/TS request import plugin-a Awaiting project close Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^memfs:/foo.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^memfs:/foo.ts Root file specified for compilation @@ -69,9 +69,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -81,7 +83,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -125,7 +127,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -158,12 +160,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /random/foo2.ts SVC-1-0 "" - ../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo2.ts Root file specified for compilation @@ -171,12 +173,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts ^memfs:/foo.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^memfs:/foo.ts Root file specified for compilation @@ -215,7 +217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js index 208466fbfe515..7d756ecde86a2 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /home/src/tslibs/TS request import plugin-a awaiting config file delete Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -70,12 +70,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -160,6 +160,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -170,7 +172,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -188,7 +190,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js index 784dcb7a9128a..269af0fc58818 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js @@ -35,16 +35,16 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /home/sr Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /home/src/tslibs/TS/Lib/tsc.js/../../.. (resolved to /home/src/tslibs/TS/Lib/tsc.js/../../../node_modules) request import plugin-a Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" ^memfs:/foo.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ^memfs:/foo.ts Root file specified for compilation @@ -68,9 +68,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js index f6b73623d14b6..528b8dd5d79d6 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -193,7 +195,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -248,7 +250,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -371,7 +373,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js index 7b6e7937d7e6f..c6e63b5e4a229 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -161,6 +161,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -193,7 +195,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js index 6cec6acc67dea..429d3f1a3b45f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -193,6 +193,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -207,7 +209,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -225,7 +227,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js index 0d0caa3539442..e7baa59fb517b 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json @@ -193,12 +193,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/test.ts SVC-1-0 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' test.ts Root file specified for compilation @@ -226,6 +226,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -252,7 +254,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -274,7 +276,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -339,7 +341,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -366,7 +368,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -438,12 +440,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/test2.ts SVC-1-0 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' test2.ts Root file specified for compilation @@ -506,7 +508,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js index 4345687e35b87..95c6c5af37691 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -76,12 +76,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json @@ -166,12 +166,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/test.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' test.ts Root file specified for compilation @@ -199,6 +199,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -225,7 +227,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -247,7 +249,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -312,7 +314,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -339,7 +341,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -382,12 +384,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/test2.ts SVC-1-0 "let xy = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' test2.ts Root file specified for compilation @@ -450,7 +452,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js index 30d47845607b8..5971259c054ac 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -153,6 +153,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -167,7 +169,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -185,7 +187,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js index 895c29ab8dd62..70b792aed1372 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/a/b/no-such-tsconfig } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/no-such-tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -85,12 +85,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json @@ -190,6 +190,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -206,7 +208,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -220,7 +222,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js index b9c58bfdf3132..7e82ada287989 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -77,13 +77,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" /home/src/projects/project/a/b/lib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json lib.ts @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -201,7 +203,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -219,7 +221,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -250,7 +252,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/app.ts", "/home/src/projects/project/a/b/lib.ts", "/home/src/projects/project/a/b/tsconfig.json" @@ -353,7 +355,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" /home/src/projects/project/a/b/lib.ts Text-1 "" @@ -393,7 +395,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/app.ts", "/home/src/projects/project/a/b/lib.ts", "/home/src/projects/project/a/b/tsconfig.json" diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js index 04f6310e4a325..74344d9b77d0a 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -77,13 +77,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" /home/src/projects/project/a/b/lib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json lib.ts @@ -170,6 +170,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -186,7 +188,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -204,7 +206,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -235,7 +237,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/app.ts", "/home/src/projects/project/a/b/lib.ts", "/home/src/projects/project/a/b/tsconfig.json" @@ -324,7 +326,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" /home/src/projects/project/a/b/lib.ts Text-1 "" @@ -379,7 +381,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/app.ts", "/home/src/projects/project/a/b/lib.ts", "/home/src/projects/project/a/b/tsconfig.json" diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js index bb1e37f946abd..76d732b363502 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/applib.ts 500 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -74,12 +74,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -204,7 +206,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -218,7 +220,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -292,7 +294,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Timeout callback:: count: 2 @@ -320,13 +322,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" /home/src/projects/project/a/b/applib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Part of 'files' list in tsconfig.json applib.ts @@ -369,7 +371,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -388,7 +390,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index 35912a635a065..ef38ebc74f0b8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -98,14 +98,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/node_modules/@custom/plugin/proposed.d.ts Text-1 "declare module '@custom/plugin' {\n export const bar = 10;\n}" /users/username/projects/myproject/node_modules/@custom/plugin/index.d.ts Text-1 "import './proposed';\ndeclare module '@custom/plugin' {\n export const version: string;\n}" /users/username/projects/myproject/src/a.ts SVC-1-0 "import * as myModule from \"@custom/plugin\";\nfunction foo() {\n // hello\n}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@custom/plugin/proposed.d.ts Imported via './proposed' from file 'node_modules/@custom/plugin/index.d.ts' node_modules/@custom/plugin/index.d.ts @@ -194,6 +194,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/node_modules/@custom/package.json: *new* @@ -212,7 +214,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -234,7 +236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/tsconfig.json @@ -403,7 +405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/tsconfig.json @@ -446,7 +448,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/node_modules/@custom/plugin/proposed.d.ts Text-1 "declare module '@custom/plugin' {\n export const bar = 10;\n}" /users/username/projects/myproject/node_modules/@custom/plugin/index.d.ts Text-1 "import './proposed';\ndeclare module '@custom/plugin' {\n export const version: string;\n}" /users/username/projects/myproject/src/a.ts SVC-1-1 "import * as myModule from \"@custom/plugin\";\nfunction foo() {\n // heollo\n}" diff --git a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js index add43949ac221..ab45edd35ccfd 100644 --- a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "label: while (1) {}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -168,7 +170,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -186,7 +188,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -238,7 +240,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "label: while (1) {}" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js b/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js index b8ec6ad39748c..5bff4f89da67b 100644 --- a/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -69,12 +69,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -192,6 +192,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -206,7 +208,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -224,7 +226,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js index 86c74db39834a..dda296cbba910 100644 --- a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js +++ b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root-with-declarationDir.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src/node_modules/@types 1 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src/node_modules/@types 1 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Type roots @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export const a = 10;" /home/src/projects/project/src/file.ts SVC-1-0 "import { a } from \"../a\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a.ts Imported via "../a" from file 'file.ts' file.ts @@ -178,6 +178,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -192,7 +194,7 @@ FsWatches:: {} /home/src/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -214,7 +216,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js index 4a26e988ff32d..fb6dfe3989358 100644 --- a/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js +++ b/tests/baselines/reference/tsserver/projectErrors/dts-errors-when-files-dont-belong-to-common-root.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src/node_modules/@types 1 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src/node_modules/@types 1 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/src/tsconfig.json WatchType: Type roots @@ -78,13 +78,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export const a = 10;" /home/src/projects/project/src/file.ts SVC-1-0 "import { a } from \"../a\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a.ts Imported via "../a" from file 'file.ts' file.ts @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -189,7 +191,7 @@ FsWatches:: {} /home/src/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -211,7 +213,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js index c7a05814da028..b53b3f010d1d6 100644 --- a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/b/test.csproj, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/applib.ts 500 undefined Project: /home/src/projects/project/a/b/test.csproj WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/test.csproj WatchType: Type roots @@ -55,12 +55,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -116,6 +116,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -132,7 +134,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -145,7 +147,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -204,7 +206,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/app.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Timeout callback:: count: 1 @@ -223,7 +225,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/a/b/test.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -243,12 +245,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/applib.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' applib.ts Root file specified for compilation @@ -284,7 +286,7 @@ FsWatches:: {} /home/src/projects/project/a/b/applib.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -303,7 +305,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -339,7 +341,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -357,13 +359,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/test.csproj projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/applib.ts Text-1 "" /home/src/projects/project/a/b/app.ts Text-1 "" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' applib.ts Root file specified for compilation app.ts @@ -396,7 +398,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj diff --git a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js index b3ff41c92a64e..b430240744a39 100644 --- a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js +++ b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/wo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/workspaces/project/src 1 undefined Config: /home/username/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/workspaces/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/workspaces/project/node_modules/@types 1 undefined Project: /home/username/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/workspaces/project/node_modules/@types 1 undefined Project: /home/username/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/workspaces/node_modules/@types 1 undefined Project: /home/username/workspaces/project/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/username/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/username/workspaces/project/src/a.ts SVC-1-0 "export const a = 10;" /home/username/workspaces/project/src/b.ts Text-1 "export const b = 10;" - ../../../src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' src/b.ts @@ -174,6 +174,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + PolledWatches:: /home/username/workspaces/node_modules/@types: *new* @@ -182,8 +184,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":18} /home/username/workspaces/project/src: *new* {"inode":5} /home/username/workspaces/project/src/b.ts: *new* @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json @@ -230,8 +232,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /home/username/workspaces/project/src: {"inode":5} /home/username/workspaces/project/tsconfig.json: @@ -254,7 +256,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json @@ -288,13 +290,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/wor Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/workspaces/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/username/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/username/workspaces/project/src/a.ts SVC-1-0 "export const a = 10;" /home/username/workspaces/project/src/c.ts SVC-1-0 "export const b = 10;" - ../../../src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' src/c.ts @@ -335,8 +337,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /home/username/workspaces/project/src: {"inode":5} /home/username/workspaces/project/tsconfig.json: @@ -357,7 +359,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json @@ -489,8 +491,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":18} /home/username/workspaces/project/src: {"inode":5} /home/username/workspaces/project/src/c.ts: *new* @@ -505,7 +507,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js index c4270b4c9dc77..6ef05a69835ac 100644 --- a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myp Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myproject/node_modules/@types 1 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myproject/node_modules/@types 1 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Type roots @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/myproject/bar/app.ts SVC-1-0 "class Bar implements foo.Foo { getFoo() { return ''; } get2() { return 1; } }" /a/b/projects/myproject/foo/foo.ts Text-1 "declare namespace foo { interface Foo { get2(): number; getFoo(): string; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' bar/app.ts Matched by default include pattern '**/*' foo/foo.ts @@ -203,6 +203,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/projects/myproject/node_modules/@types: *new* @@ -215,7 +217,7 @@ FsWatches:: {} /a/b/projects/myproject/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -237,7 +239,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json @@ -381,7 +383,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /a/b/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json @@ -392,13 +394,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/mypr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/myproject/bar/app.ts SVC-1-0 "class Bar implements foo.Foo { getFoo() { return ''; } get2() { return 1; } }" /a/b/projects/myproject/foo2/foo.ts Text-1 "declare namespace foo { interface Foo { get2(): number; getFoo(): string; } }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' bar/app.ts Matched by default include pattern '**/*' foo2/foo.ts @@ -449,7 +451,7 @@ FsWatches:: {} /a/b/projects/myproject/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -477,7 +479,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/for-external-project.js b/tests/baselines/reference/tsserver/projectErrors/for-external-project.js index 6074376de306e..2d8b6d578e2a5 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-external-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-external-project.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/a/b/project.csproj, currentDirectory: /home/src/projects/project/a/b Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/project.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/project.csproj WatchType: Type roots @@ -51,17 +51,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.js Text-1 "function test1() { }" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -76,7 +78,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f1.js: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -89,7 +91,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/project.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/project.csproj @@ -117,7 +119,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/b/project.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/f1.js" ], "compilerOptions": { @@ -265,7 +267,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f1.js: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -314,7 +316,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/project.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.js Text-1 "function test1() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js index f3f81c0d69c38..e55b5efd5b117 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,17 +51,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.js SVC-1-0 "function test1() { }" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -86,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -99,7 +101,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -127,11 +129,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/f1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -181,7 +183,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -205,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -265,7 +267,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -340,7 +342,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/f1.js SVC-1-0 "function test1() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index da6588b9b3fc8..3908c1695a31c 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -76,12 +76,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-1-0 "import * as _a from '@angular/core';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/main.ts Matched by default include pattern '**/*' @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules: *new* @@ -178,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -200,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -362,7 +364,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -423,7 +425,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-1-0 "import * as _a from '@angular/core';" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -889,13 +891,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/@angular/core/index.d.ts Text-1 "export const y = 10;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import * as _a from '@angular/core';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@angular/core/index.d.ts Imported via '@angular/core' from file 'src/main.ts' src/main.ts @@ -954,7 +956,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -979,7 +981,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index ed58001d998c8..129702bf5c361 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -76,12 +76,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-1-0 "import * as _a from '@angular/core';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/main.ts Matched by default include pattern '**/*' @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules: *new* @@ -178,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -200,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -365,7 +367,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -414,7 +416,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-1-0 "import * as _a from '@angular/core';" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -930,13 +932,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/@angular/core/index.d.ts Text-1 "export const y = 10;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import * as _a from '@angular/core';" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@angular/core/index.d.ts Imported via '@angular/core' from file 'src/main.ts' src/main.ts @@ -995,7 +997,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -1020,7 +1022,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js index 187d504935891..2329a7d6412c2 100644 --- a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -54,17 +54,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/client/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/client/app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -85,7 +87,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -94,7 +96,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -126,11 +128,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/src/client/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -186,7 +188,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -210,7 +212,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -266,7 +268,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -303,14 +305,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/client/app.js SVC-1-0 "" /user/username/projects/myproject/src/server/utilities.js Text-1 "function getHostName() { return \"hello\"; } export { getHostName };" /user/username/projects/myproject/test/backend/index.js SVC-1-0 "import { getHostName } from '../../src/server/utilities';export default getHostName;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/client/app.js Root file specified for compilation src/server/utilities.js @@ -323,13 +325,13 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/src/client/app.js", "/user/username/projects/myproject/src/server/utilities.js", "/user/username/projects/myproject/test/backend/index.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -388,7 +390,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -412,7 +414,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -478,7 +480,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/server/utilities.js: *new* {} @@ -496,7 +498,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -729,7 +731,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/server/utilities.js: {} @@ -749,7 +751,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -787,12 +789,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/client/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/client/app.js Root file specified for compilation @@ -801,11 +803,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/src/client/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -856,7 +858,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -880,7 +882,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -899,13 +901,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/client/app.js SVC-1-0 "" /user/username/projects/myproject/src/server/utilities.js Text-1 "function getHostName() { return \"hello\"; } export { getHostName };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/client/app.js Root file specified for compilation src/server/utilities.js @@ -916,12 +918,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/src/client/app.js", "/user/username/projects/myproject/src/server/utilities.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -974,7 +976,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -998,7 +1000,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1061,7 +1063,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1085,7 +1087,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js index 04ac7044124b1..bef2162ee8b11 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -87,13 +87,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/blabla.json Text-1 "{}" /user/username/projects/myproject/src/test.ts SVC-1-0 "import * as blabla from \"./blabla.json\";\ndeclare var console: any;\nconsole.log(blabla);" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/blabla.json Imported via "./blabla.json" from file 'src/test.ts' Matched by include pattern './src/*.json' in 'tsconfig.json' @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -194,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src: *new* {} @@ -214,7 +216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js index 0bda618869f84..1257a953c57cd 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/blabla.json 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -85,13 +85,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/blabla.json Text-1 "{}" /user/username/projects/myproject/src/test.ts SVC-1-0 "import * as blabla from \"./blabla.json\";\ndeclare var console: any;\nconsole.log(blabla);" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/blabla.json Imported via "./blabla.json" from file 'src/test.ts' src/test.ts @@ -183,6 +183,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -191,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src: *new* {} @@ -211,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js index bb62a96f65341..6b415d253966c 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/workspaces/projects/someFolder/src/somefile.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/workspaces/projects/someFolder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -53,12 +53,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:Untitled-1 SVC-1-0 "/// \n/// " - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:Untitled-1 Root file specified for compilation @@ -82,6 +82,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/jsconfig.json: *new* @@ -98,7 +100,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/someuser/workspaces/projects/someFolder/src/somefile.d.ts: *new* {} @@ -110,7 +112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js index b772a827bd827..c31201b50045a 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js @@ -40,18 +40,18 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/src/somefile.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" untitled:Untitled-1 SVC-1-0 "/// \n/// " - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' untitled:Untitled-1 Root file specified for compilation @@ -75,6 +75,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/jsconfig.json: *new* @@ -87,7 +89,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -97,7 +99,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js index c7c51ea1fa8a8..1b7295fa30154 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -77,12 +77,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -213,6 +213,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -227,7 +229,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -245,7 +247,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -377,7 +379,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "let x = 10" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js index ced723392fe1b..ca31456dc39a7 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/ui.ts SVC-1-0 "const x = async (_action: string) => {\n};" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ui.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -180,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js index 0475c147ee247..13f4385637f46 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/ui.ts SVC-1-0 "const x = async (_action: string) => {\n};" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ui.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -180,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js index 8a56570670ee2..a4e0b58296a9f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/ui.ts SVC-1-0 "const x = async (_action: string) => {\n};" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ui.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -180,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -269,23 +271,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "requestCompleted", - "body": { - "request_seq": 2, - "performanceData": { - "diagnosticsDuration": [ - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/ui.ts" - } - ] - } - } - } After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +2: checkOne *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js index 0a18d185a9b1b..9227b3daba0e1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js @@ -69,16 +69,15 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/buttonClass/Source.js] var Hmi; (function (Hmi) { - var Button = /** @class */ (function () { - function Button() { + class Button { + static myStaticFunction() { } - Button.myStaticFunction = function () { - }; - return Button; - }()); + } Hmi.Button = Button; })(Hmi || (Hmi = {})); @@ -92,16 +91,16 @@ declare namespace Hmi { //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/TS/Lib/lib.d.ts","./Source.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}"],"root":[2],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts","./Source.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}"],"root":[2],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "./Source.ts" ], "fileInfos": { - "../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./Source.ts": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}" }, "root": [ @@ -117,7 +116,7 @@ declare namespace Hmi { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -128,19 +127,16 @@ declare namespace Hmi { "outSignature": "6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", "latestChangedDtsFile": "./Source.d.ts", "version": "FakeTSVersion", - "size": 913 + "size": 925 } //// [/user/username/projects/myproject/SiblingClass/Source.js] var Hmi; (function (Hmi) { - var Sibling = /** @class */ (function () { - function Sibling() { + class Sibling { + mySiblingFunction() { } - Sibling.prototype.mySiblingFunction = function () { - }; - return Sibling; - }()); + } Hmi.Sibling = Sibling; })(Hmi || (Hmi = {})); @@ -154,17 +150,17 @@ declare namespace Hmi { //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/TS/Lib/lib.d.ts","../buttonClass/Source.d.ts","./Source.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}"],"root":[3],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2810380820-declare namespace Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts","../buttonClass/Source.d.ts","./Source.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}"],"root":[3],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"-2810380820-declare namespace Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "../buttonClass/Source.d.ts", "./Source.ts" ], "fileInfos": { - "../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../buttonClass/Source.d.ts": "6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", "./Source.ts": "-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}" }, @@ -181,7 +177,7 @@ declare namespace Hmi { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -196,7 +192,7 @@ declare namespace Hmi { "outSignature": "-2810380820-declare namespace Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n", "latestChangedDtsFile": "./Source.d.ts", "version": "FakeTSVersion", - "size": 1046 + "size": 1058 } @@ -254,7 +250,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/buttonClass/t } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/buttonClass/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/buttonClass/Source.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/SiblingClass/node_modules/@types 1 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/SiblingClass/node_modules/@types 1 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Type roots @@ -264,13 +260,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/SiblingClass/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/SiblingClass/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/buttonClass/Source.ts Text-1 "module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}" /user/username/projects/myproject/SiblingClass/Source.ts SVC-1-0 "module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../buttonClass/Source.ts Source from referenced project '../buttonClass/tsconfig.json' included because '--outFile' specified Source.ts @@ -401,7 +397,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/SiblingClass/tsconfig.json: *new* {} @@ -419,7 +415,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/SiblingClass/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js index 480cef677b473..2c6999b5a13e1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -587,7 +589,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -658,14 +660,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -function fn1() { } -function fn2() { } -function fn3() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -690,7 +687,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -726,7 +723,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nexports.fn3 = fn3;\nfunction fn1() { }\nfunction fn2() { }\nfunction fn3() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js index 8c9b870100b41..73168c3459f22 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -577,7 +579,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" @@ -646,12 +648,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -675,7 +673,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -711,7 +709,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js index 6c6a794b4d542..f4fcfd9065c39 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -587,7 +589,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -656,12 +658,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } function fn3() { } @@ -686,7 +684,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -722,7 +720,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\nfunction fn3() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js index 0adfc640ede1f..25a1c6d797780 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -577,7 +579,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" @@ -646,12 +648,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -675,7 +673,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -711,7 +709,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js index 8901d0042ea23..0f72b7d11d331 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -644,14 +646,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -function fn1() { } -function fn2() { } -function fn3() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -676,7 +673,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -713,7 +710,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nexports.fn3 = fn3;\nfunction fn1() { }\nfunction fn2() { }\nfunction fn3() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js index 1f0fe513a05b9..7ee0b9b784afa 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -620,12 +622,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -649,7 +647,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -686,7 +684,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js index f0f5a11584949..33f5d693c76c0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -644,12 +646,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } function fn3() { } @@ -674,7 +672,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -711,7 +709,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\nfunction fn3() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js index 5b40a509a5cb8..ae7e6eaa3f992 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -620,12 +622,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -649,7 +647,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -686,7 +684,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js index 4ead56ad8e29f..735cfcae91ffd 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -506,12 +508,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -535,7 +533,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -572,7 +570,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js index 0eda66c79d55d..ca1e4300175d8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js index b21e98eb842d7..561df874cdbf1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js index 67e5721b3dba4..ff347819f3e38 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js index fd95297576b36..a73102f2cbbb8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js index a66abb0673970..c9c163f7ecfe6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js index fafb3707f2f7d..5ab46e1d950ab 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -539,12 +541,8 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/dependency/fns.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -function fn1() { } -function fn2() { } +export function fn1() { } +export function fn2() { } //// [/user/username/projects/myproject/decls/fns.d.ts] @@ -568,7 +566,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -604,7 +602,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/dependency/fns.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn1 = fn1;\nexports.fn2 = fn2;\nfunction fn1() { }\nfunction fn2() { }\n" + "text": "export function fn1() { }\nexport function fn2() { }\n" }, { "name": "/user/username/projects/myproject/decls/fns.d.ts", diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js index 99b1ea8a36791..49d807fce033e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -587,7 +589,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -642,11 +644,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -668,7 +668,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js index a707e54100344..d9ffbfeba12f1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -577,7 +579,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" @@ -632,13 +634,10 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn3 = fn3; -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -function fn3() { } +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); +export function fn3() { } @@ -660,7 +659,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn3 = fn3;\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nexport function fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js index 9aa14fe86f1fe..0728cd6d2b39d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -636,11 +638,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -663,7 +663,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index 7696df13a1de8..0da4aae0aa4d0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -587,7 +589,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -642,11 +644,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -668,7 +668,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js index 1fa96334b6645..f8bc56017aaab 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" @@ -634,11 +636,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); function fn3() { } @@ -662,7 +662,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nfunction fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index ea0b856509921..9d30b5ec56870 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -577,7 +579,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" @@ -632,11 +634,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); function fn3() { } @@ -659,7 +659,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nfunction fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js index 446a033fc0ad8..5afbd49294b5a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -548,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,7 +581,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -636,11 +638,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -663,7 +663,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js index 6590eb3e360be..220dba0d6c6eb 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -578,7 +580,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" @@ -634,13 +636,10 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn3 = fn3; -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -function fn3() { } +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); +export function fn3() { } @@ -663,7 +662,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn3 = fn3;\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nexport function fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js index dd1317997de52..65edfe1240692 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -497,11 +499,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -524,7 +524,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index 96c123a745031..b26447e61191a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -404,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -432,7 +434,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -523,11 +525,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -549,7 +549,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index bcff7cdcb33c4..e2be81450bc82 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -348,7 +350,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -395,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js index a246789feb9b1..05131f8cbe512 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -360,7 +362,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js index f73415d02c93b..07b4aa22c2b97 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -348,7 +350,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -393,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js index aeadb9fc1aa9c..e08a90fbb1c6d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -360,7 +362,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js index 92414e2cbe30f..23ae431e72ed1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -349,7 +351,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -380,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js index bc1dd3b00433f..4ad21aa6dd63b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -361,7 +363,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js index 205e0fd85b213..cf6a8ada3f8be 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -349,7 +351,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -378,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js index 9ed0d5f313b64..6647d1d6c3e13 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -361,7 +363,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js index 4e0e60cc84f04..14e572fe0136a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js index 8431098cb0e74..7c1709c3a629d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js index 404a9d15969a2..f0823ca019abb 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -348,7 +350,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -395,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -430,11 +432,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js index 22e92617f447d..a911805ac185d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -360,7 +362,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" @@ -411,13 +413,10 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn3 = fn3; -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -function fn3() { } +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); +export function fn3() { } @@ -439,7 +438,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn3 = fn3;\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nexport function fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js index 2c3fb05430487..cf3422118d8de 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -348,7 +350,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -395,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -430,11 +432,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js index b2b710e7e80d1..5de3fb1ce9efa 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -360,7 +362,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" @@ -411,11 +413,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); function fn3() { } @@ -438,7 +438,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nfunction fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js index 9051d665dfbe3..c6be5f743e1d1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -349,7 +351,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -380,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -416,11 +418,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -443,7 +443,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js index 92f3be0655514..e0bfae62c7c83 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -361,7 +363,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }" @@ -413,13 +415,10 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn3 = fn3; -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -function fn3() { } +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); +export function fn3() { } @@ -442,7 +441,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fn3 = fn3;\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nexport function fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js index 8afb9194f74f4..5ce5273c1d8c2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -321,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -349,7 +351,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-2 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" @@ -380,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -416,11 +418,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -443,7 +443,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js index 3056074589501..f00d038d8e7d6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -361,7 +363,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }" @@ -413,11 +415,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); function fn3() { } @@ -441,7 +441,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\nfunction fn3() { }\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\nfunction fn3() { }\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js index da4fbcdc403a2..90baf940fa46c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -305,11 +307,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -332,7 +332,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js index 3d6105a496941..efaf64a206e54 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -116,13 +116,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -319,11 +321,9 @@ Info seq [hh:mm:ss:mss] response: } After request //// [/user/username/projects/myproject/usage/usage.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); +import { fn1, fn2, } from '../decls/fns'; +fn1(); +fn2(); @@ -345,7 +345,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "/user/username/projects/myproject/usage/usage.js", "writeByteOrderMark": false, - "text": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fns_1 = require(\"../decls/fns\");\n(0, fns_1.fn1)();\n(0, fns_1.fn2)();\n" + "text": "import { fn1, fn2, } from '../decls/fns';\nfn1();\nfn2();\n" } ], "emitSkipped": false, diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js index 31c9e30326973..85872421d536f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js @@ -116,7 +116,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots @@ -126,13 +126,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/index.ts Text-1 "export function f2() {\n return console.log()\n}\n" /home/src/projects/project/b/index.ts SVC-1-0 "import { f2 } from '../a/index.js'\nexport function f() {\n f2()\n return console.log('')\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '../a/index.js' from file 'index.ts' index.ts @@ -224,6 +224,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -240,7 +242,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +266,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -421,29 +423,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "requestCompleted", - "body": { - "request_seq": 2, - "performanceData": { - "diagnosticsDuration": [ - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/home/src/projects/project/b/index.ts" - }, - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/home/src/projects/project/a/index.ts" - } - ] - } - } - } After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +3: checkOne *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 1714a7ad52e37..bb7f0161cb395 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -123,13 +123,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n fnErr\n} from '../decls/fns'\nfn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,6 +219,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js index e5e00be45d585..ebcc376e12601 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -123,13 +123,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n fnErr\n} from '../decls/fns'\nfn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,6 +219,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js index a5a467c70f3ab..0bbce122b15fb 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -123,13 +123,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n fnErr\n} from '../decls/fns'\nfn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,6 +219,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -400,6 +402,23 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +3: checkOne *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterrForProject", + "arguments": { + "delay": 0, + "file": "/user/username/projects/myproject/dependency/fns.ts" + }, + "seq": 3, + "type": "request" + } Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -425,27 +444,14 @@ Info seq [hh:mm:ss:mss] event: } } } -After running Immedidate callback:: count: 0 - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "geterrForProject", - "arguments": { - "delay": 0, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - "seq": 3, - "type": "request" - } After request Timeout callback:: count: 1 -3: checkOne *new* +3: checkOne *deleted* +4: checkOne *new* Before running Timeout callback:: count: 1 -3: checkOne +4: checkOne Info seq [hh:mm:ss:mss] event: { @@ -496,10 +502,10 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 1 -4: checkOne *new* +5: checkOne *new* Before running Timeout callback:: count: 1 -4: checkOne +5: checkOne Info seq [hh:mm:ss:mss] event: { @@ -561,29 +567,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "requestCompleted", - "body": { - "request_seq": 3, - "performanceData": { - "diagnosticsDuration": [ - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/usage/usage.ts" - } - ] - } - } - } After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +6: checkOne *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index 112c10d4a6b9f..e9dbbe6701085 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -123,13 +123,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n fnErr\n} from '../decls/fns'\nfn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,6 +219,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -300,12 +302,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -414,7 +416,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -442,7 +444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js index aeca7019c4b88..3c6280d14e308 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -123,13 +123,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n fnErr\n} from '../decls/fns'\nfn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,6 +219,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -300,12 +302,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -414,7 +416,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -442,7 +444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js index 98c2108bc9794..a64ef1b03b9fb 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -123,13 +123,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "import {\n fn1,\n fn2,\n fnErr\n} from '../decls/fns'\nfn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,6 +219,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -300,12 +302,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "export function fn1() { }\nexport function fn2() { }\n// Introduce error for fnErr import in main\n// export function fnErr() { }\n// Error in dependency ts file\nexport let x: string = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -414,7 +416,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -442,7 +444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -592,6 +594,23 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +3: checkOne *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterrForProject", + "arguments": { + "delay": 0, + "file": "/user/username/projects/myproject/dependency/fns.ts" + }, + "seq": 4, + "type": "request" + } Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -617,27 +636,14 @@ Info seq [hh:mm:ss:mss] event: } } } -After running Immedidate callback:: count: 0 - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "geterrForProject", - "arguments": { - "delay": 0, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - "seq": 4, - "type": "request" - } After request Timeout callback:: count: 1 -3: checkOne *new* +3: checkOne *deleted* +4: checkOne *new* Before running Timeout callback:: count: 1 -3: checkOne +4: checkOne Info seq [hh:mm:ss:mss] event: { @@ -699,23 +705,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "requestCompleted", - "body": { - "request_seq": 4, - "performanceData": { - "diagnosticsDuration": [ - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/dependency/fns.ts" - } - ] - } - } - } After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +5: checkOne *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 26b8018846703..b0a579e4e6db0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "fn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js index 0720a2114cf6e..61b7144cd3842 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "fn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js index b36bc4b37d663..607c4a28ec7d5 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "fn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -409,6 +411,23 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +3: checkOne *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterrForProject", + "arguments": { + "delay": 0, + "file": "/user/username/projects/myproject/dependency/fns.ts" + }, + "seq": 3, + "type": "request" + } Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -434,27 +453,14 @@ Info seq [hh:mm:ss:mss] event: } } } -After running Immedidate callback:: count: 0 - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "geterrForProject", - "arguments": { - "delay": 0, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - "seq": 3, - "type": "request" - } After request Timeout callback:: count: 1 -3: checkOne *new* +3: checkOne *deleted* +4: checkOne *new* Before running Timeout callback:: count: 1 -3: checkOne +4: checkOne Info seq [hh:mm:ss:mss] event: { @@ -505,10 +511,10 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 1 -4: checkOne *new* +5: checkOne *new* Before running Timeout callback:: count: 1 -4: checkOne +5: checkOne Info seq [hh:mm:ss:mss] event: { @@ -570,29 +576,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "requestCompleted", - "body": { - "request_seq": 3, - "performanceData": { - "diagnosticsDuration": [ - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/usage/usage.ts" - } - ] - } - } - } After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +6: checkOne *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index 448a89b66a896..798843e7668db 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "fn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -309,12 +311,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -436,7 +438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -464,7 +466,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js index 8da45bfc79fba..5a5d18c9fae91 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "fn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -309,12 +311,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -436,7 +438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -464,7 +466,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js index d9bfbab658f85..f6741aa0f51c3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" /user/username/projects/myproject/usage/usage.ts SVC-1-0 "fn1();\nfn2();\nfnErr();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -309,12 +311,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/fns.ts Text-1 "function fn1() { }\nfunction fn2() { }\n// Introduce error for fnErr import in main\n// function fnErr() { }\n// Error in dependency ts file\nlet x: string = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' fns.ts Matched by default include pattern '**/*' @@ -436,7 +438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -464,7 +466,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -614,6 +616,23 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +3: checkOne *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterrForProject", + "arguments": { + "delay": 0, + "file": "/user/username/projects/myproject/dependency/fns.ts" + }, + "seq": 4, + "type": "request" + } Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -639,27 +658,14 @@ Info seq [hh:mm:ss:mss] event: } } } -After running Immedidate callback:: count: 0 - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "geterrForProject", - "arguments": { - "delay": 0, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - "seq": 4, - "type": "request" - } After request Timeout callback:: count: 1 -3: checkOne *new* +3: checkOne *deleted* +4: checkOne *new* Before running Timeout callback:: count: 1 -3: checkOne +4: checkOne Info seq [hh:mm:ss:mss] event: { @@ -721,23 +727,7 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "requestCompleted", - "body": { - "request_seq": 4, - "performanceData": { - "diagnosticsDuration": [ - { - "syntaxDiag": *, - "semanticDiag": *, - "suggestionDiag": *, - "file": "/user/username/projects/myproject/dependency/fns.ts" - } - ] - } - } - } After running Immedidate callback:: count: 0 + +Timeout callback:: count: 1 +5: checkOne *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js index 7fd525dea8cd6..dde2d10bc0a0e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js +++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js @@ -101,6 +101,8 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/container/built/local/lib.js] var container; (function (container) { @@ -118,16 +120,16 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../lib/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../lib/index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ @@ -143,7 +145,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -154,7 +156,7 @@ declare namespace container { "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 845 + "size": 857 } //// [/user/username/projects/container/built/local/exec.js] @@ -200,17 +202,17 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib.d.ts","../../compositeexec/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "../../compositeexec/index.ts": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" }, @@ -227,7 +229,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -242,7 +244,7 @@ declare namespace container { "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 1021 } @@ -299,7 +301,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/lib/tsconfig. } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/tsconfig.json 2000 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots @@ -309,13 +311,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" /user/username/projects/container/compositeExec/index.ts SVC-1-0 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -439,7 +441,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/container/compositeExec/tsconfig.json: *new* {} @@ -462,7 +464,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/container/compositeExec/tsconfig.json @@ -498,12 +500,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/temp/temp.ts SVC-1-0 "let x = 10" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' temp.ts Root file specified for compilation @@ -553,7 +555,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -580,7 +582,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/container/compositeExec/tsconfig.json @@ -633,12 +635,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -858,13 +860,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" /user/username/projects/container/exec/index.ts Text-1 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1052,7 +1054,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -1096,7 +1098,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/container/compositeExec/tsconfig.json @@ -1190,7 +1192,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -1236,7 +1238,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1338,7 +1340,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -1386,7 +1388,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1477,7 +1479,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/index.ts: *new* {} @@ -1524,7 +1526,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1617,7 +1619,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/index.ts: {} @@ -1668,7 +1670,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1716,13 +1718,13 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/container/lib/index.ts /user/username/projects/container/compositeExec/index.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1751,12 +1753,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/container/lib/index.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -1770,13 +1772,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/container/lib/index.ts /user/username/projects/container/exec/index.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1835,7 +1837,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1892,7 +1894,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 1d2130eb79636..99921072d2834 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -71,11 +71,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/shared/bld/library/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/shared/bld/library/index.d.ts] @@ -83,16 +82,16 @@ export declare function foo(): void; //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/library/index.ts" ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -122,12 +121,11 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 785 + "size": 797 } //// [/user/username/projects/myproject/app/bld/program/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/app/bld/program/bar.d.ts] @@ -142,12 +140,12 @@ foo; //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n",{"version":"-9677035610-import {foo} from \"shared\";","signature":"-3531856636-export {};\n"},{"version":"193491849-foo","signature":"5381-","affectsGlobalScope":true}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n",{"version":"-9677035610-import {foo} from \"shared\";","signature":"-3531856636-export {};\n"},{"version":"193491849-foo","signature":"5381-","affectsGlobalScope":true}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/bld/library/index.d.ts", "../../src/program/bar.ts", "../../src/program/index.ts" @@ -158,7 +156,7 @@ foo; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -225,7 +223,7 @@ foo; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1131 + "size": 1143 } @@ -287,7 +285,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/bld/library/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations @@ -320,14 +318,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app/src/program/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/shared/bld/library/index.d.ts Text-1 "export declare function foo(): void;\n" /user/username/projects/myproject/app/src/program/bar.ts Text-1 "import {foo} from \"shared\";" /user/username/projects/myproject/app/src/program/index.ts SVC-1-0 "foo" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../shared/bld/library/index.d.ts Imported via "shared" from file 'bar.ts' with packageId 'shared/bld/library/index.d.ts@1.0.0' bar.ts @@ -448,7 +446,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -493,7 +491,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app/src/program/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index 7fd8f5415112b..7b0c883e46e14 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -70,11 +70,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/shared/bld/library/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/shared/bld/library/index.d.ts] @@ -82,16 +81,16 @@ export declare function foo(): void; //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../src/library/index.ts" ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -121,12 +120,11 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 785 + "size": 797 } //// [/user/username/projects/myproject/app/bld/program/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [/user/username/projects/myproject/app/bld/program/bar.d.ts] @@ -141,12 +139,12 @@ foo; //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n",{"version":"-9677035610-import {foo} from \"shared\";","signature":"-3531856636-export {};\n"},{"version":"193491849-foo","signature":"5381-","affectsGlobalScope":true}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n",{"version":"-9677035610-import {foo} from \"shared\";","signature":"-3531856636-export {};\n"},{"version":"193491849-foo","signature":"5381-","affectsGlobalScope":true}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../../shared/bld/library/index.d.ts", "../../src/program/bar.ts", "../../src/program/index.ts" @@ -157,7 +155,7 @@ foo; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -224,7 +222,7 @@ foo; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1131 + "size": 1143 } @@ -285,7 +283,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations @@ -318,14 +316,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app/src/program/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/shared/src/library/index.ts Text-1 "export function foo() {}" /user/username/projects/myproject/app/src/program/bar.ts Text-1 "import {foo} from \"shared\";" /user/username/projects/myproject/app/src/program/index.ts SVC-1-0 "foo" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../shared/src/library/index.ts Imported via "shared" from file 'bar.ts' with packageId 'shared/bld/library/index.d.ts@1.0.0' bar.ts @@ -445,7 +443,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -490,7 +488,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app/src/program/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index c7812e82d307d..b012e4f118993 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations @@ -161,14 +161,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app/src/program/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/shared/src/library/index.ts Text-1 "export function foo() {}" /user/username/projects/myproject/app/src/program/bar.ts Text-1 "import {foo} from \"shared\";" /user/username/projects/myproject/app/src/program/index.ts SVC-1-0 "foo" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../shared/src/library/index.ts Imported via "shared" from file 'bar.ts' with packageId 'shared/bld/library/index.d.ts@1.0.0' bar.ts @@ -268,6 +268,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/app/node_modules: *new* @@ -288,7 +290,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -333,7 +335,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app/src/program/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index a92138cf247ab..087868adc4e95 100644 --- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js +++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js @@ -98,6 +98,8 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/container/built/local/lib.js] var container; (function (container) { @@ -115,16 +117,16 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../lib/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../lib/index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ @@ -140,7 +142,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -151,7 +153,7 @@ declare namespace container { "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 845 + "size": 857 } //// [/user/username/projects/container/built/local/exec.js] @@ -197,17 +199,17 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib.d.ts","../../compositeexec/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "../../compositeexec/index.ts": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" }, @@ -224,7 +226,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -239,7 +241,7 @@ declare namespace container { "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 1021 } @@ -296,7 +298,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/lib/tsconfig. } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/tsconfig.json 2000 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots @@ -306,13 +308,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" /user/username/projects/container/compositeExec/index.ts SVC-1-0 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -436,7 +438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/container/compositeExec/tsconfig.json: *new* {} @@ -459,7 +461,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/container/compositeExec/tsconfig.json @@ -507,12 +509,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -732,13 +734,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" /user/username/projects/container/exec/index.ts Text-1 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -920,7 +922,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -960,7 +962,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/container/compositeExec/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 93127dd376705..67b87144026bf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -244,13 +244,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -361,6 +361,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -369,7 +371,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -398,7 +400,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -465,12 +467,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -520,7 +522,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -553,7 +555,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -623,7 +625,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -660,7 +662,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -733,7 +735,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -774,7 +776,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -822,13 +824,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -882,7 +884,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -927,7 +929,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1048,13 +1050,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1142,7 +1144,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -1174,7 +1176,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1293,13 +1295,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1372,12 +1374,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1456,7 +1458,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index e4cda8a5f42e2..ff1a0dd0e9e69 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -189,12 +189,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -222,6 +222,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -244,7 +246,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -270,7 +272,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -331,12 +333,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -402,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -435,7 +437,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -517,7 +519,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -545,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -618,7 +620,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -646,7 +648,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -681,12 +683,12 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -755,7 +757,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -786,7 +788,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* @@ -872,12 +874,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -941,7 +943,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -970,7 +972,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -1077,12 +1079,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1109,12 +1111,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -1215,7 +1217,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 78a1803a3ca22..53236ce4d35df 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -151,12 +151,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -184,6 +184,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -206,7 +208,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -230,7 +232,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -360,7 +362,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -389,7 +391,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -471,7 +473,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -499,7 +501,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -572,7 +574,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -600,7 +602,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -635,12 +637,12 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -709,7 +711,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -740,7 +742,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* @@ -808,12 +810,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -877,7 +879,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -904,7 +906,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -994,12 +996,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1026,12 +1028,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -1132,7 +1134,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js index 0ab75a719940e..4c2889a7f5bac 100644 --- a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js @@ -98,6 +98,8 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/container/built/local/lib.js] var container; (function (container) { @@ -115,16 +117,16 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../lib/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../lib/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"semanticDiagnosticsPerFile":[1,2],"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../lib/index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ @@ -140,7 +142,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -151,7 +153,7 @@ declare namespace container { "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 845 + "size": 857 } //// [/user/username/projects/container/built/local/exec.js] @@ -197,17 +199,17 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./lib.d.ts","../../compositeexec/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./lib.d.ts","../../compositeexec/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"semanticDiagnosticsPerFile":[1,2,3],"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../home/src/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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "../../compositeexec/index.ts": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" }, @@ -224,7 +226,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -239,7 +241,7 @@ declare namespace container { "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 1021 } @@ -305,7 +307,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/lib/tsconfig. } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots @@ -315,12 +317,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -443,13 +445,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" /user/username/projects/container/exec/index.ts Text-1 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -574,13 +576,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" /user/username/projects/container/compositeExec/index.ts Text-1 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -806,7 +808,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/container/compositeExec/index.ts: *new* {} @@ -838,7 +840,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 3 /user/username/projects/container/lib/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index e26e9ea346bfb..39cd61fbf3d2c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -311,13 +313,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -428,7 +430,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -458,7 +460,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -589,7 +591,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 4ed0e8125d1af..0276af58778b5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -323,13 +325,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -440,7 +442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -470,7 +472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -649,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -685,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 49e027bedf7e9..1f58c7c4b00bf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -310,13 +312,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -427,7 +429,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -455,7 +457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 8679dc05e6210..2fabb4d308376 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -322,13 +324,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -439,7 +441,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -467,7 +469,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index e4045614db4f2..c4dea78995c95 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -311,13 +313,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -428,7 +430,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -458,7 +460,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -589,7 +591,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 32247ca9ade09..bdc558dfba03d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -323,13 +325,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -440,7 +442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -470,7 +472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -649,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -685,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index b4e0791f28a20..6a4ea18b4d2cf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -310,13 +312,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -427,7 +429,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -455,7 +457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index d012cc3dc53ef..7ce16d31ae165 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -322,13 +324,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts SVC-1-0 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -439,7 +441,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -467,7 +469,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 2b74e8606ed44..5a00d69b5fd56 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -382,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index ea60fb4d677cb..52daa700fe88b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -395,7 +397,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -423,7 +425,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index cdb0c72e8a090..2bed90eaabe92 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 957cf93e4df2c..402b464ede051 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 068257fd70df3..a0918ea8348f1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -382,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index d510270988529..933a596f4a981 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -328,13 +330,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts Text-1 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -551,7 +553,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -588,7 +590,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 49134a8081a8f..682fabf2a368d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -132,13 +132,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -240,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -262,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -314,13 +316,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts Text-1 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -537,7 +539,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -569,7 +571,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 2bdf78d3d7f97..deb3a13763f3c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -144,13 +144,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/a/index.ts SVC-1-0 "import { B } from \"../b/lib\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,6 +242,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/a/node_modules/@types: *new* @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -326,13 +328,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" /user/username/projects/myproject/b/helper.ts Text-1 "import { B } from \".\";\n\nconst b: B = new B();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -549,7 +551,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -581,7 +583,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor-sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor-sibling-projects.js index 4433210b6254e..8763a86b1d5b9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor-sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor-sibling-projects.js @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/types.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots @@ -127,13 +127,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/compiler/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/compiler/types.ts Text-1 "\n namespace ts {\n export interface Program {\n getSourceFiles(): string[];\n }\n }" /user/username/projects/solution/compiler/program.ts SVC-1-0 "\n namespace ts {\n export const program: Program = {\n getSourceFiles: () => [getSourceFile()]\n };\n function getSourceFile() { return \"something\"; }\n }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types.ts Part of 'files' list in tsconfig.json program.ts @@ -246,6 +246,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -256,7 +258,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/compiler/tsconfig.json: *new* {} @@ -277,7 +279,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/compiler/tsconfig.json @@ -500,14 +502,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/services/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/services/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/compiler/types.ts Text-1 "\n namespace ts {\n export interface Program {\n getSourceFiles(): string[];\n }\n }" /user/username/projects/solution/compiler/program.ts SVC-1-0 "\n namespace ts {\n export const program: Program = {\n getSourceFiles: () => [getSourceFile()]\n };\n function getSourceFile() { return \"something\"; }\n }" /user/username/projects/solution/services/services.ts Text-1 "\n namespace ts {\n const result = program.getSourceFiles();\n }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../compiler/types.ts Source from referenced project '../compiler/tsconfig.json' included because '--module' is specified as 'none' ../compiler/program.ts @@ -670,7 +672,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution/compiler/tsconfig.json: {} @@ -703,7 +705,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/solution/compiler/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index bc07ea07522ee..167a421a9dc21 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -178,7 +178,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution 0 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots @@ -188,13 +188,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/a/index.ts Text-1 "\n export interface I {\n M(): void;\n }" /user/username/projects/solution/b/index.ts SVC-1-0 "\n import { I } from \"../a\";\n\n export class B implements I {\n M() {}\n }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Source from referenced project '../a/tsconfig.json' included because '--module' is specified as 'none' Imported via "../a" from file 'index.ts' @@ -292,6 +292,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution: *new* {} @@ -331,7 +333,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/b/tsconfig.json @@ -380,12 +382,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/a/index.ts Text-1 "\n export interface I {\n M(): void;\n }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Part of 'files' list in tsconfig.json @@ -636,14 +638,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/a/index.ts Text-1 "\n export interface I {\n M(): void;\n }" /user/username/projects/solution/b/index.ts SVC-1-0 "\n import { I } from \"../a\";\n\n export class B implements I {\n M() {}\n }" /user/username/projects/solution/c/index.ts Text-1 "\n import { I } from \"../a\";\n import { B } from \"../b\";\n\n export const C: I = new B();\n " - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via "../a" from file 'index.ts' Imported via "../a" from file '../b/index.ts' @@ -746,15 +748,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/a/index.ts Text-1 "\n export interface I {\n M(): void;\n }" /user/username/projects/solution/b/index.ts SVC-1-0 "\n import { I } from \"../a\";\n\n export class B implements I {\n M() {}\n }" /user/username/projects/solution/c/index.ts Text-1 "\n import { I } from \"../a\";\n import { B } from \"../b\";\n\n export const C: I = new B();\n " /user/username/projects/solution/d/index.ts Text-1 "\n import { I } from \"../a\";\n import { C } from \"../c\";\n\n export const D: I = C;\n " - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via "../a" from file 'index.ts' Imported via "../a" from file '../c/index.ts' @@ -993,7 +995,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution: {} @@ -1056,7 +1058,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/solution/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index a032ed8f2e189..64b1feaa0def2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -69,11 +69,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -81,10 +80,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -92,17 +88,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -145,16 +141,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("b"); -var bar_1 = require("b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from 'b'; +import { bar } from 'b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -162,12 +156,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/b/lib/index.d.ts", "../../node_modules/b/lib/bar.d.ts", "./src/index.ts" @@ -179,7 +173,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -234,7 +228,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1107 + "size": 1119 } @@ -299,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -330,14 +324,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -448,7 +442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -486,7 +480,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -635,7 +629,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -678,7 +672,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index a54f16857f6e6..fac98a08aad7f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -67,11 +67,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -79,10 +78,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -90,17 +86,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,16 +139,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("b"); -var bar_1 = require("b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from 'b'; +import { bar } from 'b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -160,12 +154,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -177,7 +171,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -222,7 +216,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1015 + "size": 1027 } @@ -285,7 +279,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -316,14 +310,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -433,7 +427,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -471,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -620,7 +614,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -663,7 +657,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index 89150c11f8a91..dd427a3cd95ac 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -162,14 +162,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -264,6 +264,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -280,7 +282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -318,7 +320,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -467,7 +469,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -510,7 +512,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index 9ea02745e49d4..c8931c45172a4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -158,14 +158,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -259,6 +259,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -275,7 +277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -313,7 +315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -462,7 +464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -505,7 +507,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 26fc352be3cff..398b7b9c232a2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -69,11 +69,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -81,10 +80,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -92,17 +88,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -145,16 +141,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("@issue/b"); -var bar_1 = require("@issue/b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from '@issue/b'; +import { bar } from '@issue/b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -162,12 +156,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/@issue/b/lib/index.d.ts", "../../node_modules/@issue/b/lib/bar.d.ts", "./src/index.ts" @@ -179,7 +173,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -234,7 +228,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1135 + "size": 1147 } @@ -299,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -330,14 +324,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -448,7 +442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -486,7 +480,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -635,7 +629,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -678,7 +672,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index e102af64305f4..89478092558c5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -67,11 +67,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar.d.ts] @@ -79,10 +78,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/index.d.ts] @@ -90,17 +86,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -143,16 +139,14 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 941 } //// [/user/username/projects/myproject/packages/A/lib/index.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var b_1 = require("@issue/b"); -var bar_1 = require("@issue/b/lib/bar"); -(0, b_1.foo)(); -(0, bar_1.bar)(); +import { foo } from '@issue/b'; +import { bar } from '@issue/b/lib/bar'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] @@ -160,12 +154,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -177,7 +171,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -222,7 +216,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1029 + "size": 1041 } @@ -285,7 +279,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -316,14 +310,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -433,7 +427,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -471,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -620,7 +614,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -663,7 +657,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 6509364f6c56b..49aa89d7e46e3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -162,14 +162,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -264,6 +264,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -280,7 +282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -318,7 +320,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -467,7 +469,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -510,7 +512,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index f318e8619fbea..072db0c13886f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -158,14 +158,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-0 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -259,6 +259,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -275,7 +277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -313,7 +315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -462,7 +464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -505,7 +507,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/index.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/index.ts SVC-1-1 "import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index 2aa10b4091f15..01686b9a7b9a7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -66,11 +66,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -78,10 +77,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -89,17 +85,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,16 +138,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("b/lib/foo"); -var foo_2 = require("b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from 'b/lib/foo'; +import { bar } from 'b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -159,12 +153,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/b/lib/foo.d.ts", "../../node_modules/b/lib/bar/foo.d.ts", "./src/test.ts" @@ -176,7 +170,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +225,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1120 + "size": 1132 } @@ -296,7 +290,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -325,14 +319,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -443,7 +437,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -479,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -628,7 +622,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -671,7 +665,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index 00fbc083ffa80..63b47257826ca 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -64,11 +64,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -76,10 +75,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -87,17 +83,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,16 +136,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("b/lib/foo"); -var foo_2 = require("b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from 'b/lib/foo'; +import { bar } from 'b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -157,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -174,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -219,7 +213,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1028 + "size": 1040 } @@ -282,7 +276,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -311,14 +305,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -428,7 +422,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -464,7 +458,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -613,7 +607,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -656,7 +650,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index 5912a25f41aea..5431f4844f184 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -157,14 +157,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -259,6 +259,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -275,7 +277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -311,7 +313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -460,7 +462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -503,7 +505,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index cd901c3f7a92a..2d0608e516818 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -153,14 +153,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -254,6 +254,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -270,7 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -306,7 +308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -455,7 +457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -498,7 +500,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 1db63cd9291e7..25807fdecd7f1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -66,11 +66,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -78,10 +77,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -89,17 +85,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -142,16 +138,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("@issue/b/lib/foo"); -var foo_2 = require("@issue/b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from '@issue/b/lib/foo'; +import { bar } from '@issue/b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -159,12 +153,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../../node_modules/@issue/b/lib/foo.d.ts", "../../node_modules/@issue/b/lib/bar/foo.d.ts", "./src/test.ts" @@ -176,7 +170,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -231,7 +225,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1149 + "size": 1161 } @@ -296,7 +290,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -325,14 +319,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -443,7 +437,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -479,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -628,7 +622,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -671,7 +665,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index e4d6c02eadd3f..ecad2c9288f08 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -64,11 +64,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/packages/B/lib/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.foo = foo; -function foo() { } +export function foo() { } //// [/user/username/projects/myproject/packages/B/lib/foo.d.ts] @@ -76,10 +75,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/lib/bar/foo.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.bar = bar; -function bar() { } +export function bar() { } //// [/user/username/projects/myproject/packages/B/lib/bar/foo.d.ts] @@ -87,17 +83,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -140,16 +136,14 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 945 } //// [/user/username/projects/myproject/packages/A/lib/test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var foo_1 = require("@issue/b/lib/foo"); -var foo_2 = require("@issue/b/lib/bar/foo"); -(0, foo_1.foo)(); -(0, foo_2.bar)(); +import { foo } from '@issue/b/lib/foo'; +import { bar } from '@issue/b/lib/bar/foo'; +foo(); +bar(); //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] @@ -157,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -174,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -219,7 +213,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1043 + "size": 1055 } @@ -282,7 +276,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -311,14 +305,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -428,7 +422,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -464,7 +458,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -613,7 +607,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -656,7 +650,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 1e26760a16e69..c52e234ea62a8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -157,14 +157,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -259,6 +259,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -275,7 +277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -311,7 +313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -460,7 +462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -503,7 +505,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index a192d5c6fa463..c484fac806942 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src 1 undefined Config: /user/username/projects/myproject/packages/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -153,14 +153,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-0 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -254,6 +254,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -270,7 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -306,7 +308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -455,7 +457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -498,7 +500,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/B/src/foo.ts Text-1 "export function foo() { }" /user/username/projects/myproject/packages/B/src/bar/foo.ts Text-1 "export function bar() { }" /user/username/projects/myproject/packages/A/src/test.ts SVC-1-1 "import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js index a84627cb3351c..c5783b8700d78 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots @@ -120,13 +120,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -233,6 +233,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -245,7 +247,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -267,7 +269,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -308,7 +310,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" @@ -406,7 +408,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -458,7 +460,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -490,14 +492,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project1/class3.d.ts Text-1 "declare class class3 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -574,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -599,7 +601,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -652,7 +654,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -677,13 +679,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -805,7 +807,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -828,14 +830,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project1/class3.d.ts Text-1 "declare class class3 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -908,7 +910,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js index 78fd941646495..d4d16405c9f5e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts Text-1 "class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -242,7 +244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.ts: *new* {} @@ -264,7 +266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -305,14 +307,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts Text-1 "class class1 {}" /user/username/projects/myproject/projects/project1/class3.ts Text-1 "class class3 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.ts @@ -363,7 +365,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.ts: {} @@ -388,7 +390,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js index 385f50ac0a8d2..c9db89121000e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots @@ -120,13 +120,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -233,6 +233,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -245,7 +247,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -267,7 +269,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -315,12 +317,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts SVC-1-0 "class class1 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' class1.ts Matched by default include pattern '**/*' @@ -444,7 +446,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -470,7 +472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/projects/project2/tsconfig.json @@ -525,7 +527,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" @@ -585,13 +587,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts SVC-1-0 "class class1 {}" /user/username/projects/myproject/projects/project1/class3.ts Text-1 "class class3 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' class1.ts Matched by default include pattern '**/*' class3.ts @@ -657,7 +659,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -687,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -741,7 +743,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -778,14 +780,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project1/class3.d.ts Text-1 "declare class class3 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -877,7 +879,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -907,7 +909,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -972,7 +974,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -1006,13 +1008,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -1153,7 +1155,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -1185,14 +1187,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.d.ts Text-1 "declare class class1 {}" /user/username/projects/myproject/projects/project1/class3.d.ts Text-1 "declare class class3 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -1281,7 +1283,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js index 63802dd273a40..4ed02cfee1d0f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts Text-1 "class class1 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -230,6 +230,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -242,7 +244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.ts: *new* {} @@ -264,7 +266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -313,12 +315,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts Text-1 "class class1 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' class1.ts Matched by default include pattern '**/*' @@ -442,7 +444,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/tsconfig.json: {} @@ -470,7 +472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/projects/project2/tsconfig.json @@ -523,14 +525,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts Text-1 "class class1 {}" /user/username/projects/myproject/projects/project1/class3.ts Text-1 "class class3 {}" /user/username/projects/myproject/projects/project2/class2.ts SVC-1-0 "class class2 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.ts @@ -544,13 +546,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/projects/project1/class1.ts Text-1 "class class1 {}" /user/username/projects/myproject/projects/project1/class3.ts Text-1 "class class3 {}" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' class1.ts Matched by default include pattern '**/*' class3.ts @@ -614,7 +616,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/projects/project1/class3.ts: *new* {} @@ -642,7 +644,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 15440c4641559..269ec32aeb388 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -155,13 +155,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -272,6 +272,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -280,7 +282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -305,7 +307,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -459,12 +461,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -514,7 +516,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -543,7 +545,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -613,7 +615,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -646,7 +648,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -719,7 +721,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -756,7 +758,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -802,13 +804,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -862,7 +864,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -903,7 +905,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -983,13 +985,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1077,7 +1079,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -1105,7 +1107,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1179,7 +1181,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1211,7 +1213,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1293,7 +1295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1327,7 +1329,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1402,7 +1404,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1434,7 +1436,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1528,12 +1530,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -1605,7 +1607,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -1650,7 +1652,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -1889,7 +1891,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1936,7 +1938,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2000,12 +2002,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2072,7 +2074,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2111,7 +2113,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2359,13 +2361,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2439,12 +2441,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2523,7 +2525,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2745,7 +2747,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2778,7 +2780,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -2862,7 +2864,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2895,7 +2897,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -2979,7 +2981,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -3016,7 +3018,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -3094,14 +3096,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/target/src/helpers/functions.d.ts Text-1 "export declare const foo = 1;\n//# sourceMappingURL=functions.d.ts.map" /user/username/projects/myproject/target/src/main.d.ts Text-1 "import { foo } from 'helpers/functions';\nexport { foo };\n//# sourceMappingURL=main.d.ts.map" /user/username/projects/myproject/indirect3/main.ts SVC-1-0 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3203,13 +3205,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3227,12 +3229,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -3278,7 +3280,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -3336,7 +3338,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -3439,13 +3441,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3660,7 +3662,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: {} @@ -3707,7 +3709,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/indirect3/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 55b0139f22950..4b73f48a77a84 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -234,7 +234,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -242,13 +242,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -359,6 +359,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -367,7 +369,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -396,7 +398,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -552,12 +554,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -607,7 +609,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -640,7 +642,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -710,7 +712,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -747,7 +749,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -820,7 +822,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -861,7 +863,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -909,13 +911,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -969,7 +971,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1014,7 +1016,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1134,13 +1136,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1228,7 +1230,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -1260,7 +1262,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1334,7 +1336,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1370,7 +1372,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1452,7 +1454,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1490,7 +1492,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1565,7 +1567,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1601,7 +1603,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1695,12 +1697,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Root file specified for compilation @@ -1772,7 +1774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -1821,7 +1823,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2060,7 +2062,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2111,7 +2113,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2175,12 +2177,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2247,7 +2249,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2290,7 +2292,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2576,13 +2578,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2656,12 +2658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2740,7 +2742,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2887,14 +2889,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3003,14 +3005,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect2/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3276,7 +3278,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -3331,7 +3333,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -3437,7 +3439,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3494,7 +3496,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/tsconfig-src.json @@ -3600,7 +3602,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3661,7 +3663,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/tsconfig-src.json @@ -3753,14 +3755,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/target/src/helpers/functions.d.ts Text-1 "export declare const foo = 1;\n//# sourceMappingURL=functions.d.ts.map" /user/username/projects/myproject/target/src/main.d.ts Text-1 "import { foo } from 'helpers/functions';\nexport { foo };\n//# sourceMappingURL=main.d.ts.map" /user/username/projects/myproject/indirect3/main.ts SVC-1-0 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3862,13 +3864,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3883,14 +3885,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect1/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3907,14 +3909,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect2/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3934,12 +3936,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -3987,7 +3989,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -4071,7 +4073,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -4228,13 +4230,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4342,14 +4344,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4413,14 +4415,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect2/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4675,7 +4677,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -4744,7 +4746,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/indirect3/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js index d51c5957b4d24..ec6250448d965 100644 --- a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js @@ -107,7 +107,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/utils 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/utils 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/utils/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Type roots @@ -119,13 +119,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/src/utils/index.ts Text-1 "export const enum E { A = 1 }" /user/username/projects/project/src/project/index.ts SVC-1-0 "import { E } from \"../utils\"; E.A;" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../utils/index.ts Imported via "../utils" from file 'index.ts' index.ts @@ -214,6 +214,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -226,7 +228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/src: *new* {} @@ -250,7 +252,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/src/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js index b7d2cea527a3f..092e431365e94 100644 --- a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/a2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist/compositeb/b.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots @@ -141,14 +141,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/compositea/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dist/compositeb/b.d.ts Text-1 "export declare function b(): void;" /user/username/projects/myproject/compositea/a.ts SVC-1-0 "import { b } from \"@ref/compositeb/b\";" /user/username/projects/myproject/compositea/a2.ts Text-1 "export const x = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dist/compositeb/b.d.ts Imported via "@ref/compositeb/b" from file 'a.ts' a.ts @@ -259,6 +259,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/compositea/node_modules/@types: *new* @@ -269,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/compositea/a2.ts: *new* {} @@ -291,7 +293,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/compositea/tsconfig.json @@ -390,13 +392,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/compositec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/compositeb/b.ts Text-1 "export function b() {}" /user/username/projects/myproject/compositec/c.ts SVC-1-0 "import { b } from \"@ref/compositeb/b\";" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../compositeb/b.ts Imported via "@ref/compositeb/b" from file 'c.ts' c.ts @@ -523,7 +525,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/compositea/a2.ts: {} @@ -559,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/compositea/tsconfig.json @@ -610,7 +612,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/compositea/tsconfig.json @@ -641,7 +643,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/compositea/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dist/compositeb/b.d.ts Text-1 "export declare function b(): void;" /user/username/projects/myproject/compositea/a.ts SVC-1-0 "import { b } from \"@ref/compositeb/b\";" /user/username/projects/myproject/compositea/a2.ts Text-2 "export const x = 10;export const y = 30;" diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 2dc9db9baa61c..abaf61564e2ed 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -74,12 +74,11 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/out/input/keyboard.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.evaluateKeyboardEvent = evaluateKeyboardEvent; function bar() { return "just a random function so .d.ts location doesnt match"; } -function evaluateKeyboardEvent() { } +export function evaluateKeyboardEvent() { } //// [/user/username/projects/project/out/input/keyboard.d.ts.map] @@ -90,11 +89,9 @@ export declare function evaluateKeyboardEvent(): void; //# sourceMappingURL=keyboard.d.ts.map //// [/user/username/projects/project/out/input/keyboard.test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var keyboard_1 = require("common/input/keyboard"); +import { evaluateKeyboardEvent } from 'common/input/keyboard'; function testEvaluateKeyboardEvent() { - return (0, keyboard_1.evaluateKeyboardEvent)(); + return evaluateKeyboardEvent(); } @@ -106,12 +103,12 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./input/keyboard.test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./input/keyboard.test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/out/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../src/common/input/keyboard.ts", "../src/common/input/keyboard.test.ts" ], @@ -121,7 +118,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -169,7 +166,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -183,15 +180,13 @@ export {}; ], "latestChangedDtsFile": "./input/keyboard.test.d.ts", "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } //// [/user/username/projects/project/out/terminal.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var keyboard_1 = require("common/input/keyboard"); +import { evaluateKeyboardEvent } from 'common/input/keyboard'; function foo() { - return (0, keyboard_1.evaluateKeyboardEvent)(); + return evaluateKeyboardEvent(); } @@ -203,12 +198,12 @@ export {}; //# sourceMappingURL=terminal.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},"-3531856636-export {};\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./terminal.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},"-3531856636-export {};\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./terminal.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./input/keyboard.d.ts", "../src/terminal.ts", "./input/keyboard.test.d.ts", @@ -221,7 +216,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -295,7 +290,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -313,7 +308,7 @@ export {}; ], "latestChangedDtsFile": "./terminal.d.ts", "version": "FakeTSVersion", - "size": 1257 + "size": 1269 } @@ -357,7 +352,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common 1 undefined Config: /user/username/projects/project/src/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/keyboard.test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots @@ -369,13 +364,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/common/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/src/common/input/keyboard.ts SVC-1-0 "function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }" /user/username/projects/project/src/common/input/keyboard.test.ts Text-1 "import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' input/keyboard.ts Imported via 'common/input/keyboard' from file 'input/keyboard.test.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -504,7 +499,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/src/common/input/keyboard.test.ts: *new* {} @@ -529,7 +524,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/src/common/tsconfig.json @@ -606,14 +601,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/out/input/keyboard.d.ts Text-1 "export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map" /user/username/projects/project/src/terminal.ts SVC-1-0 "import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n" /user/username/projects/project/out/input/keyboard.test.d.ts Text-1 "export {};\n//# sourceMappingURL=keyboard.test.d.ts.map" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../out/input/keyboard.d.ts Imported via 'common/input/keyboard' from file 'terminal.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -747,7 +742,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/out/input/keyboard.d.ts: *new* {} @@ -779,7 +774,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/src/common/tsconfig.json @@ -939,7 +934,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/out/input/keyboard.d.ts: {} @@ -977,7 +972,7 @@ Projects:: /user/username/projects/project/src/common/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/src/common/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index 54321d3c602a5..d84c22c1a4101 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -74,12 +74,11 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/project/out/input/keyboard.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.evaluateKeyboardEvent = evaluateKeyboardEvent; function bar() { return "just a random function so .d.ts location doesnt match"; } -function evaluateKeyboardEvent() { } +export function evaluateKeyboardEvent() { } //// [/user/username/projects/project/out/input/keyboard.d.ts.map] @@ -90,11 +89,9 @@ export declare function evaluateKeyboardEvent(): void; //# sourceMappingURL=keyboard.d.ts.map //// [/user/username/projects/project/out/input/keyboard.test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var keyboard_1 = require("common/input/keyboard"); +import { evaluateKeyboardEvent } from 'common/input/keyboard'; function testEvaluateKeyboardEvent() { - return (0, keyboard_1.evaluateKeyboardEvent)(); + return evaluateKeyboardEvent(); } @@ -106,12 +103,12 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./input/keyboard.test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./input/keyboard.test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/out/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../src/common/input/keyboard.ts", "../src/common/input/keyboard.test.ts" ], @@ -121,7 +118,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -169,7 +166,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -183,15 +180,13 @@ export {}; ], "latestChangedDtsFile": "./input/keyboard.test.d.ts", "version": "FakeTSVersion", - "size": 1278 + "size": 1290 } //// [/user/username/projects/project/out/terminal.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var keyboard_1 = require("common/input/keyboard"); +import { evaluateKeyboardEvent } from 'common/input/keyboard'; function foo() { - return (0, keyboard_1.evaluateKeyboardEvent)(); + return evaluateKeyboardEvent(); } @@ -203,12 +198,12 @@ export {}; //# sourceMappingURL=terminal.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},"-3531856636-export {};\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./terminal.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},"-3531856636-export {};\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./terminal.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./input/keyboard.d.ts", "../src/terminal.ts", "./input/keyboard.test.d.ts", @@ -221,7 +216,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -295,7 +290,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "not cached or not changed" ], [ @@ -313,7 +308,7 @@ export {}; ], "latestChangedDtsFile": "./terminal.d.ts", "version": "FakeTSVersion", - "size": 1257 + "size": 1269 } @@ -357,7 +352,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common 1 undefined Config: /user/username/projects/project/src/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/keyboard.test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots @@ -369,13 +364,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/common/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/src/common/input/keyboard.ts SVC-1-0 "function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }" /user/username/projects/project/src/common/input/keyboard.test.ts Text-1 "import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' input/keyboard.ts Imported via 'common/input/keyboard' from file 'input/keyboard.test.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -504,7 +499,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/src/common/input/keyboard.test.ts: *new* {} @@ -529,7 +524,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/src/common/tsconfig.json @@ -604,14 +599,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/src/common/input/keyboard.ts SVC-1-0 "function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }" /user/username/projects/project/src/terminal.ts SVC-1-0 "import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n" /user/username/projects/project/src/common/input/keyboard.test.ts Text-1 "import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' common/input/keyboard.ts Imported via 'common/input/keyboard' from file 'terminal.ts' Imported via 'common/input/keyboard' from file 'common/input/keyboard.test.ts' @@ -744,7 +739,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/src/common/input/keyboard.test.ts: {} @@ -772,7 +767,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/src/common/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 447d6257bc183..e544a0d1d3ae2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -251,7 +251,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -259,15 +259,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-1 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -390,13 +390,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -507,6 +507,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -515,7 +517,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -547,7 +549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -627,12 +629,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -682,7 +684,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -718,7 +720,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -799,7 +801,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -839,7 +841,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -923,7 +925,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -967,7 +969,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -1018,15 +1020,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect1/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1047,13 +1049,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1109,7 +1111,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1157,7 +1159,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1294,15 +1296,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1381,13 +1383,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1475,7 +1477,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -1510,7 +1512,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -1650,15 +1652,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1740,13 +1742,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1819,12 +1821,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1899,7 +1901,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 68ef913cc14f1..3c4f9ed76b5a1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -204,7 +204,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -212,15 +212,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-1 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -344,6 +344,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -352,7 +354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -378,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -451,12 +453,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -502,7 +504,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -532,7 +534,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -606,7 +608,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -639,7 +641,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -716,7 +718,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -753,7 +755,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -801,15 +803,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect1/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -870,7 +872,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -910,7 +912,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1022,15 +1024,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1132,7 +1134,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -1161,7 +1163,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1275,15 +1277,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1370,12 +1372,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1446,7 +1448,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index c616f720ab29d..f44784885fd18 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -172,14 +172,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -302,6 +302,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -310,7 +312,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -332,7 +334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -398,12 +400,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -449,7 +451,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -475,7 +477,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -545,7 +547,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -574,7 +576,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -647,7 +649,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -680,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -724,14 +726,14 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -788,7 +790,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -824,7 +826,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -913,14 +915,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1020,7 +1022,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -1045,7 +1047,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1136,14 +1138,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1228,12 +1230,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -1304,7 +1306,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index 5d57196390097..d065eb2e144e6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -162,7 +162,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -170,14 +170,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -298,13 +298,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -415,6 +415,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -423,7 +425,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -449,7 +451,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -610,12 +612,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -665,7 +667,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -695,7 +697,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -772,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -806,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -886,7 +888,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -924,7 +926,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -971,14 +973,14 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -995,13 +997,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1056,7 +1058,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1098,7 +1100,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1189,14 +1191,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1273,13 +1275,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1367,7 +1369,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -1396,7 +1398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -1477,7 +1479,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1510,7 +1512,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1599,7 +1601,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1634,7 +1636,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1716,7 +1718,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1749,7 +1751,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1813,7 +1815,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -1885,7 +1887,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1921,7 +1923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -2009,7 +2011,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -2122,7 +2124,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -2199,12 +2201,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2254,7 +2256,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -2290,7 +2292,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -2378,7 +2380,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -2568,14 +2570,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2655,13 +2657,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2735,12 +2737,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2815,7 +2817,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -2993,7 +2995,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -3029,7 +3031,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -3120,7 +3122,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -3158,7 +3160,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -3249,7 +3251,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -3291,7 +3293,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -3376,14 +3378,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/target/src/helpers/functions.d.ts Text-1 "export declare const foo = 1;\n//# sourceMappingURL=functions.d.ts.map" /user/username/projects/myproject/target/src/main.d.ts Text-1 "import { foo } from 'helpers/functions';\nexport { foo };\n//# sourceMappingURL=main.d.ts.map" /user/username/projects/myproject/indirect3/main.ts SVC-1-0 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3473,14 +3475,14 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3497,13 +3499,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3521,12 +3523,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -3573,7 +3575,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -3636,7 +3638,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -3750,14 +3752,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/own/main.ts Text-3 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3834,13 +3836,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4057,7 +4059,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: {} @@ -4110,7 +4112,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/indirect3/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 44de74b7ba1b7..8c5270d164644 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -249,7 +249,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -257,15 +257,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-1 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -388,13 +388,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-1 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -505,6 +505,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -513,7 +515,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -545,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -714,12 +716,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -769,7 +771,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -805,7 +807,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -886,7 +888,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -926,7 +928,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -1010,7 +1012,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1054,7 +1056,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -1105,15 +1107,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect1/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1134,13 +1136,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1196,7 +1198,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1244,7 +1246,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1380,15 +1382,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1467,13 +1469,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1561,7 +1563,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -1596,7 +1598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -1681,7 +1683,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1720,7 +1722,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1813,7 +1815,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1854,7 +1856,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1940,7 +1942,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1979,7 +1981,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -2059,14 +2061,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/main.ts Imported via 'main' from file 'indirect1/main.ts' indirect1/main.ts @@ -2199,7 +2201,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -2251,7 +2253,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -2359,15 +2361,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2531,7 +2533,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -2583,7 +2585,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -2653,12 +2655,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -2708,7 +2710,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -2749,7 +2751,7 @@ Projects:: dirty: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -2840,7 +2842,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" @@ -3070,15 +3072,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-2 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3160,13 +3162,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3240,12 +3242,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/workspaces/dummy/dummy.ts SVC-1-0 "let a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -3320,7 +3322,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3391,14 +3393,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3512,14 +3514,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts SVC-2-0 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect2/main.ts Text-1 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3782,7 +3784,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3842,7 +3844,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 5 *changed* /user/username/projects/myproject/tsconfig.json @@ -3956,7 +3958,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -4020,7 +4022,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 5 /user/username/projects/myproject/tsconfig.json @@ -4134,7 +4136,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -4202,7 +4204,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 5 /user/username/projects/myproject/tsconfig.json @@ -4302,14 +4304,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/target/src/helpers/functions.d.ts Text-1 "export declare const foo = 1;\n//# sourceMappingURL=functions.d.ts.map" /user/username/projects/myproject/target/src/main.d.ts Text-1 "import { foo } from 'helpers/functions';\nexport { foo };\n//# sourceMappingURL=main.d.ts.map" /user/username/projects/myproject/indirect3/main.ts SVC-1-0 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -4399,15 +4401,15 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect1/main.ts /user/username/projects/myproject/own/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4426,13 +4428,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4447,14 +4449,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect1/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4471,14 +4473,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts /user/username/projects/myproject/indirect2/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4498,12 +4500,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dummy.ts Root file specified for compilation @@ -4552,7 +4554,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -4643,7 +4645,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -4813,15 +4815,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-3 "import { foo } from 'main';\nfoo;\nexport function bar() {}" /user/username/projects/myproject/own/main.ts Text-3 "import { bar } from 'main';\nbar;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4900,13 +4902,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4979,14 +4981,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect1/main.ts Text-3 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -5059,14 +5061,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/helpers/functions.ts Text-2 "export const foo = 1;" /user/username/projects/myproject/src/main.ts Text-3 "import { foo } from 'helpers/functions';\nexport { foo };" /user/username/projects/myproject/indirect2/main.ts Text-2 "import { foo } from 'main';\nfoo;\nexport function bar() {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -5315,7 +5317,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -5392,7 +5394,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 5 *changed* /user/username/projects/myproject/indirect3/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index 0add355749e14..28afa03bb8c48 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -157,13 +157,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = { bar: () => { } };" /user/username/projects/solution/api/src/server.ts SVC-1-0 "import * as shared from \"../../shared/dist\";\nshared.foo.bar();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -262,6 +262,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -272,7 +274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -303,7 +305,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -352,12 +354,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = { bar: () => { } };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -570,13 +572,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = { bar: () => { } };" /user/username/projects/solution/app/src/app.ts Text-1 "import * as shared from \"../../shared/dist\";\nshared.foo.bar();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -727,7 +729,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -777,7 +779,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/solution/api/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index 4377aeac2e3a7..d512bbd10cc02 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -158,13 +158,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "const local = { bar: () => { } };\nexport const foo = local;" /user/username/projects/solution/api/src/server.ts SVC-1-0 "import * as shared from \"../../shared/dist\";\nshared.foo.bar();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -263,6 +263,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -273,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -304,7 +306,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -353,12 +355,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "const local = { bar: () => { } };\nexport const foo = local;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -491,7 +493,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -528,7 +530,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/solution/api/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index bb6ed9b0cff4d..7a7d72c5c2462 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -157,13 +157,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const dog = () => { };" /user/username/projects/solution/api/src/server.ts SVC-1-0 "import * as shared from \"../../shared/dist\";\nshared.dog();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -262,6 +262,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -272,7 +274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -303,7 +305,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -352,12 +354,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const dog = () => { };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -570,13 +572,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const dog = () => { };" /user/username/projects/solution/app/src/app.ts Text-1 "import * as shared from \"../../shared/dist\";\nshared.dog();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -727,7 +729,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -777,7 +779,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/solution/api/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index dc97f14dbdea7..4f474db3752c3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -159,13 +159,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = class { fly() {} };" /user/username/projects/solution/api/src/server.ts SVC-1-0 "import * as shared from \"../../shared/dist\";\nconst instance = new shared.foo();\ninstance.fly();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -264,6 +264,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -274,7 +276,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -305,7 +307,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -354,12 +356,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = class { fly() {} };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -572,13 +574,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = class { fly() {} };" /user/username/projects/solution/app/src/app.ts Text-1 "import * as shared from \"../../shared/dist\";\nconst instance = new shared.foo();\ninstance.fly();" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -729,7 +731,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -779,7 +781,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/solution/api/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index 6842413d7072c..8b0be06ffe7da 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -157,13 +157,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = { baz: \"BAZ\" };" /user/username/projects/solution/api/src/server.ts SVC-1-0 "import * as shared from \"../../shared/dist\";\nshared.foo.baz;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -262,6 +262,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -272,7 +274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -303,7 +305,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -352,12 +354,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = { baz: \"BAZ\" };" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -570,13 +572,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/shared/src/index.ts Text-1 "export const foo = { baz: \"BAZ\" };" /user/username/projects/solution/app/src/app.ts Text-1 "import * as shared from \"../../shared/dist\";\nshared.foo.baz;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -727,7 +729,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -777,7 +779,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/solution/api/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 78e6db28def7f..f9a04ceba4c2f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -512,7 +514,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -581,12 +583,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -706,7 +708,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -749,7 +751,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -828,12 +830,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -958,7 +960,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1008,7 +1010,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /home/src/projects/project/tsconfig.json @@ -1084,7 +1086,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1136,7 +1138,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /home/src/projects/project/tsconfig.json @@ -1249,7 +1251,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1278,7 +1280,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index 7985b276da849..cad3bf261e5f1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -512,7 +514,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -581,12 +583,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -706,7 +708,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -749,7 +751,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -856,7 +858,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -885,7 +887,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -1039,12 +1041,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -1169,7 +1171,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1219,7 +1221,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /home/src/projects/project/tsconfig.json @@ -1295,7 +1297,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1347,7 +1349,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 4c1356ff72567..545b5d107c37c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -539,7 +541,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" @@ -586,12 +588,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -690,7 +692,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -732,7 +734,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -809,12 +811,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -945,7 +947,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -994,7 +996,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1075,7 +1077,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1126,7 +1128,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json @@ -1251,7 +1253,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -1283,13 +1285,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -1403,7 +1405,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1462,7 +1464,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 3c7ed556daa65..fcb808cf88094 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -539,7 +541,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" @@ -586,12 +588,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -690,7 +692,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -732,7 +734,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -851,7 +853,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -883,13 +885,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -989,7 +991,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1037,7 +1039,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -1117,12 +1119,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -1245,7 +1247,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1295,7 +1297,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1368,7 +1370,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1420,7 +1422,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index 781a8d8834393..152b125160f15 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -618,12 +620,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -746,7 +748,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -797,7 +799,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -870,7 +872,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -923,7 +925,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json @@ -1028,7 +1030,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1084,7 +1086,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json @@ -1135,14 +1137,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts /home/src/projects/project/app/Component.ts - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -1165,13 +1167,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -1225,7 +1227,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1302,7 +1304,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/random/tsconfig.json @@ -1347,7 +1349,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1367,7 +1369,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js index 555352ab6f5e1..1db179bebaba0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -545,14 +547,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -608,13 +610,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -726,7 +728,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index e953fdbb86774..cd80c4da708b2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -603,12 +605,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -731,7 +733,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -783,7 +785,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -856,7 +858,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -910,7 +912,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 172a5698382ff..8470f30f464f2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -800,12 +802,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -928,7 +930,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -978,7 +980,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1051,7 +1053,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1103,7 +1105,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 737aed389f3ba..0c9aa652d1fea 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -538,7 +540,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" @@ -639,7 +641,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -737,12 +739,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -811,13 +813,13 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -897,7 +899,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -955,7 +957,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json @@ -1028,7 +1030,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1072,7 +1074,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -1220,7 +1222,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -1285,13 +1287,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -1384,7 +1386,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1442,7 +1444,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index 076375be98db0..b30d8ee9ae4d8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -180,14 +180,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -281,13 +281,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,6 +388,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -408,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -449,7 +451,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -538,7 +540,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" @@ -639,7 +641,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -785,7 +787,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" @@ -884,7 +886,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -991,12 +993,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export let a = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -1119,7 +1121,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1169,7 +1171,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1242,7 +1244,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1294,7 +1296,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js index 59b33335366c1..2d5e61d52e03f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js @@ -449,7 +449,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/noCoreRef2/ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/noCoreRef2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/noCoreRef2 1 undefined Config: /user/username/projects/myproject/noCoreRef2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/noCoreRef2 1 undefined Config: /user/username/projects/myproject/noCoreRef2/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -459,12 +459,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/src/file1.ts SVC-1-0 "export const mainConst = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -552,6 +552,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* @@ -562,7 +564,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/core/tsconfig.json: *new* {} @@ -622,7 +624,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -664,12 +666,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/core/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/core/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/core/src/file1.ts SVC-1-0 "export const coreConst = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -775,7 +777,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/core/tsconfig.json: {} @@ -839,7 +841,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -889,12 +891,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/indirect/src/file1.ts Text-1 "export const indirectConst = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -984,12 +986,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/coreRef1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/coreRef1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/coreRef1/src/file1.ts Text-1 "export const coreRef1Const = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -1079,12 +1081,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/indirectDisabledChildLoad1/src/file1.ts Text-1 "export const indirectDisabledChildLoad1Const = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -1175,12 +1177,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/indirectDisabledChildLoad2/src/file1.ts Text-1 "export const indirectDisabledChildLoad2Const = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -1271,12 +1273,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/refToCoreRef3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/refToCoreRef3/src/file1.ts Text-1 "export const refToCoreRef3Const = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -1366,12 +1368,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/coreRef3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/coreRef3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/coreRef3/src/file1.ts Text-1 "export const coreRef3Const = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' @@ -1503,7 +1505,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/core/tsconfig.json: {} @@ -1599,7 +1601,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 8 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js index 775f8675ac919..5a5b386748c4e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/emit-composite 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/emit-composite 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/emit-composite/src/testModule.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations @@ -164,14 +164,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/consumer/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/consumer/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/packages/emit-composite/src/testModule.js Text-1 "/**\n * @param {string} arg\n */\n const testCompositeFunction = (arg) => {\n}\nmodule.exports = {\n testCompositeFunction\n}" /user/username/projects/myproject/packages/emit-composite/src/index.js Text-1 "const testModule = require('./testModule');\nmodule.exports = {\n ...testModule\n}" /user/username/projects/myproject/packages/consumer/src/index.ts SVC-1-0 "import { testCompositeFunction } from 'emit-composite';\ntestCompositeFunction('why hello there');\ntestCompositeFunction('why hello there', 42);" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../emit-composite/src/testModule.js Imported via './testModule' from file '../emit-composite/src/index.js' ../emit-composite/src/index.js @@ -260,6 +260,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -276,7 +278,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -314,7 +316,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/consumer/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js index fe81ab88f9aab..627f73c82487a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/types.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/compiler/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots @@ -129,13 +129,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/compiler/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/solution/compiler/types.ts Text-1 "\n namespace ts {\n export interface Program {\n getSourceFiles(): string[];\n }\n }" /user/username/projects/solution/compiler/program.ts SVC-1-0 "\n namespace ts {\n export const program: Program = {\n getSourceFiles: () => [getSourceFile()]\n };\n function getSourceFile() { return \"something\"; }\n }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' types.ts Part of 'files' list in tsconfig.json program.ts @@ -241,6 +241,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -251,7 +253,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/solution/compiler/tsconfig.json: *new* {} @@ -265,7 +267,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/compiler/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js index 61234c8063a40..a7e4278bc5a51 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.node.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Config: /home/src/projects/project/tsconfig.node.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -114,12 +114,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/index.ts Text-1 "const api = {}\n" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/*.d.ts' in 'tsconfig.json' @@ -200,17 +200,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/index.d.ts SVC-1-0 "declare global {\n interface Window {\n electron: ElectronAPI\n api: unknown\n }\n}\n" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.d.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -235,7 +237,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.node.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -260,7 +262,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -289,11 +291,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/src/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -342,7 +344,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -365,7 +367,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -428,7 +430,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.node.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index d12d6387a5db3..c0ac941cf7ebd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -946,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1054,7 +1047,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 1ca06fb245d99..c7d30940b226a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -785,7 +778,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -893,7 +886,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index cc4c2ad5c1e02..1c310e19b0851 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -738,7 +731,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -855,7 +848,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -963,7 +956,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 0675904f25275..e0e3f0b688e1e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -787,7 +780,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -949,7 +942,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 054821483d5c3..79a9941a90d42 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -746,7 +739,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -907,7 +900,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index 891efb74253b8..a9c449c147186 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -744,7 +737,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -851,7 +844,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index ce1c07a967d1c..a5ca3de04febd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -64,35 +64,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,18 +118,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -145,12 +138,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -160,7 +153,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +192,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -239,7 +232,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -249,12 +242,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -354,7 +347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -370,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -423,12 +416,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -531,7 +524,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -555,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +639,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -704,7 +697,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -816,7 +809,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -847,7 +840,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1171,7 +1164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1202,7 +1195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1275,7 +1268,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1308,7 +1301,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1378,7 +1371,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1409,7 +1402,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1477,7 +1470,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1511,7 +1504,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1553,12 +1546,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1606,7 +1599,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1647,7 +1640,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index e57781a80bd7b..03de51b80ae9b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1140,7 +1133,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1171,7 +1164,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1248,7 +1241,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1281,7 +1274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1356,7 +1349,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1385,7 +1378,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1442,7 +1435,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1474,7 +1467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1505,12 +1498,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1556,7 +1549,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1595,7 +1588,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js index 734b6c6aad567..3fa8a33aaca27 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js @@ -64,35 +64,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,18 +118,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -145,12 +138,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -160,7 +153,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +192,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -239,7 +232,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -249,12 +242,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -354,7 +347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -370,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -423,12 +416,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -531,7 +524,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -555,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +639,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -969,7 +962,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -996,7 +989,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1060,7 +1053,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1089,7 +1082,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1150,7 +1143,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1177,7 +1170,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1236,7 +1229,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1266,7 +1259,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1297,12 +1290,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1350,7 +1343,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1387,7 +1380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index d52df10b1d2cf..d47995fcd3946 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -945,7 +938,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1053,7 +1046,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index b47ef8372a2a9..99e43a5e9036a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -784,7 +777,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -892,7 +885,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 8de0d69c28d0d..1a9d20e734ac6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -738,7 +731,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -854,7 +847,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -962,7 +955,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 0e7fc30ea9b52..1123ea76d9c72 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -786,7 +779,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index e1126e2c24f52..25a20b3821cf0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -944,7 +937,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1052,7 +1045,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index fd72c8be0e805..8101979b53d81 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -788,7 +781,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -896,7 +889,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 6ddb6dbada19a..45832e8a81439 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -738,7 +731,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -858,7 +851,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -966,7 +959,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 31c334cc6de3e..8ed3df8e7a0dc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -790,7 +783,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -952,7 +945,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 5c6bb2bcde9b8..540e8f0f1f5c6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -749,7 +742,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -910,7 +903,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index 8754f734a2297..2d48cc5b0c873 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -747,7 +740,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -854,7 +847,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index ea70d5f40b0cb..4a733d0488e0f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -88,16 +83,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -244,7 +237,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -254,12 +247,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -359,7 +352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -375,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -428,12 +421,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -536,7 +529,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -560,7 +553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +645,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -680,7 +673,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -724,7 +717,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -757,7 +750,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -854,7 +847,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -885,7 +878,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1209,7 +1202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1240,7 +1233,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1313,7 +1306,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1346,7 +1339,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1416,7 +1409,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1447,7 +1440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1515,7 +1508,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1549,7 +1542,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1591,12 +1584,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1643,7 +1636,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1684,7 +1677,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index 117af81f88430..9e9b3e39f7bd6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1139,7 +1132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1170,7 +1163,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1247,7 +1240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1280,7 +1273,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1356,7 +1349,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1387,7 +1380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1449,7 +1442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1483,7 +1476,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1519,12 +1512,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1571,7 +1564,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1612,7 +1605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index 693292e459958..5b93657cbe9d0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -88,16 +83,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -244,7 +237,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -254,12 +247,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -359,7 +352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -375,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -428,12 +421,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -536,7 +529,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -560,7 +553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +645,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -680,7 +673,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -997,7 +990,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1026,7 +1019,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1095,7 +1088,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1126,7 +1119,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1192,7 +1185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1221,7 +1214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1285,7 +1278,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1317,7 +1310,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1353,12 +1346,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1407,7 +1400,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1446,7 +1439,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 6312d3109ec52..ce6d60a2def86 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -935,7 +928,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1043,7 +1036,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 978e8a1162a79..edc68beabeac2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -779,7 +772,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -887,7 +880,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 31d23e8c5fa00..31f5641ce8e68 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -738,7 +731,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -849,7 +842,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -957,7 +950,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 8e9840cedcfa0..7cc6169c712ab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -781,7 +774,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -943,7 +936,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index c18e5c6ddbb49..f1f29b5b34619 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1007,7 +1000,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1038,7 +1031,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1111,7 +1104,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1144,7 +1137,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1214,7 +1207,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1245,7 +1238,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1313,7 +1306,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1347,7 +1340,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1389,12 +1382,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1441,7 +1434,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1482,7 +1475,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index be5e5c47f2a70..dd5c5c81af8cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -749,7 +742,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -795,7 +788,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index df93aa9d90b57..ecdbe2edfc138 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -247,7 +240,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -257,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -362,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -378,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -431,12 +424,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -539,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -563,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -653,7 +646,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -683,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -749,7 +742,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -791,7 +784,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 1f509bce6fe22..943d79dc1b6cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -951,7 +944,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1059,7 +1052,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js index f00e2652043ee..4216d4c26cd10 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -790,7 +783,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -898,7 +891,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 3ed15ef76a378..58243c9764651 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -743,7 +736,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -860,7 +853,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -968,7 +961,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 0248cec566953..fba92b623ca49 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -792,7 +785,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -954,7 +947,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 82c7894877ea5..5080c63357d6d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -751,7 +744,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -912,7 +905,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index bccedb8b27573..db7a1a606fd25 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -749,7 +742,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -856,7 +849,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index d493d6a22ce5d..6ab28d954d686 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -69,35 +69,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -244,7 +237,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -254,12 +247,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -359,7 +352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -375,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -428,12 +421,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -536,7 +529,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -560,7 +553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -709,7 +702,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -821,7 +814,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -852,7 +845,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1176,7 +1169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1207,7 +1200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1280,7 +1273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1313,7 +1306,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1383,7 +1376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1414,7 +1407,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1482,7 +1475,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1516,7 +1509,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1558,12 +1551,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1611,7 +1604,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1652,7 +1645,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index a7a85d843d122..863ab0315a857 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1145,7 +1138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1176,7 +1169,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1253,7 +1246,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1286,7 +1279,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1361,7 +1354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1390,7 +1383,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1447,7 +1440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1479,7 +1472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1510,12 +1503,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1561,7 +1554,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1600,7 +1593,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js index 09dfbddefc2ea..f548f7d837260 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js @@ -69,35 +69,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -244,7 +237,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -254,12 +247,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -359,7 +352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -375,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -428,12 +421,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -536,7 +529,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -560,7 +553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -974,7 +967,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1001,7 +994,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1065,7 +1058,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1094,7 +1087,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1155,7 +1148,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1182,7 +1175,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1241,7 +1234,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1271,7 +1264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1302,12 +1295,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1355,7 +1348,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1392,7 +1385,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index 46c542303ce5b..0b233eacad1e9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -950,7 +943,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1058,7 +1051,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index ae493fd9c8de9..771828fe0cbd6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -789,7 +782,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -897,7 +890,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 7e945bf0a3bbb..7ae8914507dad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -743,7 +736,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -859,7 +852,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -967,7 +960,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 75971c949ec4e..157e5fdd03cf3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -791,7 +784,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -953,7 +946,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 41b2400e53c87..32c913460d74e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -949,7 +942,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1057,7 +1050,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index e7e2e354b0a40..4eeceaae12ed5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -793,7 +786,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -901,7 +894,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 858d42fdbc55a..ad9440cb14bdc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -743,7 +736,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -863,7 +856,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -971,7 +964,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index ddfffe06b1022..49302625787a1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -795,7 +788,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -957,7 +950,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 9b5f212bdf919..ccfcf6e0d0968 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -754,7 +747,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -915,7 +908,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index 926276d6ceb0d..cedf4af066a1b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -752,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -859,7 +852,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index eaf00923f655a..758c59be59003 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -93,16 +88,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,18 +128,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -155,12 +148,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -170,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +202,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -259,12 +252,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -364,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -380,7 +373,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -433,12 +426,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -541,7 +534,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -565,7 +558,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -657,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -685,7 +678,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +722,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -762,7 +755,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -859,7 +852,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -890,7 +883,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1214,7 +1207,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1245,7 +1238,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1318,7 +1311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1351,7 +1344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1421,7 +1414,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1452,7 +1445,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1520,7 +1513,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1554,7 +1547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1596,12 +1589,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1648,7 +1641,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1689,7 +1682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index 057b1db7a5a9b..badcf55cb1352 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1144,7 +1137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1175,7 +1168,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1252,7 +1245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1285,7 +1278,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1361,7 +1354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1392,7 +1385,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1454,7 +1447,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1488,7 +1481,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1524,12 +1517,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1576,7 +1569,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1617,7 +1610,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index 7b557910ae367..e64b7d0abfda4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -93,16 +88,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,18 +128,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -155,12 +148,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -170,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +202,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -259,12 +252,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -364,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -380,7 +373,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -433,12 +426,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -541,7 +534,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -565,7 +558,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -657,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -685,7 +678,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1002,7 +995,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1031,7 +1024,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1100,7 +1093,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1131,7 +1124,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1197,7 +1190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1226,7 +1219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1290,7 +1283,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1322,7 +1315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1358,12 +1351,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1412,7 +1405,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1451,7 +1444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 1c6a051f06fbd..eea0d7b20e036 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -940,7 +933,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1048,7 +1041,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 393d5656f5153..96435670d6b52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -784,7 +777,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -892,7 +885,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 296aa412c94be..93efad97f8977 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -743,7 +736,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -854,7 +847,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -962,7 +955,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index cfed3b6103cf1..f934de39ad07e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -741,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -786,7 +779,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index aea47507a2443..056a5620d8cf8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -754,7 +747,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -800,7 +793,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index 1759d5574a833..d4583aeff2fe1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -754,7 +747,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -796,7 +789,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index a8e96758b31b4..e6fc14abd3334 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1012,7 +1005,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1043,7 +1036,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1116,7 +1109,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1149,7 +1142,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1219,7 +1212,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1250,7 +1243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1318,7 +1311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1352,7 +1345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1394,12 +1387,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1446,7 +1439,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1487,7 +1480,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index aebe10416fa67..f34f22baf1925 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -754,7 +747,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -800,7 +793,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index f7dc72da51329..6ffeb8a398807 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -252,7 +245,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -262,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -367,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -436,12 +429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -544,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -568,7 +561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -688,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -754,7 +747,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -796,7 +789,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js index 89ccc17182a53..af958d5eaf104 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -116,12 +116,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -211,6 +211,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -237,7 +239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -290,12 +292,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -398,7 +400,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -422,7 +424,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -513,7 +515,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -836,7 +838,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -863,7 +865,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -927,7 +929,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -956,7 +958,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1017,7 +1019,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1044,7 +1046,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1103,7 +1105,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1133,7 +1135,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1164,12 +1166,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1217,7 +1219,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1254,7 +1256,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index e9cf7777e55fb..410a59c04086f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -952,7 +945,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1060,7 +1053,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 682e6344ddd46..4883fe2d0307d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -791,7 +784,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -899,7 +892,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 0ffb71258db00..f9b6423f6e8ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -744,7 +737,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -861,7 +854,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -969,7 +962,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index 7d05d30d2d763..b0078256ef93c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -793,7 +786,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -955,7 +948,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 5450546e6039f..ac0dacaffe815 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -752,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -913,7 +906,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index cd508255dc8d1..99bc9f6ae9a07 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -750,7 +743,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -857,7 +850,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index f9de76f430d6b..65c62b92be220 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -70,35 +70,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,18 +124,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -151,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -245,7 +238,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -255,12 +248,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -360,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,12 +422,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -537,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +645,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -710,7 +703,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -822,7 +815,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -853,7 +846,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1177,7 +1170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1208,7 +1201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1281,7 +1274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1314,7 +1307,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1384,7 +1377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1415,7 +1408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1483,7 +1476,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1517,7 +1510,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1559,12 +1552,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1612,7 +1605,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1653,7 +1646,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index 8656dc5a13baf..3f4a7e503d0ba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1146,7 +1139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1177,7 +1170,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1254,7 +1247,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1287,7 +1280,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1362,7 +1355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1391,7 +1384,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1448,7 +1441,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1480,7 +1473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1511,12 +1504,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1562,7 +1555,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1601,7 +1594,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js index 33479abf2b479..141fb73d36f0b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js @@ -70,35 +70,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,18 +124,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -151,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -245,7 +238,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -255,12 +248,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -360,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,12 +422,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -537,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +645,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -975,7 +968,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1002,7 +995,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1066,7 +1059,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1095,7 +1088,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1156,7 +1149,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1183,7 +1176,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1242,7 +1235,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1272,7 +1265,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1303,12 +1296,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1356,7 +1349,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1393,7 +1386,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 616189ca2731c..b4f4797226ba3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -951,7 +944,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1059,7 +1052,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index fa9c1d37a2055..33a355fe312cc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -790,7 +783,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -898,7 +891,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index e00fee527a01d..5566160bf41b1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -744,7 +737,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -860,7 +853,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -968,7 +961,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 816291104db82..0af5322cedf2a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -792,7 +785,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -954,7 +947,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index ecbe70502ab52..dce8379af7602 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -950,7 +943,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1058,7 +1051,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index aad636eb55a6a..784360b4bcdff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -794,7 +787,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -902,7 +895,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index bc6a61b5da641..257f806c1915b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -744,7 +737,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -864,7 +857,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -972,7 +965,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index 9b966e844dac0..2e641e869a2f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -796,7 +789,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -958,7 +951,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 1afe0befd9955..7b40c897df0cb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -916,7 +909,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index c4f03a9a39339..731f67988feeb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -753,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -860,7 +853,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index ee0ae5ee8a94d..2f26c4ae05f1d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -94,16 +89,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -134,18 +129,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -156,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -171,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -250,7 +243,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -260,12 +253,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -365,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -381,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -434,12 +427,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -542,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -566,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -686,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -730,7 +723,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -763,7 +756,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -860,7 +853,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -891,7 +884,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1215,7 +1208,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1246,7 +1239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1319,7 +1312,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1352,7 +1345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1422,7 +1415,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1453,7 +1446,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1521,7 +1514,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1555,7 +1548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1597,12 +1590,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1649,7 +1642,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1690,7 +1683,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index 5527b7a3f4aac..d5bb30a4796da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1145,7 +1138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1176,7 +1169,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1253,7 +1246,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1286,7 +1279,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1362,7 +1355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1393,7 +1386,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1455,7 +1448,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1489,7 +1482,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1525,12 +1518,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1577,7 +1570,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1618,7 +1611,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index 5f6815d2681d2..80b581f5ffd7a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -94,16 +89,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -134,18 +129,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -156,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -171,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -250,7 +243,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -260,12 +253,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -365,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -381,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -434,12 +427,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -542,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -566,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -658,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -686,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1003,7 +996,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1032,7 +1025,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1101,7 +1094,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1132,7 +1125,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1198,7 +1191,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1227,7 +1220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1291,7 +1284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1323,7 +1316,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1359,12 +1352,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1413,7 +1406,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1452,7 +1445,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index e615879f495bc..e54c87dea0d78 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -941,7 +934,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1049,7 +1042,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index bf4b7664daf37..881b5790badde 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -785,7 +778,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -893,7 +886,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index ad9717961582d..c06b2073c9597 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -744,7 +737,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -855,7 +848,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -963,7 +956,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 3d83c8b329dbc..b54ad33134247 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -787,7 +780,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -949,7 +942,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index 0dd68e367b72f..22225a6f77864 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1013,7 +1006,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1044,7 +1037,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1117,7 +1110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1150,7 +1143,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1220,7 +1213,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1251,7 +1244,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1319,7 +1312,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1353,7 +1346,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1395,12 +1388,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -1447,7 +1440,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1488,7 +1481,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 3048f8e14a99e..b60cecf92c00e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -801,7 +794,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index a73e486922919..acbe187a1cd0f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -253,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -263,12 +256,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -368,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -384,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -437,12 +430,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -545,7 +538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -569,7 +562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -659,7 +652,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -689,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -797,7 +790,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index fdd6d35bd1d3e..92ebb5ea28ba8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1165,12 +1158,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1495,7 +1488,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1543,13 +1536,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1624,7 +1617,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 063ce792f08e0..d8a93e06dda45 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1178,7 +1171,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1225,13 +1218,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1305,7 +1298,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 60eb4f68d0a19..bc13efa5ae2be 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1159,12 +1152,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1293,7 +1286,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1341,13 +1334,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1421,7 +1414,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index b8f799a51ac3f..0d8940e0109f1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1182,7 +1175,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1219,13 +1212,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1317,7 +1310,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1419,7 +1412,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 871574d0380f2..900e6dca22901 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1124,7 +1117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1161,7 +1154,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -1248,7 +1241,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1351,7 +1344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 9af8e46752955..adcbb8e410469 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1168,7 +1161,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -1234,7 +1227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index 9424f205c8c58..a91a252a7e708 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -64,35 +64,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,18 +118,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -145,12 +138,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -160,7 +153,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +192,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -240,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -250,12 +243,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -354,7 +347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -372,7 +365,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -428,12 +421,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -541,7 +534,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -567,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -625,12 +618,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -741,7 +734,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -775,7 +768,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -925,7 +918,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -998,7 +991,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1058,13 +1051,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1127,7 +1120,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1174,7 +1167,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1972,7 +1965,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2014,7 +2007,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2101,7 +2094,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2145,7 +2138,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2229,7 +2222,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2271,7 +2264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2353,7 +2346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2398,7 +2391,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2478,7 +2471,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2526,7 +2519,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2574,13 +2567,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2601,12 +2594,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2657,7 +2650,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2715,7 +2708,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index bea4a1637d460..a3309e4483b54 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1165,12 +1158,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1843,7 +1836,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1885,7 +1878,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1975,7 +1968,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2019,7 +2012,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2107,7 +2100,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2147,7 +2140,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2217,7 +2210,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2260,7 +2253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2328,7 +2321,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2374,7 +2367,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2410,12 +2403,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -2434,12 +2427,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2488,7 +2481,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2542,7 +2535,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js index b5ce0dce84564..16d1ccdb579c7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js @@ -64,35 +64,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,18 +118,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -145,12 +138,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -160,7 +153,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +192,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -240,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -250,12 +243,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -354,7 +347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -372,7 +365,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -428,12 +421,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -541,7 +534,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -567,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -625,12 +618,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -741,7 +734,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -775,7 +768,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1133,7 +1126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1474,7 +1467,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1511,7 +1504,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1588,7 +1581,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1627,7 +1620,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1701,7 +1694,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1738,7 +1731,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1810,7 +1803,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1850,7 +1843,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1920,7 +1913,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1963,7 +1956,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1999,12 +1992,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -2023,12 +2016,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2079,7 +2072,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2130,7 +2123,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index a8027225db60e..a16a62f9eb0d2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1165,12 +1158,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1494,7 +1487,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1542,13 +1535,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1623,7 +1616,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index 5893b8560029e..46369d05251ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1177,7 +1170,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1224,13 +1217,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1304,7 +1297,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index f195c3b59eda3..46ab1bc8a68b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1159,12 +1152,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1292,7 +1285,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1340,13 +1333,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1420,7 +1413,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index a0592114244bd..7d12363d965f3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1181,7 +1174,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1218,13 +1211,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1316,7 +1309,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index f5bcae122ada7..de9c09def29fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1482,7 +1475,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1592,7 +1585,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index 55a94684fb13b..5c37bb64774da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1181,7 +1174,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1291,7 +1284,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 8d85ad54b33c5..48e70e0fe1a76 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1120,7 +1113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1282,7 +1275,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1392,7 +1385,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index cf651890cd078..29b5e7e0da359 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1184,7 +1177,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1371,7 +1364,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index b7fa932205420..c66a81af6b587 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1129,7 +1122,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1315,7 +1308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index eae40d533b1ca..56860853e5749 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1126,7 +1119,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1235,7 +1228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index d805402e44e5a..d925efc0640e9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -88,16 +83,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -246,7 +239,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -256,13 +249,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -363,7 +356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -556,7 +549,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -584,7 +577,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -646,12 +639,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -762,7 +755,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -798,7 +791,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -889,7 +882,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1006,7 +999,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1062,7 +1055,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1109,7 +1102,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1203,7 +1196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -1245,7 +1238,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2044,7 +2037,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2087,7 +2080,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2174,7 +2167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2219,7 +2212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2303,7 +2296,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2346,7 +2339,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2428,7 +2421,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2474,7 +2467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2554,7 +2547,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2603,7 +2596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2651,13 +2644,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2678,12 +2671,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2733,7 +2726,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2792,7 +2785,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index fd5f8e91aefe0..9ff6d3e5dc5a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1826,7 +1819,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1869,7 +1862,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1960,7 +1953,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2005,7 +1998,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2095,7 +2088,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2138,7 +2131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2214,7 +2207,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2260,7 +2253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2334,7 +2327,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2383,7 +2376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2425,13 +2418,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2452,12 +2445,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2507,7 +2500,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2566,7 +2559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index c3e74bb538448..1180f93692e47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -88,16 +83,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -246,7 +239,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -256,13 +249,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -363,7 +356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -556,7 +549,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -584,7 +577,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -646,12 +639,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -762,7 +755,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -798,7 +791,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -889,7 +882,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1214,7 +1207,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1545,7 +1538,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1584,7 +1577,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1667,7 +1660,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1708,7 +1701,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1788,7 +1781,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1827,7 +1820,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1905,7 +1898,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1947,7 +1940,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2023,7 +2016,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2068,7 +2061,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2110,13 +2103,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2137,12 +2130,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2194,7 +2187,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2249,7 +2242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 91bc632919a90..29b1a483b108f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1473,7 +1466,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1583,7 +1576,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 3c0c70acf9a03..a28152c2d8cb6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1172,7 +1165,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1282,7 +1275,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 8e431d3b5acc4..5af7dda04fe21 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1120,7 +1113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1273,7 +1266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1383,7 +1376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index f51d227d356d0..8a243255199f1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1175,7 +1168,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1362,7 +1355,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js index 4c9072954f27e..a848806d26b0a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -450,12 +443,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -622,7 +615,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -657,7 +650,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -741,13 +734,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -801,7 +794,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -839,7 +832,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1032,7 +1025,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1070,7 +1063,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1143,12 +1136,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -1270,7 +1263,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1315,7 +1308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1396,7 +1389,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1439,7 +1432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1534,13 +1527,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1600,7 +1593,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1649,7 +1642,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1746,7 +1739,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1797,7 +1790,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -1892,7 +1885,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1941,7 +1934,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -2155,7 +2148,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2204,7 +2197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -2304,7 +2297,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2354,7 +2347,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2436,7 +2429,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2479,7 +2472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2710,7 +2703,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2755,7 +2748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2837,7 +2830,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2880,7 +2873,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2992,7 +2985,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3039,7 +3032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3121,7 +3114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3166,7 +3159,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3401,7 +3394,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3446,7 +3439,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3528,7 +3521,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3571,7 +3564,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3881,7 +3874,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3926,7 +3919,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4008,7 +4001,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4051,7 +4044,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4162,7 +4155,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4209,7 +4202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4291,7 +4284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4336,7 +4329,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4571,7 +4564,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4616,7 +4609,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4698,7 +4691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4741,7 +4734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4902,7 +4895,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4949,7 +4942,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5031,7 +5024,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5076,7 +5069,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5310,7 +5303,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5355,7 +5348,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5437,7 +5430,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5480,7 +5473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5709,7 +5702,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5754,7 +5747,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5836,7 +5829,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5879,7 +5872,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 57a36c0e652b4..e04eb50c318c6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1722,7 +1715,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1765,7 +1758,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1852,7 +1845,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1897,7 +1890,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1981,7 +1974,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2024,7 +2017,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2106,7 +2099,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2152,7 +2145,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2232,7 +2225,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2281,7 +2274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2329,13 +2322,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2356,12 +2349,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2411,7 +2404,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2470,7 +2463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index a8e92551cc02d..a7c059d468df4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1122,7 +1115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1198,7 +1191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1250,7 +1243,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" @@ -1540,7 +1533,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 4f11a35dc4743..1a322f0d1555b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -587,7 +580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -649,12 +642,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -765,7 +758,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -890,7 +883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -930,7 +923,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1122,7 +1115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1198,7 +1191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1246,7 +1239,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" @@ -1536,7 +1529,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js index e827aa7268115..fadfa6c7682b8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1553,7 +1546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1842,7 +1835,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js index ac0706d113e88..a0f79a2b4dcd6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1177,7 +1170,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1466,7 +1459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index ea1d5083f2523..e21573fc546fe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1118,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1283,7 +1276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1572,7 +1565,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 963439998f0d4..2c53448135d8c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1181,7 +1174,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1521,7 +1514,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index d93c13d23de59..7da518ed82bea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1613,7 +1606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index e922823b1f76e..73ca95d613469 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1118,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1556,7 +1549,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index 957e43b549940..db60cdf1c0cac 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -69,35 +69,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -266,7 +259,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -276,13 +269,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -383,7 +376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -407,7 +400,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -454,12 +447,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -567,7 +560,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -597,7 +590,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -657,12 +650,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -773,7 +766,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -807,7 +800,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +984,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1067,7 +1060,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1493,7 +1486,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1537,7 +1530,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2007,7 +2000,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2051,7 +2044,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2138,7 +2131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2184,7 +2177,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2268,7 +2261,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2294,7 +2287,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2376,7 +2369,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2423,7 +2416,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2503,7 +2496,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2553,7 +2546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2601,13 +2594,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2628,12 +2621,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2684,7 +2677,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2742,7 +2735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index 42b6e31e6f5fb..b56a56c74f2f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1995,7 +1988,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2039,7 +2032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2130,7 +2123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2176,7 +2169,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2265,7 +2258,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2289,7 +2282,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2360,7 +2353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2405,7 +2398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2474,7 +2467,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2522,7 +2515,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2559,13 +2552,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2586,12 +2579,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2640,7 +2633,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2696,7 +2689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index 5a909b507e1fc..24305b3bbb13a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -69,35 +69,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -266,7 +259,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -276,13 +269,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -383,7 +376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -407,7 +400,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -454,12 +447,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -567,7 +560,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -597,7 +590,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -657,12 +650,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -773,7 +766,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -807,7 +800,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1199,7 +1192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1675,7 +1668,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1715,7 +1708,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1793,7 +1786,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1835,7 +1828,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1910,7 +1903,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1932,7 +1925,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2005,7 +1998,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -2048,7 +2041,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2119,7 +2112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2165,7 +2158,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2202,13 +2195,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2229,12 +2222,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2285,7 +2278,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2339,7 +2332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index 772d3648c8a90..b12681eb6ae58 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1552,7 +1545,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1841,7 +1834,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 2d8c5a98408f8..de5bd7bbe997a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1176,7 +1169,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1465,7 +1458,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 9574883985440..4320e3175f26b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1118,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1282,7 +1275,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1571,7 +1564,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 58f9373719cde..1e238705dc456 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1107,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1180,7 +1173,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1520,7 +1513,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 14bca1683a15e..b5ee27a262370 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1541,7 +1534,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1824,7 +1817,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 8bcc7df914261..627689cdcee0e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1175,7 +1168,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1458,7 +1451,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 56f4be43a5102..79ba387699dad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1115,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1278,7 +1271,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1561,7 +1554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 4b1ab2404e19e..9756221e755bf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1178,7 +1171,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1515,7 +1508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 7a0f4162b6745..86164a71ca810 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1124,7 +1117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1616,7 +1609,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 41c09833497ff..a7b4c778b7cbf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1559,7 +1552,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index 6986769648e01..9ddf42d65d45e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -93,16 +88,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,18 +128,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -155,12 +148,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -170,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +202,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -271,7 +264,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -281,13 +274,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -388,7 +381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -412,7 +405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -459,12 +452,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -572,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -602,7 +595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,12 +655,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -778,7 +771,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -812,7 +805,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -997,7 +990,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1038,7 +1031,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1093,7 +1086,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1141,7 +1134,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1564,7 +1557,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1608,7 +1601,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2078,7 +2071,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2122,7 +2115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2209,7 +2202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2255,7 +2248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2339,7 +2332,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2365,7 +2358,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2447,7 +2440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2494,7 +2487,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2574,7 +2567,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2624,7 +2617,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2672,13 +2665,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2699,12 +2692,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2754,7 +2747,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2812,7 +2805,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index 3b0540faafc34..381397f6d5e5b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1986,7 +1979,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2030,7 +2023,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2121,7 +2114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2167,7 +2160,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2257,7 +2250,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2283,7 +2276,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2359,7 +2352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2406,7 +2399,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2480,7 +2473,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2530,7 +2523,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2572,13 +2565,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2599,12 +2592,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2654,7 +2647,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2712,7 +2705,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index 9cd77d7fcf13f..8cd49178021a0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -93,16 +88,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,18 +128,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -155,12 +148,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -170,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +202,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -271,7 +264,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -281,13 +274,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -388,7 +381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -412,7 +405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -459,12 +452,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -572,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -602,7 +595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,12 +655,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -778,7 +771,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -812,7 +805,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1205,7 +1198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1246,7 +1239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1709,7 +1702,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1751,7 +1744,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1834,7 +1827,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1878,7 +1871,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1958,7 +1951,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1982,7 +1975,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2060,7 +2053,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2105,7 +2098,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2181,7 +2174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2229,7 +2222,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2271,13 +2264,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2298,12 +2291,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2355,7 +2348,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2411,7 +2404,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 1c139ffbe6c07..301fc6db4a77d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1532,7 +1525,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1815,7 +1808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 05d31f9606823..e58f48be2fd0d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1166,7 +1159,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1449,7 +1442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 298a0ac8ee3ad..50d4b68e11044 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1115,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1269,7 +1262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1552,7 +1545,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index e50eb9ed72d09..a5325960c494a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1112,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1169,7 +1162,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1506,7 +1499,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index 00108b57f1121..cfeae1db94452 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1173,7 +1166,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -1464,7 +1457,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index d1171ff5aa899..072de8e75fb82 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1121,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1169,7 +1162,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -1460,7 +1453,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js index fbcc0643cd0bd..fa2354335388e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -463,12 +456,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -635,7 +628,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -665,7 +658,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -737,13 +730,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -797,7 +790,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -834,7 +827,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1031,7 +1024,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1068,7 +1061,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1133,12 +1126,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -1261,7 +1254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1307,7 +1300,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1380,7 +1373,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1420,7 +1413,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1506,13 +1499,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1572,7 +1565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -1620,7 +1613,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1709,7 +1702,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1759,7 +1752,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -1846,7 +1839,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1894,7 +1887,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -2112,7 +2105,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2160,7 +2153,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -2253,7 +2246,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2302,7 +2295,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2376,7 +2369,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2416,7 +2409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2644,7 +2637,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2686,7 +2679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2757,7 +2750,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2797,7 +2790,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2899,7 +2892,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2943,7 +2936,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3014,7 +3007,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -3056,7 +3049,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3293,7 +3286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -3335,7 +3328,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3406,7 +3399,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -3446,7 +3439,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3511,13 +3504,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 6 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-3 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -3610,7 +3603,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -3657,7 +3650,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3743,13 +3736,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 7 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -3861,7 +3854,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -3905,7 +3898,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3983,7 +3976,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4027,7 +4020,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4101,7 +4094,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4141,7 +4134,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4247,7 +4240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4292,7 +4285,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4363,7 +4356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4406,7 +4399,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4527,7 +4520,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 8 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -4650,7 +4643,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4692,7 +4685,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4763,7 +4756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4803,7 +4796,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4868,13 +4861,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 9 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-4 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -4967,7 +4960,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -5014,7 +5007,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5091,7 +5084,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -5135,7 +5128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5209,7 +5202,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -5251,7 +5244,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5337,13 +5330,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 10 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -5455,7 +5448,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -5499,7 +5492,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5577,7 +5570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -5621,7 +5614,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5695,7 +5688,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -5735,7 +5728,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5852,7 +5845,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 11 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -5975,7 +5968,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -6017,7 +6010,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -6088,7 +6081,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -6128,7 +6121,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js index 59f407ecd02b5..542cbc1600576 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1206,7 +1199,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1249,7 +1242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1719,7 +1712,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1763,7 +1756,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1850,7 +1843,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1896,7 +1889,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1980,7 +1973,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2006,7 +1999,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2088,7 +2081,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2135,7 +2128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2215,7 +2208,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2265,7 +2258,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2313,13 +2306,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2340,12 +2333,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2395,7 +2388,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2453,7 +2446,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index 7236fd699eaac..d216ddf5084af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1120,7 +1113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1197,7 +1190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1249,7 +1242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" @@ -1540,7 +1533,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index 5046762827a3d..a9279e8bae2c9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +455,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -575,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -665,12 +658,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -781,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -815,7 +808,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -998,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1120,7 +1113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1197,7 +1190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1245,7 +1238,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" @@ -1536,7 +1529,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index 5e0e654ffad09..a809bb90756b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -138,13 +138,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -235,6 +235,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -247,7 +249,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -269,7 +271,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -316,12 +318,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -431,7 +433,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -459,7 +461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -519,12 +521,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -637,7 +639,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -669,7 +671,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1063,7 +1065,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1539,7 +1541,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1577,7 +1579,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1657,7 +1659,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1697,7 +1699,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1774,7 +1776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1794,7 +1796,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1869,7 +1871,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1910,7 +1912,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1983,7 +1985,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2027,7 +2029,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2064,13 +2066,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2091,12 +2093,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2149,7 +2151,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2201,7 +2203,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index 18d7e28b19637..9731bf03b886a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1183,12 +1176,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1513,7 +1506,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1561,13 +1554,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1642,7 +1635,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 6e74f81a827ad..99446fc38efd0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1196,7 +1189,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1243,13 +1236,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1323,7 +1316,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 4f1f8d9aeaf25..5d9779dcea48c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1139,7 +1132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1177,12 +1170,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1311,7 +1304,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1359,13 +1352,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1439,7 +1432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index bc6a7ef1ca676..f02e5942717f3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1200,7 +1193,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1237,13 +1230,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1335,7 +1328,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1437,7 +1430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index e52d2c2c16f1b..1eca307af2566 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1142,7 +1135,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1179,7 +1172,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -1266,7 +1259,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1369,7 +1362,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 2c2c6ced19909..fd574f6968bf9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1139,7 +1132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1186,7 +1179,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -1252,7 +1245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 5193bc10d5ac5..f2e3e7f2e6531 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -70,35 +70,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,18 +124,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -151,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -267,7 +260,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -277,12 +270,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -382,7 +375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -404,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -585,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -643,12 +636,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -759,7 +752,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -793,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -943,7 +936,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1016,7 +1009,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1076,13 +1069,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1145,7 +1138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1192,7 +1185,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1990,7 +1983,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2032,7 +2025,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2119,7 +2112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2163,7 +2156,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2247,7 +2240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2273,7 +2266,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2355,7 +2348,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2400,7 +2393,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2480,7 +2473,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2528,7 +2521,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2576,13 +2569,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2603,12 +2596,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2659,7 +2652,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2717,7 +2710,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index 55c6fc7b5fb5c..edf884c2d8b11 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1183,12 +1176,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1861,7 +1854,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1903,7 +1896,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1993,7 +1986,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2037,7 +2030,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2125,7 +2118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2149,7 +2142,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2219,7 +2212,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2262,7 +2255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2330,7 +2323,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2376,7 +2369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2412,12 +2405,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -2436,12 +2429,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2490,7 +2483,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2544,7 +2537,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js index b3abaa761bf20..dab722e5c1b1b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js @@ -70,35 +70,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,18 +124,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -151,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -267,7 +260,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -277,12 +270,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -382,7 +375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -404,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -446,12 +439,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -559,7 +552,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -585,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -643,12 +636,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -759,7 +752,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -793,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1151,7 +1144,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1492,7 +1485,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1529,7 +1522,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1606,7 +1599,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1645,7 +1638,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1719,7 +1712,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1741,7 +1734,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1813,7 +1806,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1853,7 +1846,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1923,7 +1916,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1966,7 +1959,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2002,12 +1995,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -2026,12 +2019,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2082,7 +2075,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2133,7 +2126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index ffe7ec523eed8..a22882e69358d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1183,12 +1176,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1512,7 +1505,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1560,13 +1553,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1641,7 +1634,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 980c68e1f2790..3f9b0be5167f1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1195,7 +1188,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1242,13 +1235,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1322,7 +1315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 70a48e1dcaa2a..4e6e52e83f7ac 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1139,7 +1132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1177,12 +1170,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1310,7 +1303,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1358,13 +1351,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1438,7 +1431,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index f6effc49fc269..d559cc90d633d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1199,7 +1192,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1236,13 +1229,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1334,7 +1327,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index 06e9fe73096cd..a8dd03a63d66d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1500,7 +1493,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1610,7 +1603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index e7ac8998b26ce..34a18d579cf6c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1199,7 +1192,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1309,7 +1302,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 671fe014b8b3c..80dd990b79580 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1138,7 +1131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1300,7 +1293,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1410,7 +1403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index 4dc0a1f8a35fd..ff777c07373cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1202,7 +1195,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1389,7 +1382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 2443e60d175f7..a6d4660ce634e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1147,7 +1140,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1333,7 +1326,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index 2e4d41f8140ea..0a47536347859 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1144,7 +1137,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1253,7 +1246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index 8ec19abd8c2fb..5995f3e935bf2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -94,16 +89,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -134,18 +129,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -156,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -171,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -273,7 +266,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -283,13 +276,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -461,12 +454,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -574,7 +567,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -602,7 +595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -664,12 +657,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -780,7 +773,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -816,7 +809,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -907,7 +900,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1024,7 +1017,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1080,7 +1073,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1127,7 +1120,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1221,7 +1214,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -1263,7 +1256,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2062,7 +2055,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2105,7 +2098,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2192,7 +2185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2237,7 +2230,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2321,7 +2314,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2347,7 +2340,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2429,7 +2422,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2475,7 +2468,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2555,7 +2548,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2604,7 +2597,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2652,13 +2645,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2679,12 +2672,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2734,7 +2727,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2793,7 +2786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index 6dc57d5671334..9a7c34510a4b4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1844,7 +1837,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1887,7 +1880,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1978,7 +1971,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2023,7 +2016,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2113,7 +2106,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2139,7 +2132,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2215,7 +2208,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2261,7 +2254,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2335,7 +2328,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2384,7 +2377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2426,13 +2419,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2453,12 +2446,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2508,7 +2501,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2567,7 +2560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index 12a98675be4f1..b13742d6505c4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -94,16 +89,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -134,18 +129,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -156,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -171,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -273,7 +266,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -283,13 +276,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -461,12 +454,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -574,7 +567,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -602,7 +595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -664,12 +657,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -780,7 +773,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -816,7 +809,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -907,7 +900,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1232,7 +1225,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1563,7 +1556,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1602,7 +1595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1685,7 +1678,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1726,7 +1719,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1806,7 +1799,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1830,7 +1823,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1908,7 +1901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1950,7 +1943,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2026,7 +2019,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2071,7 +2064,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2113,13 +2106,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2140,12 +2133,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2197,7 +2190,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2252,7 +2245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index bbf80cde0d4fe..b83288567ce0d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1491,7 +1484,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1601,7 +1594,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index c3d9ab3214a82..b0cef427124d7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1190,7 +1183,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1300,7 +1293,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 442503949e8d8..0fb84ef28e33d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1138,7 +1131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1291,7 +1284,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1401,7 +1394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 6669be9a7fdbd..faa17460e1c69 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1193,7 +1186,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1380,7 +1373,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js index a6fd43b99064b..576d45c46bb17 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +461,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -640,7 +633,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -675,7 +668,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -759,13 +752,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -819,7 +812,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -857,7 +850,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1063,7 +1056,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1101,7 +1094,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1174,12 +1167,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -1301,7 +1294,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1346,7 +1339,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1427,7 +1420,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1470,7 +1463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1565,13 +1558,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1631,7 +1624,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1680,7 +1673,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1777,7 +1770,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1828,7 +1821,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -1923,7 +1916,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1972,7 +1965,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -2199,7 +2192,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2248,7 +2241,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -2348,7 +2341,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2398,7 +2391,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2480,7 +2473,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2523,7 +2516,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2761,7 +2754,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2806,7 +2799,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2888,7 +2881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2931,7 +2924,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3043,7 +3036,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3090,7 +3083,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3172,7 +3165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3217,7 +3210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3465,7 +3458,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3510,7 +3503,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3592,7 +3585,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3635,7 +3628,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3709,7 +3702,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 6 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -3800,7 +3793,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3910,7 +3903,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 7 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -4020,7 +4013,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4117,7 +4110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4162,7 +4155,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4244,7 +4237,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4287,7 +4280,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4403,7 +4396,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4451,7 +4444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4533,7 +4526,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4579,7 +4572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4710,7 +4703,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 8 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -4832,7 +4825,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4877,7 +4870,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4959,7 +4952,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5002,7 +4995,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5076,7 +5069,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 9 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -5167,7 +5160,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5267,7 +5260,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5312,7 +5305,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5394,7 +5387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5437,7 +5430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5530,7 +5523,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 10 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -5640,7 +5633,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5737,7 +5730,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5782,7 +5775,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5864,7 +5857,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5907,7 +5900,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -6034,7 +6027,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 11 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -6156,7 +6149,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -6201,7 +6194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -6283,7 +6276,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -6326,7 +6319,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js index 5922152fe6382..712fc371b37bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1740,7 +1733,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1783,7 +1776,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1870,7 +1863,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1915,7 +1908,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1999,7 +1992,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2025,7 +2018,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2107,7 +2100,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2153,7 +2146,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2233,7 +2226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2282,7 +2275,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2330,13 +2323,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2357,12 +2350,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -2412,7 +2405,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2471,7 +2464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index d866c4589a4e2..806b0c5ba7d7f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1140,7 +1133,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1216,7 +1209,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1268,7 +1261,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" @@ -1558,7 +1551,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index ebe5afc1e72a6..c55d42c6acd7e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-0 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' FnS.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -667,12 +660,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -783,7 +776,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -908,7 +901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -948,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1140,7 +1133,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1216,7 +1209,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1264,7 +1257,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" @@ -1554,7 +1547,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index b5661f1701a4e..69eaa047d40ea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -980,7 +973,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1015,7 +1008,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1092,7 +1085,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1129,7 +1122,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1203,7 +1196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1238,7 +1231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1310,7 +1303,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1348,7 +1341,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1394,13 +1387,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1452,7 +1445,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1497,7 +1490,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 9a1037ce02f70..e076702be8c45 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -801,12 +794,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -945,7 +938,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -991,13 +984,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1064,7 +1057,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index a69c4409194e0..61f183db5f816 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -809,7 +802,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -854,13 +847,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -926,7 +919,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 75a2575651e19..c815dbc4340ab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -758,7 +751,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -794,12 +787,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -884,7 +877,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -930,13 +923,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1001,7 +994,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index e07a2c9fd62e1..cb43a121055c1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -812,7 +805,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -847,13 +840,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -921,7 +914,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1015,7 +1008,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index dedd37f63aeae..806ec799bad6d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -761,7 +754,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -796,7 +789,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -859,7 +852,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -954,7 +947,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index a4c98a456e5dc..23c14c012f69c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -759,7 +752,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -804,7 +797,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -863,7 +856,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index 165a4ef341f8e..26dabbe12d28b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -64,35 +64,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,18 +118,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -145,12 +138,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -160,7 +153,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +192,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -240,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -250,12 +243,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -354,7 +347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -372,7 +365,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -425,12 +418,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -533,7 +526,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -559,7 +552,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,13 +651,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -726,7 +719,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -764,7 +757,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1048,7 +1041,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1082,7 +1075,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1159,7 +1152,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1195,7 +1188,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1269,7 +1262,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1303,7 +1296,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1375,7 +1368,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1412,7 +1405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1458,13 +1451,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1516,7 +1509,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1560,7 +1553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index 7f33b04634b7b..231948573c6bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -801,12 +794,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1123,7 +1116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1157,7 +1150,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1238,7 +1231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -1274,7 +1267,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1352,7 +1345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/main.ts: *new* {} @@ -1380,7 +1373,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1437,7 +1430,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/main.ts: {} @@ -1468,7 +1461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1499,12 +1492,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1551,7 +1544,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1587,7 +1580,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js index 072ffea9f59a1..41d1b6be16e69 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js @@ -64,35 +64,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -123,18 +118,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -145,12 +138,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -160,7 +153,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -199,7 +192,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -240,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -250,12 +243,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -354,7 +347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -372,7 +365,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -425,12 +418,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -533,7 +526,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -559,7 +552,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -877,7 +870,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -906,7 +899,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -968,7 +961,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -999,7 +992,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1058,7 +1051,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/main.ts: *new* {} @@ -1087,7 +1080,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1144,7 +1137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/main/main.ts: {} @@ -1176,7 +1169,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1207,12 +1200,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1259,7 +1252,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1296,7 +1289,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index ec35a6b998cdf..7f30955d7225f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -801,12 +794,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -944,7 +937,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -990,13 +983,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1063,7 +1056,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index 6184ae04b38ae..e03259c1a74d0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -808,7 +801,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -853,13 +846,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -925,7 +918,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 5ee92644913a0..67de92b73ecdb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -758,7 +751,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -794,12 +787,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -883,7 +876,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -929,13 +922,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1000,7 +993,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index bcb083bf56a28..bc08cae4368a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -811,7 +804,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -846,13 +839,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -920,7 +913,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 17ad2fe788772..98bd06536a08a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -947,7 +940,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1048,7 +1041,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index 9391bbe0d4617..719efc3cd7bcb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -813,7 +806,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -914,7 +907,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 1cc9db465a011..c0081774125d3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -757,7 +750,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +876,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -984,7 +977,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 5a366ecf39534..3e25085abe480 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -815,7 +808,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -970,7 +963,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 93b3cd35e7cb2..82d4ed4e3307b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -766,7 +759,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -920,7 +913,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index 5b870f9c97403..32d3213a1ea3b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -764,7 +757,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -864,7 +857,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index 807873265ab34..5e3859255b1bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -88,16 +83,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -246,7 +239,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -256,13 +249,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -363,7 +356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -440,12 +433,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -548,7 +541,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -576,7 +569,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -716,7 +709,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -819,7 +812,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -854,7 +847,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1138,7 +1131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1173,7 +1166,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1250,7 +1243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1287,7 +1280,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1361,7 +1354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1396,7 +1389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1468,7 +1461,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1506,7 +1499,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1552,13 +1545,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1610,7 +1603,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1655,7 +1648,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index 02c8dbb034d55..23da3555ab765 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1100,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1142,7 +1135,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1223,7 +1216,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1260,7 +1253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1340,7 +1333,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1375,7 +1368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1441,7 +1434,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1479,7 +1472,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1519,13 +1512,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1577,7 +1570,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1622,7 +1615,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js index 79e8df6662294..62c882c4dcccb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -88,16 +83,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -246,7 +239,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -256,13 +249,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -363,7 +356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -383,7 +376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -440,12 +433,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -548,7 +541,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -576,7 +569,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -943,7 +936,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -974,7 +967,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1042,7 +1035,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1075,7 +1068,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1140,7 +1133,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1171,7 +1164,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1234,7 +1227,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1268,7 +1261,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1303,13 +1296,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1362,7 +1355,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1403,7 +1396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index a753e87e7a74a..832023420e3bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -938,7 +931,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1039,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index ad033af572e83..a0ffb48814810 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -804,7 +797,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -905,7 +898,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 8fb906589b668..a61c52653e5db 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -757,7 +750,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -874,7 +867,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -975,7 +968,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 060329c5a1bed..92a0c09a81b5a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -806,7 +799,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -961,7 +954,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index bc969d935301b..62e33b6a3f397 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -766,7 +759,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -816,7 +809,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index 3c7a10a01ba4f..b9100f545b693 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -64,19 +64,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -91,16 +86,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -131,18 +126,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -153,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -168,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -207,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -249,7 +242,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -259,13 +252,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -366,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -386,7 +379,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +436,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -551,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -579,7 +572,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -662,7 +655,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -696,7 +689,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -766,7 +759,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -812,7 +805,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js index c60aad553ca9a..a840dd84dfe4a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -934,7 +927,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -969,7 +962,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1035,7 +1028,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1072,7 +1065,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1170,7 +1163,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1231,7 +1224,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1269,7 +1262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1304,13 +1297,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1363,7 +1356,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1406,7 +1399,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js index d3004ddc75302..91f1b2fe7652f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js index 86373528831e5..4fdb09dfcf607 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index d950b473caa82..46e525f93c0b2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index efb1464e21e73..d3c7bb8726e74 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 64145869b9272..8fe561da0c442 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js index c51b85744b0ae..deda503ff8888 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js index 35ecdff9071ce..a14a7afa964b6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js @@ -69,35 +69,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -266,7 +259,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -276,13 +269,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -383,7 +376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -407,7 +400,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -572,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -604,7 +597,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -995,7 +988,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1030,7 +1023,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1096,7 +1089,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1133,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1196,7 +1189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1231,7 +1224,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1292,7 +1285,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1330,7 +1323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1365,13 +1358,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1424,7 +1417,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1467,7 +1460,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js index e59b09203f8b4..3fd7cf4c4a0fe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -996,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1031,7 +1024,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1097,7 +1090,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1134,7 +1127,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1197,7 +1190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1232,7 +1225,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1293,7 +1286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1331,7 +1324,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1366,13 +1359,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1425,7 +1418,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1468,7 +1461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js index 05a8113c3f898..440e7ecbae351 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js @@ -69,35 +69,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -128,18 +123,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -150,12 +143,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -165,7 +158,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -204,7 +197,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -266,7 +259,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -276,13 +269,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -383,7 +376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -407,7 +400,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -464,12 +457,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -572,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -604,7 +597,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -926,7 +919,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -961,7 +954,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1027,7 +1020,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1064,7 +1057,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1127,7 +1120,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1162,7 +1155,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1223,7 +1216,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1261,7 +1254,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1296,13 +1289,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1355,7 +1348,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1398,7 +1391,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index 408a0bf922a70..ee105abbc4a81 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 8beae3651956d..6cd44984ca357 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index d01ddc9176dc7..c15d4cc1dab87 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 7a105c2331a69..d1c4fa1d6be2b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index e97d3d9942e05..35d77bff38541 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 73925b4d71d3d..594277d0500fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 8c8de1709b9e6..a361beea74eaa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 62128bab8afcc..1c2d5d74f1c15 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 2e18d8e16a615..32b624c11d60e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js index 73809ffa7cb0d..e784ed7a6ee82 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js index 4a8a0e3bb6028..1f795f5bce2d3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -93,16 +88,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,18 +128,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -155,12 +148,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -170,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +202,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -271,7 +264,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -281,13 +274,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -388,7 +381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -412,7 +405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -469,12 +462,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -609,7 +602,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -988,7 +981,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1023,7 +1016,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1089,7 +1082,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1126,7 +1119,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1189,7 +1182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1224,7 +1217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1285,7 +1278,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1323,7 +1316,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1358,13 +1351,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1417,7 +1410,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1460,7 +1453,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js index ad1bb5784b839..8d139eb7393e7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -989,7 +982,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1024,7 +1017,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1090,7 +1083,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1127,7 +1120,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1190,7 +1183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1225,7 +1218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1286,7 +1279,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1324,7 +1317,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1359,13 +1352,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1418,7 +1411,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1461,7 +1454,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js index a365e9f479745..e299b6e7713dd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -93,16 +88,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -133,18 +128,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -155,12 +148,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -170,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -209,7 +202,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -271,7 +264,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -281,13 +274,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -388,7 +381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -412,7 +405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -469,12 +462,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -577,7 +570,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -609,7 +602,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -931,7 +924,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -966,7 +959,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1032,7 +1025,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1069,7 +1062,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1132,7 +1125,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1167,7 +1160,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1228,7 +1221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1266,7 +1259,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1301,13 +1294,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1360,7 +1353,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1403,7 +1396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 29eda4c83dea2..a1095f0745420 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index abdfbdf7f6e3e..7b15df1ce92ea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 68cc027b0e852..1acf1b4f5c4a9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 91e4b501c31c2..1659032f2503e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js index b1bf9b3db3f1c..c88db2ffa56e3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -715,7 +708,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -739,7 +732,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-2 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -800,7 +793,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js index 500586d2bc084..84bf583c66b34 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -713,7 +706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -747,7 +740,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-2 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -806,7 +799,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js index 138140ccc3845..6595926ae6348 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -720,7 +713,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -759,7 +752,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js index e4e41d5770168..62c65b087970c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js @@ -69,19 +69,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -96,16 +91,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -136,18 +131,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -158,12 +151,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -173,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -212,7 +205,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -274,7 +267,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -284,13 +277,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -720,7 +713,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -755,7 +748,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js index 2b6457f4100d6..6e61e59541ff4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -138,13 +138,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -235,6 +235,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/decls: *new* @@ -247,7 +249,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -269,7 +271,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -326,12 +328,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -436,7 +438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -466,7 +468,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -790,7 +792,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -823,7 +825,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -891,7 +893,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -926,7 +928,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +993,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1024,7 +1026,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1087,7 +1089,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1123,7 +1125,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1158,13 +1160,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1219,7 +1221,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1260,7 +1262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index 67308e2dbcfba..7198618500996 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1020,7 +1013,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1059,7 +1052,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1136,7 +1129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1177,7 +1170,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1251,7 +1244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1290,7 +1283,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1362,7 +1355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1404,7 +1397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1450,13 +1443,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1511,7 +1504,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1560,7 +1553,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index efcabf38a2f51..7dcaeed7de522 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -841,12 +834,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -985,7 +978,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1031,13 +1024,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1104,7 +1097,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 4cdd6601bf26c..22a3b95100480 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -849,7 +842,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -894,13 +887,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -966,7 +959,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index f01deb43bf0a1..12887d9895e19 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -798,7 +791,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -834,12 +827,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -924,7 +917,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -970,13 +963,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1041,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index b25579cb4e9af..f09677d06eb10 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -852,7 +845,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -887,13 +880,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -961,7 +954,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1055,7 +1048,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 6d1718217dfc7..fcb21c10a35ae 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -801,7 +794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -836,7 +829,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -899,7 +892,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -994,7 +987,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index a0e0cf2274bfe..8fb2ec9f50ba9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -799,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -844,7 +837,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-2 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\nexport declare function fn6(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" @@ -903,7 +896,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index 4908147714630..b4e1fd5f7618d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -70,35 +70,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,18 +124,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -151,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -267,7 +260,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -277,12 +270,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -382,7 +375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -404,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,12 +450,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -565,7 +558,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -595,7 +588,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -694,13 +687,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -762,7 +755,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -804,7 +797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1088,7 +1081,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1126,7 +1119,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1203,7 +1196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1243,7 +1236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1317,7 +1310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1355,7 +1348,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1427,7 +1420,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1468,7 +1461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1514,13 +1507,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1575,7 +1568,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1623,7 +1616,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index be26744639796..f0b934aeeb40d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -841,12 +834,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1163,7 +1156,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1201,7 +1194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1282,7 +1275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1322,7 +1315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1400,7 +1393,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1432,7 +1425,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1489,7 +1482,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1524,7 +1517,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1555,12 +1548,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1610,7 +1603,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1650,7 +1643,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js index 05f19419cae62..15879cc5184ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js @@ -70,35 +70,30 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -129,18 +124,16 @@ function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -151,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -205,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -267,7 +260,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -277,12 +270,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -382,7 +375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -404,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,12 +450,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -565,7 +558,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -595,7 +588,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -913,7 +906,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -946,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1008,7 +1001,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1043,7 +1036,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1102,7 +1095,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1135,7 +1128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1192,7 +1185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1228,7 +1221,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1259,12 +1252,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -1314,7 +1307,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1355,7 +1348,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 8bc5ddf0b5c4c..35776d1b7e346 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -841,12 +834,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -984,7 +977,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1030,13 +1023,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1103,7 +1096,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 5d7ae344fae01..dbe42b318d030 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -848,7 +841,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -893,13 +886,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -965,7 +958,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 42a16ffffafad..38cbb9e8ac3c6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -798,7 +791,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -834,12 +827,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -923,7 +916,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -969,13 +962,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1040,7 +1033,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 9eda5e8b6357b..8b051abfde5c9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -851,7 +844,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -886,13 +879,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -960,7 +953,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index 7a1342b3ddde8..5e6f1f374a4bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -987,7 +980,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1088,7 +1081,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 1ea64605cb2ee..b483f9f31a01d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -853,7 +846,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -954,7 +947,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 5dcf3ac174fec..c60e3d99433d5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -797,7 +790,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -923,7 +916,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1024,7 +1017,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index b238e20b32ffc..5f971967bf6ce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -855,7 +848,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1010,7 +1003,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 63ce56b7f4bf8..5b794becdc534 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -806,7 +799,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -960,7 +953,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index ff5ba7b805530..ce1e65f3e49af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -804,7 +797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -904,7 +897,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index 9e2f924cd8663..b53da016989f6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -94,16 +89,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -134,18 +129,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -156,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -171,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -273,7 +266,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -283,13 +276,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -696,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -756,7 +749,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -863,7 +856,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -902,7 +895,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1186,7 +1179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1225,7 +1218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1302,7 +1295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1343,7 +1336,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1417,7 +1410,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1456,7 +1449,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1528,7 +1521,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1570,7 +1563,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1616,13 +1609,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1677,7 +1670,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1726,7 +1719,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index 27d056e0d48ae..a43ea8daec6ba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1147,7 +1140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1186,7 +1179,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1267,7 +1260,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1308,7 +1301,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1388,7 +1381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1427,7 +1420,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1493,7 +1486,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1535,7 +1528,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1575,13 +1568,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1636,7 +1629,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1685,7 +1678,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js index 6032fc0797f5f..8d66da82bcc0a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts] @@ -94,16 +89,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -134,18 +129,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -156,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -171,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -210,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -273,7 +266,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -283,13 +276,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -391,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -415,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -472,12 +465,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -580,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -612,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -696,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -983,7 +976,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1018,7 +1011,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1086,7 +1079,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1123,7 +1116,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1188,7 +1181,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1223,7 +1216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1286,7 +1279,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1324,7 +1317,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1359,13 +1352,13 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1421,7 +1414,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1466,7 +1459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/random/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index d2c8b387d58c6..ec2f22f6f46e5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -978,7 +971,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1079,7 +1072,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index ba44ae60549d0..c5fc5626790bc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -844,7 +837,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -945,7 +938,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 0a675326adc79..4cb5e9f9483ee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -797,7 +790,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -914,7 +907,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1015,7 +1008,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 53bcd2d544e4b..db5b666a1b05e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -795,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -846,7 +839,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1001,7 +994,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 0afbc6826054d..12f34affaf492 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -806,7 +799,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -856,7 +849,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index 4c785eea36ec7..194a53154d3ca 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -70,19 +70,14 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/user/username/projects/myproject/dependency/FnS.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fn1 = fn1; -exports.fn2 = fn2; -exports.fn3 = fn3; -exports.fn4 = fn4; -exports.fn5 = fn5; -function fn1() { } -function fn2() { } -function fn3() { } -function fn4() { } -function fn5() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } //// [/user/username/projects/myproject/decls/FnS.d.ts.map] @@ -97,16 +92,16 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -137,18 +132,16 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1080 } //// [/user/username/projects/myproject/main/main.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var fns_1 = require("../decls/fns"); -(0, fns_1.fn1)(); -(0, fns_1.fn2)(); -(0, fns_1.fn3)(); -(0, fns_1.fn4)(); -(0, fns_1.fn5)(); +import { fn1, fn2, fn3, fn4, fn5 } from '../decls/fns'; +fn1(); +fn2(); +fn3(); +fn4(); +fn5(); //// [/user/username/projects/myproject/main/main.d.ts.map] @@ -159,12 +152,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -174,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { "original": { "version": "-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 { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true @@ -213,7 +206,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1113 + "size": 1125 } @@ -276,7 +269,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -286,13 +279,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -394,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -418,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -475,12 +468,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Matched by default include pattern '**/*' @@ -583,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -615,7 +608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -698,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -736,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -806,7 +799,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -852,7 +845,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" /user/username/projects/myproject/main/main.ts SVC-1-1 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\nconst x = 10;" diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js index de899474de603..c9e58649cc854 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/projects/shared/t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/tsconfig.json 2000 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/shared/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/node_modules/@types 1 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Type roots @@ -173,15 +173,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/solution/projects/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/solution/projects/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspaces/solution/projects/shared/src/logging.ts Text-1 "export function log(str: string) {\n console.log(str);\n}\n" /home/src/workspaces/solution/projects/shared/src/myClass.ts Text-1 "export class MyClass { }" /home/src/workspaces/solution/projects/shared/src/random.ts Text-1 "export function randomFn(str: string) {\n console.log(str);\n}\n" /home/src/workspaces/solution/projects/server/src/server.ts SVC-1-0 "import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/logging.ts Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' ../shared/src/myClass.ts @@ -302,6 +302,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspaces/node_modules/@types: *new* @@ -314,7 +316,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspaces/solution/projects/server/tsconfig.json: *new* {} @@ -347,7 +349,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -401,7 +403,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -428,7 +430,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/solution/projects/server/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/solution/projects/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspaces/solution/projects/shared/src/logging.ts Text-2 "export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;" /home/src/workspaces/solution/projects/shared/src/myClass.ts Text-1 "export class MyClass { }" /home/src/workspaces/solution/projects/shared/src/random.ts Text-1 "export function randomFn(str: string) {\n console.log(str);\n}\n" @@ -487,7 +489,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -547,7 +549,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -575,14 +577,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/solution/projects/server/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/solution/projects/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspaces/solution/projects/shared/src/logging.ts Text-2 "export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;" /home/src/workspaces/solution/projects/shared/src/myClass.ts Text-1 "export class MyClass { }" /home/src/workspaces/solution/projects/server/src/server.ts SVC-1-0 "import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/logging.ts Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' ../shared/src/myClass.ts diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js index 7d46ef0b95561..1c74928ed13d6 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/solution/projects/shared/t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/tsconfig.json 2000 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/shared/src 1 undefined Config: /home/src/workspaces/solution/projects/shared/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/solution/projects/node_modules/@types 1 undefined Project: /home/src/workspaces/solution/projects/server/tsconfig.json WatchType: Type roots @@ -173,15 +173,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/solution/projects/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/solution/projects/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspaces/solution/projects/shared/src/myClass.ts Text-1 "export class MyClass { }" /home/src/workspaces/solution/projects/server/src/server.ts SVC-1-0 "import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n" /home/src/workspaces/solution/projects/shared/src/logging.ts Text-1 "export function log(str: string) {\n console.log(str);\n}\n" /home/src/workspaces/solution/projects/shared/src/random.ts Text-1 "export function randomFn(str: string) {\n console.log(str);\n}\n" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/myClass.ts Imported via ':shared/myClass.js' from file 'src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' @@ -302,6 +302,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/workspaces/node_modules/@types: *new* @@ -314,7 +316,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /home/src/workspaces/solution/projects/server/tsconfig.json: *new* {} @@ -347,7 +349,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -401,7 +403,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -428,7 +430,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/solution/projects/server/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/solution/projects/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspaces/solution/projects/shared/src/myClass.ts Text-1 "export class MyClass { }" /home/src/workspaces/solution/projects/server/src/server.ts SVC-1-0 "import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n" /home/src/workspaces/solution/projects/shared/src/logging.ts Text-2 "export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;" @@ -487,7 +489,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -547,7 +549,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -575,14 +577,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/solution/projects/server/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/solution/projects/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/workspaces/solution/projects/shared/src/myClass.ts Text-1 "export class MyClass { }" /home/src/workspaces/solution/projects/server/src/server.ts SVC-1-0 "import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n" /home/src/workspaces/solution/projects/shared/src/logging.ts Text-2 "export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../shared/src/myClass.ts Imported via ':shared/myClass.js' from file 'src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js index 047558e1400d5..7dad1c96fa9c8 100644 --- a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js +++ b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c 1 undefined Config: /user/username/projects/project/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/app.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c/node_modules/@types 1 undefined Project: /user/username/projects/project/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c/node_modules/@types 1 undefined Project: /user/username/projects/project/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/c/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b/app.ts Text-1 "let x = 1;" /user/username/projects/project/c/f.ts SVC-1-0 "/// " - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/app.ts Referenced via '../b/app.ts' from file 'f.ts' f.ts @@ -167,6 +167,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -177,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/b/app.ts: *new* {} @@ -195,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/c/tsconfig.json @@ -253,12 +255,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b/app.ts Text-1 "let x = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -361,7 +363,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/tsconfig.json: *new* {} @@ -389,7 +391,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/c/tsconfig.json @@ -449,7 +451,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/tsconfig.json: {} @@ -476,7 +478,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/c/tsconfig.json @@ -534,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/app.ts: *new* {} @@ -564,7 +566,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/c/tsconfig.json @@ -596,12 +598,12 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/b/app.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -645,7 +647,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/app.ts: {} @@ -680,7 +682,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/project/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js index 97a9c240d150c..dd0068da05e72 100644 --- a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js +++ b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -73,13 +73,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/file1.ts SVC-1-0 "export let x = 10;" /user/username/projects/myproject/src/file2.ts Text-1 "export let y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Part of 'files' list in tsconfig.json src/file2.ts @@ -166,6 +166,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/file2.ts: *new* {} @@ -188,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -251,12 +253,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/file1.ts SVC-1-0 "export let x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Part of 'files' list in tsconfig.json @@ -319,7 +321,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -340,7 +342,7 @@ export let y = 10;export let z = 10; ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js b/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js index 5818dbec295d8..eaee6dc34f619 100644 --- a/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js +++ b/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: C:/projects/a 0 undefined Config: C:/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: C:/projects/a 0 undefined Config: C:/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: C:/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: C:/projects/a/node_modules/@types 1 undefined Project: C:/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: C:/projects/a/node_modules/@types 1 undefined Project: C:/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: C:/projects/node_modules/@types 1 undefined Project: C:/projects/a/tsconfig.json WatchType: Type roots @@ -73,12 +73,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: C:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: C:/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'C:/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" C:/projects/a/f1.ts SVC-1-0 "let x = 1;" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by include pattern '*.ts' in 'tsconfig.json' @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: C:/projects/a/node_modules/@types: *new* @@ -177,7 +179,7 @@ C:/projects/a: *new* {} C:/projects/a/tsconfig.json: *new* {} -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -191,7 +193,7 @@ C:/projects/a/f1.ts (Open) *new* version: SVC-1-0 containingProjects: 1 C:/projects/a/tsconfig.json *default* -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 C:/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js b/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js index 81b7c4145b6ec..20aaa614c8558 100644 --- a/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js +++ b/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -49,12 +49,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -78,6 +78,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -90,7 +92,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -100,7 +102,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -123,13 +125,13 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/commonFile2.ts: *new* {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -173,12 +175,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/random/random.ts SVC-1-0 "export const y = 10;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' random.ts Root file specified for compilation @@ -186,12 +188,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/commonFile1.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js index 1f0b35fe1c447..0cb38d03c93fe 100644 --- a/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/f2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -54,13 +54,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b/f2.ts Text-1 "export let x = 1" /user/username/projects/project/b/f1.ts SVC-1-0 "export * from \"./f2\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Imported via "./f2" from file 'f1.ts' f1.ts @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -104,7 +106,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/b/f2.ts: *new* {} @@ -116,7 +118,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -154,12 +156,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f3.ts SVC-1-0 "export let y = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -213,7 +215,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/f2.ts: {} @@ -229,7 +231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -274,7 +276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -298,14 +300,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f3.ts SVC-1-0 "export let y = 1;" /user/username/projects/project/b/f2.ts Text-2 "export * from \"../c/f3\"" /user/username/projects/project/b/f1.ts SVC-1-0 "export * from \"./f2\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../c/f3.ts Imported via "../c/f3" from file 'f2.ts' f2.ts @@ -393,7 +395,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/f2.ts: {} @@ -411,7 +413,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js index 7803ed44fb821..4c0136c630547 100644 --- a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/project/myproject, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/myproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/myproject WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/myproject WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/myproject WatchType: Type roots @@ -54,13 +54,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/myproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/myproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 " " /user/username/projects/project/lib.html Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.html @@ -118,6 +118,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -126,7 +128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -137,7 +139,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -186,7 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -194,7 +196,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -224,7 +226,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/myproject projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/myproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 " " /user/username/projects/project/lib.html SVC-2-0 "let somelongname: string" @@ -257,7 +259,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -757,7 +759,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -789,7 +791,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/myproject projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/myproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 " " /user/username/projects/project/lib.html Text-3 "" @@ -1236,7 +1238,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject diff --git a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js index d92b58a668f05..c3e0d4d25df6b 100644 --- a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js +++ b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -72,13 +72,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1;" /user/username/projects/project/f2.ts Text-1 "let y = 2;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' f2.ts @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -173,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/f2.ts: *new* {} @@ -191,7 +193,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -257,7 +259,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -314,12 +316,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Root file specified for compilation @@ -333,12 +335,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f2.ts Text-1 "let y = 2;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Root file specified for compilation @@ -385,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -410,7 +412,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js b/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js index 38f0012d1ee0f..66bc40b072cdd 100644 --- a/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js +++ b/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/c/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -55,12 +55,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f2.ts SVC-1-0 "export let x = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Root file specified for compilation @@ -84,6 +84,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -112,7 +114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -146,12 +148,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/d/f3.ts SVC-1-0 "export let y = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -205,7 +207,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -219,7 +221,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -258,14 +260,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f2.ts SVC-1-0 "export let x = 1;" /user/username/projects/project/d/f3.ts SVC-1-0 "export let y = 1;" /user/username/projects/project/b/f1.ts SVC-1-0 "\n export * from \"../c/f2\";\n export * from \"../d/f3\";" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../c/f2.ts Imported via "../c/f2" from file 'f1.ts' ../d/f3.ts @@ -281,12 +283,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/c/f2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Root file specified for compilation @@ -300,12 +302,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/d/f3.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -371,7 +373,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -395,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* *new* @@ -446,12 +448,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f2.ts SVC-1-0 "export let x = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Root file specified for compilation @@ -469,12 +471,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/d/f3.ts SVC-1-0 "export let y = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -545,7 +547,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/f1.ts: *new* {} @@ -567,7 +569,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject3* @@ -655,7 +657,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/f1.ts: {} @@ -681,7 +683,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject3* @@ -795,7 +797,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -824,7 +826,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject4* diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js index d3ad3b377d2b1..cf8d16110975e 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -161,12 +161,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.deferred Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.deferred Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js index 0a1bc6207f21b..1ad3d126b2929 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -137,12 +137,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.deferred Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.deferred Matched by default include pattern '**/*' @@ -222,6 +222,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -232,7 +234,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -249,7 +251,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js b/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js index 14e95d59ea592..a93f975c02001 100644 --- a/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/c/f3.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -55,14 +55,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f3.ts Text-1 "export let y = 1;" /user/username/projects/project/b/f2.ts Text-1 "export * from \"../c/f3\"" /user/username/projects/project/b/f1.ts SVC-1-0 "export * from \"./f2\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../c/f3.ts Imported via "../c/f3" from file 'f2.ts' f2.ts @@ -90,6 +90,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -108,7 +110,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/b/f2.ts: *new* {} @@ -122,7 +124,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b/f2.ts: {} @@ -198,7 +200,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -237,7 +239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -265,12 +267,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/b/f1.ts SVC-1-0 "export * from \"./f2\"" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Root file specified for compilation @@ -299,12 +301,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/c/f3.ts Text-1 "export let y = 1;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f3.ts Root file specified for compilation @@ -363,7 +365,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/b: *new* {} @@ -382,7 +384,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js index c664233e272dd..6d393baa7fc11 100644 --- a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js +++ b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/@types/a/index.d.ts Text-1 "{}" /home/src/projects/project/node_modules/@types/b/index.d.ts Text-1 "{}" /home/src/projects/project/index.ts SVC-1-0 "import 'a'; import 'b';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/a/index.d.ts Imported via 'a' from file 'index.ts' Entry point for implicit type library 'a' @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -210,7 +212,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -240,7 +242,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -305,13 +307,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/node_modules/@types/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/@types/a/index.d.ts Text-1 "{}" /home/src/projects/project/node_modules/@types/b/index.d.ts Text-1 "{}" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.d.ts Matched by default include pattern '**/*' Entry point for implicit type library 'a' @@ -441,7 +443,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -479,7 +481,7 @@ ScriptInfos:: containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/node_modules/@types/a/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json @@ -540,7 +542,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json *default* /home/src/projects/project/node_modules/@types/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 6796016431551..52553d51e8b0f 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/src.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots @@ -84,14 +84,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/playground/tests.ts SVC-1-0 "export function foo() {}" /user/username/projects/myproject/playground/tsconfig-json/src/src.ts Text-1 "export function foobar() { }" /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts Text-1 "export function bar() { }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -180,6 +180,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -190,7 +192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: *new* {} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -263,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/playground/tests.ts: *new* {} @@ -286,7 +288,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -351,12 +353,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/playground/tsconfig-json/src/src.ts Text-1 "export function foobar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/src.ts Matched by include pattern './src' in 'tsconfig.json' @@ -458,7 +460,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/playground/tests.ts: {} @@ -490,7 +492,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/playground/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js index f8e18c2fd66ae..779417a031fcd 100644 --- a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: project, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/constructor.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations @@ -94,13 +94,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.js Text-1 "export let x = 5; import { s } from \"s\"" /user/username/projects/project/constructor.js Text-1 "const x = 10;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/f1.js Root file specified for compilation ../../../../../user/username/projects/project/constructor.js @@ -108,6 +108,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -122,7 +124,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/constructor.js: *new* {} @@ -139,7 +141,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project @@ -175,7 +177,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/f1.js", "/user/username/projects/project/constructor.js", "/user/username/projects/project/bliss.js" diff --git a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js index 8bc1f349df18b..0f5b9d9a4d48c 100644 --- a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js +++ b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/projects/config 1 undefined Config: /a/b/workspace/projects/config/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/workspace/projects/config/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/workspace/projects/files/file1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/projects/config/node_modules/@types 1 undefined Project: /a/b/workspace/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/projects/config/node_modules/@types 1 undefined Project: /a/b/workspace/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/workspace/projects/node_modules/@types 1 undefined Project: /a/b/workspace/projects/config/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/workspace/projects/config/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/workspace/projects/config/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/workspace/projects/files/file1.ts Text-1 "export let a = 10;" /a/b/workspace/projects/config/file.ts SVC-1-0 "import {a} from \"../files/file1\"; export let b = a;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../files/file1.ts Imported via "../files/file1" from file 'file.ts' file.ts @@ -167,6 +167,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/workspace/node_modules/@types: *new* @@ -181,7 +183,7 @@ FsWatches:: {} /a/b/workspace/projects/files/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -203,7 +205,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json @@ -251,7 +253,7 @@ PolledWatches:: FsWatches:: /a/b/workspace/projects/config/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -272,7 +274,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json @@ -319,7 +321,7 @@ FsWatches:: {} /a/b/workspace/projects/config/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -343,7 +345,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json @@ -375,12 +377,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/workspace/projects/files/file2.ts SVC-1-0 "export let aa = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Root file specified for compilation @@ -388,13 +390,13 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/workspace/projects/config/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /a/b/workspace/projects/files/file1.ts /a/b/workspace/projects/config/file.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../files/file1.ts Imported via "../files/file1" from file 'file.ts' file.ts @@ -454,7 +456,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -492,7 +494,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -535,12 +537,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/workspace/projects/files/file1.ts Text-1 "export let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -588,7 +590,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js index df9b098c37325..d0153b09d7e23 100644 --- a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js +++ b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating ExternalProject: projectFileName, currentDirectory: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: projectFileName -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: projectFileName WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: projectFileName WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: projectFileName WatchType: Type roots @@ -50,17 +50,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: projectFileName projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'projectFileName' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.html Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/f1.html Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -71,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -80,7 +82,7 @@ projectFileName (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 projectFileName @@ -112,7 +114,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "projectFileName", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/f1.html" ], "compilerOptions": { @@ -261,7 +263,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: projectFileName Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: projectFileName projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'projectFileName' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.html SVC-2-0 "var x = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -291,7 +293,7 @@ projectFileName (External) *changed* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 projectFileName @@ -368,7 +370,7 @@ projectFileName (External) *changed* dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 projectFileName diff --git a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js index cceb2911f5469..581c9aec2d240 100644 --- a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js +++ b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -67,12 +67,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -157,6 +157,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -165,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -224,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/app.ts: *new* {} @@ -243,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index 79e26313e0522..c6bd985852e0d 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -71,13 +71,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/b.ts SVC-1-0 "export const b = 10;" /users/username/projects/project/sub/a.ts Text-1 "export const a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' sub/a.ts @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -172,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/sub/a.ts: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -257,7 +259,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -337,7 +339,7 @@ Timeout callback:: count: 2 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -371,13 +373,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/b.ts SVC-1-0 "export const b = 10;" /users/username/projects/project/a.ts SVC-1-0 "export const a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' a.ts @@ -420,7 +422,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -519,7 +521,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -553,13 +555,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/b.ts SVC-1-0 "export const b = 10;" /users/username/projects/project/sub/a.ts SVC-2-0 "export const a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Matched by default include pattern '**/*' sub/a.ts @@ -601,7 +603,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js index 53eaef522b303..6db248a97a95b 100644 --- a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js +++ b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -45,12 +45,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "/// \n let x = y" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Root file specified for compilation @@ -74,6 +74,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -88,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -179,7 +181,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Timeout callback:: count: 2 @@ -199,13 +201,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" /user/username/projects/project/commonFile1.ts SVC-1-0 "/// \n let x = y" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Referenced via 'commonFile2.ts' from file 'commonFile1.ts' commonFile1.ts @@ -254,7 +256,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -267,7 +269,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js index f8975890cbecf..0d6e3b3e52e5b 100644 --- a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Excluding files based on rule quack matching file '/use Info seq [hh:mm:ss:mss] Creating ExternalProject: project, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project WatchType: Type roots @@ -81,17 +81,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/f1.js Text-1 "export let x = 5" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/a/b/f1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -102,7 +104,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/b/f1.js: *new* {} @@ -113,7 +115,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project @@ -145,7 +147,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/a/b/f1.js", "/user/username/projects/project/lib/duckquack-3.min.js" ], diff --git a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js index 1c0e91ecb9c70..4d3a9a6267e7c 100644 --- a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project/bliss.js' bec Info seq [hh:mm:ss:mss] Creating ExternalProject: project, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/foo.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project WatchType: Type roots @@ -87,17 +87,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/foo.js Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/foo.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -108,7 +110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/foo.js: *new* {} @@ -119,7 +121,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project @@ -151,7 +153,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/foo.js", "/user/username/projects/project/bliss.js" ], diff --git a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js index 3afa206befd63..1f95a5d9f167f 100644 --- a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js +++ b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Excluding files based on rule Office Nuget matching fil Info seq [hh:mm:ss:mss] Creating ExternalProject: project, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project WatchType: Type roots @@ -88,17 +88,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/b/f1.js Text-1 "export let x = 5" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/a/b/f1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -109,7 +111,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/b/f1.js: *new* {} @@ -120,7 +122,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project @@ -152,7 +154,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/a/b/f1.js", "/user/username/projects/project/c/moment.min.js", "/user/username/projects/project/q/lib/kendo/kendo.all.min.js", diff --git a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js index 83793c6a512a8..51adec9282124 100644 --- a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/src/src.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -88,14 +88,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js Text-1 "function bar() { }" /user/username/projects/myproject/apps/editor/src/src.js Text-1 "function fooBar() { }" /user/username/projects/myproject/mocks/cssMock.js SVC-1-0 "function foo() { }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' apps/editor/scripts/createConfigVariable.js Matched by default include pattern '**/*' apps/editor/src/src.js @@ -202,6 +202,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -210,7 +212,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: *new* {} @@ -230,7 +232,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -281,7 +283,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: {} @@ -304,7 +306,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -371,12 +373,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/apps/editor/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/apps/editor/src/src.js Text-1 "function fooBar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/src.js Matched by include pattern './src' in 'tsconfig.json' @@ -486,7 +488,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/apps/editor/src/src.js: {} @@ -518,7 +520,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js index a848c87384aeb..aa7a3623dc2e7 100644 --- a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js +++ b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a 1 undefined Config: /user/username/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a 1 undefined Config: /user/username/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/a/tsconfig.json WatchType: Type roots @@ -116,12 +116,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/main.ts SVC-1-0 "let x = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -218,7 +220,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/a/tsconfig.json: *new* {} @@ -234,7 +236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -279,7 +281,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/main.ts: *new* {} @@ -298,7 +300,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -348,12 +350,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/main.js SVC-1-0 "var y = 1" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.js Root file specified for compilation @@ -375,7 +377,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/main.ts: {} @@ -397,7 +399,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/tsconfig.json @@ -434,11 +436,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/a/main.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -488,7 +490,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -512,7 +514,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -568,7 +570,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/main.ts: {} @@ -645,7 +647,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/a/main.js: *new* {} @@ -672,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/tsconfig.json @@ -710,12 +712,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/main.js SVC-1-0 "var y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.js Root file specified for compilation @@ -724,11 +726,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/main.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -777,7 +779,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -801,7 +803,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -817,12 +819,12 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -839,12 +841,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/a/main.js - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.js Root file specified for compilation @@ -912,7 +914,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -947,7 +949,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js index e338bbffe31db..bc0ea86d32b0c 100644 --- a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js +++ b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/a.ts SVC-1-0 "export const a = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -179,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js b/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js index 6041e42b1ab76..696b3b476e8ac 100644 --- a/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js +++ b/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js @@ -101,7 +101,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -109,13 +109,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " /user/username/projects/project/f2.html Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' f2.html @@ -204,6 +204,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -212,7 +214,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -228,7 +230,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -362,7 +364,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -370,12 +372,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -462,6 +464,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -470,7 +474,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -486,7 +490,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -611,7 +615,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -619,12 +623,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -709,6 +713,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -717,7 +723,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -733,7 +739,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -866,7 +872,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -874,13 +880,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " /user/username/projects/project/f2.html Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Part of 'files' list in tsconfig.json f2.html @@ -969,6 +975,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -977,7 +985,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -989,7 +997,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -1126,7 +1134,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -1134,12 +1142,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -1226,6 +1234,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -1234,7 +1244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -1250,7 +1260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js b/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js index dc18603effc30..7253933754187 100644 --- a/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js +++ b/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/f2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,13 +47,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f2.ts Text-1 "export let x = 1" /user/username/projects/project/f1.ts SVC-1-0 "import {x} from \"./f2\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Imported via "./f2" from file 'f1.ts' f1.ts @@ -79,6 +79,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -91,7 +93,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/f2.ts: *new* {} @@ -103,7 +105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -159,7 +161,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -167,7 +169,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -220,7 +222,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -237,12 +239,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-1 "let y = 1 from \"./f2\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Root file specified for compilation @@ -266,12 +268,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f2.ts Text-1 "export let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index b4027b2add3f2..e27e108759e99 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/src.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots @@ -84,14 +84,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/playground/tests.ts SVC-1-0 "export function foo() {}" /user/username/projects/myproject/playground/tsconfig-json/src/src.ts Text-1 "export function foobar() { }" /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts Text-1 "export function bar() { }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -180,6 +180,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -190,7 +192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: *new* {} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -263,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/playground/tests.ts: *new* {} @@ -286,7 +288,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -351,12 +353,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/playground/tsconfig-json/src/src.ts Text-1 "export function foobar() { }" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/src.ts Matched by include pattern './src' in 'tsconfig.json' @@ -458,7 +460,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/playground/tests.ts: {} @@ -490,7 +492,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/playground/tsconfig.json @@ -573,7 +575,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/playground/tests.ts: {} diff --git a/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js b/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js index 6531e51c90d1f..7aba0e15fdf9e 100644 --- a/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js +++ b/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -40,12 +40,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file1.ts SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -69,6 +69,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -81,7 +83,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -91,7 +93,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -120,7 +122,7 @@ Info seq [hh:mm:ss:mss] response: "version": 1, "isInferred": true, "options": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -129,7 +131,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file1.ts" ], "projectErrors": [] @@ -189,7 +191,7 @@ Info seq [hh:mm:ss:mss] request: "version": 1, "isInferred": true, "options": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -211,7 +213,7 @@ Info seq [hh:mm:ss:mss] response: "version": 1, "isInferred": true, "options": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -248,12 +250,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file1.js SVC-1-0 "var x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.js Root file specified for compilation @@ -270,7 +272,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -307,11 +309,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -361,7 +363,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -385,7 +387,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -439,7 +441,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js index a585e7f54aae1..87ae80b2a83e1 100644 --- a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/proje Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/myproject -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/myproject WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/myproject WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/myproject WatchType: Type roots @@ -54,13 +54,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/myproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/myproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "x." /user/username/projects/project/lib.ts Text-1 "let x: number;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation lib.ts @@ -118,6 +118,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -126,7 +128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -139,7 +141,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -188,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/lib.ts: {} @@ -198,7 +200,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -229,7 +231,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/myproject projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/myproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "x." /user/username/projects/project/lib.ts SVC-2-0 "let x: string" @@ -263,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -276,7 +278,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -370,7 +372,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/lib.ts: *new* {} @@ -382,7 +384,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -414,7 +416,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/myproject projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/myproject' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "x." /user/username/projects/project/lib.ts Text-3 "let x: number;" @@ -460,7 +462,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject diff --git a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js index 54aaa30c3917a..cd5a19c062c51 100644 --- a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js +++ b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -71,13 +71,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/file2.ts SVC-1-0 "export let y = 10;" /user/username/projects/myproject/src/file1.ts Text-1 "import { y } from \"./file2\"; let x = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file2.ts Imported via "./file2" from file 'src/file1.ts' Matched by default include pattern '**/*' @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -173,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/src/file1.ts: *new* {} @@ -191,7 +193,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -243,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -257,7 +259,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -307,7 +309,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/src/file2.ts: *new* {} @@ -326,7 +328,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -371,7 +373,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/file2.ts Text-2 "export let y = 10;export let z = 10;" /user/username/projects/myproject/src/file1.ts Text-1 "import { y } from \"./file2\"; let x = 10;" @@ -394,7 +396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js index 9b0d1bfaa056a..632f1ad0b28de 100644 --- a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js +++ b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -71,13 +71,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json commonFile2.ts @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -172,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -186,7 +188,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -248,12 +250,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Part of 'files' list in tsconfig.json @@ -316,7 +318,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -364,12 +366,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile2.ts Root file specified for compilation @@ -409,7 +411,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -428,7 +430,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js b/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js index a0a7765a23f58..30374f0dfd8c0 100644 --- a/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js +++ b/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] event: "maxFileSize": 4194304 } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: proj1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: proj1 WatchType: Type roots @@ -67,17 +67,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'proj1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.js Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/f1.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -88,7 +90,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/f1.js: *new* {} @@ -99,7 +101,7 @@ proj1 (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 proj1 @@ -131,7 +133,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "proj1", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/f1.js" ], "compilerOptions": { @@ -308,12 +310,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj2 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'proj2' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f2.js Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/f2.js Root file specified for compilation @@ -322,7 +324,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "proj2", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/f2.js" ], "compilerOptions": { @@ -465,7 +467,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/f1.js: {} @@ -481,7 +483,7 @@ proj2 (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* proj1 @@ -614,7 +616,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/f1.js: {} @@ -635,7 +637,7 @@ proj3 (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 proj1 diff --git a/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js b/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js index 3ae0453c98561..23db72890270e 100644 --- a/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js +++ b/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/project/proj.csproj, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/proj.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/proj.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/proj.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/proj.csproj WatchType: Type roots @@ -47,12 +47,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/proj.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -108,6 +108,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -127,7 +129,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -153,7 +155,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/proj.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-2-0 "let x = 1;\nlet y = 2;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -184,7 +186,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -197,7 +199,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -318,7 +320,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/app.ts: *new* {} @@ -330,7 +332,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -357,7 +359,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/proj.csproj projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-3-0 "let x = 1;" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -388,7 +390,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -402,7 +404,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js index bc616b3af8191..06b7ac39348ed 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots @@ -88,12 +88,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/A/a.ts SVC-1-0 "export const foo: string = 5;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -182,6 +182,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -192,7 +194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/A/tsconfig.json: *new* {} @@ -208,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/A/tsconfig.json @@ -269,13 +271,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/A/a.ts SVC-1-0 "export const foo: string = 5;" /users/username/projects/project/B/b.ts SVC-1-0 "import { foo } from \"../A/a\"; console.log(foo);" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../A/a.ts Imported via "../A/a" from file 'b.ts' b.ts @@ -384,7 +386,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/A/tsconfig.json: {} @@ -408,7 +410,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /users/username/projects/project/A/tsconfig.json @@ -453,7 +455,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -482,7 +484,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js index 0443a6b6d3f73..79cedaab7127b 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots @@ -91,12 +91,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/A/a.ts SVC-1-0 "export const foo: string = 5;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -185,6 +185,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -195,7 +197,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/A/tsconfig.json: *new* {} @@ -211,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/A/tsconfig.json @@ -274,13 +276,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/B/b2.ts Text-1 "export const foo: string = 5;" /users/username/projects/project/B/b.ts SVC-1-0 "import { foo } from \"../B/b2\"; console.log(foo);" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b2.ts Imported via "../B/b2" from file 'b.ts' Matched by default include pattern '**/*' @@ -390,7 +392,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/A/tsconfig.json: {} @@ -416,7 +418,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /users/username/projects/project/A/tsconfig.json @@ -464,7 +466,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -493,7 +495,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -546,7 +548,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -575,7 +577,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -695,13 +697,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/A/a.ts SVC-1-0 "export const foo: string = 5;" /users/username/projects/project/B/b2.ts Text-1 "export const foo: string = 5;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by include pattern '**/*' in 'tsconfig.json' ../B/b2.ts @@ -732,7 +734,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/B/b2.ts Text-1 "export const foo: string = 5;" /users/username/projects/project/B/b.ts SVC-1-0 "import { foo } from \"../B/b2\"; console.log(foo);" @@ -812,7 +814,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /users/username/projects/project/A/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js index 828867ebe6a6c..3deb2051c426b 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/index.ts SVC-1-0 "export const foo = 5;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -227,7 +229,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "isSourceOfProjectReferenceRedirect": false }, { diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js index 103441f37085f..8629ea6b56377 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/index.ts SVC-1-0 "export const foo = 5;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -174,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -226,7 +228,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/myproject/index.ts", "/user/username/projects/myproject/tsconfig.json", "/user/username/projects/myproject/tsconfig_base.json" diff --git a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js index 940081d6b82a9..9b02fd7acfff5 100644 --- a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js +++ b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -73,12 +73,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -173,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -189,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -251,13 +253,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " /user/username/projects/project/f2.html Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' f1.ts Matched by default include pattern '**/*' f2.html @@ -335,7 +337,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -353,7 +355,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -389,7 +391,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " /user/username/projects/project/f2.html SVC-2-0 "var hello = \"hello\";" @@ -419,7 +421,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -917,7 +919,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -948,7 +950,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/f1.ts SVC-1-0 " " /user/username/projects/project/f2.html Text-3 "" @@ -1395,7 +1397,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js index e471171d9eec2..d9a8e5ea2a7f3 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js @@ -184,7 +184,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/core/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/logic/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/core/anotherModule.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/tests/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/tests/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots @@ -194,15 +194,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/sample1/core/index.ts Text-1 "export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" /user/username/projects/sample1/core/anotherModule.ts Text-1 "export const World = \"hello\";" /user/username/projects/sample1/logic/index.ts Text-1 "import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n" /user/username/projects/sample1/tests/index.ts SVC-1-0 "import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../core/index.ts Imported via '../core/index' from file 'index.ts' Imported via '../core/index' from file '../logic/index.ts' @@ -301,6 +301,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -339,7 +341,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -389,7 +391,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -416,7 +418,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/sample1/core/index.ts Text-1 "export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" /user/username/projects/sample1/core/anotherModule.ts Text-1 "export const World = \"hello\";" /user/username/projects/sample1/logic/index.ts Text-2 "import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}" @@ -462,7 +464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -513,7 +515,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -540,7 +542,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/sample1/core/index.ts Text-1 "export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" /user/username/projects/sample1/core/anotherModule.ts Text-1 "export const World = \"hello\";" /user/username/projects/sample1/logic/index.ts Text-3 "import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export function gfoo() {}" @@ -586,7 +588,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -663,7 +665,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/sample1/logic/tsconfig. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/sample1/core/index.ts Text-1 "export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" /user/username/projects/sample1/core/anotherModule.ts Text-1 "export const World = \"hello\";" /user/username/projects/sample1/logic/index.ts Text-3 "import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export function gfoo() {}" diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js index 2fb83bf9652d5..da5323b847f5f 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js @@ -170,7 +170,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -184,15 +184,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,6 +301,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -397,14 +399,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../refs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' Imported via "@ref/a" from file 'index.ts' @@ -494,7 +496,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -534,7 +536,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -638,15 +640,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -723,7 +725,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -758,7 +760,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js index 772f94fd4aaec..0cbcfb7cfbd9e 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js @@ -170,7 +170,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -184,15 +184,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,6 +301,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -394,7 +396,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" @@ -530,7 +532,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js index f8c3cc9b36ee3..fa1c2d75042c1 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js @@ -170,7 +170,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -184,15 +184,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,6 +301,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -446,15 +448,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/nrefs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../nrefs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -505,7 +507,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -544,7 +546,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -639,15 +641,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -698,7 +700,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -736,7 +738,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js index 505ae982e4cfd..056be6715b64a 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js @@ -170,7 +170,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -184,15 +184,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,6 +301,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -455,15 +457,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/nrefs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -549,7 +551,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -587,7 +589,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -691,15 +693,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -785,7 +787,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -823,7 +825,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js index 9f22978bacf8e..f686bd983d5d7 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js @@ -170,7 +170,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -184,15 +184,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,6 +301,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -388,7 +390,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -415,7 +417,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-2 "import {A} from '@ref/a';\nexport const b = new A();export function gFoo() { }" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" @@ -461,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js index b526e5a113cb3..d64c7999efd3f 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -181,15 +181,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,6 +298,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -308,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -404,14 +406,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../refs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' Imported via "@ref/a" from file 'index.ts' @@ -501,7 +503,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -543,7 +545,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -648,15 +650,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -733,7 +735,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -770,7 +772,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js index 7ec43fa7fca5a..97d9d28c7d734 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -181,15 +181,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,6 +298,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -308,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -399,7 +401,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" @@ -534,7 +536,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js index 6aa8ebc4bb31b..974944feb143a 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -181,15 +181,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,6 +298,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -308,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -442,15 +444,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/nrefs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../nrefs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -501,7 +503,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -540,7 +542,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -632,15 +634,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -691,7 +693,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -731,7 +733,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js index 3a9492ba18ccf..c950d6127e799 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -181,15 +181,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,6 +298,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -308,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -451,15 +453,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/nrefs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -545,7 +547,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -585,7 +587,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -686,15 +688,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -780,7 +782,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject: {} @@ -820,7 +822,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js index 68febaeaad6fa..7fdc7630d8a31 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -181,15 +181,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-1 "import {A} from '@ref/a';\nexport const b = new A();" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" /user/username/projects/myproject/c/index.ts SVC-1-0 "import {b} from '../b';\nimport {X} from \"@ref/a\";\nb;\nX;" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,6 +298,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/c/node_modules/@types: *new* @@ -308,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -342,7 +344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -387,7 +389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -414,7 +416,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/a/index.ts Text-1 "export class A {}" /user/username/projects/myproject/b/index.ts Text-2 "import {A} from '@ref/a';\nexport const b = new A();export function gFoo() { }" /user/username/projects/myproject/refs/a.d.ts Text-1 "export class X {}\nexport class A {}" @@ -460,7 +462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js b/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js index 59458664de02f..fefed6c7cabbb 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js +++ b/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots @@ -65,12 +65,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/Foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/Foo/a.ts SVC-1-0 "const x = 0;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -155,6 +155,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -167,7 +169,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/Foo/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -181,7 +183,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js index c38cb008c3418..e3fd48244fdab 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/bar 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo 0 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo 0 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/Foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/Foo/a.ts SVC-1-0 "const x = 0;" /home/src/projects/project/Foo/b.ts Text-1 "import {} from \"./bar\";\n const a = 1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json b.ts @@ -168,6 +168,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -186,7 +188,7 @@ FsWatches:: {} /home/src/projects/project/Foo/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -204,7 +206,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js index 943e824b12d63..9ca179ff356d4 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Bar/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Bar/node_modules/@types 1 undefined Project: /home/src/projects/project/Bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Bar/node_modules/@types 1 undefined Project: /home/src/projects/project/Bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/Bar/tsconfig.json WatchType: Type roots @@ -73,12 +73,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/Bar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/Bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/Bar/a.ts SVC-1-0 "const a = 1;\nconst b = 2;\nconsole.log(a, b);" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -175,7 +177,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/Bar/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -189,7 +191,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/Bar/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/Bar/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js index 43e724b13135c..145147944e3cc 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/Foo/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/Foo/tsconfig.json WatchType: Type roots @@ -68,12 +68,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/Foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/Foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/Foo/a.ts SVC-1-0 "const x = 0;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -170,7 +172,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/Foo/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -184,7 +186,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js b/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js index 2095add4188c2..66324ae1f8b09 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js +++ b/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -63,12 +63,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Part of 'files' list in tsconfig.json @@ -153,6 +153,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -163,7 +165,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -177,7 +179,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/use-formatting-options.js b/tests/baselines/reference/tsserver/refactors/use-formatting-options.js index f72ae3753ab9e..71564a483305b 100644 --- a/tests/baselines/reference/tsserver/refactors/use-formatting-options.js +++ b/tests/baselines/reference/tsserver/refactors/use-formatting-options.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -45,12 +45,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "function f() {\n 1;\n}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -74,6 +74,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -86,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -100,7 +102,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-and-whole-file-for-multiple-files.js b/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-and-whole-file-for-multiple-files.js index 9037e272637f7..e7e9d321442f8 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-and-whole-file-for-multiple-files.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-and-whole-file-for-multiple-files.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -79,12 +79,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "function add(x: number, y: string): number {\n return x + y;\n}\n\nadd(10, 50);" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -108,6 +108,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -132,7 +134,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -146,7 +148,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -176,12 +178,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app2.ts SVC-1-0 "function booleanNoop(b: boolean): void {\n b;\n return;\n}\n\nbooleanNoop(\"not a boolean\");" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app2.ts Root file specified for compilation @@ -231,7 +233,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -262,12 +264,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app3.ts SVC-1-0 "function stringId(x: string): string {\n return x;\n}\n\nstringId(\"ok\");\n\nstringId(1000);" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app3.ts Root file specified for compilation @@ -331,7 +333,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject3* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -363,12 +365,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app4.ts SVC-1-0 "function numberId(x: number): number {\n return x;\n}\n\nnumberId(1000);" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app4.ts Root file specified for compilation @@ -446,7 +448,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject4* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-in-a-single-file.js b/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-in-a-single-file.js index e274c9407e350..8ccc638795554 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-in-a-single-file.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/diagnostics-for-select-nodes-in-a-single-file.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -57,12 +57,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "function foo(x: number, y: string): number {\n return x + y;\n}\n\n\n\nfoo(10, 50);" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -110,7 +112,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-@ts-nocheck-file.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-@ts-nocheck-file.js index f4373c3068635..e83e63acc9e6a 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-@ts-nocheck-file.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-@ts-nocheck-file.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -58,12 +58,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "// @ts-nocheck\nfunction foo(x: number, y: string): number {\n return x + y;\n}\n\n\n\nfoo(10, 50);" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -87,6 +87,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -111,7 +113,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -125,7 +127,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-small-file.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-small-file.js index 39e1b6c25f4e6..c4b3b0fa73cff 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-small-file.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/region-diagnostics-is-skipped-for-small-file.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -57,12 +57,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.ts SVC-1-0 "function foo(x: number, y: string): number {\n return x + y;\n}\n\n\n\nfoo(10, 50);" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -110,7 +112,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js index 9fa8c834bf36e..01d71a9828b02 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/region-does-not-have-suggestion.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/other.ts Text-1 "function add(a: number, b: number) {\n return a + b\n}\n\nexport = add;" /home/src/projects/project/index.ts SVC-1-0 "import add = require(\"./other.js\");\n\nadd(3, \"a\");\n\nadd(1, 2);" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' other.ts Imported via "./other.js" from file 'index.ts' Matched by default include pattern '**/*' @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -191,7 +193,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -213,7 +215,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -320,6 +322,19 @@ Info seq [hh:mm:ss:mss] event: "body": { "file": "/home/src/projects/project/index.ts", "diagnostics": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 1, + "offset": 36 + }, + "text": "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.", + "code": 1202, + "category": "error" + }, { "start": { "line": 3, diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js index 0092a5a4f0b7d..7f4d0e42ccbc8 100644 --- a/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js +++ b/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/other.ts Text-1 "function add(a: number, b: number) {\n return a + b\n}\n\nexport = add;" /home/src/projects/project/index.ts SVC-1-0 "import add = require(\"./other.js\");\n\nadd(3, \"a\");\n\nadd(1, 2);" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' other.ts Imported via "./other.js" from file 'index.ts' Matched by default include pattern '**/*' @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -191,7 +193,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -213,7 +215,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -276,6 +278,19 @@ Info seq [hh:mm:ss:mss] event: "body": { "file": "/home/src/projects/project/index.ts", "diagnostics": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 1, + "offset": 36 + }, + "text": "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.", + "code": 1202, + "category": "error" + }, { "start": { "line": 3, @@ -320,6 +335,19 @@ Info seq [hh:mm:ss:mss] event: "body": { "file": "/home/src/projects/project/index.ts", "diagnostics": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 1, + "offset": 36 + }, + "text": "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.", + "code": 1202, + "category": "error" + }, { "start": { "line": 3, diff --git a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js index 08fb5ae387b32..64036dbac471c 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js +++ b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,12 +47,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.ts SVC-1-0 "let z = 1" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -76,6 +76,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -88,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -102,7 +104,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -152,7 +154,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -170,7 +172,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -183,7 +185,7 @@ ScriptInfos:: version: Text-2 *changed* pendingReloadFromDisk: false *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -211,7 +213,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-3 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -241,7 +243,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-4 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -266,12 +268,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.ts Text-4 "let x = 1" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -307,7 +309,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -328,7 +330,7 @@ ScriptInfos:: version: Text-4 containingProjects: 1 *changed* /dev/null/inferredProject1* *default* *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -378,7 +380,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -394,7 +396,7 @@ ScriptInfos:: version: Text-4 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -425,7 +427,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-5 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -455,7 +457,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-6 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js b/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js index aa60c150ad6f4..e836ffa2eec7d 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js +++ b/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -46,12 +46,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.ts SVC-1-0 "let x = 1" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Root file specified for compilation @@ -75,6 +75,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -87,7 +89,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -101,7 +103,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -139,7 +141,7 @@ ScriptInfos:: version: Text-2 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -152,7 +154,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -180,7 +182,7 @@ ScriptInfos:: version: Text-3 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index 91d150adaa56b..463de1925bfd9 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -118,13 +118,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Imported via "./file2" from file 'file1.ts' Matched by default include pattern '**/*' @@ -212,6 +212,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* @@ -220,7 +222,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -240,7 +242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -322,14 +324,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -415,7 +417,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -445,7 +447,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -534,14 +536,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-2 "export function bar(){}\n bar();" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -633,7 +635,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -662,7 +664,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -749,13 +751,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -847,7 +849,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -876,7 +878,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js index c6ec6a1876a1e..7d4a8e29317fd 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file1.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -134,13 +134,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Imported via "./file2" from file 'file1.ts' Matched by default include pattern '**/*' @@ -223,6 +223,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* @@ -231,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -252,7 +254,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -302,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -320,7 +322,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -402,14 +404,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -496,7 +498,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -525,7 +527,7 @@ Projects:: projectProgramVersion: 2 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -613,14 +615,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-2 "export function bar(){}\n bar();" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -713,7 +715,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -742,7 +744,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -828,13 +830,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -927,7 +929,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -956,7 +958,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project.js b/tests/baselines/reference/tsserver/reloadProjects/external-project.js index b70087933792c..146098342ea3c 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/mypro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file1.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.sln -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations @@ -93,13 +93,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Imported via "./file2" from file 'file1.ts' Root file specified for compilation @@ -158,6 +158,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* @@ -166,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -181,7 +183,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -230,7 +232,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -242,7 +244,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -300,14 +302,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -373,7 +375,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -398,7 +400,7 @@ Projects:: projectProgramVersion: 2 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -462,14 +464,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-2 "export function bar(){}\n bar();" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -541,7 +543,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -566,7 +568,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -630,13 +632,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file1.ts Text-1 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -708,7 +710,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -733,7 +735,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index a74c009c3ebcf..681ff82192331 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -106,13 +106,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.ts Imported via "./file2" from file 'file1.ts' file1.ts @@ -138,6 +138,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -150,7 +152,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -164,7 +166,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -230,14 +232,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-1 "export function bar(){}" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -298,7 +300,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -324,7 +326,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -397,14 +399,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file2.ts Text-2 "export function bar(){}\n bar();" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -471,7 +473,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -496,7 +498,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -568,13 +570,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/module1/index.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/file1.ts SVC-1-0 "import { foo } from \"module1\";\n foo();\n import { bar } from \"./file2\";\n bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -642,7 +644,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} *new* @@ -667,7 +669,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js b/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js index 28f50a8426497..7b22402b9320b 100644 --- a/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js +++ b/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,13 +47,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export default function() {}" /home/src/projects/project/b.ts SVC-1-0 "import aTest from \"./a\"; function test() { return aTest(); }" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via "./a" from file 'b.ts' b.ts @@ -79,6 +79,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -93,7 +95,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -111,7 +113,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js b/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js index 03399ab6dfe0c..abb69add16443 100644 --- a/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js +++ b/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -46,12 +46,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 1;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -75,6 +75,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -87,7 +89,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -101,7 +103,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -127,13 +129,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "export const a = 1;" /home/src/projects/project/b.ts SVC-1-0 "import * as foo from './a.js';" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a.js' from file 'b.ts' b.ts @@ -143,12 +145,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -202,7 +204,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js b/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js index da8a449205fb1..86be61bbf3927 100644 --- a/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js +++ b/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -46,12 +46,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "const x = 1; export { x };" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -75,6 +75,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -87,7 +89,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -101,7 +103,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -127,13 +129,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "const x = 1; export { x };" /home/src/projects/project/b.ts SVC-1-0 "import { x } from \"./a\"; const y = x + 1;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via "./a" from file 'b.ts' b.ts @@ -143,12 +145,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -202,7 +204,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 5e01b45aa4534..3dcd009125d21 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1 1 undefined Config: c:/temp/test/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1 1 undefined Config: c:/temp/test/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/temp/test/project1/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots @@ -114,12 +114,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/temp/test/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - C:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/temp/test/project1/index.ts SVC-1-0 "export function myFunc() {\n}\n" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' index.ts Matched by default include pattern '**/*' @@ -215,6 +215,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/temp/node_modules/@types: *new* @@ -225,7 +227,7 @@ c:/temp/test/project1/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/temp/test/project1/package.json: *new* {} @@ -250,7 +252,7 @@ c:/temp/test/tsconfig.json (Configured) *new* initialLoadPending: true ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts *new* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 c:/temp/test/project1/tsconfig.json @@ -420,13 +422,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/temp/test/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - C:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" C:/temp/test/project1/index.ts SVC-1-0 "export function myFunc() {\n}\n" c:/temp/test/project2/index.ts Text-1 "import { myFunc } from 'project1'\nmyFunc();\n" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project1/index.ts Imported via 'project1' from file 'index.ts' with packageId 'project1/index.ts@1.0.0' index.ts @@ -598,7 +600,7 @@ c:/temp/test/project2/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} c:/temp: *new* {} @@ -645,7 +647,7 @@ c:/temp/test/tsconfig.json (Configured) *changed* initialLoadPending: false *changed* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts *changed* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* c:/temp/test/project1/tsconfig.json diff --git a/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js b/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js index b60c3a5f43aca..3af2b62432801 100644 --- a/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js +++ b/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,13 +47,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export const a = 0;" /home/src/projects/project/b.ts SVC-1-0 "import { a } from \"./a\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via "./a" from file 'b.ts' b.ts @@ -79,6 +79,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -93,7 +95,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -111,7 +113,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js b/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js index 83c106765c558..9a764f2bd24ba 100644 --- a/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js +++ b/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,12 +43,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "const x = 0; const o = { x };" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -72,6 +72,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -84,7 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js index 4adf7c6bea5d2..0637da7cc8ab7 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js +++ b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to e Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -150,14 +150,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/src/file1.ts SVC-1-0 "import { module1 } from \"module1\";import { module2 } from \"module2\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/node_modules/module1/index.ts Imported via "module1" from file 'src/file1.ts' node_modules/module2/index.ts @@ -248,6 +248,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -270,7 +272,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -296,7 +298,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js index 6cd90e83e159d..b7f6cc3ee5658 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js +++ b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist. Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/Library/Caches/typescript/package.json'. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -120,13 +120,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/@types/lib/index.d.ts Text-1 "export let x = 1" /user/username/projects/project/app.js SVC-1-0 "var x = require(\"lib\")" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../home/src/Library/Caches/typescript/node_modules/@types/lib/index.d.ts Imported via "lib" from file 'app.js' app.js @@ -134,6 +134,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Library/Caches/typescript/node_modules/@types/lib/package.json: *new* @@ -158,7 +160,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -179,7 +181,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -202,7 +204,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -335,7 +337,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} diff --git a/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js b/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js index 0241e07607042..7abcdcebd6a53 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js +++ b/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -52,17 +52,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a.js SVC-1-0 "require(\"b\")" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* @@ -79,7 +81,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -92,7 +94,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -124,11 +126,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/a.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -185,7 +187,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -211,7 +213,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -262,7 +264,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index ffe207d5d22c6..147204de3c3b5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -180,7 +180,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. @@ -210,7 +210,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -226,7 +226,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -240,7 +240,7 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -263,7 +263,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/product/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/product/src/file1.ts SVC-1-0 "import { module1 } from \"module1\";import { module2 } from \"module2\";" @@ -272,8 +272,8 @@ Info seq [hh:mm:ss:mss] Files (7) /user/username/projects/myproject/product/test/src/file3.ts Text-1 "import { module1 } from \"module1\";import { module2 } from \"module2\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' product/node_modules/module1/index.ts Imported via "module1" from file 'product/src/file1.ts' Imported via "module1" from file 'product/src/feature/file2.ts' @@ -376,6 +376,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -398,7 +400,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -430,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -496,7 +498,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -571,7 +573,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/user Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/product/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/product/src/file1.ts SVC-1-0 "import { module1 } from \"module1\";import { module2 } from \"module2\";" @@ -619,7 +621,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index 263b5d69f8ea6..f576739f5518e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolve Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file2.ts'. ======== Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -161,15 +161,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/src/file1.ts SVC-1-0 "import { module1 } from \"module1\";import { module2 } from \"module2\";" /user/username/projects/myproject/src/file2.ts Text-1 "import { module1 } from \"module1\";import { module2 } from \"module2\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/node_modules/module1/index.ts Imported via "module1" from file 'src/file1.ts' Imported via "module1" from file 'src/file2.ts' @@ -264,6 +264,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -286,7 +288,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -314,7 +316,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -358,7 +360,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -419,7 +421,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/user Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/src/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/src/file1.ts SVC-1-0 "import { module1 } from \"module1\";import { module2 } from \"module2\";" @@ -465,7 +467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index ad106edb46bf4..983fe2f3ad65c 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -76,25 +76,25 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ======== Resolving module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/feature/file2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/file2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name './feature/file2' was successfully resolved to '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../test/file4' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/file4', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/file4.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../test/file4' was successfully resolved to '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../test/src/file3' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/src/file3', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/file3.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../test/src/file3' was successfully resolved to '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolve Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -191,7 +191,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/file4.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. @@ -206,7 +206,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. @@ -222,7 +222,7 @@ Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolve Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -238,7 +238,7 @@ Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. @@ -252,7 +252,7 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/product/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/product/src/feature/file2.ts Text-1 "import { module1 } from \"module1\";import { module2 } from \"module2\";" @@ -302,8 +302,8 @@ Info seq [hh:mm:ss:mss] Files (7) /user/username/projects/myproject/product/src/file1.ts SVC-1-0 "import \"./feature/file2\"; import \"../test/file4\"; import \"../test/src/file3\"; import { module1 } from \"module1\";import { module2 } from \"module2\";" - ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/module1/index.ts Imported via "module1" from file 'feature/file2.ts' Imported via "module1" from file '../test/file4.ts' @@ -343,6 +343,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -387,7 +389,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -421,7 +423,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -487,7 +489,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -565,7 +567,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/user Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/product/node_modules/module1/index.ts Text-1 "export function module1() {}" /user/username/projects/myproject/node_modules/module2/index.ts Text-1 "export function module2() {}" /user/username/projects/myproject/product/src/feature/file2.ts Text-2 "import { module1 } from \"module1\";import { module2 } from \"module2\";import { module1 } from \"module1\";import { module2 } from \"module2\";" @@ -613,7 +615,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js index c0034edd65b3c..e418d95278cd0 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/app/appA.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/moduleB.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../common/moduleB' was successfully resolved to '/users/username/projects/common/moduleB.ts'. ======== @@ -157,7 +157,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/users/username/projects/common/tsconfig.json'. Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. @@ -175,7 +175,7 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations @@ -194,15 +194,15 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/node_modules/moduleX/index.d.ts Text-1 "export const x = 10;" /users/username/projects/app/appA.ts Text-1 "import { x } from \"moduleX\";\nexport const y = x;\n" /users/username/projects/common/moduleB.ts Text-1 "import { x } from \"moduleX\";\nexport const b = x;\n" /users/username/projects/app/appB.ts SVC-1-0 "import { x } from \"../common/moduleB\";\nexport const y = x;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/moduleX/index.d.ts Imported via "moduleX" from file 'appA.ts' Imported via "moduleX" from file '../common/moduleB.ts' @@ -299,6 +299,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/app/node_modules: *new* @@ -313,7 +315,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -343,7 +345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index 6f8823f72db40..8e8e5e7aecb45 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -54,12 +54,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/temp/a.ts SVC-1-0 "import f = require(\"pad\"); f;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -83,6 +83,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /a/b/projects/node_modules: *new* @@ -103,7 +105,7 @@ FsWatches:: {} /a/b/projects/temp: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -117,7 +119,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -170,6 +172,19 @@ Info seq [hh:mm:ss:mss] event: "body": { "file": "/a/b/projects/temp/a.ts", "diagnostics": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 1, + "offset": 27 + }, + "text": "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.", + "code": 1202, + "category": "error" + }, { "start": { "line": 1, @@ -284,7 +299,7 @@ FsWatches:: {} /a/b/projects/temp: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -320,13 +335,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/b/projects/temp/node_modules/@types/pad/index.d.ts Text-1 "export = pad;declare function pad(length: number, text: string, char ?: string): string;" /a/b/projects/temp/a.ts SVC-1-0 "import f = require(\"pad\"); f;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/@types/pad/index.d.ts Imported via "pad" from file 'a.ts' Entry point for implicit type library 'pad' @@ -363,7 +378,7 @@ FsWatches:: {} /a/b/projects/temp: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -393,7 +408,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js index d66622e63a8b3..ff4d2349437f4 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js @@ -89,31 +89,31 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../../module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../src/module1}' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1}', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.ts' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.tsx' does not exist. @@ -126,23 +126,23 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../../src/module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../src/module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../../module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/product/module2.ts Text-1 "export function module2() {}" /user/username/projects/myproject/product/src/module1.ts Text-1 "export function module1() {}" /user/username/projects/myproject/product/src/file1.ts SVC-1-0 "import { module1 } from \"./module1\";import { module2 } from \"../module2\";" @@ -159,8 +159,8 @@ Info seq [hh:mm:ss:mss] Files (7) /user/username/projects/myproject/product/test/src/file3.ts Text-1 "import { module1 } from \"../../src/module1\";import { module2 } from \"../../module2\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' product/module2.ts Matched by default include pattern '**/*' Imported via "../module2" from file 'product/src/file1.ts' @@ -264,6 +264,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -272,7 +274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/product/module2.ts: *new* {} @@ -300,7 +302,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -366,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -411,7 +413,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '../../module2' from '/use Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/product/module2.ts Text-1 "export function module2() {}" /user/username/projects/myproject/product/src/module1.ts Text-1 "export function module1() {}" /user/username/projects/myproject/product/src/file1.ts SVC-1-0 "import { module1 } from \"./module1\";import { module2 } from \"../module2\";" @@ -459,7 +461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js index be721d8090658..aa53830bdebae 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js @@ -79,13 +79,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/module2.ts'. ======== @@ -95,7 +95,7 @@ Info seq [hh:mm:ss:mss] ======== Module name './module1' was successfully resol Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/src/file2.ts'. ======== Info seq [hh:mm:ss:mss] Resolution for module '../module2' was found in cache from location '/user/username/projects/myproject/src'. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/module2.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -103,15 +103,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module2.ts Text-1 "export function module2() {}" /user/username/projects/myproject/src/module1.ts Text-1 "export function module1() {}" /user/username/projects/myproject/src/file1.ts SVC-1-0 "import { module1 } from \"./module1\";import { module2 } from \"../module2\";" /user/username/projects/myproject/src/file2.ts Text-1 "import { module1 } from \"./module1\";import { module2 } from \"../module2\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' module2.ts Matched by default include pattern '**/*' Imported via "../module2" from file 'src/file1.ts' @@ -208,6 +208,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -216,7 +218,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/module2.ts: *new* {} @@ -238,7 +240,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -282,7 +284,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -313,7 +315,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/u Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/module2.ts Text-1 "export function module2() {}" /user/username/projects/myproject/src/module1.ts Text-1 "export function module1() {}" /user/username/projects/myproject/src/file1.ts SVC-1-0 "import { module1 } from \"./module1\";import { module2 } from \"../module2\";" @@ -359,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js index b70fa24f9ec4c..955721ceb4771 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile.ts Imported via './moduleFile' from file 'file1.ts' Matched by default include pattern '**/*' @@ -164,6 +164,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -172,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/moduleFile.ts: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -253,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -278,13 +280,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" /users/username/projects/project/moduleFile1.ts Text-1 "export function bar() { };" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -331,7 +333,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: *new* {} @@ -354,7 +356,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -445,7 +447,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -495,13 +497,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile.ts Imported via './moduleFile' from file 'file1.ts' Matched by default include pattern '**/*' @@ -530,7 +532,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile.ts: {} @@ -554,7 +556,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js index 05dfee66b87d1..b1fa4dba095e2 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,13 +47,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile.ts Imported via './moduleFile' from file 'file1.ts' file1.ts @@ -79,6 +79,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -91,7 +93,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/moduleFile.ts: *new* {} @@ -103,7 +105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -158,7 +160,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -182,12 +184,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -236,7 +238,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project: *new* {} @@ -301,7 +303,7 @@ Timeout callback:: count: 1 4: /dev/null/inferredProject1*FailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -357,7 +359,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -383,13 +385,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" /users/username/projects/project/file1.ts SVC-1-1 "import * as T from './moduleFile'; T.bar();\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile.ts Imported via './moduleFile' from file 'file1.ts' file1.ts @@ -442,7 +444,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile.ts: {} @@ -458,7 +460,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index 84f730d994223..7d1126d08ec9d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/app/appA.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/moduleB.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../common/moduleB' was successfully resolved to '/users/username/projects/common/moduleB.ts'. ======== @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/users/username/projects/common/tsconfig.json'. Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. -Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. @@ -166,7 +166,7 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/users/username/projects/common/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'moduleX' was found in cache from location '/users/username/projects'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations @@ -189,15 +189,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/node_modules/moduleX/index.d.ts Text-1 "export const x = 10;" /users/username/projects/app/appA.ts Text-1 "import { x } from \"moduleX\";\nexport const y = x;\n" /users/username/projects/common/moduleB.ts Text-1 "import { x } from \"moduleX\";\nexport const b = x;\n" /users/username/projects/app/appB.ts SVC-1-0 "import { x } from \"../common/moduleB\";\nexport const y = x;\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/moduleX/index.d.ts Imported via "moduleX" from file 'appA.ts' Imported via "moduleX" from file '../common/moduleB.ts' @@ -293,6 +293,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/app/node_modules: *new* @@ -311,7 +313,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -341,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js index 49280fc17d9f5..65f1806d2f683 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: project1, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project1 WatchType: Type roots @@ -52,12 +52,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "let x = 1" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/app.ts Root file specified for compilation @@ -113,6 +113,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -123,7 +125,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -134,7 +136,7 @@ project1 (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project1 @@ -196,12 +198,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -270,12 +272,12 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/app.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/app.ts Root file specified for compilation @@ -316,7 +318,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/app.ts: {} @@ -337,7 +339,7 @@ project1 (External) *deleted* isClosed: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/project/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js index 442dd35abeb35..426ae07185aa5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,12 +47,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Root file specified for compilation @@ -76,6 +76,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -90,7 +92,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -102,7 +104,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -198,7 +200,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -227,13 +229,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" /users/username/projects/project/file1.ts SVC-1-1 "import * as T from './moduleFile'; T.bar();\n" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' moduleFile.ts Imported via './moduleFile' from file 'file1.ts' file1.ts @@ -265,7 +267,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/moduleFile.ts: *new* {} @@ -282,7 +284,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js b/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js index 0acb7ae8d278c..ff617733fce32 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js +++ b/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -44,17 +44,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a.js SVC-1-0 "function f(p) {}" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -67,7 +69,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -76,7 +78,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -108,11 +110,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/a.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -162,7 +164,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -186,7 +188,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -234,7 +236,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js b/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js index d498f832eda0a..acf45fca9ee92 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js +++ b/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -44,12 +44,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a.ts SVC-1-0 "1 = 2;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -73,6 +73,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -85,7 +87,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -95,7 +97,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js index 7861b39e1685e..840f3bbf86ade 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types/node/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -82,13 +82,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let x = 1" /user/username/projects/project/node_modules/@types/node/index.d.ts Text-1 "declare var process: any" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' node_modules/@types/node/index.d.ts @@ -179,6 +179,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/package.json: *new* @@ -193,7 +195,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -211,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js index 465a192fd74f4..364fe2d648111 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js @@ -71,16 +71,16 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts SVC-1-0 "let x = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -194,9 +194,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -212,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js index 4ac27f142fac8..3ea1f70395fad 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/somemodule/index.d.ts Text-1 "export const x = 10;" /user/username/projects/myproject/test.ts SVC-1-0 "import { x } from \"somemodule\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/somemodule/index.d.ts Imported via "somemodule" from file 'test.ts' test.ts @@ -173,6 +173,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -189,7 +191,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -211,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js index bd2bad22b9dfe..650d6800481df 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -58,13 +58,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/somemodule/index.d.ts Text-1 "export const x = 10;" /user/username/projects/myproject/test.ts SVC-1-0 "import { x } from \"somemodule\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/somemodule/index.d.ts Imported via "somemodule" from file 'test.ts' test.ts @@ -90,6 +90,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -110,7 +112,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -128,7 +130,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 866daecad40f6..21d9d8c0abf1d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/lib1/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -82,13 +82,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" /users/username/projects/project/node_modules/@types/lib1/index.d.ts Text-1 "export let a: number" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' node_modules/@types/lib1/index.d.ts @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/node_modules/@types: *new* @@ -191,7 +193,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -211,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -258,7 +260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -286,12 +288,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -363,7 +365,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -438,13 +440,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" /users/username/projects/project/node_modules/@types/lib2/index.d.ts Text-1 "export let b: number" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' node_modules/@types/lib2/index.d.ts @@ -499,7 +501,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -522,7 +524,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js index a2935da88aa09..826920a68d6bc 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: project1, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/file1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/file2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project1 WatchType: Type roots @@ -64,13 +64,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file1.js Text-1 "let x =1;" /home/src/projects/project/a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/file1.js Root file specified for compilation ../../../projects/project/a/b/file2.d.ts @@ -78,6 +78,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -92,7 +94,7 @@ FsWatches:: {} /home/src/projects/project/a/b/file2.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -109,7 +111,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project1 -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project1 @@ -137,7 +139,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project1", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file1.js", "/home/src/projects/project/a/b/file2.d.ts" ], diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js index a02df529acc76..480f84a20e792 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: project1, currentDirectory: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/file1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/file2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project1 WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/bin/node_modules/@types 1 undefined Project: project1 WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Vscode/Projects/node_modules/@types 1 undefined Project: project1 WatchType: Type roots @@ -62,13 +62,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file1.js Text-1 "let x =1;" /home/src/projects/project/a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/a/b/file1.js Root file specified for compilation ../../../projects/project/a/b/file2.d.ts @@ -76,6 +76,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Vscode/Projects/bin/node_modules/@types: *new* @@ -90,7 +92,7 @@ FsWatches:: {} /home/src/projects/project/a/b/file2.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -107,7 +109,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project1 -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 project1 @@ -135,7 +137,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project1", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file1.js", "/home/src/projects/project/a/b/file2.d.ts" ], diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js index db281851eb63d..baff5c9a74604 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/file2.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -63,13 +63,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" /home/src/projects/project/a/b/file1.js SVC-1-0 "\n /// \n var x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.d.ts Referenced via 'file2.d.ts' from file 'file1.js' file1.js @@ -77,6 +77,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -103,7 +105,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/file2.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -120,7 +122,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -148,12 +150,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file2.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -203,7 +205,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -227,7 +229,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -289,7 +291,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/file2.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -357,7 +359,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -374,7 +376,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -424,12 +426,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.d.ts Root file specified for compilation @@ -438,11 +440,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file2.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -482,7 +484,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -505,7 +507,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -581,7 +583,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/file1.js: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -600,7 +602,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -694,13 +696,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" /home/src/projects/project/a/b/file1.js SVC-1-0 "\n /// \n var x = 1;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.d.ts Referenced via 'file2.d.ts' from file 'file1.js' file1.js @@ -711,12 +713,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/file2.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -765,7 +767,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -789,7 +791,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -805,12 +807,12 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/b/file2.d.ts - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file2.d.ts Root file specified for compilation @@ -884,7 +886,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -914,7 +916,7 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject2* *default* *new* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js index bab7de8193201..c41a3d005a660 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots @@ -79,17 +79,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/jsFile.js SVC-1-0 "let x = 1;\n x === \"string\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jsFile.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -119,7 +121,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/jsconfig.json @@ -147,7 +149,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/jsFile.js" ], "compilerOptions": { @@ -347,7 +349,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js index a02df6a9ebd25..e61365b792342 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots @@ -75,17 +75,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/jsFile.js SVC-1-0 "\n // @ts-check\n let x = 1;\n x === \"string\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jsFile.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -98,7 +100,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/jsconfig.json @@ -143,7 +145,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/jsFile.js" ], "compilerOptions": { @@ -339,7 +341,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js index efc141de39c22..7e346c22a1e1d 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -50,17 +50,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/jsFile.js SVC-1-0 "\n // @ts-check\n let x = 1;\n x === \"string\";" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jsFile.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -79,7 +81,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -92,7 +94,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -120,11 +122,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/jsFile.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -174,7 +176,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -198,7 +200,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -252,7 +254,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js index 4d45334179eca..34ea686e79caf 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/dTsFile1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/dTsFile2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/jsconfig.json WatchType: Type roots @@ -84,14 +84,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/dTsFile1.d.ts Text-1 "\n declare var x: number;" /home/src/projects/project/a/dTsFile2.d.ts Text-1 "\n declare var x: string;" /home/src/projects/project/a/jsFile.js SVC-1-0 "let x = 1;" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' dTsFile1.d.ts Matched by default include pattern '**/*' dTsFile2.d.ts @@ -101,6 +101,8 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -117,7 +119,7 @@ FsWatches:: {} /home/src/projects/project/a/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -142,7 +144,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/jsconfig.json @@ -170,7 +172,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/dTsFile1.d.ts", "/home/src/projects/project/a/dTsFile2.d.ts", "/home/src/projects/project/a/jsFile.js" @@ -372,7 +374,7 @@ FsWatches:: {} /home/src/projects/project/a/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js b/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js index 3acdd4291c8b8..f367668070933 100644 --- a/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js +++ b/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,17 +51,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/file.js SVC-1-0 "\nclass Foo {\n bar(a, b) {\n if (a === b) {\n return true;\n }\n return false;\n }\n}" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -74,7 +76,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -87,7 +89,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -115,11 +117,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/file.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -169,7 +171,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -193,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -241,7 +243,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js index dfd5d727fd1b7..d47c611054977 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -107,12 +107,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -197,6 +197,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/javascript/node_modules: *new* @@ -221,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -247,7 +249,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -407,7 +409,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -466,13 +468,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -533,7 +535,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -566,7 +568,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -721,7 +723,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 7de4ead53789a..c013bf2bed5d0 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -112,12 +112,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -202,6 +202,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/javascript/node_modules: *new* @@ -224,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -256,7 +258,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -422,13 +424,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -489,7 +491,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -526,7 +528,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js index 55f5740230a8d..80bdf70d93661 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -106,13 +106,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -199,6 +199,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: *new* @@ -213,7 +215,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -245,7 +247,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -368,7 +370,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -398,12 +400,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -460,7 +462,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -622,7 +624,7 @@ Timeout callback:: count: 1 7: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -670,13 +672,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -737,7 +739,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -773,7 +775,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js index 43d9a307e197f..855d0577acf78 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -127,12 +127,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -236,6 +236,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/javascript/node_modules: *new* @@ -260,7 +262,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -290,7 +292,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -462,7 +464,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: {} @@ -538,13 +540,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -605,7 +607,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/myproject/javascript/packages: {} @@ -644,7 +646,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -814,7 +816,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index dca79c4228d67..51dc3e7859871 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -131,12 +131,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -240,6 +240,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/javascript/node_modules: *new* @@ -262,7 +264,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects: *new* {} @@ -296,7 +298,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -485,13 +487,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -552,7 +554,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/myproject/javascript/packages: {} @@ -593,7 +595,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js index 3c72529afe8eb..7cfaa54bf2610 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution @@ -111,13 +111,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -223,6 +223,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: *new* @@ -237,7 +239,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/myproject/javascript/packages: *new* {} @@ -259,7 +261,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -382,7 +384,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -426,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -488,7 +490,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects: *new* {} @@ -661,7 +663,7 @@ Timeout callback:: count: 1 10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -723,13 +725,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts Text-1 "export class C { method(): number; }" /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts SVC-1-0 "import {C} from \"@microsoft/recognizers-text\";\nnew C();" - ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -790,7 +792,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/myproject/javascript/packages: {} @@ -830,7 +832,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js index 6d13c547e5823..13664334bc028 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -161,10 +161,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 3, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -417,12 +417,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -510,14 +510,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + PolledWatches:: /home/src/projects/a/1/a-impl/a/package.json: *new* {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -568,7 +570,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -972,10 +974,7 @@ Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/tsconfig.tsbuildinfo.readable.baseline.txt updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 149 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 @@ -983,23 +982,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 @@ -1020,10 +1003,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 @@ -1031,24 +1011,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 @@ -1320,7 +1284,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1328,8 +1292,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1388,8 +1352,8 @@ PolledWatches:: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -1467,7 +1431,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1967,7 +1931,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2113,12 +2077,12 @@ Custom watchFile:: Close:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/pack Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -2167,8 +2131,8 @@ PolledWatches:: {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -2383,10 +2347,7 @@ Before request //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 160 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 161 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -2394,23 +2355,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -2418,10 +2363,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -2429,24 +2371,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -2550,7 +2476,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2712,7 +2638,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2720,8 +2646,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2780,8 +2706,8 @@ PolledWatches:: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -2862,7 +2788,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js index d37b0d073644b..7ae4f806c5786 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -168,12 +168,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -261,6 +261,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* @@ -309,8 +311,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":47} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -323,7 +325,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -710,10 +712,7 @@ Build dependencies Before running Timeout callback:: count: 1 9: timerToUpdateChildWatches //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 149 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 @@ -721,23 +720,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 @@ -758,10 +741,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 @@ -769,24 +749,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 @@ -869,8 +833,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} Timeout callback:: count: 1 11: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation *new* @@ -926,7 +890,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -934,8 +898,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1038,8 +1002,8 @@ FsWatches:: {"inode":152} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1077,7 +1041,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1527,8 +1491,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -1584,7 +1548,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1613,12 +1577,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1717,8 +1681,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1883,10 +1847,7 @@ Before running Timeout callback:: count: 1 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 160 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 161 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -1894,23 +1855,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -1918,10 +1863,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -1929,24 +1871,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -2020,8 +1946,8 @@ FsWatches:: {"inode":166} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"inode":168} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} Timeout callback:: count: 1 37: timerToUpdateChildWatches *new* @@ -2051,7 +1977,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2121,8 +2047,8 @@ FsWatches:: {"inode":166} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"inode":168} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} Timeout callback:: count: 1 39: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation *new* @@ -2173,7 +2099,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2181,8 +2107,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2285,8 +2211,8 @@ FsWatches:: {"inode":168} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -2327,7 +2253,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js index 9f6c66709d6fe..8655876e5b89d 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -161,10 +161,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 3, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -417,12 +417,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -510,14 +510,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + PolledWatches:: /home/src/projects/a/1/a-impl/a/package.json: *new* {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -568,7 +570,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -961,10 +963,7 @@ Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/tsconfig.tsbuildinfo.readable.baseline.txt created Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 149 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 @@ -972,23 +971,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 @@ -1009,10 +992,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 @@ -1020,24 +1000,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 @@ -1309,7 +1273,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1317,8 +1281,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1377,8 +1341,8 @@ PolledWatches:: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -1456,7 +1420,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1956,7 +1920,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2102,12 +2066,12 @@ Custom watchFile:: Close:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/pack Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -2156,8 +2120,8 @@ PolledWatches:: {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -2363,10 +2327,7 @@ Before request //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 160 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 161 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -2374,23 +2335,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -2398,10 +2343,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -2409,24 +2351,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -2530,7 +2456,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2692,7 +2618,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2700,8 +2626,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2760,8 +2686,8 @@ PolledWatches:: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -2842,7 +2768,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js index e4554a8ce20e8..a8a6a7a28cf8f 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -168,12 +168,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -261,6 +261,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* @@ -297,8 +299,8 @@ FsWatches:: {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":47} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* @@ -319,7 +321,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -727,10 +729,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/s Before running Timeout callback:: count: 1 10: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 149 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 @@ -738,23 +737,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 @@ -775,10 +758,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 @@ -786,24 +766,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 @@ -876,7 +840,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -884,8 +848,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -978,8 +942,8 @@ FsWatches:: {"inode":152} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1025,7 +989,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1485,8 +1449,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: @@ -1550,7 +1514,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1579,12 +1543,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1667,8 +1631,8 @@ FsWatches:: {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1864,10 +1828,7 @@ Before running Timeout callback:: count: 1 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 160 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 161 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -1875,23 +1836,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -1899,10 +1844,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -1910,24 +1852,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -1989,8 +1915,8 @@ FsWatches:: {"inode":166} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"inode":168} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: @@ -2028,7 +1954,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2076,7 +2002,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2084,8 +2010,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2178,8 +2104,8 @@ FsWatches:: {"inode":168} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -2228,7 +2154,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js index 3f8c86d7d36b7..f72c1c7632170 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -161,10 +161,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 3, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -417,12 +417,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -510,14 +510,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/a/1/a-impl/a/package.json: *new* {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -568,7 +570,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -972,10 +974,7 @@ Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/tsconfig.tsbuildinfo.readable.baseline.txt updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -983,23 +982,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -1020,10 +1003,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -1031,24 +1011,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -1320,7 +1284,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1328,8 +1292,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1388,8 +1352,8 @@ PolledWatches:: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -1467,7 +1431,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1967,7 +1931,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2113,12 +2077,12 @@ Custom watchFile:: Close:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/pack Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -2167,8 +2131,8 @@ PolledWatches:: {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -2383,10 +2347,7 @@ Before request //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -2394,23 +2355,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -2418,10 +2363,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -2429,24 +2371,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -2550,7 +2476,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2712,7 +2638,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2720,8 +2646,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2780,8 +2706,8 @@ PolledWatches:: {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -2862,7 +2788,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js index a97b61bd6566e..01583d09aba67 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Config: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -168,12 +168,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -261,6 +261,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* @@ -297,7 +299,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -319,7 +321,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -727,10 +729,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/s Before running Timeout callback:: count: 1 10: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -738,23 +737,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -775,10 +758,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -786,24 +766,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -876,7 +840,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -884,8 +848,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -978,7 +942,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1025,7 +989,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1486,7 +1450,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1515,12 +1479,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1603,7 +1567,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1792,10 +1756,7 @@ Before running Timeout callback:: count: 1 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -1803,23 +1764,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -1827,10 +1772,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -1838,24 +1780,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -1892,7 +1818,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1940,7 +1866,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1948,8 +1874,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2042,7 +1968,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -2092,7 +2018,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js index 78b29e615813e..7087a38f9661f 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 147 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 @@ -105,23 +104,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 @@ -142,10 +125,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 @@ -153,24 +133,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 @@ -329,7 +293,7 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -337,10 +301,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 9, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -562,7 +526,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -570,8 +534,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -683,8 +647,8 @@ PolledWatches:: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -749,7 +713,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1478,7 +1442,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1624,12 +1588,12 @@ Custom watchFile:: Close:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/pack Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1678,8 +1642,8 @@ PolledWatches:: {"event":{"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1895,10 +1859,7 @@ Before request //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 158 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 159 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -1906,23 +1867,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -1930,10 +1875,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -1941,24 +1883,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -2062,7 +1988,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2224,7 +2150,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2232,8 +2158,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2292,8 +2218,8 @@ PolledWatches:: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -2374,7 +2300,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js index 9ee5ba8371484..c5bb922621e1d 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 147 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 @@ -105,23 +104,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 @@ -142,10 +125,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 @@ -153,24 +133,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 @@ -235,7 +199,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -269,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -277,8 +241,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -424,8 +388,8 @@ FsWatches:: {"inode":150} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":47} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -454,7 +418,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1136,8 +1100,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -1194,7 +1158,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1223,12 +1187,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1327,8 +1291,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1494,10 +1458,7 @@ Before running Timeout callback:: count: 1 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 158 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 159 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -1505,23 +1466,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -1529,10 +1474,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -1540,24 +1482,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -1631,8 +1557,8 @@ FsWatches:: {"inode":166} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"inode":168} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} Timeout callback:: count: 1 26: timerToUpdateChildWatches *new* @@ -1662,7 +1588,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1732,8 +1658,8 @@ FsWatches:: {"inode":166} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"inode":168} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} Timeout callback:: count: 1 28: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation *new* @@ -1784,7 +1710,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1792,8 +1718,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1896,8 +1822,8 @@ FsWatches:: {"inode":168} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1938,7 +1864,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js index e40098bfbd2cd..283e42705766f 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 147 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 @@ -105,23 +104,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 @@ -142,10 +125,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 @@ -153,24 +133,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 @@ -329,7 +293,7 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -337,10 +301,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 9, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -562,7 +526,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -570,8 +534,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -683,8 +647,8 @@ PolledWatches:: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -749,7 +713,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1478,7 +1442,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1624,12 +1588,12 @@ Custom watchFile:: Close:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/pack Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1678,8 +1642,8 @@ PolledWatches:: {"event":{"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1886,10 +1850,7 @@ Before request //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 158 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 159 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -1897,23 +1858,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -1921,10 +1866,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -1932,24 +1874,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -2053,7 +1979,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2215,7 +2141,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2223,8 +2149,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2283,8 +2209,8 @@ PolledWatches:: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -2365,7 +2291,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js index eaea2c10e3ab5..008e2247339bd 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 47 + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 147 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 @@ -105,23 +104,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 @@ -142,10 +125,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 @@ -153,24 +133,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 @@ -235,7 +199,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -269,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -277,8 +241,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -414,8 +378,8 @@ FsWatches:: {"inode":150} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":47} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -456,7 +420,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1160,8 +1124,8 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: @@ -1226,7 +1190,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1255,12 +1219,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1343,8 +1307,8 @@ FsWatches:: {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1541,10 +1505,7 @@ Before running Timeout callback:: count: 1 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 158 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 159 //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 165 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 @@ -1552,23 +1513,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 @@ -1576,10 +1521,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 @@ -1587,24 +1529,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 @@ -1666,8 +1592,8 @@ FsWatches:: {"inode":166} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"inode":168} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: @@ -1705,7 +1631,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1753,7 +1679,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1761,8 +1687,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1855,8 +1781,8 @@ FsWatches:: {"inode":168} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":45} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":47} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1905,7 +1831,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js index 4853a4d8411e9..7a76d0ed3589b 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -105,23 +104,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -142,10 +125,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -153,24 +133,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -329,7 +293,7 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -337,10 +301,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 9, - "path": "/home/src/tslibs/TS/Lib/lib.d.ts" + "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -562,7 +526,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -570,8 +534,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -683,8 +647,8 @@ PolledWatches:: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -749,7 +713,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1478,7 +1442,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1624,12 +1588,12 @@ Custom watchFile:: Close:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/pack Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1678,8 +1642,8 @@ PolledWatches:: {"event":{"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1895,10 +1859,7 @@ Before request //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -1906,23 +1867,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -1930,10 +1875,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -1941,24 +1883,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -2062,7 +1988,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2224,7 +2150,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -2232,8 +2158,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -2292,8 +2218,8 @@ PolledWatches:: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} FsWatches:: /home/src/projects: @@ -2374,7 +2300,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js index 70df05073173c..83da22f52937e 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js @@ -93,11 +93,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -105,23 +104,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -142,10 +125,7 @@ export * from './c'; } //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -153,24 +133,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -235,7 +199,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -269,7 +233,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -277,8 +241,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -414,7 +378,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -456,7 +420,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1162,7 +1126,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1191,12 +1155,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1279,7 +1243,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -1469,10 +1433,7 @@ Before running Timeout callback:: count: 1 //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents //// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/home/src/projects/c/3/c-impl/c/lib/c.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.c = void 0; -exports.c = 'test'; +export const c = 'test'; //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] @@ -1480,23 +1441,7 @@ export declare const c: string; //// [/home/src/projects/c/3/c-impl/c/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./c"), exports); +export * from './c'; //// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] @@ -1504,10 +1449,7 @@ export * from './c'; //// [/home/src/projects/a/1/a-impl/a/lib/a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 'test'; +export const a = 'test'; //// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] @@ -1515,24 +1457,8 @@ export declare const a: string; //// [/home/src/projects/a/1/a-impl/a/lib/index.js] -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./a"), exports); -__exportStar(require("c"), exports); +export * from './a'; +export * from 'c'; //// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] @@ -1569,7 +1495,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1617,7 +1543,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/a/1/a-impl/a/lib/a.d.ts Text-1 "export declare const a: string;\n" /home/src/projects/c/3/c-impl/c/lib/c.d.ts Text-1 "export declare const c: string;\n" /home/src/projects/c/3/c-impl/c/lib/index.d.ts Text-1 "export * from './c';\n" @@ -1625,8 +1551,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/b/2/b-impl/b/src/index.ts SVC-1-0 "import { a } from 'a';" - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../a/1/a-impl/a/lib/a.d.ts Imported via './a' from file '../../../../a/1/a-impl/a/lib/index.d.ts' ../../../../c/3/c-impl/c/lib/c.d.ts @@ -1719,7 +1645,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -1769,7 +1695,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/b/2/b-impl/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js index 1fdd306322689..883ff9a54da20 100644 --- a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js +++ b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a 1 undefined Config: /users/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/a/c/fc.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots @@ -90,13 +90,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/a/c/fc.ts Text-1 "export const C = 8" /users/username/projects/a/a.ts SVC-1-0 "import {C} from \"./c/fc\"; console.log(C)" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' c/fc.ts Imported via "./c/fc" from file 'a.ts' Matched by default include pattern '**/*' @@ -186,6 +186,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /users/username/projects/a/node_modules/@types: *new* @@ -194,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /users/username/projects/a/c/fc.ts: *new* {} @@ -212,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/a/tsconfig.json @@ -271,13 +273,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/b/c/fc.ts Text-1 "export const C = 8" /users/username/projects/b/b.ts SVC-1-0 "import {C} from \"./c/fc\"; console.log(C)" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' c/fc.ts Imported via "./c/fc" from file 'b.ts' Matched by default include pattern '**/*' @@ -383,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/a/c/fc.ts: {} @@ -411,7 +413,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /users/username/projects/a/tsconfig.json @@ -481,7 +483,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/a/tsconfig.json: {} @@ -501,7 +503,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /users/username/projects/a/tsconfig.json @@ -574,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /users/username/projects/a/tsconfig.json: {} @@ -592,7 +594,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /users/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 7e435b656aed3..2dfc5c82acd8b 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-s Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -91,12 +91,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - C:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/temp/replay/axios-src/lib/core/AxiosHeaders.js SVC-1-0 "export const b = 10;\n\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' AxiosHeaders.js Root file specified for compilation @@ -142,6 +142,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/temp/node_modules/@types: *new* @@ -172,7 +174,7 @@ c:/temp/replay/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* {} @@ -193,7 +195,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts *new* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -252,7 +254,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -309,15 +311,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - C:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/temp/replay/axios-src/lib/core/AxiosHeaders.js SVC-1-1 "export const b = 10;\n//comment\n" c:/temp/replay/axios-src/lib/core/settle.js Text-1 "export const b2 = 10;\n" c:/temp/replay/axios-src/node_modules/follow-redirects/index.js Text-1 "export const x = 10;" c:/temp/replay/axios-src/lib/core/dispatchRequest.js SVC-1-0 "import { b } from \"./AxiosHeaders.js\";\nimport { b2 } from \"./settle.js\";\nimport { x } from \"follow-redirects\";\nexport const y = 10;\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' AxiosHeaders.js Imported via "./AxiosHeaders.js" from file 'dispatchRequest.js' settle.js @@ -331,12 +333,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - C:/home/src/tslibs/TS/Lib/lib.d.ts + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts c:/temp/replay/axios-src/lib/core/AxiosHeaders.js - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' AxiosHeaders.js Root file specified for compilation @@ -416,7 +418,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} @@ -451,7 +453,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts *changed* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* @@ -504,13 +506,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - C:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/temp/replay/axios-src/lib/core/AxiosHeaders.js SVC-1-1 "export const b = 10;\n//comment\n" c:/temp/replay/axios-src/lib/core/mergeConfig.js SVC-1-0 "import { b } from \"./AxiosHeaders.js\";\nexport const y = 10;\n" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' AxiosHeaders.js Imported via "./AxiosHeaders.js" from file 'mergeConfig.js' mergeConfig.js @@ -578,7 +580,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts *changed* +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -682,7 +684,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} @@ -717,7 +719,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject2* @@ -764,7 +766,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - C:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/temp/replay/axios-src/lib/core/AxiosHeaders.js Text-2 "export const b = 10;\n\n" c:/temp/replay/axios-src/lib/core/settle.js Text-1 "export const b2 = 10;\n" c:/temp/replay/axios-src/node_modules/follow-redirects/index.js Text-1 "export const x = 10;" @@ -840,7 +842,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.d.ts: +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} @@ -877,7 +879,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.d.ts +C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js index 4e13b74f921e6..9ca60c7b7bde5 100644 --- a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js +++ b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js @@ -109,7 +109,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/dep/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/dep/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/dep 1 undefined Config: /home/src/projects/project/packages/dep/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/dep 1 undefined Config: /home/src/projects/project/packages/dep/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/dep 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/dep 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/src 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations @@ -144,12 +144,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/packages/app/src/index.ts SVC-1-0 "import \"dep/does/not/exist\";" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/index.ts Matched by default include pattern '**/*' @@ -282,6 +282,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -316,7 +318,7 @@ FsWatches:: {} /home/src/projects/project/packages/dep/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -342,7 +344,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js index 91ad8ca7767bb..ba5f666910035 100644 --- a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js +++ b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -66,12 +66,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app.ts SVC-1-0 "console.log('Hello world');" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -156,6 +156,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -164,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -180,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -236,13 +238,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app.ts SVC-1-0 "console.log('Hello world');" /user/username/projects/myproject/unitTest1.ts Text-1 "import assert = require('assert');\n\ndescribe(\"Test Suite 1\", () => {\n it(\"Test A\", () => {\n assert.ok(true, \"This shouldn't fail\");\n });\n\n it(\"Test B\", () => {\n assert.ok(1 === 1, \"This shouldn't fail\");\n assert.ok(false, \"This should fail\");\n });\n});" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' unitTest1.ts @@ -291,7 +293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -314,7 +316,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -371,7 +373,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -389,7 +391,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -564,7 +566,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -595,12 +597,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app.ts SVC-1-0 "console.log('Hello world');" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' @@ -649,7 +651,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -714,13 +716,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/app.ts SVC-1-0 "console.log('Hello world');" /user/username/projects/myproject/unitTest1.ts Text-2 "import assert = require('assert');\n\nexport function Test1() {\n assert.ok(true, \"This shouldn't fail\");\n};\n\nexport function Test2() {\n assert.ok(1 === 1, \"This shouldn't fail\");\n assert.ok(false, \"This should fail\");\n};" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.ts Matched by default include pattern '**/*' unitTest1.ts @@ -769,7 +771,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: *new* {} @@ -791,7 +793,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -848,7 +850,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -866,7 +868,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js index 9a9d7dcdb76ca..d80ce3d46149b 100644 --- a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js +++ b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/moo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsx.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/src/dts.d.ts Text-1 "" /home/src/projects/project/src/js.js Text-1 "" /home/src/projects/project/src/jsx.jsx Text-1 "" @@ -113,8 +113,8 @@ Info seq [hh:mm:ss:mss] Files (7) /home/src/projects/project/src/tsx.tsx Text-1 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/dts.d.ts Matched by include pattern 'src' in 'tsconfig.json' src/js.js @@ -217,6 +217,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -237,7 +239,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -275,7 +277,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js b/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js index fb8d286146ea7..65eeea6b7d11d 100644 --- a/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js +++ b/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js @@ -83,16 +83,16 @@ Info seq [hh:mm:ss:mss] event: "maxFileSize": 4194304 } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Matched by default include pattern '**/*' @@ -183,11 +183,13 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -200,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js b/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js index f89dcbe23b365..2bf1fc8da0b8a 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js +++ b/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,17 +43,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -66,7 +68,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -79,7 +81,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -107,11 +109,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -161,7 +163,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -185,7 +187,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -233,7 +235,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js index 154351d2fa807..9857ca4040d5f 100644 --- a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js +++ b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots @@ -75,17 +75,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -96,7 +98,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -113,7 +115,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json @@ -141,7 +143,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a.js" ], "compilerOptions": { @@ -339,7 +341,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js b/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js index eaeafc62a081c..43b31a4655cc5 100644 --- a/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js +++ b/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -43,12 +43,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Root file specified for compilation @@ -72,6 +72,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -84,7 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js index 31b8cbce7dceb..8258c669a4c60 100644 --- a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js +++ b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/a/tsconfig.json WatchType: Type roots @@ -70,12 +70,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -160,6 +160,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -172,7 +174,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -190,7 +192,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -235,7 +237,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -255,7 +257,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -283,12 +285,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b.ts SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.ts Root file specified for compilation @@ -296,12 +298,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -351,7 +353,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -385,7 +387,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -435,12 +437,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/a.ts SVC-2-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' @@ -506,7 +508,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -532,7 +534,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js b/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js index 994c98315e32a..605bc6beb2ffa 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -47,17 +47,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.js SVC-1-0 "/home/src/projects/project// @ts-check\nconst x = 0;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -70,7 +72,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -83,7 +85,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -111,11 +113,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -165,7 +167,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -189,7 +191,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -237,7 +239,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -267,12 +269,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/b.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' b.js Root file specified for compilation @@ -281,11 +283,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/b.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -334,7 +336,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -358,7 +360,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -416,7 +418,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js index 76ef181975ce1..33eef054f6cd5 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -78,12 +78,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/hunter2/a.ts SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' hunter2/a.ts Part of 'files' list in tsconfig.json @@ -183,6 +183,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -193,7 +195,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -211,7 +213,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js index 22c83f64331c4..90a14b080ccdc 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.js SVC-1-0 "1" /home/src/projects/project/b.ts Text-1 "12" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Matched by default include pattern '**/*' b.ts @@ -97,6 +97,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -109,7 +111,7 @@ FsWatches:: {} /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -130,7 +132,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json @@ -158,7 +160,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a.js", "/home/src/projects/project/b.ts" ], @@ -355,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js index 3bbdfb704cf34..545b832c08e2c 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/jsconfig.json WatchType: Type roots @@ -80,17 +80,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -101,7 +103,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -118,7 +120,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json @@ -146,7 +148,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a.js" ], "compilerOptions": { @@ -355,7 +357,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js b/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js index 1c1ab493d75f7..0e642f6aeb41e 100644 --- a/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js +++ b/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /home/src/projects/project/hunter2/foo.csproj, currentDirectory: /home/src/projects/project/hunter2 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/hunter2/foo.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2/node_modules/@types 1 undefined Project: /home/src/projects/project/hunter2/foo.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/hunter2/node_modules/@types 1 undefined Project: /home/src/projects/project/hunter2/foo.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/hunter2/foo.csproj WatchType: Type roots @@ -51,12 +51,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/hunter2/foo.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/hunter2/foo.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a.ts Root file specified for compilation @@ -114,6 +114,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -126,7 +128,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -139,7 +141,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj @@ -182,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -195,7 +197,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj @@ -238,7 +240,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} ScriptInfos:: @@ -247,7 +249,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj @@ -266,12 +268,12 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/hunter2/foo.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /home/src/projects/project/a.ts - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a.ts Root file specified for compilation @@ -301,7 +303,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -315,7 +317,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/hunter2/foo.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/hunter2/foo.csproj *deleted* @@ -352,12 +354,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/hunter2/foo.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/hunter2/foo.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../a.ts Root file specified for compilation @@ -388,7 +390,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -401,7 +403,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/hunter2/foo.csproj *new* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/hunter2/foo.csproj *new* @@ -444,7 +446,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatches *deleted*:: @@ -457,7 +459,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj diff --git a/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js b/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js index a2f89eb054f87..32168a5b6bccf 100644 --- a/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js +++ b/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] event: "maxFileSize": 4194304 } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -59,17 +59,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/large.js SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' large.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -88,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -101,7 +103,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,11 +131,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/large.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -183,7 +185,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -207,7 +209,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -261,7 +263,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js b/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js index 436d9a5aab221..8a5739587c786 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js +++ b/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/project/proj.csproj, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/proj.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/proj.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/proj.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/proj.csproj WatchType: Type roots @@ -55,13 +55,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/proj.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.d.ts Text-1 "" /user/username/projects/project/app.html Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.d.ts Root file specified for compilation app.html @@ -69,6 +69,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -77,7 +79,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.d.ts: *new* {} @@ -88,7 +90,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -124,7 +126,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/proj.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.d.ts", "/user/username/projects/project/app.html" ], @@ -267,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/app.d.ts: {} diff --git a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js index 7aba0815c0c68..b2741f79c9837 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js +++ b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations @@ -105,13 +105,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export let y: number" /user/username/projects/project/app.js SVC-1-0 "var x = require('bar')" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Imported via 'bar' from file 'app.js' app.js @@ -119,6 +119,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new* @@ -137,7 +139,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -164,7 +166,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -187,7 +189,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -389,7 +391,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js index 68ccd480d2e08..0a42d14229d36 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,14 +51,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export default class A {}" /home/src/projects/project/b.ts Text-1 "import type A from './a'; export default A;" /home/src/projects/project/c.ts SVC-1-0 "import A from './b'; new A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js index b26572828bf4f..484bd5507045e 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -55,15 +55,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "export * as a from './a';" /home/src/projects/project/c.ts Text-1 "import type { a } from './b'; export { a };" /home/src/projects/project/d.ts SVC-1-0 "import { a } from './c'; new a.A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -93,6 +93,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -111,7 +113,7 @@ FsWatches:: {} /home/src/projects/project/c.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -137,7 +139,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js index 840633849d536..04593c07c29a8 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -55,15 +55,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "export type { A } from './a';" /home/src/projects/project/c.ts Text-1 "export * from './b';" /home/src/projects/project/d.ts SVC-1-0 "import { A } from './c'; new A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -93,6 +93,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -111,7 +113,7 @@ FsWatches:: {} /home/src/projects/project/c.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -137,7 +139,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js index 5664214777ced..52f153ff93020 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,14 +51,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "import type { A } from './a'; export { A };" /home/src/projects/project/c.ts SVC-1-0 "import { A } from './b'; new A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js index b8332d84f0323..f0b362dd4441a 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,14 +51,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "import type * as a from './a'; export default a;" /home/src/projects/project/c.ts SVC-1-0 "import a from './b'; new a.A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js index 109ee17f1ad70..d72dfd099bea6 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,14 +51,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "import type * as a from './a'; export = a;" /home/src/projects/project/c.ts SVC-1-0 "import a = require('./b'); new a.A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -143,6 +145,19 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] response: { "response": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 1, + "offset": 27 + }, + "text": "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.", + "code": 1202, + "category": "error" + }, { "start": { "line": 1, diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js index ba84f58b06e7c..e14b0f8fe71ad 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -51,14 +51,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "import type * as a from './a'; export { a };" /home/src/projects/project/c.ts SVC-1-0 "import { a } from './b'; new a.A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,6 +86,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -124,7 +126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js index fe57bc6e2b7e8..a142d63ab31be 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -55,15 +55,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a.ts Text-1 "export class A {}" /home/src/projects/project/b.ts Text-1 "export type { A } from './a';" /home/src/projects/project/c.ts Text-1 "export * as a from './b';" /home/src/projects/project/d.ts SVC-1-0 "import { a } from './c'; new a.A();" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Imported via './a' from file 'b.ts' b.ts @@ -93,6 +93,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -111,7 +113,7 @@ FsWatches:: {} /home/src/projects/project/c.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -137,7 +139,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js index 65a393e5e7e32..33d1f10fea953 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/Uppe Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts', result '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'UpperCasePackage' was successfully resolved to '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts', primary: true. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@app 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots @@ -132,14 +132,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/test/test.ts SVC-1-0 "class TestClass1 {\n\n constructor() {\n var l = new TestLib();\n\n }\n\n public test2() {\n var x = new BrokenTest('',0,0,null);\n\n }\n}" /user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts Text-1 "declare class BrokenTest {\n constructor(name: string, width: number, height: number, onSelect: Function);\n Name: string;\n SelectedFile: string;\n}" /user/username/projects/myproject/lib/@app/lib/index.d.ts Text-1 "/// \ndeclare class TestLib {\n issue: BrokenTest;\n constructor();\n test(): void;\n}" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' test.ts Matched by default include pattern '**/*' ../lib/@types/UpperCasePackage/index.d.ts @@ -251,9 +251,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/lib/@app/lib/index.d.ts: *new* {} @@ -279,7 +281,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json @@ -324,7 +326,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json @@ -348,7 +350,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'UpperCa Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/test/test.ts SVC-1-0 "class TestClass1 {\n\n constructor() {\n var l = new TestLib();\n\n }\n\n public test2() {\n var x = new BrokenTest('',0,0,null);\n\n }\n}" /user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts Text-1 "declare class BrokenTest {\n constructor(name: string, width: number, height: number, onSelect: Function);\n Name: string;\n SelectedFile: string;\n}" /user/username/projects/myproject/lib/@app/lib/index.d.ts Text-2 "/// \ndeclare class TestLib {\n issue: BrokenTest;\n constructor();\n test2(): void;\n}" @@ -393,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js index e4f70cbfd61de..dc021b0955488 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js @@ -76,17 +76,17 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/background/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/background/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/typedefs/filesystem.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/background/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/background/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/background/a.ts SVC-1-0 "let x = 10;" /user/username/projects/myproject/typedefs/filesystem.d.ts Text-1 "interface LocalFileSystem { someProperty: string; }" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' a.ts Matched by default include pattern '**/*' ../typedefs/filesystem.d.ts @@ -177,6 +177,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/background/node_modules: *new* @@ -187,7 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject/background/tsconfig.json: *new* {} @@ -205,7 +207,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/background/tsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js index dd5a0d5ec06fc..c51d9a9de5379 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js @@ -33,7 +33,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -49,17 +49,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "\n import * as fs from \"fs\";\n import * as cmd from \"commander\n " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects: *new* @@ -80,7 +82,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -93,7 +95,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -121,11 +123,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -185,7 +187,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -212,7 +214,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -268,7 +270,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -315,7 +317,7 @@ ScriptInfos:: version: SVC-1-1 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -324,7 +326,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-1 "\nlet x = 1;\n import * as fs from \"fs\";\n import * as cmd from \"commander\n " Info seq [hh:mm:ss:mss] ----------------------------------------------- \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js index 9239cc74a5c00..f4c257fd734b8 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots @@ -78,17 +78,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -97,7 +99,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -112,7 +114,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -156,7 +158,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -323,7 +325,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -462,13 +464,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -479,7 +481,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -621,7 +623,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -644,7 +646,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js index 02e7fd00e1f09..a98ce1202e8cb 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -104,17 +104,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -123,7 +125,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -138,7 +140,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -182,7 +184,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -351,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/package.json: *new* {} @@ -480,13 +482,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "declare const $: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -497,7 +499,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -629,7 +631,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/package.json: {} @@ -651,7 +653,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js index 659a8bacb49b9..6cb7a13802881 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots @@ -77,17 +77,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -96,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -111,7 +113,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -155,7 +157,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -326,7 +328,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/bower.json: *new* {} @@ -465,13 +467,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -482,7 +484,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -626,7 +628,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/bower.json: {} @@ -649,7 +651,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js index bf35235c0f865..a05a82127a2a6 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations @@ -107,13 +107,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/node_modules/jquery/index.js Text-1 "" /user/username/projects/project/app.js SVC-1-0 "import \"jquery\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/jquery/index.js Imported via "jquery" from file 'app.js' app.js @@ -121,13 +121,15 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -148,7 +150,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -218,7 +220,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -501,13 +503,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "" /user/username/projects/project/app.js SVC-1-0 "import \"jquery\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Imported via "jquery" from file 'app.js' Matched by default include pattern '**/*' @@ -519,7 +521,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts", "/user/username/projects/project/app.js" ], @@ -608,13 +610,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "" /user/username/projects/project/app.js SVC-1-0 "import \"jquery\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Imported via "jquery" from file 'app.js' app.js @@ -625,7 +627,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -722,7 +724,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -756,7 +758,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js index c6d9afc4af20f..ddbdead69ee67 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js @@ -95,24 +95,26 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -127,7 +129,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -193,7 +195,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -387,7 +389,7 @@ Info seq [hh:mm:ss:mss] response: After request FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -412,7 +414,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js index 94784c69fbad6..e4df58c36e893 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js @@ -104,28 +104,30 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/jquery/package.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules: *new* {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -144,7 +146,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -210,7 +212,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -440,7 +442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -465,7 +467,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js index 186a8af7f6624..982d24f68d24b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots @@ -98,17 +98,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -117,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -132,7 +134,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -198,7 +200,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -391,7 +393,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -421,7 +423,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -554,13 +556,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -575,7 +577,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -727,7 +729,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -758,7 +760,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry-lockFile3.js b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry-lockFile3.js index 0188505d036ed..a08467fa1ca05 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry-lockFile3.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry-lockFile3.js @@ -82,21 +82,23 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/project/jsconfig.json: *new* @@ -105,7 +107,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -118,7 +120,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -155,11 +157,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -277,7 +279,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -305,7 +307,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -369,13 +371,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "declare const $: { x: number }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/app.js Root file specified for compilation ../../../Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -386,12 +388,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -438,7 +440,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -464,7 +466,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -525,7 +527,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -544,7 +546,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js index fd426632f9173..49a10f672538b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js @@ -82,21 +82,23 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/project/jsconfig.json: *new* @@ -105,7 +107,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -118,7 +120,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -155,11 +157,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -277,7 +279,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -305,7 +307,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -369,13 +371,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "declare const $: { x: number }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/app.js Root file specified for compilation ../../../Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -386,12 +388,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -438,7 +440,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -464,7 +466,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -525,7 +527,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -544,7 +546,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js index c52530875e875..26d3380f92b40 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -53,17 +53,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/app.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -72,7 +74,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -83,7 +85,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -127,7 +129,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.ts" ], "compilerOptions": { @@ -256,7 +258,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/app.ts: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js index bbc144f569d49..7e83ce8c230ac 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/node/package.json 2000 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/package.json 2000 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: File location affecting resolution @@ -73,13 +73,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/a/b/app.js Text-1 "" /home/src/projects/project/node_modules/@types/node/index.d.ts Text-1 "declare var node;" - ../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../b/app.js Root file specified for compilation ../../node_modules/@types/node/index.d.ts @@ -87,6 +87,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -113,7 +115,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.js: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -136,7 +138,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/app/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/app/test.csproj @@ -176,7 +178,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/a/b/app.js" ], "compilerOptions": { @@ -346,7 +348,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.js: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js index dd05bb44f62dd..8c99099a828f0 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -52,12 +52,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/app.ts Root file specified for compilation @@ -113,6 +113,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -121,7 +123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -132,7 +134,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js index ff09081234209..e08027a7c6910 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jquery.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -53,12 +53,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/jquery.js Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/jquery.js Root file specified for compilation @@ -117,6 +117,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -125,7 +127,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jquery.js: *new* {} @@ -136,7 +138,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js index c055d2f6517f2..e57d112b4854a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jquery.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -58,13 +58,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/jquery.js Text-1 "" /user/username/projects/project/file2.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/jquery.js Root file specified for compilation ../project/file2.ts @@ -125,6 +125,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -133,7 +135,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file2.ts: *new* {} @@ -146,7 +148,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js index edf61aba68b73..136557f8d87e2 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file2.jsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -90,13 +90,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file2.jsx Text-1 "" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file2.jsx Root file specified for compilation ../project/file3.d.ts @@ -104,6 +104,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -112,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file2.jsx: *new* {} @@ -125,7 +127,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -184,7 +186,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file2.jsx", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" @@ -336,7 +338,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file2.jsx: {} @@ -475,15 +477,15 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file2.jsx Text-1 "" /user/username/projects/project/file3.d.ts Text-1 "" /home/src/Library/Caches/typescript/node_modules/@types/lodash/index.d.ts Text-1 "declare const lodash: { x: number }" /home/src/Library/Caches/typescript/node_modules/@types/react/index.d.ts Text-1 "declare const react: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file2.jsx Root file specified for compilation ../project/file3.d.ts @@ -498,7 +500,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file2.jsx", "/user/username/projects/project/file3.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/lodash/index.d.ts", @@ -624,7 +626,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file2.jsx: {} @@ -646,7 +648,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js index 7e5ca73fff40b..dca19dc40c7e7 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jquery.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -54,17 +54,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/jquery.js Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/jquery.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -73,7 +75,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jquery.js: *new* {} @@ -84,7 +86,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -128,7 +130,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/jquery.js" ], "compilerOptions": { @@ -294,7 +296,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jquery.js: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js index 371a67a68457c..99dffbba83728 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project//commander.js Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -107,17 +107,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -126,7 +128,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -137,7 +139,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -214,7 +216,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project//lodash.js", "/user/username/projects/project//commander.js" @@ -379,7 +381,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -550,7 +552,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "declare const commander: { x: number }" /home/src/Library/Caches/typescript/node_modules/@types/express/index.d.ts Text-1 "declare const express: { x: number }" @@ -558,8 +560,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/Library/Caches/typescript/node_modules/@types/moment/index.d.ts Text-1 "declare const moment: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -576,7 +578,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/express/index.d.ts", @@ -731,7 +733,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -761,7 +763,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js index b4b91a88e7c9a..1bb8813a68f4b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -47,12 +47,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/app.ts Root file specified for compilation @@ -108,6 +108,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -116,7 +118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -127,7 +129,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js index 2faef798c9d7a..43834ac4e2965 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -65,17 +65,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/jquery.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' jquery.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -88,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -97,7 +99,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -141,7 +143,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/jquery.js" ], "compilerOptions": { @@ -263,7 +265,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js index dd4ff569f0dc5..3d3650aadc25a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js @@ -43,21 +43,23 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/project/jsconfig.json: *new* @@ -66,7 +68,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -75,7 +77,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -119,11 +121,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -244,7 +246,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -272,7 +274,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -336,13 +338,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "declare const $: { x: number }" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../user/username/projects/project/app.js Root file specified for compilation ../../../Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -353,12 +355,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -405,7 +407,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -431,7 +433,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -492,7 +494,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -507,7 +509,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js index 59f1737a85e10..40074427973e3 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -54,17 +54,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "\n import * as fs from \"fs\";\n import * as commander from \"commander\";\n import * as component from \"@ember/component\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -85,7 +87,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -149,11 +151,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -266,7 +268,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} PendingInstalls callback:: count: 1 @@ -312,7 +314,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -345,7 +347,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -420,15 +422,15 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/@types/node/index.d.ts Text-1 "export let x: number" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "export let y: string" /home/src/Library/Caches/typescript/node_modules/@types/ember__component/index.d.ts Text-1 "export let x: number" /home/src/projects/project/app.js SVC-1-0 "\n import * as fs from \"fs\";\n import * as commander from \"commander\";\n import * as component from \"@ember/component\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/@types/node/index.d.ts Imported via "fs" from file 'app.js' Root file specified for compilation @@ -445,13 +447,13 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/node/index.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -492,7 +494,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -518,7 +520,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -566,7 +568,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -600,7 +602,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js index 0b184b394417b..50ae4d1cb3d24 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -84,13 +84,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fooo/index.d.ts Text-1 "export var x: string;" /home/src/projects/project/app.js SVC-1-0 "\n import * as a from \"foo/a/a\";\n import * as b from \"foo/a/b\";\n import * as c from \"foo/a/c\";\n import * as x from \"fooo\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fooo/index.d.ts Imported via "fooo" from file 'app.js' app.js @@ -98,6 +98,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -124,7 +126,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -145,7 +147,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -185,7 +187,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -303,7 +305,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -455,7 +457,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/foo/a/a.d.ts Text-1 "export function a (): void;" /home/src/Library/Caches/typescript/node_modules/foo/a/b.d.ts Text-1 "export function b (): void;" /home/src/Library/Caches/typescript/node_modules/foo/a/c.d.ts Text-1 "export function c (): void;" @@ -464,8 +466,8 @@ Info seq [hh:mm:ss:mss] Files (7) /home/src/Library/Caches/typescript/node_modules/foo/index.d.ts Text-1 "export function aa(): void;" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/foo/a/a.d.ts Imported via "foo/a/a" from file 'app.js' ../../Library/Caches/typescript/node_modules/foo/a/b.d.ts @@ -484,7 +486,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/foo/index.d.ts" ], @@ -605,7 +607,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -650,7 +652,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -659,7 +661,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/foo/a/a.d.ts Text-1 "export function a (): void;" /home/src/Library/Caches/typescript/node_modules/foo/a/b.d.ts Text-1 "export function b (): void;" /home/src/Library/Caches/typescript/node_modules/foo/a/c.d.ts Text-1 "export function c (): void;" @@ -667,8 +669,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/projects/project/app.js SVC-1-0 "\n import * as a from \"foo/a/a\";\n import * as b from \"foo/a/b\";\n import * as c from \"foo/a/c\";\n import * as x from \"fooo\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/foo/a/a.d.ts Imported via "foo/a/a" from file 'app.js' ../../Library/Caches/typescript/node_modules/foo/a/b.d.ts @@ -685,7 +687,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -839,7 +841,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -853,7 +855,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/foo/a/a.d.ts Text-1 "export function a (): void;" /home/src/Library/Caches/typescript/node_modules/foo/a/b.d.ts Text-1 "export function b (): void;" /home/src/Library/Caches/typescript/node_modules/foo/a/c.d.ts Text-1 "export function c (): void;" @@ -865,7 +867,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js index 6b8ef72b418ec..7c5a631d7a7cb 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/fooo/index.d.ts Text-1 "export var x: string;" /home/src/projects/project/app.js SVC-1-0 "import * as a from \"foo\";import * as x from \"fooo\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/fooo/index.d.ts Imported via "fooo" from file 'app.js' app.js @@ -94,6 +94,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -120,7 +122,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -141,7 +143,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -181,7 +183,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -299,7 +301,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -441,14 +443,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/foo/index.d.ts Text-1 "export function a(): void;" /home/src/projects/project/node_modules/fooo/index.d.ts Text-1 "export var x: string;" /home/src/projects/project/app.js SVC-1-0 "import * as a from \"foo\";import * as x from \"fooo\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/foo/index.d.ts Imported via "foo" from file 'app.js' Root file specified for compilation @@ -462,7 +464,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/Library/Caches/typescript/node_modules/foo/index.d.ts", "/home/src/projects/project/app.js" ], @@ -581,7 +583,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -614,7 +616,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -623,14 +625,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/foo/index.d.ts Text-1 "export function a(): void;" /home/src/projects/project/node_modules/fooo/index.d.ts Text-1 "export var x: string;" /home/src/projects/project/app.js SVC-1-0 "import * as a from \"foo\";import * as x from \"fooo\";" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/foo/index.d.ts Imported via "foo" from file 'app.js' node_modules/fooo/index.d.ts @@ -643,7 +645,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -751,7 +753,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -804,7 +806,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -818,7 +820,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/foo/index.d.ts Text-1 "export function a(): void;" /home/src/projects/project/node_modules/fooo/index.d.ts Text-1 "export var x: string;" /home/src/projects/project/app.js SVC-1-1 "import * as bar from \"bar\";import * as a from \"foo\";import * as x from \"fooo\";" @@ -828,7 +830,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { diff --git a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js index 26cfd291c5fa5..cbea3a9232286 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots @@ -107,13 +107,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/config.js Text-1 "export let x = 1" /user/username/projects/project/app.js SVC-1-0 "const c = require('./config');" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' config.js Imported via './config' from file 'app.js' Matched by default include pattern '**/*' @@ -122,6 +122,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -130,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -149,7 +151,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -176,7 +178,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/config.js", "/user/username/projects/project/app.js" ], @@ -384,7 +386,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js index 530811bed62b5..09df33a507135 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -46,17 +46,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "var x = 1" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -69,7 +71,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -82,7 +84,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -122,11 +124,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -185,7 +187,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -209,7 +211,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -259,7 +261,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -273,11 +275,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -374,7 +376,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -402,7 +404,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -465,13 +467,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "var x = 1" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "export let x: number" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation ../../Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -482,12 +484,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -532,7 +534,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -558,7 +560,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -629,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/package.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -647,7 +649,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js index 9d740b1072389..107d12edb208d 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -102,17 +102,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -121,7 +123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -136,7 +138,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -191,7 +193,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -361,7 +363,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/package.json: *new* {} @@ -492,13 +494,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Text-1 "declare const $: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -509,7 +511,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -641,7 +643,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/package.json: {} @@ -664,7 +666,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -719,7 +721,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/app.js: *new* {} @@ -743,7 +745,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -796,12 +798,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project2/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -810,7 +812,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project2/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project2/app.js" ], "compilerOptions": { @@ -951,13 +953,13 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts /user/username/projects/project/app.js /home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -1035,7 +1037,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project2/package.json: *new* {} @@ -1081,7 +1083,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /user/username/projects/project/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/project2/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry-lockFile3.js b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry-lockFile3.js index ff2dd9a518a21..395b8b1c4344b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry-lockFile3.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry-lockFile3.js @@ -82,21 +82,23 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/project/jsconfig.json: *new* @@ -105,7 +107,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -118,7 +120,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -155,11 +157,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -214,7 +216,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -242,7 +244,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js index 30bfa6338a1a4..8779ee8bff98e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js @@ -82,21 +82,23 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../projects/project/app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/project/jsconfig.json: *new* @@ -105,7 +107,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -118,7 +120,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -155,11 +157,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -214,7 +216,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -242,7 +244,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js index 69ea1f6de430a..0dffe2e164289 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/lib 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -61,17 +61,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "\n import * as a from \"foo/a/a\";\n import * as b from \"foo/a/b\";\n import * as c from \"foo/a/c\";\n import * as d from \"@bar/router/\";\n import * as e from \"@bar/common/shared\";\n import * as e from \"@bar/common/apps\";\n import * as f from \"./lib\"\n " - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -94,7 +96,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -107,7 +109,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -147,11 +149,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -266,7 +268,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} PendingInstalls callback:: count: 1 @@ -303,7 +305,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -331,7 +333,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js index cfb94f0a3a3c0..dcc95b5527b4b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -50,17 +50,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -73,7 +75,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -86,7 +88,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -126,11 +128,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -236,7 +238,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} PendingInstalls callback:: count: 1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js index 7da0420b4960f..40141c3827e50 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -79,17 +79,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -102,7 +104,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -115,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -146,11 +148,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -256,7 +258,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} PendingInstalls callback:: count: 1 @@ -293,7 +295,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -321,7 +323,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -385,13 +387,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "export let x: number" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation ../../Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -402,12 +404,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -452,7 +454,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -478,7 +480,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -549,7 +551,7 @@ FsWatches:: {} /home/src/projects/project/package.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -568,7 +570,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index b111093dcd1ae..be21514ab7dfd 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -68,13 +68,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/node_modules/commander/index.js Text-1 "module.exports = 0" /user/username/projects/a/b/app.js SVC-1-0 "\n import * as commander from \"commander\";" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../node_modules/commander/index.js Imported via "commander" from file 'app.js' app.js @@ -82,6 +82,8 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/a/b/jsconfig.json: *new* @@ -110,7 +112,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -129,7 +131,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -177,11 +179,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/a/b/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -296,7 +298,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -343,7 +345,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -373,7 +375,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -444,13 +446,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "" /user/username/projects/a/b/app.js SVC-1-0 "\n import * as commander from \"commander\";" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Imported via "commander" from file 'app.js' Root file specified for compilation @@ -462,12 +464,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts", "/user/username/projects/a/b/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -508,7 +510,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -534,7 +536,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -588,7 +590,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -619,7 +621,7 @@ ScriptInfos:: /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts *new* version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js index 909540754bb9f..403973e91e4e3 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Type roots @@ -93,17 +93,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -112,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -127,7 +129,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -193,7 +195,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -386,7 +388,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -416,7 +418,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -549,13 +551,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/zkat__cacache/index.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/zkat__cacache/index.d.ts @@ -570,7 +572,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/zkat__cacache/index.d.ts" ], @@ -674,12 +676,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/app.js SVC-1-0 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Matched by default include pattern '**/*' @@ -692,7 +694,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -796,7 +798,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -831,7 +833,7 @@ ScriptInfos:: /home/src/Library/Caches/typescript/node_modules/@types/zkat__cacache/index.d.ts *new* version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js index 4213cdc39c3ec..0154f195a36e6 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -54,17 +54,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "// @ts-check\n\nconst net = require(\"net\");\nconst stream = require(\"stream\");" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules: *new* @@ -85,7 +87,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -98,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -138,11 +140,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -250,7 +252,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} PendingInstalls callback:: count: 1 @@ -293,7 +295,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -324,7 +326,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -392,13 +394,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/node/index.d.ts Text-1 "\ndeclare module \"net\" {\n export type n = number;\n}\ndeclare module \"stream\" {\n export type s = string;\n}" /home/src/projects/project/app.js SVC-1-0 "// @ts-check\n\nconst net = require(\"net\");\nconst stream = require(\"stream\");" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/node/index.d.ts Imported via "net" from file 'app.js' Imported via "stream" from file 'app.js' @@ -411,12 +413,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/Library/Caches/typescript/node_modules/node/index.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -457,7 +459,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -483,7 +485,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -525,7 +527,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -552,7 +554,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -596,7 +598,7 @@ ScriptInfos:: version: SVC-1-1 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -610,13 +612,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/node/index.d.ts Text-1 "\ndeclare module \"net\" {\n export type n = number;\n}\ndeclare module \"stream\" {\n export type s = string;\n}" /home/src/projects/project/app.js SVC-1-1 "// @ts-check\n\nconst net = require(\"net\");\nconst stream = require(\"s tream\");" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../../Library/Caches/typescript/node_modules/node/index.d.ts Imported via "net" from file 'app.js' app.js @@ -627,11 +629,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -679,7 +681,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -705,7 +707,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -765,7 +767,7 @@ ScriptInfos:: version: SVC-1-1 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -816,7 +818,7 @@ ScriptInfos:: version: SVC-1-2 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -825,7 +827,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/Library/Caches/typescript/node_modules/node/index.d.ts Text-1 "\ndeclare module \"net\" {\n export type n = number;\n}\ndeclare module \"stream\" {\n export type s = string;\n}" /home/src/projects/project/app.js SVC-1-2 "// @ts-check\n\nconst bar = require(\"bar\");const net = require(\"net\");\nconst stream = require(\"s tream\");" @@ -834,11 +836,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -889,7 +891,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -916,7 +918,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js b/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js index 87372d59389ea..b91376d39c8a6 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -50,17 +50,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "let x = 1" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -73,7 +75,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -86,7 +88,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -114,11 +116,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -177,7 +179,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -201,7 +203,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -251,7 +253,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js index 5b733551d14e4..53381d06db963 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -50,17 +50,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -73,7 +75,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -86,7 +88,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -126,11 +128,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -236,7 +238,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} PendingInstalls callback:: count: 1 @@ -273,7 +275,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -301,7 +303,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -365,13 +367,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/app.js SVC-1-0 "" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "export let x: number" - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' app.js Root file specified for compilation ../../Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -382,12 +384,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -432,7 +434,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -458,7 +460,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -529,7 +531,7 @@ FsWatches:: {} /home/src/projects/project/package.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -548,7 +550,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js index 64c55c88e3462..f0aa2f2c71ea5 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project/commander.js' Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test1.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots @@ -95,17 +95,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -114,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -125,7 +127,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -224,7 +226,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -382,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -435,12 +437,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -449,7 +451,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -583,7 +585,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -870,7 +872,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test1.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (6) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "declare const commander: { x: number }" /home/src/Library/Caches/typescript/node_modules/@types/cordova/index.d.ts Text-1 "declare const cordova: { x: number }" @@ -878,8 +880,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/Library/Caches/typescript/node_modules/@types/lodash/index.d.ts Text-1 "declare const lodash: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -896,7 +898,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/cordova/index.d.ts", @@ -1021,14 +1023,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test2.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" /home/src/Library/Caches/typescript/node_modules/@types/grunt/index.d.ts Text-1 "declare const grunt: { x: number }" /home/src/Library/Caches/typescript/node_modules/@types/gulp/index.d.ts Text-1 "declare const gulp: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/grunt/index.d.ts @@ -1041,7 +1043,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/grunt/index.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/gulp/index.d.ts" @@ -1172,7 +1174,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -1212,7 +1214,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 2 /user/username/projects/app/test1.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js index b067063260306..0dfc65ffe90ef 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js @@ -95,7 +95,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project//commander.js Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test.csproj WatchType: Type roots @@ -103,17 +103,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -122,7 +124,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -133,7 +135,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -221,7 +223,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project//lodash.js", "/user/username/projects/project//commander.js" @@ -385,7 +387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -563,7 +565,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (7) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" /home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Text-1 "declare const commander: { x: number }" /home/src/Library/Caches/typescript/node_modules/@types/express/index.d.ts Text-1 "declare const express: { x: number }" @@ -572,8 +574,8 @@ Info seq [hh:mm:ss:mss] Files (7) /home/src/Library/Caches/typescript/node_modules/@types/moment/index.d.ts Text-1 "declare const moment: { x: number }" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -592,7 +594,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/express/index.d.ts", @@ -746,7 +748,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -780,7 +782,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js index e3402c5eef677..a4c2e29a887a7 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project/commander.js' Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test1.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots @@ -91,12 +91,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -183,6 +183,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -191,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -205,7 +207,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -251,12 +253,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../file3.d.ts Root file specified for compilation @@ -265,7 +267,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -357,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -371,7 +373,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -419,7 +421,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -477,7 +479,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -592,7 +594,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -715,7 +717,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -902,7 +904,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -929,7 +931,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -1055,7 +1057,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js index 74a97069bbb1f..a90aadeae01f1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project/commander.js' Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test1.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots @@ -90,12 +90,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -181,6 +181,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -189,7 +191,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -203,7 +205,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -247,12 +249,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -261,7 +263,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -351,7 +353,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -400,12 +402,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test3.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test3.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -414,7 +416,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test3.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -512,7 +514,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/app/test1.csproj @@ -532,7 +534,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -646,7 +648,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -762,7 +764,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -936,7 +938,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -961,7 +963,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -1221,7 +1223,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test3.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -1247,7 +1249,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test3.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js index 4c5497d9d057f..e52d1b2f25d29 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project/commander.js' Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test1.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots @@ -95,12 +95,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -109,7 +109,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -189,6 +189,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -197,7 +199,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -211,7 +213,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -255,12 +257,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -269,7 +271,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -359,7 +361,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -377,7 +379,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -494,7 +496,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -617,7 +619,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -818,7 +820,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -843,7 +845,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js index 91648b0db9bb5..f5119f1610be1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Excluded '/user/username/projects/project/commander.js' Info seq [hh:mm:ss:mss] Creating ExternalProject: /user/username/projects/app/test1.csproj, currentDirectory: /user/username/projects/app Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/app/test1.csproj -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/app/test1.csproj WatchType: Type roots @@ -95,12 +95,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../project/file3.d.ts Root file specified for compilation @@ -109,7 +109,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -189,6 +189,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/app/node_modules/@types: *new* @@ -197,7 +199,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -211,7 +213,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -227,7 +229,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -344,7 +346,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -467,7 +469,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -691,12 +693,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/file3.d.ts Text-1 "" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../file3.d.ts Root file specified for compilation @@ -705,7 +707,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -805,7 +807,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -824,7 +826,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -844,7 +846,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -869,7 +871,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.d.ts", + "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -980,7 +982,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects/project/file3.d.ts: {} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js index 2beb6e4386f63..ca9cabe7e02e4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.csproj Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations @@ -77,14 +77,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts Text-1 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation @@ -146,6 +146,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -162,7 +164,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -183,7 +185,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj @@ -244,7 +246,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -262,7 +264,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js index f8bc01be049ee..05508cf0f2e7d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["node_modules"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.csproj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations @@ -101,14 +101,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts Text-1 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation @@ -170,6 +170,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/bar/package.json: *new* @@ -184,7 +186,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -205,7 +207,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj @@ -264,7 +266,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -282,7 +284,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js index 952d3fb37981b..c42b90fb37c5b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.csproj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations @@ -75,14 +75,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts Text-1 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation @@ -144,6 +144,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/bar/package.json: *new* @@ -158,7 +160,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -179,7 +181,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj @@ -238,7 +240,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} /user/username/projects: {} @@ -256,7 +258,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js index 8f1f736e72bff..43494aedcf07b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/project 1 undefined Config: c:/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/workspaces/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/project/node_modules/@types 1 undefined Project: c:/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/project/node_modules/@types 1 undefined Project: c:/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/node_modules/@types 1 undefined Project: c:/workspaces/project/tsconfig.json WatchType: Type roots @@ -70,13 +70,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/workspaces/project/file1.ts SVC-1-0 "let x = 10;" c:/workspaces/project/file2.ts Text-1 "let y = 10;" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -163,6 +163,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/workspaces/node_modules/@types: *new* @@ -171,7 +173,7 @@ c:/workspaces/project/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/workspaces/project/file2.ts: *new* {} @@ -189,7 +191,7 @@ c:/workspaces/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 c:/workspaces/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js index 052720edb323b..77e6d131187a9 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js @@ -62,17 +62,17 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project 1 unde Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project 1 undefined Config: c:/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/project/file1.ts SVC-1-0 "let x = 10;" c:/project/file2.ts Text-1 "let y = 10;" - ../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -159,9 +159,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/project/file2.ts: *new* {} @@ -179,7 +181,7 @@ c:/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 c:/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js index ffd0da296aa64..7eecc1fa873e4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project 1 undefined Config: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/workspaces/myfolder/allproject/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project/node_modules/@types 1 undefined Project: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/project/node_modules/@types 1 undefined Project: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/workspaces/myfolder/allproject/node_modules/@types 1 undefined Project: c:/workspaces/myfolder/allproject/project/tsconfig.json WatchType: Type roots @@ -74,13 +74,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/workspaces/myfolder/allproject/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/workspaces/myfolder/allproject/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/workspaces/myfolder/allproject/project/file1.ts SVC-1-0 "let x = 10;" c:/workspaces/myfolder/allproject/project/file2.ts Text-1 "let y = 10;" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -167,6 +167,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/workspaces/myfolder/allproject/node_modules/@types: *new* @@ -179,7 +181,7 @@ c:/workspaces/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/workspaces/myfolder/allproject/project/file2.ts: *new* {} @@ -197,7 +199,7 @@ c:/workspaces/myfolder/allproject/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 c:/workspaces/myfolder/allproject/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js index 6707351adc875..0672af855e0f7 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allpr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project 1 undefined Config: c:/myfolder/allproject/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/myfolder/allproject/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/project/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots @@ -72,13 +72,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/myfolder/allproject/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/myfolder/allproject/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/myfolder/allproject/project/file1.ts SVC-1-0 "let x = 10;" c:/myfolder/allproject/project/file2.ts Text-1 "let y = 10;" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' file1.ts Matched by default include pattern '**/*' file2.ts @@ -165,6 +165,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/myfolder/allproject/node_modules/@types: *new* @@ -175,7 +177,7 @@ c:/myfolder/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} c:/myfolder/allproject/project/file2.ts: *new* {} @@ -193,7 +195,7 @@ c:/myfolder/allproject/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 c:/myfolder/allproject/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index 3e2b509e07fdf..2a89865ae17e2 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -89,14 +89,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -124,6 +124,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -148,7 +150,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -168,7 +170,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index 95709e2425a24..0ec559a8a841d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["node_modules"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["node_modules"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -113,14 +113,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -148,6 +148,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -170,7 +172,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -190,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index 807dda980b8da..da99d6375b8cf 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -87,14 +87,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -122,6 +122,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* @@ -144,7 +146,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -164,7 +166,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js index e8d12d112bd08..a31760dbb6e2d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project 1 undefined Config: /Volumes/git/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project 1 undefined Config: /Volumes/git/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots @@ -71,12 +71,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Vo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Volumes/git/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /Volumes/git/projects/project/foo.ts SVC-1-0 "export const foo = \"foo\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.ts Matched by default include pattern '**/*' @@ -162,6 +162,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /Volumes/git/projects/node_modules/@types: *new* @@ -174,7 +176,7 @@ FsWatches:: {} /Volumes/git/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} FsWatchesRecursive:: @@ -192,7 +194,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json @@ -225,13 +227,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Volumes/git/proje Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Volumes/git/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /Volumes/git/projects/project/foo.ts SVC-1-0 "export const foo = \"foo\";" /Volumes/git/projects/project/Bar.ts Text-1 "export const bar = \"bar\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.ts Matched by default include pattern '**/*' Bar.ts @@ -282,7 +284,7 @@ FsWatches:: {} /Volumes/git/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.d.ts: +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} FsWatchesRecursive:: @@ -305,7 +307,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js index 95d0b8e4d8294..613a988370582 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -52,12 +52,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /User/userName/Projects/i/foo.ts SVC-1-0 "import { foo } from \"bar\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.ts Root file specified for compilation @@ -81,6 +81,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /User/userName/Projects/i/jsconfig.json: *new* @@ -101,7 +103,7 @@ FsWatches:: {} /User/userName/Projects/i: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -115,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js index 7807f85104b19..5f18c19371498 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -52,12 +52,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /User/userName/Projects/I/foo.ts SVC-1-0 "import { foo } from \"bar\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.ts Root file specified for compilation @@ -81,6 +81,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /User/userName/Projects/I/jsconfig.json: *new* @@ -101,7 +103,7 @@ FsWatches:: {} /User/userName/Projects/I: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -115,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js index 2a55df09abe3a..47131a81b34e4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -52,12 +52,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /User/userName/Projects/İ/foo.ts SVC-1-0 "import { foo } from \"bar\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' foo.ts Root file specified for compilation @@ -81,6 +81,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /User/userName/Projects/node_modules: *new* @@ -101,7 +103,7 @@ FsWatches:: {} /User/userName/Projects/İ: *new* {} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -115,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js index f7c25578996ce..102b5313305c9 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/works Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 1 undefined Config: /a/username/workspace/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/project/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"file\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -176,6 +176,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 21 + PolledWatches:: /a/username/workspace/node_modules: *new* @@ -198,8 +200,8 @@ FsWatches:: {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":19} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":21} Projects:: /a/username/workspace/project/tsconfig.json (Configured) *new* @@ -216,7 +218,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js index c15ebd58c9397..43267f9f0266e 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots @@ -81,13 +81,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"./\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -175,14 +175,16 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 19 + FsWatches:: /a/username/workspace/project/src/file1.ts: *new* {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":17} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":19} Timeout callback:: count: 1 1: pollPollingIntervalQueue *new* @@ -202,7 +204,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -282,7 +284,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -306,14 +308,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/worksp Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"./\"" /a/username/workspace/project/src/file2.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -359,8 +361,8 @@ FsWatches:: {"inode":118} /a/username/workspace/project/tsconfig.json: {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":17} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":19} Timeout callback:: count: 4 5: *ensureProjectForOpenFiles* *deleted* @@ -391,7 +393,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js index 40e9b32783243..23a49add5c6a3 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots @@ -81,13 +81,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"./\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 19 + PolledWatches:: /a/username/workspace/node_modules/@types: *new* @@ -191,8 +193,8 @@ FsWatches:: {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":17} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":19} Projects:: /a/username/workspace/project/tsconfig.json (Configured) *new* @@ -209,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -280,14 +282,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/worksp Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"./\"" /a/username/workspace/project/src/file2.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -345,8 +347,8 @@ FsWatches:: {"inode":118} /a/username/workspace/project/tsconfig.json: {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":17} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":19} Timeout callback:: count: 0 3: /a/username/workspace/project/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -371,7 +373,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js index 6c63e25acfd7f..3afc71abb4427 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/workspace/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots @@ -81,13 +81,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"./\"" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -175,6 +175,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 19 + PolledWatches:: /a/username/workspace/node_modules/@types: *new* @@ -191,8 +193,8 @@ FsWatches:: {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":17} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":19} Projects:: /a/username/workspace/project/tsconfig.json (Configured) *new* @@ -209,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -287,7 +289,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -299,14 +301,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/worksp Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/workspace/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/workspace/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /a/username/workspace/project/src/file1.ts Text-1 "" /a/username/workspace/project/src/index.ts SVC-1-0 "import {} from \"./\"" /a/username/workspace/project/src/file2.ts Text-1 "" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -335,8 +337,8 @@ FsWatches:: {"inode":118} /a/username/workspace/project/tsconfig.json: {"inode":8} -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":17} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":19} Timeout callback:: count: 1 4: *ensureProjectForOpenFiles* *deleted* @@ -364,7 +366,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js index 1ca0142fc1cc8..19d7b0a19f7e0 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -44,17 +44,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/myprojects/project/x.js SVC-1-0 "const x = 10" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/myprojects/node_modules/@types: *new* @@ -67,7 +69,7 @@ c:/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -76,7 +78,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -108,11 +110,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "c:/home/src/tslibs/TS/Lib/lib.d.ts", + "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "c:/myprojects/project/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -162,7 +164,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -186,7 +188,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -234,7 +236,7 @@ c:/myprojects/project/tsconfig.json: {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -279,24 +281,26 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: //vda1cs4850/myprojects/project/x.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: //vda1cs4850/myprojects/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - //vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + //vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" //vda1cs4850/myprojects/project/x.js SVC-1-0 "" - ../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -305,7 +309,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -337,11 +341,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts", + "//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "//vda1cs4850/myprojects/project/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -387,7 +391,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -411,7 +415,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -488,7 +492,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -496,17 +500,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //v Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - //vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + //vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" //vda1cs4850/c$/myprojects/project/x.js SVC-1-0 "" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: //vda1cs4850/c$/myprojects/node_modules/@types: *new* @@ -519,7 +525,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -532,7 +538,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -560,11 +566,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts", + "//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "//vda1cs4850/c$/myprojects/project/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -614,7 +620,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -638,7 +644,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -686,7 +692,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -733,7 +739,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/users/username/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -741,17 +747,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - c:/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" c:/users/username/myprojects/project/x.js SVC-1-0 "const x = 10" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: c:/users/username/myprojects/node_modules/@types: *new* @@ -764,7 +772,7 @@ c:/users/username/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -773,7 +781,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -805,11 +813,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "c:/home/src/tslibs/TS/Lib/lib.d.ts", + "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "c:/users/username/myprojects/project/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -859,7 +867,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -883,7 +891,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -931,7 +939,7 @@ c:/users/username/myprojects/project/tsconfig.json: {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.d.ts: +c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: @@ -978,7 +986,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -986,17 +994,19 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //v Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) - //vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + //vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" //vda1cs4850/c$/users/username/myprojects/project/x.js SVC-1-0 "" - ../../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' x.js Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +//// [//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: //vda1cs4850/c$/users/username/myprojects/node_modules/@types: *new* @@ -1009,7 +1019,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} Projects:: @@ -1022,7 +1032,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1050,11 +1060,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts", + "//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", "//vda1cs4850/c$/users/username/myprojects/project/x.js" ], "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1104,7 +1114,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1128,7 +1138,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 1, + "target": 11, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1176,7 +1186,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: +//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 86e24b8137987..ed0085a662fef 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somer Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations @@ -83,13 +83,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /wo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /workspaces/somerepo/node_modules/@types/random-seed/index.d.ts Text-1 "export function randomSeed(): string;" /workspaces/somerepo/src/main.ts SVC-1-0 "import { randomSeed } from \"random-seed\";\nrandomSeed();" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' Entry point for implicit type library 'random-seed' @@ -177,6 +177,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 20 + PolledWatches:: /workspaces/somerepo/node_modules/@types/package.json: *new* @@ -193,8 +195,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":18} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":20} /workspaces/somerepo: *new* {"inode":2} /workspaces/somerepo/node_modules: *new* @@ -215,7 +217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /workspaces/somerepo/src/tsconfig.json @@ -371,8 +373,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":20} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/src: @@ -402,7 +404,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /workspaces/somerepo/src/tsconfig.json @@ -454,12 +456,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/p Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /workspaces/somerepo/src/main.ts SVC-1-0 "import { randomSeed } from \"random-seed\";\nrandomSeed();" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' main.ts Matched by default include pattern '**/*' @@ -497,8 +499,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":20} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/src: @@ -686,8 +688,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":20} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/node_modules: *new* @@ -744,13 +746,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/p Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /workspaces/somerepo/node_modules/@types/random-seed/index.d.ts Text-1 "export function randomSeed(): string;" /workspaces/somerepo/src/main.ts SVC-1-0 "import { randomSeed } from \"random-seed\";\nrandomSeed();" - ../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' Entry point for implicit type library 'random-seed' @@ -785,8 +787,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":20} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/node_modules: @@ -815,7 +817,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts version: Text-1 containingProjects: 1 /workspaces/somerepo/src/tsconfig.json @@ -919,8 +921,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: + {"inode":20} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/node_modules: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js index 64c8cb839fb40..ed616e2e50a87 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -75,13 +75,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/tsconfig.json Text-1 "{\n \"compilerOptions\": {\n \"composite\": true,\n \"resolveJsonModule\": true\n }\n}" /user/username/projects/myproject/index.ts SVC-1-0 "import * as tsconfig from \"./tsconfig.json\";" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' tsconfig.json Imported via "./tsconfig.json" from file 'index.ts' index.ts @@ -172,6 +172,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -180,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -198,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js index 12ae8f830fb0e..15c13812fe783 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -99,14 +99,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -195,6 +195,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/bar/package.json: *new* @@ -209,7 +211,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -231,7 +233,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js index 464a3bb09a9f9..9cd4b2b589a3d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["node_modules"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["node_modules"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -125,14 +125,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/node_modules/bar/foo.d.ts Text-1 "export function foo(): string;" /user/username/projects/myproject/node_modules/bar/index.d.ts Text-1 "export { foo } from \"./foo\";" /user/username/projects/myproject/src/main.ts SVC-1-0 "import { foo } from \"bar\"; foo();" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -221,6 +221,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/myproject/node_modules/bar/package.json: *new* @@ -235,7 +237,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects: *new* {} @@ -257,7 +259,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js index e15c871884983..50429f59bbb85 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"fallbackPolling":1} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"fallbackPolling":1} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -95,13 +95,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -188,9 +188,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -210,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js index 061b2ec7e9bb5..7ec9208b7e494 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"fallbackPolling":1} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"fallbackPolling":1} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"fallbackPolling":1} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -102,13 +102,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -195,9 +195,11 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + PolledWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -217,7 +219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js index 315f7ba70ceb7..703e51d72d7db 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchDirectory":0} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"watchDirectory":0} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"watchDirectory":0} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"watchDirectory":0} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -95,13 +95,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -196,8 +198,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":18} /user/username/projects/project: *new* {"inode":4} /user/username/projects/project/commonFile2.ts: *new* @@ -212,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js index 1cb9228563ab2..fcda95115b80e 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchDirectory":0} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchDirectory":0} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -173,6 +173,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -181,8 +183,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* - {"inode":16} +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* + {"inode":18} /user/username/projects/project: *new* {"inode":4} /user/username/projects/project/commonFile2.ts: *new* @@ -197,7 +199,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js index 53472d37097dd..d3e18012dad2f 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchFile":4} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 {"watchFile":4} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"watchFile":4} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 {"watchFile":4} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -95,13 +95,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -188,6 +188,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -196,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -214,7 +216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js index acacfb677d32b..98737a7928384 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 {"watchFile":4} Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -80,13 +80,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/commonFile1.ts SVC-1-0 "let x = 1" /user/username/projects/project/commonFile2.ts Text-1 "let y = 1" - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' + ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + Default library for target 'es2024' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -173,6 +173,8 @@ Info seq [hh:mm:ss:mss] response: } } After request +//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* + PolledWatches:: /user/username/projects/node_modules/@types: *new* @@ -181,7 +183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -199,7 +201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/underscoreThisInDerivedClass01.js b/tests/baselines/reference/underscoreThisInDerivedClass01.js index 70d93dae0b4d3..ad30f6fd88721 100644 --- a/tests/baselines/reference/underscoreThisInDerivedClass01.js +++ b/tests/baselines/reference/underscoreThisInDerivedClass01.js @@ -29,21 +29,6 @@ class D extends C { //// [underscoreThisInDerivedClass01.js] // @target es5 -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); // Original test intent: // When arrow functions capture 'this', the lexical 'this' owner // currently captures 'this' using a variable named '_this'. @@ -52,21 +37,16 @@ var __extends = (this && this.__extends) || (function () { // Constructors have adopted the same identifier name ('_this') // for capturing any potential return values from super calls, // so we expect the same behavior. -var C = /** @class */ (function () { - function C() { +class C { + constructor() { return {}; } - return C; -}()); -var D = /** @class */ (function (_super) { - __extends(D, _super); - function D() { - var _this_1 = this; +} +class D extends C { + constructor() { var _this = "uh-oh?"; console.log("ruh-roh..."); - _this_1 = _super.call(this) || this; + super(); console.log("d'oh!"); - return _this_1; } - return D; -}(C)); +} diff --git a/tests/baselines/reference/underscoreThisInDerivedClass02.js b/tests/baselines/reference/underscoreThisInDerivedClass02.js index 058bf49d118bd..cfd6ea2e4bc53 100644 --- a/tests/baselines/reference/underscoreThisInDerivedClass02.js +++ b/tests/baselines/reference/underscoreThisInDerivedClass02.js @@ -22,36 +22,17 @@ class D extends C { //// [underscoreThisInDerivedClass02.js] // @target es5 -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); // Original test intent: // Errors on '_this' should be reported in derived constructors, // even if 'super()' is not called. -var C = /** @class */ (function () { - function C() { +class C { + constructor() { return {}; } - return C; -}()); -var D = /** @class */ (function (_super) { - __extends(D, _super); - function D() { - var _this_1 = _super.call(this) || this; +} +class D extends C { + constructor() { + super(); var _this = "uh-oh?"; - return _this_1; } - return D; -}(C)); +} From e73a7502e0489edcf23eab604180fec239b50a97 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:51:51 -0800 Subject: [PATCH 10/11] Deprecate ES5 --- src/compiler/commandLineParser.ts | 2 +- src/compiler/program.ts | 3 +++ src/compiler/types.ts | 1 + src/server/protocol.ts | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 2887d7ef723bc..88b341409d1d1 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -579,7 +579,7 @@ export const targetOptionDeclaration: CommandLineOptionOfCustomType = { affectsModuleResolution: true, affectsEmit: true, affectsBuildInfo: true, - deprecatedKeys: new Set(["es3"]), + deprecatedKeys: new Set(["es3", "es5"]), paramType: Diagnostics.VERSION, showInSimplifiedHelpView: true, category: Diagnostics.Language_and_Environment, diff --git a/src/compiler/program.ts b/src/compiler/program.ts index e56c0353cd3bc..b0314dc12e53a 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -4526,6 +4526,9 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro }); checkDeprecations("6.0", "7.0", createDiagnostic, createDeprecatedDiagnostic => { + if (options.target === ScriptTarget.ES5) { + createDeprecatedDiagnostic("target", "ES5"); + } if (options.moduleResolution === ModuleResolutionKind.Node10) { createDeprecatedDiagnostic("moduleResolution", "node10", /*useInstead*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information); } diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 96ff5353f7fad..5771c66d70fc4 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -7659,6 +7659,7 @@ export const enum ScriptKind { export const enum ScriptTarget { /** @deprecated */ ES3 = 0, + /** @deprecated */ ES5 = 1, ES2015 = 2, ES2016 = 3, diff --git a/src/server/protocol.ts b/src/server/protocol.ts index ec43dbc04c243..63103e2f4e41a 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -3284,6 +3284,7 @@ export const enum NewLineKind { export const enum ScriptTarget { /** @deprecated */ ES3 = "es3", + /** @deprecated */ ES5 = "es5", ES6 = "es6", ES2015 = "es2015", From d912f0efc109c15571af73240d840d4eafaf6d8a Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Jan 2026 19:05:06 -0800 Subject: [PATCH 11/11] Accept obviously correct baselines --- ...ES3For-ofTypeCheck1(target=es5).errors.txt | 6 + ...ES3For-ofTypeCheck2(target=es5).errors.txt | 6 + ...ES3For-ofTypeCheck4(target=es5).errors.txt | 7 + ...ES3For-ofTypeCheck6(target=es5).errors.txt | 7 + .../ES5For-of1(target=es5).errors.txt | 8 + .../ES5For-of10(target=es5).errors.txt | 12 + .../ES5For-of11(target=es5).errors.txt | 7 + .../reference/ES5For-of11(target=es5).types | 2 + .../ES5For-of12(target=es5).errors.txt | 2 + .../ES5For-of13(target=es5).errors.txt | 8 + .../ES5For-of14(target=es5).errors.txt | 8 + .../reference/ES5For-of14(target=es5).types | 3 + .../ES5For-of15(target=es5).errors.txt | 11 + .../reference/ES5For-of15(target=es5).types | 5 + .../ES5For-of16(target=es5).errors.txt | 12 + .../reference/ES5For-of16(target=es5).types | 6 + .../ES5For-of17(target=es5).errors.txt | 2 + .../ES5For-of18(target=es5).errors.txt | 12 + .../reference/ES5For-of18(target=es5).types | 4 + .../ES5For-of19(target=es5).errors.txt | 14 + .../reference/ES5For-of19(target=es5).types | 4 + .../ES5For-of2(target=es5).errors.txt | 8 + .../reference/ES5For-of2(target=es5).types | 3 + .../ES5For-of20(target=es5).errors.txt | 2 + .../ES5For-of21(target=es5).errors.txt | 8 + .../reference/ES5For-of21(target=es5).types | 2 + .../ES5For-of22(target=es5).errors.txt | 9 + .../ES5For-of23(target=es5).errors.txt | 9 + .../ES5For-of24(target=es5).errors.txt | 9 + .../ES5For-of25(target=es5).errors.txt | 10 + .../ES5For-of26(target=es5).errors.txt | 2 + .../ES5For-of27(target=es5).errors.txt | 2 + .../ES5For-of28(target=es5).errors.txt | 2 + .../ES5For-of29(target=es5).errors.txt | 2 + .../ES5For-of3(target=es5).errors.txt | 7 + .../ES5For-of30(target=es5).errors.txt | 2 + .../ES5For-of31(target=es5).errors.txt | 2 + .../ES5For-of33(target=es5).errors.txt | 8 + .../ES5For-of34(target=es5).errors.txt | 2 + .../ES5For-of35(target=es5).errors.txt | 2 + .../ES5For-of36(target=es5).errors.txt | 2 + .../ES5For-of37(target=es5).errors.txt | 20 + .../reference/ES5For-of37(target=es5).types | 2 + .../ES5For-of4(target=es5).errors.txt | 8 + .../reference/ES5For-of4(target=es5).types | 5 + .../ES5For-of5(target=es5).errors.txt | 8 + .../reference/ES5For-of5(target=es5).types | 3 + .../ES5For-of6(target=es5).errors.txt | 10 + .../reference/ES5For-of6(target=es5).types | 4 + .../ES5For-of7(target=es5).errors.txt | 2 + .../ES5For-of8(target=es5).errors.txt | 2 + .../ES5For-of9(target=es5).errors.txt | 13 + ...ES5For-ofTypeCheck1(target=es5).errors.txt | 6 + ...S5For-ofTypeCheck10(target=es5).errors.txt | 2 + ...S5For-ofTypeCheck11(target=es5).errors.txt | 2 + ...S5For-ofTypeCheck12(target=es5).errors.txt | 2 + ...S5For-ofTypeCheck13(target=es5).errors.txt | 2 + ...S5For-ofTypeCheck14(target=es5).errors.txt | 2 + ...ES5For-ofTypeCheck2(target=es5).errors.txt | 6 + ...ES5For-ofTypeCheck3(target=es5).errors.txt | 7 + ...ES5For-ofTypeCheck4(target=es5).errors.txt | 7 + ...ES5For-ofTypeCheck5(target=es5).errors.txt | 7 + ...ES5For-ofTypeCheck6(target=es5).errors.txt | 7 + ...ES5For-ofTypeCheck7(target=es5).errors.txt | 2 + ...ES5For-ofTypeCheck8(target=es5).errors.txt | 2 + ...ES5For-ofTypeCheck9(target=es5).errors.txt | 2 + .../ES5SymbolProperty1(target=es5).errors.txt | 15 + .../ES5SymbolProperty2(target=es5).errors.txt | 15 + .../ES5SymbolProperty2(target=es5).types | 6 +- .../ES5SymbolProperty3(target=es5).errors.txt | 2 + .../ES5SymbolProperty4(target=es5).errors.txt | 2 + .../ES5SymbolProperty5(target=es5).errors.txt | 2 + .../ES5SymbolProperty6(target=es5).errors.txt | 10 + .../ES5SymbolProperty7(target=es5).errors.txt | 2 + .../ES5SymbolType1(target=es5).errors.txt | 7 + .../ES5for-of32(target=es5).errors.txt | 15 + ...tractPropertyBasics(target=es5).errors.txt | 26 + ...actPropertyNegative(target=es5).errors.txt | 2 + ...essibilityModifiers(target=es5).errors.txt | 2 + ...entalCallDiagnostic(target=es5).errors.txt | 2 + ...InAmbientContextES5(target=es5).errors.txt | 2 + ...cessibilityModifier(target=es5).errors.txt | 2 + .../accessorWithES5(target=es5).errors.txt | 23 + .../accessorWithES5(target=es5).types | 4 + ...ssorWithInitializer(target=es5).errors.txt | 2 + ...rWithLineTerminator(target=es5).errors.txt | 12 + ...essibilityModifiers(target=es5).errors.txt | 36 + ...cessorWithRestParam(target=es5).errors.txt | 2 + ...ccessorWithoutBody1(target=es5).errors.txt | 2 + ...ccessorWithoutBody2(target=es5).errors.txt | 2 + ...orsInAmbientContext(target=es5).errors.txt | 2 + ...rsOverrideProperty7(target=es5).errors.txt | 2 + ...eInAccessorsOfClass(target=es5).errors.txt | 30 + ...alwaysStrictModule6(target=es5).errors.txt | 7 + .../ambientAccessors(target=es5).errors.txt | 19 + .../ambientGetters(target=es5).errors.txt | 2 + tests/baselines/reference/api/typescript.d.ts | 2 + ...bjectIterator01_ES5(target=es5).errors.txt | 2 + ...bjectIterator02_ES5(target=es5).errors.txt | 2 + ...bjectIterator03_ES5(target=es5).errors.txt | 2 + ...SpreadRestIterables(target=es5).errors.txt | 2 + ...SpreadImportHelpers(target=es5).errors.txt | 2 + ...ayToLocaleStringES5(target=es5).errors.txt | 61 + ...terNameAsync_es2017(target=es5).errors.txt | 6 + ...arameterNameAsync_es2017(target=es5).types | 2 + ...ameterNameAsync_es5(target=es5).errors.txt | 6 + ...thParameterNameAsync_es5(target=es5).types | 2 + ...ameterNameAsync_es6(target=es5).errors.txt | 6 + ...thParameterNameAsync_es6(target=es5).types | 2 + ...BufferToArrayBuffer(target=es5).errors.txt | 2 + ...AliasReturnType_es5(target=es5).errors.txt | 2 + ...ArrowFunction10_es5(target=es5).errors.txt | 2 + ...ArrowFunction11_es5(target=es5).errors.txt | 12 + ...cArrowFunction1_es5(target=es5).errors.txt | 7 + ...cArrowFunction2_es5(target=es5).errors.txt | 7 + .../asyncArrowFunction2_es5(target=es5).types | 1 + ...cArrowFunction3_es5(target=es5).errors.txt | 2 + ...cArrowFunction4_es5(target=es5).errors.txt | 7 + ...cArrowFunction5_es5(target=es5).errors.txt | 2 + ...cArrowFunction6_es5(target=es5).errors.txt | 2 + ...cArrowFunction7_es5(target=es5).errors.txt | 2 + ...cArrowFunction8_es5(target=es5).errors.txt | 2 + ...cArrowFunction9_es5(target=es5).errors.txt | 2 + ...pturesArguments_es5(target=es5).errors.txt | 2 + ...ionCapturesThis_es5(target=es5).errors.txt | 11 + ...syncArrowInClassES5(target=es5).errors.txt | 12 + ...IsolatedModules_es5(target=es5).errors.txt | 2 + ...itNestedClasses_es5(target=es5).errors.txt | 20 + ...pturedBlockScopeVar(target=es5).errors.txt | 40 + .../asyncAwait_es5(target=es5).errors.txt | 51 + .../asyncClass_es5(target=es5).errors.txt | 2 + ...syncConstructor_es5(target=es5).errors.txt | 2 + .../asyncDeclare_es5(target=es5).errors.txt | 2 + .../asyncEnum_es5(target=es5).errors.txt | 2 + ...onDeclaration10_es5(target=es5).errors.txt | 2 + ...onDeclaration11_es5(target=es5).errors.txt | 7 + ...onDeclaration12_es5(target=es5).errors.txt | 2 + ...onDeclaration13_es5(target=es5).errors.txt | 2 + ...onDeclaration14_es5(target=es5).errors.txt | 8 + ...onDeclaration15_es5(target=es5).errors.txt | 2 + ...onDeclaration16_es5(target=es5).errors.txt | 2 + ...ionDeclaration1_es5(target=es5).errors.txt | 7 + ...ionDeclaration2_es5(target=es5).errors.txt | 7 + ...FunctionDeclaration2_es5(target=es5).types | 1 + ...ionDeclaration3_es5(target=es5).errors.txt | 2 + ...ionDeclaration4_es5(target=es5).errors.txt | 7 + ...ionDeclaration5_es5(target=es5).errors.txt | 2 + ...ionDeclaration6_es5(target=es5).errors.txt | 2 + ...ionDeclaration7_es5(target=es5).errors.txt | 2 + ...ionDeclaration8_es5(target=es5).errors.txt | 2 + ...ionDeclaration9_es5(target=es5).errors.txt | 2 + ...pturesArguments_es5(target=es5).errors.txt | 2 + ...TempVariableScoping(target=es5).errors.txt | 8 + ...ctionTempVariableScoping(target=es5).types | 4 + .../asyncGetter_es5(target=es5).errors.txt | 2 + ...ImportedPromise_es5(target=es5).errors.txt | 12 + .../asyncInterface_es5(target=es5).errors.txt | 2 + ...MethodWithSuper_es5(target=es5).errors.txt | 60 + .../asyncModule_es5(target=es5).errors.txt | 2 + .../asyncMultiFile_es5(target=es5).errors.txt | 8 + ...ifiedReturnType_es5(target=es5).errors.txt | 12 + .../asyncSetter_es5(target=es5).errors.txt | 2 + ...edArrowFunction_es5(target=es5).errors.txt | 8 + ...hesizedArrowFunction_es5(target=es5).types | 5 + .../asyncUseStrict_es5(target=es5).errors.txt | 11 + .../autoAccessor1(target=es5).errors.txt | 2 + .../reference/autoAccessor1(target=es5).js | 61 - .../autoAccessor3(target=es5).errors.txt | 2 + .../reference/autoAccessor3(target=es5).js | 61 - .../autoAccessor4(target=es5).errors.txt | 2 + .../reference/autoAccessor4(target=es5).js | 61 - .../autoAccessor5(target=es5).errors.txt | 2 + ...naryExpression1_es5(target=es5).errors.txt | 14 + ...naryExpression2_es5(target=es5).errors.txt | 14 + ...naryExpression3_es5(target=es5).errors.txt | 14 + ...naryExpression4_es5(target=es5).errors.txt | 14 + ...naryExpression5_es5(target=es5).errors.txt | 15 + ...CallExpression1_es5(target=es5).errors.txt | 18 + ...CallExpression2_es5(target=es5).errors.txt | 18 + ...CallExpression3_es5(target=es5).errors.txt | 18 + ...CallExpression4_es5(target=es5).errors.txt | 18 + ...CallExpression5_es5(target=es5).errors.txt | 18 + ...CallExpression6_es5(target=es5).errors.txt | 18 + ...CallExpression7_es5(target=es5).errors.txt | 18 + ...CallExpression8_es5(target=es5).errors.txt | 18 + ...ClassExpression_es5(target=es5).errors.txt | 12 + .../awaitUnion_es5(target=es5).errors.txt | 17 + ...UsingDeclarations.1(target=es5).errors.txt | 2 + ...UsingDeclarations.2(target=es5).errors.txt | 2 + ...UsingDeclarations.3(target=es5).errors.txt | 2 + ...ngDeclarationsInFor(target=es5).errors.txt | 12 + ...rationsInForAwaitOf(target=es5).errors.txt | 9 + ...tionsInForAwaitOf.3(target=es5).errors.txt | 2 + ...clarationsInForOf.1(target=es5).errors.txt | 10 + ...clarationsInForOf.5(target=es5).errors.txt | 2 + ...igintAmbientMinimal(target=es5).errors.txt | 2 + .../bigintWithoutLib(target=es5).errors.txt | 2 + ...inaryIntegerLiteral(target=es5).errors.txt | 47 + .../binaryIntegerLiteral(target=es5).types | 9 +- ...nDownlevelGenerator(target=es5).errors.txt | 11 + ...ingsInDownlevelGenerator(target=es5).types | 1 + ...riablesUseBeforeDef(target=es5).errors.txt | 2 + ...Def_isolatedModules(target=es5).errors.txt | 2 + ...eBeforeDef_preserve(target=es5).errors.txt | 2 + ...erbatimModuleSyntax(target=es5).errors.txt | 2 + ...ctionDeclarationES5(target=es5).errors.txt | 10 + ...rationInStrictClass(target=es5).errors.txt | 2 + ...eclarationStrictES5(target=es5).errors.txt | 2 + ...espaceDifferentFile(target=es5).errors.txt | 2 + ...ctionDeclarationES5(target=es5).errors.txt | 2 + ...eclarationStrictES5(target=es5).errors.txt | 2 + ...riablesUseBeforeDef(target=es5).errors.txt | 2 + .../callChainWithSuper(target=es5).errors.txt | 11 + ...redLetConstInLoop14(target=es5).errors.txt | 2 + ...tersInInitializers2(target=es5).errors.txt | 2 + ...tyAssignmentNoCheck(target=es5).errors.txt | 12 + ...ropertyAssignmentNoCheck(target=es5).types | 3 + .../capturedVarInLoop(target=es5).errors.txt | 10 + .../capturedVarInLoop(target=es5).types | 1 + ...kForObjectTooStrict(target=es5).errors.txt | 2 + ...ectLiteralAccessors(target=es5).errors.txt | 18 + ...assAbstractAccessor(target=es5).errors.txt | 2 + ...thStaticProperties2(target=es5).errors.txt | 13 + ...ionWithStaticProperties2(target=es5).types | 1 + ...thStaticProperties3(target=es5).errors.txt | 14 + ...ionWithStaticProperties3(target=es5).types | 3 + ...sExtendsAcrossFiles(target=es5).errors.txt | 22 + ...sInConvertedLoopES5(target=es5).errors.txt | 14 + .../classStaticBlock1(target=es5).errors.txt | 15 + .../classStaticBlock10(target=es5).errors.txt | 33 + .../classStaticBlock18(target=es5).errors.txt | 19 + .../classStaticBlock2(target=es5).errors.txt | 24 + .../classStaticBlock5(target=es5).errors.txt | 2 + .../classStaticBlock6(target=es5).errors.txt | 2 + .../classStaticBlock9(target=es5).errors.txt | 2 + ...taticPropertyAccess(target=es5).errors.txt | 2 + ...icPropertyTypeGuard(target=es5).errors.txt | 17 + ...nitializedVariables(target=es5).errors.txt | 2 + ...uivalentToInterface(target=es5).errors.txt | 30 + ...ivalentToInterface2(target=es5).errors.txt | 32 + ...meterBindingPattern(target=es5).errors.txt | 7 + ...terBindingPattern.2(target=es5).errors.txt | 2 + ...arameterInitializer(target=es5).errors.txt | 7 + ...ameterInitializer.2(target=es5).errors.txt | 2 + .../classdecl(target=es5).errors.txt | 98 + .../reference/classdecl(target=es5).types | 16 + ...mentsArrowFunctions(target=es5).errors.txt | 2 + ...ntsClassConstructor(target=es5).errors.txt | 2 + ...rgumentsClassMethod(target=es5).errors.txt | 2 + ...onArgumentsFunction(target=es5).errors.txt | 2 + ...FunctionExpressions(target=es5).errors.txt | 2 + ...FunctionInAccessors(target=es5).errors.txt | 44 + ...LocalVarInAccessors(target=es5).errors.txt | 37 + ...onSuperAndParameter(target=es5).errors.txt | 67 + ...llisionSuperAndParameter(target=es5).types | 7 + ...LocalVarInAccessors(target=es5).errors.txt | 48 + ...onAndLocalVarInAccessors(target=es5).types | 12 + .../commentsClass(target=es5).errors.txt | 77 + ...ommentsClassMembers(target=es5).errors.txt | 222 + ...mentsCommentParsing(target=es5).errors.txt | 158 + .../commentsCommentParsing(target=es5).types | 5 + ...ntsDottedModuleName(target=es5).errors.txt | 2 + .../commentsEnums(target=es5).errors.txt | 16 + ...entsExternalModules(target=es5).errors.txt | 2 + ...ntsExternalModules2(target=es5).errors.txt | 2 + ...ntsExternalModules3(target=es5).errors.txt | 63 + .../commentsFormatting(target=es5).errors.txt | 90 + .../commentsFunction(target=es5).errors.txt | 59 + ...commentsInheritance(target=es5).errors.txt | 155 + .../commentsInterface(target=es5).errors.txt | 74 + .../commentsInterface(target=es5).types | 17 + .../commentsModules(target=es5).errors.txt | 102 + ...ultiModuleMultiFile(target=es5).errors.txt | 2 + ...ltiModuleSingleFile(target=es5).errors.txt | 28 + ...ntsOnObjectLiteral3(target=es5).errors.txt | 23 + ...commentsOnObjectLiteral3(target=es5).types | 7 + ...ntsOnObjectLiteral4(target=es5).errors.txt | 14 + ...ntsOnObjectLiteral5(target=es5).errors.txt | 12 + ...sOnRequireStatement(target=es5).errors.txt | 19 + .../commentsOverloads(target=es5).errors.txt | 179 + .../commentsOverloads(target=es5).types | 15 + .../commentsVarDecl(target=es5).errors.txt | 47 + ...tsdoNotEmitComments(target=es5).errors.txt | 97 + ...ommentsdoNotEmitComments(target=es5).types | 4 + ...ommentsemitComments(target=es5).errors.txt | 92 + .../commentsemitComments(target=es5).types | 4 + ...ypeDeclarationError(target=es5).errors.txt | 2 + .../commonjsSafeImport(target=es5).errors.txt | 12 + ...xClassRelationships(target=es5).errors.txt | 2 + .../complicatedPrivacy(target=es5).errors.txt | 2 + ...PropertyNames10_ES5(target=es5).errors.txt | 21 + ...putedPropertyNames10_ES5(target=es5).types | 4 + ...PropertyNames11_ES5(target=es5).errors.txt | 21 + ...putedPropertyNames11_ES5(target=es5).types | 14 + ...PropertyNames12_ES5(target=es5).errors.txt | 2 + ...PropertyNames13_ES5(target=es5).errors.txt | 21 + ...putedPropertyNames13_ES5(target=es5).types | 4 + ...PropertyNames14_ES5(target=es5).errors.txt | 2 + ...PropertyNames15_ES5(target=es5).errors.txt | 2 + ...PropertyNames16_ES5(target=es5).errors.txt | 21 + ...putedPropertyNames16_ES5(target=es5).types | 14 + ...PropertyNames17_ES5(target=es5).errors.txt | 2 + ...PropertyNames18_ES5(target=es5).errors.txt | 10 + ...putedPropertyNames18_ES5(target=es5).types | 1 + ...PropertyNames19_ES5(target=es5).errors.txt | 2 + ...dPropertyNames1_ES5(target=es5).errors.txt | 9 + ...PropertyNames20_ES5(target=es5).errors.txt | 8 + ...putedPropertyNames20_ES5(target=es5).types | 1 + ...PropertyNames21_ES5(target=es5).errors.txt | 2 + ...PropertyNames22_ES5(target=es5).errors.txt | 13 + ...PropertyNames23_ES5(target=es5).errors.txt | 2 + ...PropertyNames24_ES5(target=es5).errors.txt | 2 + ...PropertyNames25_ES5(target=es5).errors.txt | 18 + ...PropertyNames26_ES5(target=es5).errors.txt | 2 + ...PropertyNames27_ES5(target=es5).errors.txt | 2 + ...PropertyNames28_ES5(target=es5).errors.txt | 15 + ...PropertyNames29_ES5(target=es5).errors.txt | 15 + ...dPropertyNames2_ES5(target=es5).errors.txt | 2 + ...PropertyNames30_ES5(target=es5).errors.txt | 2 + ...PropertyNames31_ES5(target=es5).errors.txt | 20 + ...PropertyNames32_ES5(target=es5).errors.txt | 2 + ...PropertyNames33_ES5(target=es5).errors.txt | 14 + ...PropertyNames34_ES5(target=es5).errors.txt | 2 + ...PropertyNames35_ES5(target=es5).errors.txt | 2 + ...PropertyNames36_ES5(target=es5).errors.txt | 2 + ...PropertyNames37_ES5(target=es5).errors.txt | 15 + ...putedPropertyNames37_ES5(target=es5).types | 3 + ...PropertyNames38_ES5(target=es5).errors.txt | 2 + ...PropertyNames39_ES5(target=es5).errors.txt | 2 + ...dPropertyNames3_ES5(target=es5).errors.txt | 2 + ...PropertyNames40_ES5(target=es5).errors.txt | 2 + ...PropertyNames41_ES5(target=es5).errors.txt | 14 + ...putedPropertyNames41_ES5(target=es5).types | 3 + ...PropertyNames42_ES5(target=es5).errors.txt | 2 + ...PropertyNames43_ES5(target=es5).errors.txt | 2 + ...PropertyNames44_ES5(target=es5).errors.txt | 2 + ...PropertyNames45_ES5(target=es5).errors.txt | 2 + ...PropertyNames46_ES5(target=es5).errors.txt | 2 + ...PropertyNames47_ES5(target=es5).errors.txt | 10 + ...PropertyNames48_ES5(target=es5).errors.txt | 2 + ...dPropertyNames4_ES5(target=es5).errors.txt | 21 + ...mputedPropertyNames4_ES5(target=es5).types | 4 + ...utedPropertyNames52(target=es5).errors.txt | 2 + ...dPropertyNames5_ES5(target=es5).errors.txt | 2 + ...dPropertyNames6_ES5(target=es5).errors.txt | 2 + ...dPropertyNames7_ES5(target=es5).errors.txt | 11 + ...dPropertyNames8_ES5(target=es5).errors.txt | 2 + ...dPropertyNames9_ES5(target=es5).errors.txt | 2 + ...ontextualType10_ES5(target=es5).errors.txt | 2 + ...ContextualType1_ES5(target=es5).errors.txt | 14 + ...NamesContextualType1_ES5(target=es5).types | 1 + ...ContextualType2_ES5(target=es5).errors.txt | 14 + ...NamesContextualType2_ES5(target=es5).types | 1 + ...ContextualType3_ES5(target=es5).errors.txt | 13 + ...ContextualType4_ES5(target=es5).errors.txt | 14 + ...ContextualType5_ES5(target=es5).errors.txt | 14 + ...ContextualType6_ES5(target=es5).errors.txt | 18 + ...ContextualType7_ES5(target=es5).errors.txt | 24 + ...ContextualType8_ES5(target=es5).errors.txt | 2 + ...ContextualType9_ES5(target=es5).errors.txt | 2 + ...eclarationEmit1_ES5(target=es5).errors.txt | 10 + ...amesDeclarationEmit1_ES5(target=es5).types | 2 + ...eclarationEmit2_ES5(target=es5).errors.txt | 10 + ...amesDeclarationEmit2_ES5(target=es5).types | 2 + ...eclarationEmit3_ES5(target=es5).errors.txt | 2 + ...eclarationEmit4_ES5(target=es5).errors.txt | 2 + ...eclarationEmit5_ES5(target=es5).errors.txt | 11 + ...amesDeclarationEmit5_ES5(target=es5).types | 2 + ...eclarationEmit6_ES5(target=es5).errors.txt | 2 + ...amesOnOverloads_ES5(target=es5).errors.txt | 12 + ...NamesSourceMap1_ES5(target=es5).errors.txt | 13 + ...NamesSourceMap2_ES5(target=es5).errors.txt | 13 + ...ShouldBeTransformed(target=es5).errors.txt | 6 + ...InES5ShouldBeTransformed(target=es5).types | 1 + .../Parse empty options of --target.js | 2 +- ...arget to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ...invalid strings with jsonSourceFile api.js | 2 +- ...nstDeclarations-es5(target=es5).errors.txt | 9 + .../constDeclarations-es5(target=es5).types | 1 + ...uperAndPrologue.es5(target=es5).errors.txt | 22 + ...kingDoesntBlowStack(target=es5).errors.txt | 27 + ...echeckingDoesntBlowStack(target=es5).types | 20 + ...lockScopedBindings1(target=es5).errors.txt | 17 + ...FromObjectProperty1(target=es5).errors.txt | 245 + ...ctionFromObjectProperty1(target=es5).types | 79 + ...FromObjectProperty2(target=es5).errors.txt | 244 + .../declFileAccessors(target=es5).errors.txt | 103 + ...lFileCallSignatures(target=es5).errors.txt | 67 + ...ileClassExtendsNull(target=es5).errors.txt | 7 + ...ConstructSignatures(target=es5).errors.txt | 67 + ...eclFileConstructors(target=es5).errors.txt | 99 + .../declFileConstructors(target=es5).types | 2 + .../declFileFunctions(target=es5).errors.txt | 79 + .../declFileFunctions(target=es5).types | 14 + ...FileIndexSignatures(target=es5).errors.txt | 37 + .../declFileMethods(target=es5).errors.txt | 192 + .../declFileMethods(target=es5).types | 16 + ...iteralWithAccessors(target=es5).errors.txt | 15 + ...jectLiteralWithAccessors(target=es5).types | 1 + ...teralWithOnlyGetter(target=es5).errors.txt | 13 + ...teralWithOnlySetter(target=es5).errors.txt | 13 + ...ectLiteralWithOnlySetter(target=es5).types | 1 + ...clFilePrivateStatic(target=es5).errors.txt | 18 + .../declFilePrivateStatic(target=es5).types | 4 + ...AnnotationArrayType(target=es5).errors.txt | 55 + ...notationBuiltInType(target=es5).errors.txt | 44 + ...AnnotationParenType(target=es5).errors.txt | 2 + ...tationStringLiteral(target=es5).errors.txt | 15 + ...AnnotationTupleType(target=es5).errors.txt | 22 + ...AnnotationTypeAlias(target=es5).errors.txt | 35 + ...notationTypeLiteral(target=es5).errors.txt | 43 + ...AnnotationTypeQuery(target=es5).errors.txt | 47 + ...tationTypeReference(target=es5).errors.txt | 47 + ...AnnotationUnionType(target=es5).errors.txt | 26 + ...ilityErrorAccessors(target=es5).errors.txt | 104 + ...ParameterOfFunction(target=es5).errors.txt | 49 + ...eturnTypeOfFunction(target=es5).errors.txt | 61 + ...ilityErrorTypeAlias(target=es5).errors.txt | 45 + ...ityErrorTypeLiteral(target=es5).errors.txt | 38 + ...VariableDeclaration(target=es5).errors.txt | 37 + ...sMemberNameConflict(target=es5).errors.txt | 40 + ...tClassMemberNameConflict(target=es5).types | 3 + ...MemberNameConflict2(target=es5).errors.txt | 25 + ...sPrivateConstructor(target=es5).errors.txt | 23 + ...PrivateConstructor2(target=es5).errors.txt | 16 + ...mitDetachedComment1(target=es5).errors.txt | 34 + ...mitDetachedComment2(target=es5).errors.txt | 34 + ...mitExportAssignment(target=es5).errors.txt | 12 + ...itExportDeclaration(target=es5).errors.txt | 15 + ...duleWithScopeMarker(target=es5).errors.txt | 17 + ...KindBasedOnBundling(target=es5).errors.txt | 2 + ...indBasedOnBundling2(target=es5).errors.txt | 2 + ...mitProtectedMembers(target=es5).errors.txt | 54 + ...tionEmitProtectedMembers(target=es5).types | 1 + ...ionEmitSymlinkPaths(target=es5).errors.txt | 27 + ...onEmitUnknownImport(target=es5).errors.txt | 2 + ...nEmitUnknownImport2(target=es5).errors.txt | 2 + ...peReferenceNotAdded(target=es5).errors.txt | 33 + ...aryTypeReferenceNotAdded(target=es5).types | 4 + ...faultAsComputedName(target=es5).errors.txt | 20 + ...aultAsComputedName2(target=es5).errors.txt | 20 + ...edBlockScopedClass1(target=es5).errors.txt | 17 + ...edBlockScopedClass2(target=es5).errors.txt | 20 + ...coratedBlockScopedClass2(target=es5).types | 1 + ...edBlockScopedClass3(target=es5).errors.txt | 28 + ...coratedBlockScopedClass3(target=es5).types | 1 + ...hecksFunctionBodies(target=es5).errors.txt | 2 + ...lesInFunctionBodies(target=es5).errors.txt | 23 + ...eModulesInFunctionBodies(target=es5).types | 2 + .../decoratorMetadata(target=es5).errors.txt | 21 + .../decoratorMetadata(target=es5).types | 3 + ...ratorMetadata-jsdoc(target=es5).errors.txt | 2 + ...urnTypeAnnotation01(target=es5).errors.txt | 18 + ...NoReturnTypeAnnotation01(target=es5).types | 2 + ...adataOnInferredType(target=es5).errors.txt | 21 + ...terWithImportedType(target=es5).errors.txt | 42 + ...arameterWithImportedType(target=es5).types | 2 + ...WithConstructorType(target=es5).errors.txt | 21 + ...rationNameCollision(target=es5).errors.txt | 26 + ...DeclarationNameCollision(target=es5).types | 2 + ...ationNameCollision2(target=es5).errors.txt | 26 + ...eclarationNameCollision2(target=es5).types | 2 + ...ationNameCollision3(target=es5).errors.txt | 26 + ...eclarationNameCollision3(target=es5).types | 2 + ...ationNameCollision4(target=es5).errors.txt | 2 + ...ationNameCollision5(target=es5).errors.txt | 26 + ...eclarationNameCollision5(target=es5).types | 2 + ...ationNameCollision6(target=es5).errors.txt | 26 + ...eclarationNameCollision6(target=es5).types | 2 + ...ationNameCollision7(target=es5).errors.txt | 2 + ...ationNameCollision8(target=es5).errors.txt | 26 + ...eclarationNameCollision8(target=es5).types | 2 + ...aWithTypeOnlyImport(target=es5).errors.txt | 21 + ...tadataWithTypeOnlyImport(target=es5).types | 3 + .../decoratorOnClass1(target=es5).errors.txt | 10 + .../decoratorOnClass2(target=es5).errors.txt | 10 + .../decoratorOnClass3(target=es5).errors.txt | 11 + .../decoratorOnClass4(target=es5).errors.txt | 10 + .../decoratorOnClass5(target=es5).errors.txt | 10 + .../decoratorOnClass8(target=es5).errors.txt | 2 + .../decoratorOnClass9(target=es5).errors.txt | 18 + .../decoratorOnClass9(target=es5).types | 2 + ...torOnClassAccessor1(target=es5).errors.txt | 10 + ...ecoratorOnClassAccessor1(target=es5).types | 1 + ...torOnClassAccessor2(target=es5).errors.txt | 10 + ...ecoratorOnClassAccessor2(target=es5).types | 1 + ...torOnClassAccessor3(target=es5).errors.txt | 2 + ...torOnClassAccessor4(target=es5).errors.txt | 10 + ...ecoratorOnClassAccessor4(target=es5).types | 1 + ...torOnClassAccessor5(target=es5).errors.txt | 10 + ...ecoratorOnClassAccessor5(target=es5).types | 1 + ...torOnClassAccessor6(target=es5).errors.txt | 2 + ...torOnClassAccessor7(target=es5).errors.txt | 2 + ...torOnClassAccessor8(target=es5).errors.txt | 34 + ...ecoratorOnClassAccessor8(target=es5).types | 1 + ...OnClassConstructor1(target=es5).errors.txt | 2 + ...OnClassConstructor2(target=es5).errors.txt | 2 + ...OnClassConstructor3(target=es5).errors.txt | 18 + ...ratorOnClassConstructor3(target=es5).types | 1 + ...OnClassConstructor4(target=es5).errors.txt | 19 + ...ratorOnClassConstructor4(target=es5).types | 4 + ...nstructorParameter1(target=es5).errors.txt | 10 + ...nstructorParameter4(target=es5).errors.txt | 2 + ...ratorOnClassMethod1(target=es5).errors.txt | 10 + .../decoratorOnClassMethod1(target=es5).types | 1 + ...atorOnClassMethod10(target=es5).errors.txt | 2 + ...atorOnClassMethod11(target=es5).errors.txt | 2 + ...atorOnClassMethod12(target=es5).errors.txt | 2 + ...ratorOnClassMethod2(target=es5).errors.txt | 10 + .../decoratorOnClassMethod2(target=es5).types | 1 + ...ratorOnClassMethod3(target=es5).errors.txt | 2 + ...ratorOnClassMethod8(target=es5).errors.txt | 2 + ...lassMethodOverload1(target=es5).errors.txt | 2 + ...lassMethodOverload2(target=es5).errors.txt | 12 + ...orOnClassMethodOverload2(target=es5).types | 1 + ...assMethodParameter1(target=es5).errors.txt | 10 + ...assMethodParameter2(target=es5).errors.txt | 10 + ...MethodThisParameter(target=es5).errors.txt | 2 + ...torOnClassProperty1(target=es5).errors.txt | 10 + ...ecoratorOnClassProperty1(target=es5).types | 2 + ...orOnClassProperty10(target=es5).errors.txt | 10 + ...coratorOnClassProperty10(target=es5).types | 2 + ...orOnClassProperty11(target=es5).errors.txt | 2 + ...orOnClassProperty12(target=es5).errors.txt | 12 + ...coratorOnClassProperty12(target=es5).types | 1 + ...torOnClassProperty2(target=es5).errors.txt | 10 + ...ecoratorOnClassProperty2(target=es5).types | 2 + ...torOnClassProperty3(target=es5).errors.txt | 2 + ...torOnClassProperty6(target=es5).errors.txt | 2 + ...torOnClassProperty7(target=es5).errors.txt | 2 + ...eLiteralTypeNoCrash(target=es5).errors.txt | 10 + ...gativeLiteralTypeNoCrash(target=es5).types | 2 + ...portWithOverloads01(target=es5).errors.txt | 9 + ...xportsCannotMerge01(target=es5).errors.txt | 2 + ...xportsCannotMerge02(target=es5).errors.txt | 2 + ...xportsCannotMerge03(target=es5).errors.txt | 2 + ...xportsCannotMerge04(target=es5).errors.txt | 2 + .../defineProperty(target=es5).errors.txt | 29 + .../defineProperty(target=es5).types | 5 + ...thExplicitReturns01(target=es5).errors.txt | 38 + ...desProtectedMembers(target=es5).errors.txt | 40 + ...esProtectedMembers2(target=es5).errors.txt | 68 + ...esProtectedMembers3(target=es5).errors.txt | 2 + ...lassSuperProperties(target=es5).errors.txt | 2 + ...erStatementPosition(target=es5).errors.txt | 2 + ...ngProtectedInstance(target=es5).errors.txt | 2 + ...wingProtectedStatic(target=es5).errors.txt | 2 + ...tternAndAssignment4(target=es5).errors.txt | 2 + ...ringEvaluationOrder(target=es5).errors.txt | 26 + ...ernWithNestedSpread(target=es5).errors.txt | 8 + ...tternAndAssignment6(target=es5).errors.txt | 13 + ...tternAndAssignment7(target=es5).errors.txt | 14 + ...tternAndAssignment8(target=es5).errors.txt | 14 + ...aration3ES5iterable(target=es5).errors.txt | 2 + ...eterDeclaration7ES5(target=es5).errors.txt | 18 + ...aration7ES5iterable(target=es5).errors.txt | 18 + ...ssignsRightHandSide(target=es5).errors.txt | 13 + ...ngReassignsRightHandSide(target=es5).types | 8 + ...TypeAssertionsES5_1(target=es5).errors.txt | 2 + ...TypeAssertionsES5_2(target=es5).errors.txt | 2 + ...TypeAssertionsES5_3(target=es5).errors.txt | 2 + ...TypeAssertionsES5_4(target=es5).errors.txt | 2 + ...TypeAssertionsES5_5(target=es5).errors.txt | 6 + ...uringTypeAssertionsES5_5(target=es5).types | 1 + ...TypeAssertionsES5_6(target=es5).errors.txt | 2 + ...TypeAssertionsES5_7(target=es5).errors.txt | 2 + ...gentAccessorsTypes3(target=es5).errors.txt | 48 + ...gentAccessorsTypes4(target=es5).errors.txt | 2 + ...gentAccessorsTypes5(target=es5).errors.txt | 2 + ...ityToTypeParameters(target=es5).errors.txt | 2 + ...TargetLibraryES2023(target=es5).errors.txt | 2 + ...downlevelLetConst12(target=es5).errors.txt | 2 + ...downlevelLetConst13(target=es5).errors.txt | 23 + ...downlevelLetConst14(target=es5).errors.txt | 59 + .../downlevelLetConst14(target=es5).types | 30 + ...downlevelLetConst15(target=es5).errors.txt | 59 + .../downlevelLetConst15(target=es5).types | 30 + ...downlevelLetConst16(target=es5).errors.txt | 2 + ...downlevelLetConst17(target=es5).errors.txt | 72 + .../downlevelLetConst17(target=es5).types | 31 + ...downlevelLetConst18(target=es5).errors.txt | 2 + ...downlevelLetConst19(target=es5).errors.txt | 2 + ...rameterDeclaration1(target=es5).errors.txt | 2 + ...rameterDeclaration2(target=es5).errors.txt | 2 + ...jectLiteralProperty(target=es5).errors.txt | 2 + ...tWithNestedThis_es5(target=es5).errors.txt | 2 + ...nInArrowFunctionES5(target=es5).errors.txt | 7 + ...essionInArrowFunctionES5(target=es5).types | 3 + .../emitArrowFunction(target=es5).errors.txt | 12 + ...itArrowFunctionAsIs(target=es5).errors.txt | 9 + .../emitArrowFunctionAsIs(target=es5).types | 4 + ...nctionThisCapturing(target=es5).errors.txt | 2 + ...henUsingArguments01(target=es5).errors.txt | 2 + ...henUsingArguments02(target=es5).errors.txt | 2 + ...henUsingArguments03(target=es5).errors.txt | 2 + ...henUsingArguments04(target=es5).errors.txt | 2 + ...henUsingArguments05(target=es5).errors.txt | 2 + ...henUsingArguments06(target=es5).errors.txt | 2 + ...henUsingArguments07(target=es5).errors.txt | 2 + ...henUsingArguments08(target=es5).errors.txt | 8 + ...tionWhenUsingArguments08(target=es5).types | 3 + ...henUsingArguments09(target=es5).errors.txt | 2 + ...henUsingArguments10(target=es5).errors.txt | 2 + ...henUsingArguments11(target=es5).errors.txt | 2 + ...henUsingArguments12(target=es5).errors.txt | 2 + ...henUsingArguments13(target=es5).errors.txt | 9 + ...tionWhenUsingArguments13(target=es5).types | 1 + ...henUsingArguments14(target=es5).errors.txt | 2 + ...henUsingArguments15(target=es5).errors.txt | 2 + ...henUsingArguments16(target=es5).errors.txt | 2 + ...henUsingArguments17(target=es5).errors.txt | 2 + ...henUsingArguments18(target=es5).errors.txt | 2 + ...henUsingArguments19(target=es5).errors.txt | 2 + ...tArrowFunctionsAsIs(target=es5).errors.txt | 9 + .../emitArrowFunctionsAsIs(target=es5).types | 4 + ...PrologueDirectives1(target=es5).errors.txt | 2 + ...tBundleWithShebang1(target=es5).errors.txt | 2 + ...tBundleWithShebang2(target=es5).errors.txt | 2 + ...PrologueDirectives1(target=es5).errors.txt | 2 + ...PrologueDirectives2(target=es5).errors.txt | 2 + ...tWithIndexingOnLHS1(target=es5).errors.txt | 20 + ...tWithIndexingOnLHS2(target=es5).errors.txt | 16 + ...tWithIndexingOnLHS3(target=es5).errors.txt | 17 + ...gnmentWithIndexingOnLHS3(target=es5).types | 2 + ...tWithIndexingOnLHS4(target=es5).errors.txt | 19 + ...ertyAccessingOnLHS1(target=es5).errors.txt | 16 + ...nentiationOperator1(target=es5).errors.txt | 25 + ...nentiationOperator2(target=es5).errors.txt | 29 + ...atorMetadata_object(target=es5).errors.txt | 15 + ...orMetadata_restArgs(target=es5).errors.txt | 22 + ...tParametersFunction(target=es5).errors.txt | 9 + ...sFunctionExpression(target=es5).errors.txt | 14 + ...ersFunctionProperty(target=es5).errors.txt | 12 + ...ultParametersMethod(target=es5).errors.txt | 22 + ...nentiationOperator1(target=es5).errors.txt | 36 + ...nentiationOperator2(target=es5).errors.txt | 59 + ...nentiationOperator3(target=es5).errors.txt | 44 + ...nentiationOperator4(target=es5).errors.txt | 2 + ...orInTempalteString4(target=es5).errors.txt | 31 + ...peratorInTempalteString4(target=es5).types | 1 + ...orInTemplateString1(target=es5).errors.txt | 31 + ...peratorInTemplateString1(target=es5).types | 1 + ...orInTemplateString2(target=es5).errors.txt | 31 + ...peratorInTemplateString2(target=es5).types | 1 + ...orInTemplateString3(target=es5).errors.txt | 32 + ...peratorInTemplateString3(target=es5).types | 1 + ...tParametersFunction(target=es5).errors.txt | 7 + ...sFunctionExpression(target=es5).errors.txt | 10 + ...ersFunctionProperty(target=es5).errors.txt | 12 + ...estParametersMethod(target=es5).errors.txt | 18 + ...ObjectLiteralGetter(target=es5).errors.txt | 11 + ...hisInObjectLiteralGetter(target=es5).types | 4 + ...rs.classMethods.es5(target=es5).errors.txt | 63 + ...erators.classMethods.es5(target=es5).types | 7 + ...ionDeclarations.es5(target=es5).errors.txt | 32 + ...functionDeclarations.es5(target=es5).types | 7 + ...tionExpressions.es5(target=es5).errors.txt | 32 + ....functionExpressions.es5(target=es5).types | 7 + ...tLiteralMethods.es5(target=es5).errors.txt | 46 + ...objectLiteralMethods.es5(target=es5).types | 7 + .../emitter.forAwait(target=es5).errors.txt | 53 + .../emitter.forAwait(target=es5).types | 23 + ...nmentPatterns01_ES5(target=es5).errors.txt | 11 + ...AssignmentPatterns01_ES5(target=es5).types | 7 + ...terns01_ES5iterable(target=es5).errors.txt | 9 + ...ntPatterns01_ES5iterable(target=es5).types | 7 + ...nmentPatterns02_ES5(target=es5).errors.txt | 10 + ...AssignmentPatterns02_ES5(target=es5).types | 21 + ...terns02_ES5iterable(target=es5).errors.txt | 10 + ...ntPatterns02_ES5iterable(target=es5).types | 21 + ...nmentPatterns03_ES5(target=es5).errors.txt | 9 + ...AssignmentPatterns03_ES5(target=es5).types | 9 + ...terns03_ES5iterable(target=es5).errors.txt | 9 + ...ntPatterns03_ES5iterable(target=es5).types | 9 + ...nmentPatterns04_ES5(target=es5).errors.txt | 10 + ...AssignmentPatterns04_ES5(target=es5).types | 21 + ...terns04_ES5iterable(target=es5).errors.txt | 10 + ...ntPatterns04_ES5iterable(target=es5).types | 21 + ...ptyFile-declaration(target=es5).errors.txt | 6 + .../emptyFile-souremap(target=es5).errors.txt | 6 + ...ndingPatterns01_ES5(target=es5).errors.txt | 53 + ...ionBindingPatterns01_ES5(target=es5).types | 23 + ...terns01_ES5iterable(target=es5).errors.txt | 53 + ...ngPatterns01_ES5iterable(target=es5).types | 23 + ...ndingPatterns02_ES5(target=es5).errors.txt | 2 + ...terns02_ES5iterable(target=es5).errors.txt | 2 + ...nFunctionReturnType(target=es5).errors.txt | 2 + ...SuperPropertyAccess(target=es5).errors.txt | 2 + ...orsOnImportedSymbol(target=es5).errors.txt | 2 + .../reference/es5-amd(target=es5).errors.txt | 2 + .../es5-asyncFunction(target=es5).errors.txt | 13 + .../es5-asyncFunction(target=es5).types | 3 + ...nctionArrayLiterals(target=es5).errors.txt | 38 + ...yncFunctionArrayLiterals(target=es5).types | 45 + ...onBinaryExpressions(target=es5).errors.txt | 127 + ...unctionBinaryExpressions(target=es5).types | 172 + ...tionCallExpressions(target=es5).errors.txt | 91 + ...cFunctionCallExpressions(target=es5).types | 137 + ...unctionConditionals(target=es5).errors.txt | 18 + ...syncFunctionConditionals(target=es5).types | 28 + ...unctionDoStatements(target=es5).errors.txt | 82 + ...syncFunctionDoStatements(target=es5).types | 50 + ...nctionElementAccess(target=es5).errors.txt | 19 + ...yncFunctionElementAccess(target=es5).types | 25 + ...tionForInStatements(target=es5).errors.txt | 42 + ...cFunctionForInStatements(target=es5).types | 38 + ...tionForOfStatements(target=es5).errors.txt | 82 + ...cFunctionForOfStatements(target=es5).types | 90 + ...nctionForStatements(target=es5).errors.txt | 34 + ...yncFunctionForStatements(target=es5).types | 39 + ...yncFunctionHoisting(target=es5).errors.txt | 57 + ...s5-asyncFunctionHoisting(target=es5).types | 15 + ...unctionIfStatements(target=es5).errors.txt | 18 + ...syncFunctionIfStatements(target=es5).types | 18 + ...onLongObjectLiteral(target=es5).errors.txt | 32 + ...FunctionNestedLoops(target=es5).errors.txt | 18 + ...asyncFunctionNestedLoops(target=es5).types | 11 + ...ctionNewExpressions(target=es5).errors.txt | 90 + ...ncFunctionNewExpressions(target=es5).types | 137 + ...ctionObjectLiterals(target=es5).errors.txt | 55 + ...ncFunctionObjectLiterals(target=es5).types | 53 + ...ctionPropertyAccess(target=es5).errors.txt | 18 + ...ncFunctionPropertyAccess(target=es5).types | 20 + ...ionReturnStatements(target=es5).errors.txt | 31 + ...FunctionReturnStatements(target=es5).types | 13 + ...ionSwitchStatements(target=es5).errors.txt | 72 + ...FunctionSwitchStatements(target=es5).types | 57 + ...nctionTryStatements(target=es5).errors.txt | 127 + ...yncFunctionTryStatements(target=es5).types | 74 + ...tionWhileStatements(target=es5).errors.txt | 82 + ...cFunctionWhileStatements(target=es5).types | 50 + ...ctionWithStatements(target=es5).errors.txt | 2 + .../es5-commonjs(target=es5).errors.txt | 18 + .../es5-commonjs2(target=es5).errors.txt | 7 + .../es5-commonjs3(target=es5).errors.txt | 2 + .../es5-commonjs4(target=es5).errors.txt | 2 + .../es5-commonjs5(target=es5).errors.txt | 9 + .../es5-commonjs6(target=es5).errors.txt | 8 + .../es5-commonjs7(target=es5).errors.txt | 8 + .../reference/es5-commonjs7(target=es5).types | 1 + .../es5-commonjs8(target=es5).errors.txt | 8 + ...es5-declaration-amd(target=es5).errors.txt | 2 + ...lpersAsyncFunctions(target=es5).errors.txt | 20 + ...ortHelpersAsyncFunctions(target=es5).types | 7 + ...OctalLiteralInEnums(target=es5).errors.txt | 2 + .../es5-souremap-amd(target=es5).errors.txt | 2 + .../es5-system(target=es5).errors.txt | 2 + .../es5-system2(target=es5).errors.txt | 2 + .../reference/es5-umd(target=es5).errors.txt | 2 + .../reference/es5-umd2(target=es5).errors.txt | 2 + .../reference/es5-umd3(target=es5).errors.txt | 2 + .../reference/es5-umd4(target=es5).errors.txt | 2 + ...ctionObjectLiterals(target=es5).errors.txt | 67 + ...ldFunctionObjectLiterals(target=es5).types | 14 + .../es5DateAPIs(target=es5).errors.txt | 2 + ...ultClassDeclaration(target=es5).errors.txt | 9 + ...ltClassDeclaration2(target=es5).errors.txt | 9 + ...ltClassDeclaration3(target=es5).errors.txt | 2 + ...ltClassDeclaration4(target=es5).errors.txt | 18 + ...rtDefaultExpression(target=es5).errors.txt | 7 + ...FunctionDeclaration(target=es5).errors.txt | 7 + ...unctionDeclaration2(target=es5).errors.txt | 7 + ...unctionDeclaration3(target=es5).errors.txt | 12 + ...unctionDeclaration4(target=es5).errors.txt | 12 + ...rtDefaultIdentifier(target=es5).errors.txt | 9 + .../es5ExportEquals(target=es5).errors.txt | 2 + .../es5ExportEqualsDts(target=es5).errors.txt | 17 + ...nternalNamedImports(target=es5).errors.txt | 2 + ...uleWithModuleGenAmd(target=es5).errors.txt | 2 + ...thModuleGenCommonjs(target=es5).errors.txt | 16 + ...houtModuleGenTarget(target=es5).errors.txt | 16 + ...tructuringNotElided(target=es5).errors.txt | 11 + ...erDestructuringNotElided(target=es5).types | 2 + .../es5andes6module(target=es5).errors.txt | 18 + .../es6ExportAllInEs5(target=es5).errors.txt | 18 + ...s6ExportClauseInEs5(target=es5).errors.txt | 20 + ...WithAssignmentInEs5(target=es5).errors.txt | 21 + ...oduleSpecifierInEs5(target=es5).errors.txt | 22 + ...rtDefaultBindingAmd(target=es5).errors.txt | 2 + ...rtDefaultBindingDts(target=es5).errors.txt | 13 + ...thNamedImport1InEs5(target=es5).errors.txt | 2 + ...edImport1WithExport(target=es5).errors.txt | 2 + ...WithNamedImportDts1(target=es5).errors.txt | 2 + ...ithNamedImportInEs5(target=es5).errors.txt | 2 + ...medImportWithExport(target=es5).errors.txt | 2 + ...espaceBinding1InEs5(target=es5).errors.txt | 11 + ...eBinding1WithExport(target=es5).errors.txt | 2 + ...amespaceBindingDts1(target=es5).errors.txt | 2 + ...mespaceBindingInEs5(target=es5).errors.txt | 2 + ...DefaultBindingInEs5(target=es5).errors.txt | 10 + ...tBindingMergeErrors(target=es5).errors.txt | 2 + ...ltBindingWithExport(target=es5).errors.txt | 2 + ...ameSpaceImportInEs5(target=es5).errors.txt | 12 + ...ceImportMergeErrors(target=es5).errors.txt | 2 + ...mportNoNamedExports(target=es5).errors.txt | 10 + ...ortNamedImportInEs5(target=es5).errors.txt | 43 + ...mportNoNamedExports(target=es5).errors.txt | 2 + ...houtFromClauseInEs5(target=es5).errors.txt | 2 + ...ClassNameWithObject(target=es5).errors.txt | 7 + ...lekindWithES5Target(target=es5).errors.txt | 24 + ...kindWithES5Target10(target=es5).errors.txt | 2 + ...kindWithES5Target11(target=es5).errors.txt | 13 + ...kindWithES5Target12(target=es5).errors.txt | 41 + ...ekindWithES5Target2(target=es5).errors.txt | 11 + ...ekindWithES5Target3(target=es5).errors.txt | 12 + ...ekindWithES5Target4(target=es5).errors.txt | 7 + ...ekindWithES5Target5(target=es5).errors.txt | 12 + ...ekindWithES5Target6(target=es5).errors.txt | 14 + ...ekindWithES5Target7(target=es5).errors.txt | 13 + ...ekindWithES5Target8(target=es5).errors.txt | 7 + ...ekindWithES5Target9(target=es5).errors.txt | 2 + ...accessors-nonStatic(target=es5).errors.txt | 18 + ...s-nonStaticAbstract(target=es5).errors.txt | 2 + ...on-accessors-static(target=es5).errors.txt | 18 + ...ssThisReference.es5(target=es5).errors.txt | 15 + ...,usedefineforclassfields=false).errors.txt | 15 + ...5,usedefineforclassfields=true).errors.txt | 15 + ...s-nonStaticAbstract(target=es5).errors.txt | 2 + ...ds-nonStaticAmbient(target=es5).errors.txt | 2 + ...,usedefineforclassfields=false).errors.txt | 15 + ...5,usedefineforclassfields=true).errors.txt | 15 + ...ields-staticAmbient(target=es5).errors.txt | 2 + ...n-methods-nonStatic(target=es5).errors.txt | 15 + ...s-nonStaticAbstract(target=es5).errors.txt | 2 + ...tion-methods-static(target=es5).errors.txt | 15 + ...-multipleDecorators(target=es5).errors.txt | 12 + ...parameterDecorators(target=es5).errors.txt | 2 + ...,usedefineforclassfields=false).errors.txt | 14 + ...5,usedefineforclassfields=true).errors.txt | 14 + ...ion-setFunctionName(target=es5).errors.txt | 26 + ...impleTransformation(target=es5).errors.txt | 11 + ...itDecoratorMetadata(target=es5).errors.txt | 2 + ...teropWithExportStar(target=es5).errors.txt | 15 + ...lekindWithES5Target(target=es5).errors.txt | 24 + ...kindWithES5Target10(target=es5).errors.txt | 2 + ...kindWithES5Target11(target=es5).errors.txt | 13 + ...kindWithES5Target12(target=es5).errors.txt | 41 + ...ekindWithES5Target2(target=es5).errors.txt | 11 + ...ekindWithES5Target3(target=es5).errors.txt | 12 + ...ekindWithES5Target4(target=es5).errors.txt | 7 + ...ekindWithES5Target5(target=es5).errors.txt | 12 + ...ekindWithES5Target6(target=es5).errors.txt | 14 + ...ekindWithES5Target7(target=es5).errors.txt | 13 + ...ekindWithES5Target8(target=es5).errors.txt | 7 + ...ekindWithES5Target9(target=es5).errors.txt | 2 + ...ClassNameWithObject(target=es5).errors.txt | 7 + ...ingWithSyntaxError1(target=es5).errors.txt | 2 + ...ingWithSyntaxError2(target=es5).errors.txt | 2 + ...ingWithSyntaxError3(target=es5).errors.txt | 2 + ...peratorSyntaxError1(target=es5).errors.txt | 2 + ...peratorSyntaxError2(target=es5).errors.txt | 2 + ...mplateStringInvalid(target=es5).errors.txt | 2 + ...ClassNameWithObject(target=es5).errors.txt | 7 + ...exportAndImport-es5(target=es5).errors.txt | 14 + ...rtAndImport-es5-amd(target=es5).errors.txt | 2 + ...ssNameWithObjectAMD(target=es5).errors.txt | 2 + ...eWithObjectCommonJS(target=es5).errors.txt | 2 + ...ameWithObjectSystem(target=es5).errors.txt | 2 + ...ssNameWithObjectUMD(target=es5).errors.txt | 2 + ...ionInInternalModule(target=es5).errors.txt | 2 + ...ClassNameWithObject(target=es5).errors.txt | 2 + ...rtDefaultInJsFile01(target=es5).errors.txt | 2 + ...DefaultParenthesize(target=es5).errors.txt | 39 + ...gPattern(module=amd,target=es5).errors.txt | 2 + ...ern(module=commonjs,target=es5).errors.txt | 6 + ...ttern(module=es2015,target=es5).errors.txt | 6 + ...ttern(module=esnext,target=es5).errors.txt | 6 + ...ttern(module=system,target=es5).errors.txt | 2 + ...gPattern(module=amd,target=es5).errors.txt | 2 + ...ern(module=commonjs,target=es5).errors.txt | 6 + ...ttern(module=es2015,target=es5).errors.txt | 6 + ...ttern(module=esnext,target=es5).errors.txt | 6 + ...ttern(module=system,target=es5).errors.txt | 2 + ...teConstEnumForValue(target=es5).errors.txt | 2 + ...jectRest(module=amd,target=es5).errors.txt | 2 + ...est(module=commonjs,target=es5).errors.txt | 6 + ...tRest(module=es2015,target=es5).errors.txt | 6 + ...tRest(module=esnext,target=es5).errors.txt | 6 + ...tRest(module=system,target=es5).errors.txt | 2 + .../exportStar(target=es5).errors.txt | 2 + .../exportStar-amd(target=es5).errors.txt | 2 + ...StarFromEmptyModule(target=es5).errors.txt | 2 + ...ortsAndImports1-amd(target=es5).errors.txt | 2 + ...ortsAndImports2-amd(target=es5).errors.txt | 2 + ...ortsAndImports3-amd(target=es5).errors.txt | 2 + .../exportsAndImports4(target=es5).errors.txt | 41 + ...ortsAndImports4-amd(target=es5).errors.txt | 2 + ...xtualKeywordNames01(target=es5).errors.txt | 2 + ...xtualKeywordNames02(target=es5).errors.txt | 19 + ...rtsWithUnderscores1(target=es5).errors.txt | 2 + ...rtsWithUnderscores2(target=es5).errors.txt | 15 + ...dImportsWithUnderscores2(target=es5).types | 2 + ...rtsWithUnderscores3(target=es5).errors.txt | 16 + ...dImportsWithUnderscores3(target=es5).types | 2 + ...rtsWithUnderscores4(target=es5).errors.txt | 36 + ...dImportsWithUnderscores4(target=es5).types | 15 + ...ementsDestructuring(target=es5).errors.txt | 2 + ...ionBindingDownlevel(target=es5).errors.txt | 29 + ...claredCommonTypes01(target=es5).errors.txt | 2 + ...mplementationErrors(target=es5).errors.txt | 2 + ...arameterInitializer(target=es5).errors.txt | 24 + ...mentsAndExpressions(target=es5).errors.txt | 2 + ...TransformFinalLabel(target=es5).errors.txt | 13 + ...sorContextualTyping(target=es5).errors.txt | 2 + .../getSetEnumerable(target=es5).errors.txt | 31 + ...ntrolFlowStrictNull(target=es5).errors.txt | 2 + ...omCircularInference(target=es5).errors.txt | 2 + ...pressionAsyncES5AMD(target=es5).errors.txt | 2 + ...pressionAsyncES5CJS(target=es5).errors.txt | 33 + ...ssionAsyncES5System(target=es5).errors.txt | 2 + ...pressionAsyncES5UMD(target=es5).errors.txt | 2 + ...allExpressionES5AMD(target=es5).errors.txt | 2 + ...allExpressionES5CJS(target=es5).errors.txt | 31 + ...ExpressionES5System(target=es5).errors.txt | 2 + ...allExpressionES5UMD(target=es5).errors.txt | 2 + ...xpressionNestedAMD2(target=es5).errors.txt | 2 + ...xpressionNestedCJS2(target=es5).errors.txt | 11 + ...CallExpressionNestedCJS2(target=es5).types | 1 + ...essionNestedES20152(target=es5).errors.txt | 2 + ...essionNestedES20202(target=es5).errors.txt | 12 + ...lExpressionNestedES20202(target=es5).types | 1 + ...essionNestedSystem2(target=es5).errors.txt | 2 + ...xpressionNestedUMD2(target=es5).errors.txt | 2 + .../importHelpers(target=es5).errors.txt | 49 + .../reference/importHelpers(target=es5).types | 13 + .../importHelpersAmd(target=es5).errors.txt | 2 + ...HelpersDeclarations(target=es5).errors.txt | 9 + ...ersInAmbientContext(target=es5).errors.txt | 59 + ...tHelpersInAmbientContext(target=es5).types | 13 + ...rsInIsolatedModules(target=es5).errors.txt | 36 + ...HelpersInIsolatedModules(target=es5).types | 13 + .../importHelpersInTsx(target=es5).errors.txt | 22 + .../importHelpersInTsx(target=es5).types | 25 +- ...elpersExportDefault(target=es5).errors.txt | 18 + ...ortHelpersNoHelpers(target=es5).errors.txt | 2 + ...sForAsyncGenerators(target=es5).errors.txt | 2 + ...portHelpersNoModule(target=es5).errors.txt | 2 + ...mportHelpersOutFile(target=es5).errors.txt | 2 + ...importHelpersSystem(target=es5).errors.txt | 2 + ...eta(module=commonjs,target=es5).errors.txt | 2 + ...tMeta(module=es2020,target=es5).errors.txt | 2 + ...tMeta(module=esnext,target=es5).errors.txt | 2 + ...tMeta(module=system,target=es5).errors.txt | 2 + ...sorOverridingMethod(target=es5).errors.txt | 2 + ...rtiesWithRenamedLet(target=es5).errors.txt | 20 + ...PropertiesWithRenamedLet(target=es5).types | 12 + .../inlineSourceMap(target=es5).errors.txt | 7 + .../inlineSourceMap2(target=es5).errors.txt | 2 + .../inlineSources(target=es5).errors.txt | 2 + .../inlineSources2(target=es5).errors.txt | 2 + .../instanceofOperator(target=es5).errors.txt | 2 + ...ormatES5UseGrouping(target=es5).errors.txt | 2 + ...nvalidNewTarget.es5(target=es5).errors.txt | 2 + ...lateEscapeSequences(target=es5).errors.txt | 2 + ...ionVisibleNodeKinds(target=es5).errors.txt | 73 + ...larationVisibleNodeKinds(target=es5).types | 8 + ...ImportExportElision(target=es5).errors.txt | 2 + ...odulesPlainFile-AMD(target=es5).errors.txt | 2 + ...sPlainFile-CommonJS(target=es5).errors.txt | 8 + ...lesPlainFile-System(target=es5).errors.txt | 2 + ...odulesPlainFile-UMD(target=es5).errors.txt | 2 + ...hNeverAsUnionMember(target=es5).errors.txt | 34 + ...ssExtendsVisibility(target=es5).errors.txt | 16 + ...nsClassExtendsVisibility(target=es5).types | 1 + ...nericsSerialization(target=es5).errors.txt | 27 + ...lassLeadingOptional(target=es5).errors.txt | 10 + ...ionsClassLeadingOptional(target=es5).types | 2 + ...sClassLikeHeuristic(target=es5).errors.txt | 2 + ...arationsClassStatic(target=es5).errors.txt | 28 + ...cMethodAugmentation(target=es5).errors.txt | 10 + ...DeclarationsClasses(target=es5).errors.txt | 199 + .../jsDeclarationsClasses(target=es5).types | 10 + ...larationsClassesErr(target=es5).errors.txt | 2 + ...ationsComputedNames(target=es5).errors.txt | 31 + ...tionsCrossfileMerge(target=es5).errors.txt | 2 + ...DeclarationsDefault(target=es5).errors.txt | 42 + ...arationsDefaultsErr(target=es5).errors.txt | 2 + ...DocCommentsOnConsts(target=es5).errors.txt | 20 + ...tionsDocCommentsOnConsts(target=es5).types | 1 + ...DeclarationsEnumTag(target=es5).errors.txt | 53 + .../jsDeclarationsEnumTag(target=es5).types | 13 +- ...jsDeclarationsEnums(target=es5).errors.txt | 2 + ...gnedClassExpression(target=es5).errors.txt | 13 + ...tAssignedClassExpression(target=es5).types | 1 + ...ExpressionAnonymous(target=es5).errors.txt | 13 + ...ClassExpressionAnonymous(target=es5).types | 1 + ...ionAnonymousWithSub(target=es5).errors.txt | 19 + ...pressionAnonymousWithSub(target=es5).types | 2 + ...ExpressionShadowing(target=es5).errors.txt | 18 + ...ClassExpressionShadowing(target=es5).types | 1 + ...ignedClassInstance1(target=es5).errors.txt | 8 + ...ignedClassInstance2(target=es5).errors.txt | 11 + ...ignedClassInstance3(target=es5).errors.txt | 13 + ...ConstructorFunction(target=es5).errors.txt | 14 + ...ignedConstructorFunction(target=es5).types | 1 + ...ctorFunctionWithSub(target=es5).errors.txt | 2 + ...tAssignedVisibility(target=es5).errors.txt | 20 + ...ExportAssignedVisibility(target=es5).types | 3 + ...essionPlusSecondary(target=es5).errors.txt | 18 + ...mentWithKeywordName(target=es5).errors.txt | 13 + ...arationsExportForms(target=es5).errors.txt | 61 + ...sDeclarationsExportForms(target=es5).types | 4 + ...tionsExportFormsErr(target=es5).errors.txt | 2 + ...rtSpecifierNonlocal(target=es5).errors.txt | 10 + ...xportSubAssignments(target=es5).errors.txt | 12 + ...CjsExportAssignment(target=es5).errors.txt | 74 + ...assesCjsExportAssignment(target=es5).types | 3 + ...ationsFunctionJSDoc(target=es5).errors.txt | 40 + ...eclarationsFunctionJSDoc(target=es5).types | 1 + ...FunctionKeywordProp(target=es5).errors.txt | 15 + ...ywordPropExhaustive(target=es5).errors.txt | 87 + ...FunctionLikeClasses(target=es5).errors.txt | 27 + ...tionsFunctionLikeClasses(target=es5).types | 2 + ...unctionLikeClasses2(target=es5).errors.txt | 79 + ...ionsFunctionLikeClasses2(target=es5).types | 9 + ...tionPrototypeStatic(target=es5).errors.txt | 18 + ...sFunctionPrototypeStatic(target=es5).types | 1 + ...larationsInterfaces(target=es5).errors.txt | 2 + .../jsDeclarationsJson(target=es5).errors.txt | 15 + .../jsDeclarationsJson(target=es5).types | 1 + ...ionsMissingGenerics(target=es5).errors.txt | 13 + ...ssingTypeParameters(target=es5).errors.txt | 25 + ...uleReferenceHasEmit(target=es5).errors.txt | 18 + ...nsModuleReferenceHasEmit(target=es5).types | 3 +- ...ipleExportFromMerge(target=es5).errors.txt | 23 + ...arationsPackageJson(target=es5).errors.txt | 40 + ...sDeclarationsPackageJson(target=es5).types | 1 + ...ionsReactComponents(target=es5).errors.txt | 98 + ...ionsReexportAliases(target=es5).errors.txt | 14 + ...asesEsModuleInterop(target=es5).errors.txt | 15 + ...sReexportedCjsAlias(target=es5).errors.txt | 29 + ...ationsReexportedCjsAlias(target=es5).types | 1 + ...TypeInJSDocFunction(target=es5).errors.txt | 12 + ...tionsTypeReferences(target=es5).errors.txt | 19 + ...clarationsTypeReferences(target=es5).types | 1 + ...ionsTypeReferences2(target=es5).errors.txt | 19 + ...larationsTypeReferences2(target=es5).types | 1 + ...ionsTypeReferences3(target=es5).errors.txt | 17 + ...larationsTypeReferences3(target=es5).types | 1 + ...ionsTypeReferences4(target=es5).errors.txt | 2 + ...ldrenArrayWrongType(target=es5).errors.txt | 2 + ...ualifiedNameWithEs5(target=es5).errors.txt | 2 + ...nListInLoopNoCrash1(target=es5).errors.txt | 2 + ...nListInLoopNoCrash2(target=es5).errors.txt | 11 + ...nListInLoopNoCrash3(target=es5).errors.txt | 2 + ...nListInLoopNoCrash4(target=es5).errors.txt | 2 + ...tConstInCaseClauses(target=es5).errors.txt | 2 + ...chingParameterNames(target=es5).errors.txt | 20 + ...stMatchingParameterNames(target=es5).types | 3 + ...letDeclarations-es5(target=es5).errors.txt | 17 + .../letDeclarations-es5(target=es5).types | 5 + ...tDeclarations-es5-1(target=es5).errors.txt | 11 + .../letDeclarations-es5-1(target=es5).types | 5 + ...nstDeclarations_ES5(target=es5).errors.txt | 2 + ...OfForOfAndForIn_ES5(target=es5).errors.txt | 2 + ...LetDeclarations_ES5(target=es5).errors.txt | 2 + ...nVarDeclOfForIn_ES5(target=es5).errors.txt | 12 + ...nVarDeclOfForOf_ES5(target=es5).errors.txt | 12 + .../reference/literals(target=es5).errors.txt | 2 + .../localTypes1(target=es5).errors.txt | 145 + .../manyConstExports(target=es5).errors.txt | 5006 +++++++++++++++++ ...mAlias(strict=false,target=es5).errors.txt | 26 + ...ssFromAlias(strict=false,target=es5).types | 2 + ...omAlias(strict=true,target=es5).errors.txt | 2 + ...taOfClassFromAlias2(target=es5).errors.txt | 17 + ...etadataOfClassFromAlias2(target=es5).types | 1 + ...taOfClassFromModule(target=es5).errors.txt | 16 + ...etadataOfClassFromModule(target=es5).types | 1 + ...etadataOfEventAlias(target=es5).errors.txt | 13 + .../metadataOfEventAlias(target=es5).types | 1 + ...ictnullchecks=false,target=es5).errors.txt | 23 + ...n(strictnullchecks=false,target=es5).types | 1 + ...rictnullchecks=true,target=es5).errors.txt | 2 + ...ainingLocalFunction(target=es5).errors.txt | 55 + ...dContainingLocalFunction(target=es5).types | 1 + ...issingDecoratorType(target=es5).errors.txt | 2 + .../modifierParenCast(target=es5).errors.txt | 14 + .../modifierParenCast(target=es5).types | 8 + ...WithOnlyES6ArrayLib(target=es5).errors.txt | 2 + ...S5LibAndES6ArrayLib(target=es5).errors.txt | 11 + ...AugmentationGlobal8(target=es5).errors.txt | 2 + ...gmentationGlobal8_1(target=es5).errors.txt | 2 + ...tionsBundledOutput1(target=es5).errors.txt | 2 + ...deImportRequireEmit(target=es5).errors.txt | 15 + ...uleNodeImportRequireEmit(target=es5).types | 2 + .../moduleNoneErrors(target=es5).errors.txt | 2 + .../moduledecl(target=es5).errors.txt | 237 + .../reference/moduledecl(target=es5).types | 39 +- ...pleDefaultExports01(target=es5).errors.txt | 2 + ...pleDefaultExports02(target=es5).errors.txt | 2 + ...pleDefaultExports03(target=es5).errors.txt | 2 + ...pleDefaultExports04(target=es5).errors.txt | 2 + ...pleDefaultExports05(target=es5).errors.txt | 2 + ...nlyInnerLetCaptured(target=es5).errors.txt | 10 + ...WithOnlyInnerLetCaptured(target=es5).types | 7 + .../nestedLoops(target=es5).errors.txt | 22 + .../reference/nestedLoops(target=es5).types | 7 + ...nestedSuperCallEmit(target=es5).errors.txt | 30 + ...entForConvertedLoop(target=es5).errors.txt | 17 + ...ironmentForConvertedLoop(target=es5).types | 9 + .../newTarget.es5(target=es5).errors.txt | 37 + .../newWithSpreadES5(target=es5).errors.txt | 100 + .../newWithSpreadES5(target=es5).types | 50 +- .../noEmitHelpers2(target=es5).errors.txt | 12 + .../noEmitHelpers2(target=es5).types | 3 + ...nInDeclarationFile2(target=es5).errors.txt | 2 + ...nInDeclarationFile3(target=es5).errors.txt | 2 + ...mplicitAnyLoopCrash(target=es5).errors.txt | 2 + ...yMissingGetAccessor(target=es5).errors.txt | 2 + ...yMissingSetAccessor(target=es5).errors.txt | 2 + ...ions3(module=node16,target=es5).errors.txt | 2 + ...ions3(module=node18,target=es5).errors.txt | 2 + ...ions3(module=node20,target=es5).errors.txt | 2 + ...ns3(module=nodenext,target=es5).errors.txt | 2 + ...ions3(module=node16,target=es5).errors.txt | 2 + ...ions3(module=node18,target=es5).errors.txt | 2 + ...ions3(module=node20,target=es5).errors.txt | 2 + ...ns3(module=nodenext,target=es5).errors.txt | 2 + ...torInAsyncGenerator(target=es5).errors.txt | 13 + ...meterBindingPattern(target=es5).errors.txt | 8 + ...terBindingPattern.2(target=es5).errors.txt | 2 + ...arameterInitializer(target=es5).errors.txt | 8 + ...ameterInitializer.2(target=es5).errors.txt | 2 + ...nderscoredSeparator(target=es5).errors.txt | 10 + ...objectLiteralErrors(target=es5).errors.txt | 2 + ...ShorthandProperties(target=es5).errors.txt | 25 + ...teralShorthandProperties(target=es5).types | 11 + ...ectRestParameterES5(target=es5).errors.txt | 26 + .../objectRestParameterES5(target=es5).types | 5 + .../objectSpread(target=es5).errors.txt | 148 + .../reference/objectSpread(target=es5).types | 6 + ...bjectSpreadNegative(target=es5).errors.txt | 2 + ...amedNumericProperty(target=es5).errors.txt | 2 + ...octalIntegerLiteral(target=es5).errors.txt | 45 + .../octalIntegerLiteral(target=es5).types | 9 +- ...lableOnPromisedType(target=es5).errors.txt | 2 + ...onalChainingInArrow(target=es5).errors.txt | 10 + ...ionalChainingInLoop(target=es5).errors.txt | 13 + ...meterBindingPattern(target=es5).errors.txt | 8 + ...terBindingPattern.2(target=es5).errors.txt | 2 + ...arameterInitializer(target=es5).errors.txt | 8 + ...ameterInitializer.2(target=es5).errors.txt | 2 + ...rencingOtherParams2(target=es5).errors.txt | 2 + .../reference/out-flag(target=es5).errors.txt | 22 + .../out-flag2(target=es5).errors.txt | 2 + .../out-flag3(target=es5).errors.txt | 2 + .../outModuleConcatAmd(target=es5).errors.txt | 2 + ...oduleConcatCommonjs(target=es5).errors.txt | 2 + ...onjsDeclarationOnly(target=es5).errors.txt | 2 + ...tModuleConcatSystem(target=es5).errors.txt | 2 + .../outModuleConcatUmd(target=es5).errors.txt | 2 + ...specifiedModuleKind(target=es5).errors.txt | 2 + ...KindDeclarationOnly(target=es5).errors.txt | 2 + ...duleTripleSlashRefs(target=es5).errors.txt | 2 + ...BackwardReferencing(target=es5).errors.txt | 14 + ...sForwardReferencing(target=es5).errors.txt | 2 + ...orwardReferencing.2(target=es5).errors.txt | 2 + ...ForwardReferencing1(target=es5).errors.txt | 2 + ...cSeparators.decimal(target=es5).errors.txt | 20 + .../parserAccessors1(target=es5).errors.txt | 2 + .../parserAccessors10(target=es5).errors.txt | 2 + .../parserAccessors2(target=es5).errors.txt | 8 + .../parserAccessors2(target=es5).types | 2 + .../parserAccessors3(target=es5).errors.txt | 2 + .../parserAccessors4(target=es5).errors.txt | 6 + .../parserAccessors4(target=es5).types | 2 + .../parserAccessors5(target=es5).errors.txt | 2 + .../parserAccessors6(target=es5).errors.txt | 2 + .../parserAccessors7(target=es5).errors.txt | 2 + .../parserAccessors8(target=es5).errors.txt | 2 + .../parserAccessors9(target=es5).errors.txt | 2 + .../parserAstSpans1(target=es5).errors.txt | 2 + ...mputedPropertyName1(target=es5).errors.txt | 2 + ...putedPropertyName10(target=es5).errors.txt | 2 + ...putedPropertyName11(target=es5).errors.txt | 2 + ...mputedPropertyName2(target=es5).errors.txt | 2 + ...mputedPropertyName3(target=es5).errors.txt | 2 + ...mputedPropertyName4(target=es5).errors.txt | 2 + ...mputedPropertyName5(target=es5).errors.txt | 2 + ...mputedPropertyName6(target=es5).errors.txt | 2 + ...mputedPropertyName7(target=es5).errors.txt | 2 + ...mputedPropertyName8(target=es5).errors.txt | 2 + ...mputedPropertyName9(target=es5).errors.txt | 2 + ...S5ForOfStatement1.d(target=es5).errors.txt | 2 + ...ES5ForOfStatement10(target=es5).errors.txt | 2 + ...ES5ForOfStatement11(target=es5).errors.txt | 2 + ...ES5ForOfStatement12(target=es5).errors.txt | 2 + ...ES5ForOfStatement13(target=es5).errors.txt | 2 + ...ES5ForOfStatement14(target=es5).errors.txt | 2 + ...ES5ForOfStatement15(target=es5).errors.txt | 2 + ...ES5ForOfStatement16(target=es5).errors.txt | 2 + ...ES5ForOfStatement17(target=es5).errors.txt | 6 + ...arserES5ForOfStatement17(target=es5).types | 1 + ...ES5ForOfStatement18(target=es5).errors.txt | 6 + ...arserES5ForOfStatement18(target=es5).types | 2 + ...ES5ForOfStatement19(target=es5).errors.txt | 6 + ...arserES5ForOfStatement19(target=es5).types | 2 + ...rES5ForOfStatement2(target=es5).errors.txt | 2 + ...ES5ForOfStatement20(target=es5).errors.txt | 2 + ...ES5ForOfStatement21(target=es5).errors.txt | 2 + ...rES5ForOfStatement3(target=es5).errors.txt | 2 + ...rES5ForOfStatement4(target=es5).errors.txt | 2 + ...rES5ForOfStatement5(target=es5).errors.txt | 2 + ...rES5ForOfStatement6(target=es5).errors.txt | 2 + ...rES5ForOfStatement7(target=es5).errors.txt | 2 + ...rES5ForOfStatement8(target=es5).errors.txt | 2 + ...rES5ForOfStatement9(target=es5).errors.txt | 2 + ...erES5SymbolIndexer1(target=es5).errors.txt | 8 + ...erES5SymbolIndexer2(target=es5).errors.txt | 8 + ...erES5SymbolIndexer3(target=es5).errors.txt | 8 + ...rES5SymbolProperty1(target=es5).errors.txt | 8 + ...rES5SymbolProperty2(target=es5).errors.txt | 8 + ...rES5SymbolProperty3(target=es5).errors.txt | 8 + ...rES5SymbolProperty4(target=es5).errors.txt | 2 + ...rES5SymbolProperty5(target=es5).errors.txt | 2 + ...rES5SymbolProperty6(target=es5).errors.txt | 8 + ...rES5SymbolProperty7(target=es5).errors.txt | 8 + ...rES5SymbolProperty8(target=es5).errors.txt | 8 + ...rES5SymbolProperty9(target=es5).errors.txt | 8 + ...rserForInStatement8(target=es5).errors.txt | 2 + ...WithTypeParameters1(target=es5).errors.txt | 2 + ...rserMemberAccessor1(target=es5).errors.txt | 2 + ...ccessorDeclaration1(target=es5).errors.txt | 2 + ...cessorDeclaration10(target=es5).errors.txt | 2 + ...cessorDeclaration11(target=es5).errors.txt | 2 + ...cessorDeclaration12(target=es5).errors.txt | 2 + ...cessorDeclaration13(target=es5).errors.txt | 2 + ...cessorDeclaration14(target=es5).errors.txt | 2 + ...cessorDeclaration15(target=es5).errors.txt | 2 + ...cessorDeclaration16(target=es5).errors.txt | 2 + ...cessorDeclaration17(target=es5).errors.txt | 2 + ...cessorDeclaration18(target=es5).errors.txt | 2 + ...ccessorDeclaration2(target=es5).errors.txt | 2 + ...ccessorDeclaration3(target=es5).errors.txt | 2 + ...ccessorDeclaration4(target=es5).errors.txt | 8 + ...mberAccessorDeclaration4(target=es5).types | 2 + ...ccessorDeclaration5(target=es5).errors.txt | 8 + ...mberAccessorDeclaration5(target=es5).types | 2 + ...ccessorDeclaration6(target=es5).errors.txt | 8 + ...mberAccessorDeclaration6(target=es5).types | 2 + ...ccessorDeclaration7(target=es5).errors.txt | 2 + ...ccessorDeclaration8(target=es5).errors.txt | 2 + ...ccessorDeclaration9(target=es5).errors.txt | 2 + ...WithTypeAnnotation1(target=es5).errors.txt | 2 + ...WithTypeParameters1(target=es5).errors.txt | 2 + .../parserStrictMode12(target=es5).errors.txt | 2 + ...OnExportedVariables(target=es5).errors.txt | 2 + ...acyAccessorDeclFile(target=es5).errors.txt | 1061 ++++ ...ameAccessorDeclFile(target=es5).errors.txt | 138 + ...yCannotNameAccessorDeclFile(target=es5).js | 71 - .../privacyGetter(target=es5).errors.txt | 2 + .../privacyGloGetter(target=es5).errors.txt | 93 + ...leWithinNestedClass(target=es5).errors.txt | 42 + ...nabilityFromUnknown(target=es5).errors.txt | 2 + ...MemberAccessibility(target=es5).errors.txt | 2 + ...eNameBadDeclaration(target=es5).errors.txt | 2 + .../privateNameES5Ban(target=es5).errors.txt | 2 + ...meInObjectLiteral-3(target=es5).errors.txt | 2 + ...ameJsBadDeclaration(target=es5).errors.txt | 2 + .../defaultExcludeOnlyNodeModules.errors.txt | 5 +- .../defaultExcludeOnlyNodeModules.errors.txt | 5 +- ...MetadataCommonJSISolatedModules.errors.txt | 5 +- ...MetadataCommonJSISolatedModules.errors.txt | 5 +- ...ommonJSISolatedModulesNoResolve.errors.txt | 5 +- ...ommonJSISolatedModulesNoResolve.errors.txt | 5 +- .../emitDecoratorMetadataSystemJS.errors.txt | 5 +- .../emitDecoratorMetadataSystemJS.errors.txt | 5 +- ...MetadataSystemJSISolatedModules.errors.txt | 5 +- ...MetadataSystemJSISolatedModules.errors.txt | 5 +- ...ystemJSISolatedModulesNoResolve.errors.txt | 5 +- ...ystemJSISolatedModulesNoResolve.errors.txt | 5 +- ...omiseDefinitionTest(target=es5).errors.txt | 2 + .../properties(target=es5).errors.txt | 17 + ...OverridesAccessors4(target=es5).errors.txt | 2 + ...cessibleWithinClass(target=es5).errors.txt | 36 + ...rtyAccessibleWithinClass(target=es5).types | 8 + ...leWithinNestedClass(target=es5).errors.txt | 42 + ...ithinNestedSubclass(target=es5).errors.txt | 2 + ...sibleWithinSubclass(target=es5).errors.txt | 24 + ...ibleWithinSubclass3(target=es5).errors.txt | 2 + ...MemberAccessibility(target=es5).errors.txt | 2 + ...ibleWithinSubclass2(target=es5).errors.txt | 2 + ...erFromThisParameter(target=es5).errors.txt | 2 + ...ExportDefaultExport(target=es5).errors.txt | 16 + ...lyInDeclarationFile(target=es5).errors.txt | 58 + ...nPropertyParameters(target=es5).errors.txt | 2 + .../readonlyMembers(target=es5).errors.txt | 2 + ...recursiveProperties(target=es5).errors.txt | 12 + .../recursiveProperties(target=es5).types | 2 + ...nBracketInCharClass(target=es5).errors.txt | 2 + ...rExpressionScanning(target=es5).errors.txt | 2 + ...pressionSuggestions(target=es5).errors.txt | 2 + ...eWithModuleEmitNone(target=es5).errors.txt | 2 + ...eResolutionEmitNone(target=es5).errors.txt | 2 + ...WithNullInitializer(target=es5).errors.txt | 2 + ...hNumberPropertyName(target=es5).errors.txt | 7 + ...nDownlevelGenerator(target=es5).errors.txt | 9 + ...yWithBindingPattern(target=es5).errors.txt | 2 + ...NoAsiAfterTransform(target=es5).errors.txt | 68 + ...nnerNumericLiteral1(target=es5).errors.txt | 6 + ...nnerNumericLiteral2(target=es5).errors.txt | 2 + ...nnerNumericLiteral3(target=es5).errors.txt | 2 + ...nnerNumericLiteral4(target=es5).errors.txt | 2 + ...nnerNumericLiteral5(target=es5).errors.txt | 6 + ...nnerNumericLiteral6(target=es5).errors.txt | 2 + ...nnerNumericLiteral7(target=es5).errors.txt | 6 + ...nnerNumericLiteral8(target=es5).errors.txt | 2 + ...nnerNumericLiteral9(target=es5).errors.txt | 2 + ...larationsWithNoEmit(target=es5).errors.txt | 2 + ...nd-property-es5-es6(target=es5).errors.txt | 2 + ..._targetES5_CommonJS(target=es5).errors.txt | 11 + ...entsInDestructuring(target=es5).errors.txt | 2 + .../sourceMap-Comment1(target=es5).errors.txt | 6 + .../sourceMap-Comments(target=es5).errors.txt | 25 + ...sourceMap-Comments2(target=es5).errors.txt | 24 + ...ourceMap-EmptyFile1(target=es5).errors.txt | 6 + ...ariableDeclaration1(target=es5).errors.txt | 7 + ...ourceMap-LineBreaks(target=es5).errors.txt | 20 + .../sourceMap-NewLine1(target=es5).errors.txt | 6 + ...ourceMap-SemiColon1(target=es5).errors.txt | 7 + ...rceMap-SingleSpace1(target=es5).errors.txt | 6 + ...gLiteralWithNewLine(target=es5).errors.txt | 18 + ...eMapValidationClass(target=es5).errors.txt | 23 + ...alidationDecorators(target=es5).errors.txt | 59 + ...ArrayBindingPattern(target=es5).errors.txt | 97 + ...ngForArrayBindingPattern(target=es5).types | 1 + ...rrayBindingPattern2(target=es5).errors.txt | 103 + ...gForArrayBindingPattern2(target=es5).types | 1 + ...atternDefaultValues(target=es5).errors.txt | 113 + ...dingPatternDefaultValues(target=es5).types | 1 + ...tternDefaultValues2(target=es5).errors.txt | 119 + ...ingPatternDefaultValues2(target=es5).types | 1 + ...ArrayBindingPattern(target=es5).errors.txt | 100 + ...ForOfArrayBindingPattern(target=es5).types | 1 + ...rrayBindingPattern2(target=es5).errors.txt | 105 + ...orOfArrayBindingPattern2(target=es5).types | 1 + ...atternDefaultValues(target=es5).errors.txt | 109 + ...dingPatternDefaultValues(target=es5).types | 1 + ...tternDefaultValues2(target=es5).errors.txt | 114 + ...ingPatternDefaultValues2(target=es5).types | 1 + ...bjectBindingPattern(target=es5).errors.txt | 72 + ...orOfObjectBindingPattern(target=es5).types | 1 + ...jectBindingPattern2(target=es5).errors.txt | 114 + ...rOfObjectBindingPattern2(target=es5).types | 1 + ...atternDefaultValues(target=es5).errors.txt | 94 + ...dingPatternDefaultValues(target=es5).types | 1 + ...tternDefaultValues2(target=es5).errors.txt | 171 + ...ingPatternDefaultValues2(target=es5).types | 1 + ...ArrayBindingPattern(target=es5).errors.txt | 38 + ...etertArrayBindingPattern(target=es5).types | 1 + ...rrayBindingPattern2(target=es5).errors.txt | 38 + ...tertArrayBindingPattern2(target=es5).types | 1 + ...atternDefaultValues(target=es5).errors.txt | 38 + ...dingPatternDefaultValues(target=es5).types | 1 + ...tternDefaultValues2(target=es5).errors.txt | 34 + ...ingPatternDefaultValues2(target=es5).types | 1 + ...ArrayBindingPattern(target=es5).errors.txt | 25 + ...rrayBindingPattern2(target=es5).errors.txt | 24 + ...rrayBindingPattern3(target=es5).errors.txt | 61 + ...mentArrayBindingPattern3(target=es5).types | 1 + ...atternDefaultValues(target=es5).errors.txt | 24 + ...tternDefaultValues2(target=es5).errors.txt | 22 + ...tternDefaultValues3(target=es5).errors.txt | 59 + ...ingPatternDefaultValues3(target=es5).types | 1 + ...,usedefineforclassfields=false).errors.txt | 2 + ...5,usedefineforclassfields=true).errors.txt | 2 + ...lEmptyDestructuring(target=es5).errors.txt | 2 + .../superAccess(target=es5).errors.txt | 2 + .../superInLambdas(target=es5).errors.txt | 2 + ...nObjectLiterals_ES5(target=es5).errors.txt | 2 + ...perInStaticMembers1(target=es5).errors.txt | 494 ++ ...superPropertyAccess(target=es5).errors.txt | 2 + ...uperPropertyAccess1(target=es5).errors.txt | 2 + ...uperPropertyAccess2(target=es5).errors.txt | 2 + ...iesOfNestedType_ES5(target=es5).errors.txt | 19 + ...opertyAccessNoError(target=es5).errors.txt | 75 + ...perPropertyAccessNoError(target=es5).types | 6 + ...rPropertyAccess_ES5(target=es5).errors.txt | 2 + ...ymbolIndexedAccess5(target=es5).errors.txt | 18 + ...uperSymbolIndexedAccess5(target=es5).types | 4 + ...ymbolIndexedAccess6(target=es5).errors.txt | 18 + ...uperSymbolIndexedAccess6(target=es5).types | 4 + ...getters-and-setters(target=es5).errors.txt | 2 + ...temExportAssignment(target=es5).errors.txt | 2 + ...emExportAssignment2(target=es5).errors.txt | 2 + ...emExportAssignment3(target=es5).errors.txt | 2 + .../systemModule10_ES5(target=es5).errors.txt | 2 + ...WithCurriedFunction(target=es5).errors.txt | 15 + ...ringsWithCurriedFunction(target=es5).types | 1 + ...thoutDeclaredHelper(target=es5).errors.txt | 2 + ...esInModuleAndGlobal(target=es5).errors.txt | 26 + ...dataImportNotElided(target=es5).errors.txt | 19 + ...rMetadataImportNotElided(target=es5).types | 1 + ...ypeDefinedInES5Mode(target=es5).errors.txt | 2 + ...peNotDefinedES5Mode(target=es5).errors.txt | 2 + ...perInStaticMembers3(target=es5).errors.txt | 27 + ...perInStaticMembers4(target=es5).errors.txt | 27 + ...textsExternalModule(target=es5).errors.txt | 2 + ...thisTypeInAccessors(target=es5).errors.txt | 2 + ...InAccessorsNegative(target=es5).errors.txt | 2 + ...peInObjectLiterals2(target=es5).errors.txt | 247 + .../trailingCommasES5(target=es5).errors.txt | 16 + ...ametersAndArguments(target=es5).errors.txt | 2 + ...dLoopVarInitializer(target=es5).errors.txt | 11 + ...ScopedLoopVarInitializer(target=es5).types | 2 + ...edGeneratorsWithTry(target=es5).errors.txt | 2 + ...tionalSubexpression(target=es5).errors.txt | 8 + ...ConditionalSubexpression(target=es5).types | 4 + ...ion (verbatimModuleSyntax=true).errors.txt | 2 + ...ModuleSyntax=true).oldTranspile.errors.txt | 2 + ... transpile with CommonJS option.errors.txt | 2 + ...th CommonJS option.oldTranspile.errors.txt | 2 + ...en transpile with System option.errors.txt | 2 + ...with System option.oldTranspile.errors.txt | 2 + ...onNoStructuralCheck(target=es5).errors.txt | 2 + ...nNoStructuralCheck2(target=es5).errors.txt | 18 + .../modules-and-globals-mixed-in-amd.js | 24 +- .../prepend-reports-deprecation-error.js | 24 +- ...e-resolution-finds-original-source-file.js | 12 +- .../outFile/baseline-sectioned-sourcemaps.js | 51 +- .../outFile/builds-till-project-specified.js | 5 + .../non-module-projects-without-prepend.js | 17 +- ...al-flag-changes-between-non-dts-changes.js | 46 +- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 15 + ...erated-when-incremental-is-set-to-false.js | 17 +- ...-buildInfo-absence-results-in-new-build.js | 17 +- ...roject-is-not-composite-but-incremental.js | 17 +- ...t-composite-but-uses-project-references.js | 34 +- ...final-project-specifies-tsBuildInfoFile.js | 17 +- ...ot-change-but-its-modified-time-changes.js | 34 +- .../adds-color-when-FORCE_COLOR-is-set.js | 2 +- ...COLOR-is-set-even-if-FORCE_COLOR-is-set.js | 2 +- ...does-not-add-color-when-NO_COLOR-is-set.js | 2 +- .../reference/tsc/commandLine/help-all.js | 2 +- .../reference/tsc/commandLine/help.js | 2 +- ...-when-host-can't-provide-terminal-width.js | 2 +- ...tatus.DiagnosticsPresent_OutputsSkipped.js | 2 +- ...-config-file-absent-with---ignoreConfig.js | 2 +- ...out-any-options-when-config-file-absent.js | 2 +- .../tsc/moduleResolution/pnpm-style-layout.js | 7 +- ...ltiple-declaration-files-in-the-program.js | 7 +- ...ltiple-declaration-files-in-the-program.js | 7 +- ...s-changes-in-lib-section-of-config-file.js | 28 + .../resolutionCache/when-resolution-fails.js | 14 + .../when-resolves-to-ambient-module.js | 14 + .../tsxPreserveEmit1(target=es5).errors.txt | 2 + .../tsxPreserveEmit2(target=es5).errors.txt | 2 + ...validType(jsx=react,target=es5).errors.txt | 2 + ...dType(jsx=react-jsx,target=es5).errors.txt | 2 + ...cessorsWithSameName(target=es5).errors.txt | 2 + ...liasDeclarationEmit(target=es5).errors.txt | 2 + ...iasDeclarationEmit2(target=es5).errors.txt | 2 + ...ssignmentOutOfOrder(target=es5).errors.txt | 18 + ...ardOfFormThisMember(target=es5).errors.txt | 2 + ...ormThisMemberErrors(target=es5).errors.txt | 2 + ...rdsInClassAccessors(target=es5).errors.txt | 107 + ...eGuardsInProperties(target=es5).errors.txt | 30 + ...GuardsObjectMethods(target=es5).errors.txt | 54 + ...isInStaticMembers10(target=es5).errors.txt | 2 + ...isInStaticMembers11(target=es5).errors.txt | 2 + ...isInStaticMembers12(target=es5).errors.txt | 2 + ...isInStaticMembers13(target=es5).errors.txt | 2 + ...hisInStaticMembers3(target=es5).errors.txt | 2 + ...hisInStaticMembers4(target=es5).errors.txt | 2 + ...hisInStaticMembers5(target=es5).errors.txt | 13 + ...hisInStaticMembers7(target=es5).errors.txt | 2 + ...hisInStaticMembers8(target=es5).errors.txt | 2 + ...hisInStaticMembers9(target=es5).errors.txt | 2 + .../typedArrays-es5(target=es5).errors.txt | 2 + ...odeEscapesInNames01(target=es5).errors.txt | 2 + ...odeEscapesInNames02(target=es5).errors.txt | 6 +- ...egularExpressions01(target=es5).errors.txt | 2 + ...egularExpressions02(target=es5).errors.txt | 2 + ...egularExpressions03(target=es5).errors.txt | 2 + ...egularExpressions04(target=es5).errors.txt | 2 + ...egularExpressions05(target=es5).errors.txt | 2 + ...egularExpressions06(target=es5).errors.txt | 2 + ...egularExpressions07(target=es5).errors.txt | 2 + ...egularExpressions08(target=es5).errors.txt | 2 + ...egularExpressions09(target=es5).errors.txt | 2 + ...egularExpressions10(target=es5).errors.txt | 2 + ...egularExpressions11(target=es5).errors.txt | 2 + ...egularExpressions12(target=es5).errors.txt | 2 + ...egularExpressions13(target=es5).errors.txt | 2 + ...egularExpressions14(target=es5).errors.txt | 2 + ...egularExpressions15(target=es5).errors.txt | 2 + ...egularExpressions16(target=es5).errors.txt | 2 + ...egularExpressions17(target=es5).errors.txt | 2 + ...egularExpressions18(target=es5).errors.txt | 2 + ...egularExpressions19(target=es5).errors.txt | 2 + ...dEscapesInStrings01(target=es5).errors.txt | 7 + ...dEscapesInStrings02(target=es5).errors.txt | 7 + ...dEscapesInStrings03(target=es5).errors.txt | 7 + ...dEscapesInStrings04(target=es5).errors.txt | 7 + ...dEscapesInStrings05(target=es5).errors.txt | 7 + ...dEscapesInStrings06(target=es5).errors.txt | 9 + ...dEscapesInStrings07(target=es5).errors.txt | 2 + ...dEscapesInStrings08(target=es5).errors.txt | 10 + ...dEscapesInStrings09(target=es5).errors.txt | 10 + ...dEscapesInStrings10(target=es5).errors.txt | 11 + ...dEscapesInStrings11(target=es5).errors.txt | 11 + ...dEscapesInStrings12(target=es5).errors.txt | 2 + ...dEscapesInStrings13(target=es5).errors.txt | 7 + ...dEscapesInStrings14(target=es5).errors.txt | 2 + ...dEscapesInStrings15(target=es5).errors.txt | 7 + ...dEscapesInStrings16(target=es5).errors.txt | 7 + ...dEscapesInStrings17(target=es5).errors.txt | 2 + ...dEscapesInStrings18(target=es5).errors.txt | 7 + ...dEscapesInStrings19(target=es5).errors.txt | 2 + ...dEscapesInStrings20(target=es5).errors.txt | 2 + ...dEscapesInStrings21(target=es5).errors.txt | 2 + ...dEscapesInStrings22(target=es5).errors.txt | 2 + ...dEscapesInStrings23(target=es5).errors.txt | 7 + ...dEscapesInStrings24(target=es5).errors.txt | 2 + ...dEscapesInStrings25(target=es5).errors.txt | 2 + ...scapesInTemplates01(target=es5).errors.txt | 7 + ...scapesInTemplates02(target=es5).errors.txt | 7 + ...scapesInTemplates03(target=es5).errors.txt | 7 + ...scapesInTemplates04(target=es5).errors.txt | 7 + ...scapesInTemplates05(target=es5).errors.txt | 7 + ...scapesInTemplates06(target=es5).errors.txt | 9 + ...scapesInTemplates07(target=es5).errors.txt | 2 + ...scapesInTemplates08(target=es5).errors.txt | 10 + ...scapesInTemplates09(target=es5).errors.txt | 10 + ...scapesInTemplates10(target=es5).errors.txt | 11 + ...scapesInTemplates11(target=es5).errors.txt | 11 + ...scapesInTemplates12(target=es5).errors.txt | 2 + ...scapesInTemplates13(target=es5).errors.txt | 7 + ...scapesInTemplates14(target=es5).errors.txt | 2 + ...scapesInTemplates15(target=es5).errors.txt | 7 + ...scapesInTemplates16(target=es5).errors.txt | 7 + ...scapesInTemplates17(target=es5).errors.txt | 2 + ...scapesInTemplates18(target=es5).errors.txt | 7 + ...scapesInTemplates19(target=es5).errors.txt | 2 + ...scapesInTemplates20(target=es5).errors.txt | 7 + ...unusedGetterInClass(target=es5).errors.txt | 2 + ...rameterUsedInTypeOf(target=es5).errors.txt | 8 + ...nusedPrivateMembers(target=es5).errors.txt | 2 + ...unusedSetterInClass(target=es5).errors.txt | 2 + ...ctValuesAndEntries1(target=es5).errors.txt | 35 + ...ctValuesAndEntries2(target=es5).errors.txt | 2 + .../usePromiseFinally(target=es5).errors.txt | 8 + ...eSharedArrayBuffer1(target=es5).errors.txt | 8 + ...eSharedArrayBuffer2(target=es5).errors.txt | 2 + ...eSharedArrayBuffer5(target=es5).errors.txt | 8 + ...eSharedArrayBuffer6(target=es5).errors.txt | 2 + ...ikePrologueString01(target=es5).errors.txt | 9 + ...usingDeclarations.1(target=es5).errors.txt | 167 + ...singDeclarations.11(target=es5).errors.txt | 39 + ...usingDeclarations.2(target=es5).errors.txt | 10 + ...usingDeclarations.3(target=es5).errors.txt | 12 + ...ngDeclarationsInFor(target=es5).errors.txt | 8 + ...rationsInForAwaitOf(target=es5).errors.txt | 10 + ...clarationsInForOf.1(target=es5).errors.txt | 8 + ...s.1(module=commonjs,target=es5).errors.txt | 15 + ...ors.1(module=esnext,target=es5).errors.txt | 15 + ...ors.1(module=system,target=es5).errors.txt | 2 + ....10(module=commonjs,target=es5).errors.txt | 15 + ...rs.10(module=esnext,target=es5).errors.txt | 15 + ...rs.10(module=system,target=es5).errors.txt | 2 + ....11(module=commonjs,target=es5).errors.txt | 17 + ...rs.11(module=esnext,target=es5).errors.txt | 17 + ...rs.11(module=system,target=es5).errors.txt | 2 + ....12(module=commonjs,target=es5).errors.txt | 17 + ...rs.12(module=esnext,target=es5).errors.txt | 17 + ...rs.12(module=system,target=es5).errors.txt | 2 + ...s.2(module=commonjs,target=es5).errors.txt | 15 + ...ors.2(module=esnext,target=es5).errors.txt | 15 + ...ors.2(module=system,target=es5).errors.txt | 2 + ...s.3(module=commonjs,target=es5).errors.txt | 16 + ...ors.3(module=esnext,target=es5).errors.txt | 16 + ...ors.3(module=system,target=es5).errors.txt | 2 + ...s.4(module=commonjs,target=es5).errors.txt | 15 + ...ors.4(module=esnext,target=es5).errors.txt | 15 + ...ors.4(module=system,target=es5).errors.txt | 2 + ...s.5(module=commonjs,target=es5).errors.txt | 16 + ...ors.5(module=esnext,target=es5).errors.txt | 16 + ...ors.5(module=system,target=es5).errors.txt | 2 + ...s.6(module=commonjs,target=es5).errors.txt | 16 + ...ors.6(module=esnext,target=es5).errors.txt | 16 + ...ors.6(module=system,target=es5).errors.txt | 2 + ...s.7(module=commonjs,target=es5).errors.txt | 16 + ...ors.7(module=esnext,target=es5).errors.txt | 16 + ...ors.7(module=system,target=es5).errors.txt | 2 + ...s.8(module=commonjs,target=es5).errors.txt | 15 + ...ors.8(module=esnext,target=es5).errors.txt | 15 + ...ors.8(module=system,target=es5).errors.txt | 2 + ...s.9(module=commonjs,target=es5).errors.txt | 18 + ...ors.9(module=esnext,target=es5).errors.txt | 18 + ...ors.9(module=system,target=es5).errors.txt | 2 + ...s.1(module=commonjs,target=es5).errors.txt | 15 + ...ors.1(module=esnext,target=es5).errors.txt | 15 + ...ors.1(module=system,target=es5).errors.txt | 2 + ....10(module=commonjs,target=es5).errors.txt | 15 + ...rs.10(module=esnext,target=es5).errors.txt | 15 + ...rs.10(module=system,target=es5).errors.txt | 2 + ....11(module=commonjs,target=es5).errors.txt | 17 + ...rs.11(module=esnext,target=es5).errors.txt | 17 + ...rs.11(module=system,target=es5).errors.txt | 2 + ....12(module=commonjs,target=es5).errors.txt | 17 + ...rs.12(module=esnext,target=es5).errors.txt | 17 + ...rs.12(module=system,target=es5).errors.txt | 2 + ...s.2(module=commonjs,target=es5).errors.txt | 15 + ...ors.2(module=esnext,target=es5).errors.txt | 15 + ...ors.2(module=system,target=es5).errors.txt | 2 + ...s.3(module=commonjs,target=es5).errors.txt | 15 + ...ors.3(module=esnext,target=es5).errors.txt | 15 + ...ors.3(module=system,target=es5).errors.txt | 2 + ...s.4(module=commonjs,target=es5).errors.txt | 15 + ...ors.4(module=esnext,target=es5).errors.txt | 15 + ...ors.4(module=system,target=es5).errors.txt | 2 + ...s.5(module=commonjs,target=es5).errors.txt | 16 + ...ors.5(module=esnext,target=es5).errors.txt | 16 + ...ors.5(module=system,target=es5).errors.txt | 2 + ...s.6(module=commonjs,target=es5).errors.txt | 16 + ...ors.6(module=esnext,target=es5).errors.txt | 16 + ...ors.6(module=system,target=es5).errors.txt | 2 + ...s.7(module=commonjs,target=es5).errors.txt | 15 + ...ors.7(module=esnext,target=es5).errors.txt | 15 + ...ors.7(module=system,target=es5).errors.txt | 2 + ...s.8(module=commonjs,target=es5).errors.txt | 15 + ...ors.8(module=esnext,target=es5).errors.txt | 15 + ...ors.8(module=system,target=es5).errors.txt | 2 + ...s.9(module=commonjs,target=es5).errors.txt | 15 + ...ors.9(module=esnext,target=es5).errors.txt | 15 + ...ors.9(module=system,target=es5).errors.txt | 2 + ...nDownlevelGenerator(target=es5).errors.txt | 13 + ...orInInDownlevelGenerator(target=es5).types | 4 + ...NoAsiAfterTransform(target=es5).errors.txt | 68 + 1630 files changed, 29332 insertions(+), 336 deletions(-) create mode 100644 tests/baselines/reference/ES3For-ofTypeCheck1(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES3For-ofTypeCheck2(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES3For-ofTypeCheck4(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES3For-ofTypeCheck6(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of1(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of10(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of11(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of13(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of14(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of15(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of16(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of18(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of19(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of2(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of21(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of22(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of23(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of24(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of25(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of3(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of33(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of37(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of4(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of5(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of6(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-of9(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-ofTypeCheck1(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-ofTypeCheck2(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-ofTypeCheck3(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-ofTypeCheck4(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-ofTypeCheck5(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5For-ofTypeCheck6(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5SymbolProperty1(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5SymbolProperty2(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5SymbolProperty6(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5SymbolType1(target=es5).errors.txt create mode 100644 tests/baselines/reference/ES5for-of32(target=es5).errors.txt create mode 100644 tests/baselines/reference/abstractPropertyBasics(target=es5).errors.txt create mode 100644 tests/baselines/reference/accessorWithES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/accessorWithLineTerminator(target=es5).errors.txt create mode 100644 tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers(target=es5).errors.txt create mode 100644 tests/baselines/reference/aliasUsageInAccessorsOfClass(target=es5).errors.txt create mode 100644 tests/baselines/reference/alwaysStrictModule6(target=es5).errors.txt create mode 100644 tests/baselines/reference/ambientAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/arrayToLocaleStringES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).errors.txt create mode 100644 tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncArrowFunction11_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncArrowFunction1_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncArrowFunction2_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncArrowFunction4_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncArrowFunctionCapturesThis_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncArrowInClassES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncAwaitNestedClasses_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncAwait_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncFunctionDeclaration11_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncFunctionDeclaration14_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncFunctionDeclaration1_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncFunctionDeclaration4_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncImportedPromise_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncMethodWithSuper_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncMultiFile_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncQualifiedReturnType_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/asyncUseStrict_es5(target=es5).errors.txt delete mode 100644 tests/baselines/reference/autoAccessor1(target=es5).js delete mode 100644 tests/baselines/reference/autoAccessor3(target=es5).js delete mode 100644 tests/baselines/reference/autoAccessor4(target=es5).js create mode 100644 tests/baselines/reference/awaitBinaryExpression1_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitBinaryExpression2_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitBinaryExpression3_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitBinaryExpression4_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitBinaryExpression5_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression1_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression2_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression3_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression4_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression5_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression6_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression7_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitCallExpression8_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitClassExpression_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitUnion_es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).errors.txt create mode 100644 tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).errors.txt create mode 100644 tests/baselines/reference/binaryIntegerLiteral(target=es5).errors.txt create mode 100644 tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).errors.txt create mode 100644 tests/baselines/reference/blockScopedFunctionDeclarationES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/callChainWithSuper(target=es5).errors.txt create mode 100644 tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).errors.txt create mode 100644 tests/baselines/reference/capturedVarInLoop(target=es5).errors.txt create mode 100644 tests/baselines/reference/circularObjectLiteralAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).errors.txt create mode 100644 tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).errors.txt create mode 100644 tests/baselines/reference/classExtendsAcrossFiles(target=es5).errors.txt create mode 100644 tests/baselines/reference/classInConvertedLoopES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/classStaticBlock1(target=es5).errors.txt create mode 100644 tests/baselines/reference/classStaticBlock10(target=es5).errors.txt create mode 100644 tests/baselines/reference/classStaticBlock18(target=es5).errors.txt create mode 100644 tests/baselines/reference/classStaticBlock2(target=es5).errors.txt create mode 100644 tests/baselines/reference/classStaticPropertyTypeGuard(target=es5).errors.txt create mode 100644 tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface(target=es5).errors.txt create mode 100644 tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2(target=es5).errors.txt create mode 100644 tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).errors.txt create mode 100644 tests/baselines/reference/classdecl(target=es5).errors.txt create mode 100644 tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/collisionSuperAndLocalVarInAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/collisionSuperAndParameter(target=es5).errors.txt create mode 100644 tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsClass(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsClassMembers(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsCommentParsing(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsEnums(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsExternalModules3(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsFormatting(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsInheritance(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsInterface(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsModules(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsMultiModuleSingleFile(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsOnObjectLiteral3(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsOnObjectLiteral4(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsOnObjectLiteral5(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsOnRequireStatement(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsOverloads(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsVarDecl(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsdoNotEmitComments(target=es5).errors.txt create mode 100644 tests/baselines/reference/commentsemitComments(target=es5).errors.txt create mode 100644 tests/baselines/reference/commonjsSafeImport(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames10_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames11_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames13_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames16_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames18_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames1_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames20_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames22_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames25_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames28_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames29_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames31_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames33_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames37_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames41_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames47_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames4_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNames7_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType3_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType4_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType5_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType6_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesContextualType7_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesOnOverloads_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesSourceMap1_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computedPropertyNamesSourceMap2_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).errors.txt create mode 100644 tests/baselines/reference/constDeclarations-es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/constructorWithSuperAndPrologue.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).errors.txt create mode 100644 tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1(target=es5).errors.txt create mode 100644 tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).errors.txt create mode 100644 tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileCallSignatures(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileClassExtendsNull(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileConstructSignatures(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileConstructors(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileFunctions(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileIndexSignatures(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileMethods(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileObjectLiteralWithOnlyGetter(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFilePrivateStatic(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationArrayType(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationBuiltInType(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationStringLiteral(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationTupleType(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationTypeAlias(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationTypeLiteral(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationTypeQuery(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationTypeReference(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationUnionType(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral(target=es5).errors.txt create mode 100644 tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitClassMemberNameConflict2(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitClassPrivateConstructor(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitClassPrivateConstructor2(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitDetachedComment1(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitDetachedComment2(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitExportAssignment(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitExportDeclaration(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitModuleWithScopeMarker(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitProtectedMembers(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitSymlinkPaths(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitWithDefaultAsComputedName(target=es5).errors.txt create mode 100644 tests/baselines/reference/declarationEmitWithDefaultAsComputedName2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratedBlockScopedClass1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratedBlockScopedClass2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratedBlockScopedClass3(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadata(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataOnInferredType(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithConstructorType(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClass1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClass2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClass3(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClass4(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClass5(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClass9(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassAccessor1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassAccessor2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassAccessor4(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassAccessor5(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassAccessor8(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassConstructor3(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassConstructor4(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassConstructorParameter1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassMethod1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassMethod2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassMethodParameter1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassMethodParameter2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassProperty1(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassProperty10(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassProperty12(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorOnClassProperty2(target=es5).errors.txt create mode 100644 tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).errors.txt create mode 100644 tests/baselines/reference/defaultExportWithOverloads01(target=es5).errors.txt create mode 100644 tests/baselines/reference/defineProperty(target=es5).errors.txt create mode 100644 tests/baselines/reference/derivedClassConstructorWithExplicitReturns01(target=es5).errors.txt create mode 100644 tests/baselines/reference/derivedClassOverridesProtectedMembers(target=es5).errors.txt create mode 100644 tests/baselines/reference/derivedClassOverridesProtectedMembers2(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringEvaluationOrder(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringParameterDeclaration7ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringParameterDeclaration7ES5iterable(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).errors.txt create mode 100644 tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).errors.txt create mode 100644 tests/baselines/reference/divergentAccessorsTypes3(target=es5).errors.txt create mode 100644 tests/baselines/reference/downlevelLetConst13(target=es5).errors.txt create mode 100644 tests/baselines/reference/downlevelLetConst14(target=es5).errors.txt create mode 100644 tests/baselines/reference/downlevelLetConst15(target=es5).errors.txt create mode 100644 tests/baselines/reference/downlevelLetConst17(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitArrowFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitArrowFunctionAsIs(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationOperator1(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitCompoundExponentiationOperator2(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitDecoratorMetadata_object(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitDecoratorMetadata_restArgs(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitDefaultParametersFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitDefaultParametersFunctionExpression(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitDefaultParametersFunctionProperty(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitDefaultParametersMethod(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperator1(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperator2(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperator3(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitRestParametersFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitRestParametersFunctionExpression(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitRestParametersFunctionProperty(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitRestParametersMethod(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emitter.forAwait(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyFile-declaration(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyFile-souremap(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionLongObjectLiteral(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-commonjs(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-commonjs2(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-commonjs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-commonjs6(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-commonjs7(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-commonjs8(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultClassDeclaration(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultClassDeclaration2(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultClassDeclaration4(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultExpression(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultFunctionDeclaration(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultFunctionDeclaration2(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultFunctionDeclaration3(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultFunctionDeclaration4(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportDefaultIdentifier(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ExportEqualsDts(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ModuleWithModuleGenCommonjs(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5ModuleWithoutModuleGenTarget(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).errors.txt create mode 100644 tests/baselines/reference/es5andes6module(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ExportAllInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ExportClauseInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ExportClauseWithAssignmentInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ImportDefaultBindingDts(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ImportDefaultBindingInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ImportNameSpaceImportInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ImportNameSpaceImportNoNamedExports(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6ImportNamedImportInEs5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindExportClassNameWithObject(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target11(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target12(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target2(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target3(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target4(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target5(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target6(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target7(target=es5).errors.txt create mode 100644 tests/baselines/reference/es6modulekindWithES5Target8(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-setFunctionName(target=es5).errors.txt create mode 100644 tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).errors.txt create mode 100644 tests/baselines/reference/esModuleInteropWithExportStar(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target11(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target12(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target2(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target3(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target4(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target5(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target6(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target7(target=es5).errors.txt create mode 100644 tests/baselines/reference/esnextmodulekindWithES5Target8(target=es5).errors.txt create mode 100644 tests/baselines/reference/exnextmodulekindExportClassNameWithObject(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportAmbientClassNameWithObject(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportAndImport-es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportDefaultParenthesize(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportEmptyArrayBindingPattern(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportEmptyArrayBindingPattern(module=es2015,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportEmptyArrayBindingPattern(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportEmptyObjectBindingPattern(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportEmptyObjectBindingPattern(module=es2015,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportEmptyObjectBindingPattern(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportObjectRest(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportObjectRest(module=es2015,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportObjectRest(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/exportsAndImports4(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportsAndImportsWithContextualKeywordNames02(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).errors.txt create mode 100644 tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).errors.txt create mode 100644 tests/baselines/reference/forAwaitPerIterationBindingDownlevel(target=es5).errors.txt create mode 100644 tests/baselines/reference/functionLikeInParameterInitializer(target=es5).errors.txt create mode 100644 tests/baselines/reference/generatorTransformFinalLabel(target=es5).errors.txt create mode 100644 tests/baselines/reference/getSetEnumerable(target=es5).errors.txt create mode 100644 tests/baselines/reference/importCallExpressionAsyncES5CJS(target=es5).errors.txt create mode 100644 tests/baselines/reference/importCallExpressionES5CJS(target=es5).errors.txt create mode 100644 tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).errors.txt create mode 100644 tests/baselines/reference/importCallExpressionNestedES20202(target=es5).errors.txt create mode 100644 tests/baselines/reference/importHelpers(target=es5).errors.txt create mode 100644 tests/baselines/reference/importHelpersDeclarations(target=es5).errors.txt create mode 100644 tests/baselines/reference/importHelpersInAmbientContext(target=es5).errors.txt create mode 100644 tests/baselines/reference/importHelpersInIsolatedModules(target=es5).errors.txt create mode 100644 tests/baselines/reference/importHelpersInTsx(target=es5).errors.txt create mode 100644 tests/baselines/reference/importHelpersNoEmitHelpersExportDefault(target=es5).errors.txt create mode 100644 tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).errors.txt create mode 100644 tests/baselines/reference/inlineSourceMap(target=es5).errors.txt create mode 100644 tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).errors.txt create mode 100644 tests/baselines/reference/isolatedModulesPlainFile-CommonJS(target=es5).errors.txt create mode 100644 tests/baselines/reference/iterableWithNeverAsUnionMember(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsClassStatic(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsClassStaticMethodAugmentation(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsClasses(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsComputedNames(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsDefault(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsEnumTag(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportForms(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportSpecifierNonlocal(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsExportSubAssignments(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionKeywordProp(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsJson(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsMissingGenerics(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsMissingTypeParameters(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsMultipleExportFromMerge(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsPackageJson(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsReactComponents(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsReexportAliases(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsRestArgsWithThisTypeInJSDocFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).errors.txt create mode 100644 tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).errors.txt create mode 100644 tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2(target=es5).errors.txt create mode 100644 tests/baselines/reference/letConstMatchingParameterNames(target=es5).errors.txt create mode 100644 tests/baselines/reference/letDeclarations-es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/letDeclarations-es5-1(target=es5).errors.txt create mode 100644 tests/baselines/reference/letInVarDeclOfForIn_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/letInVarDeclOfForOf_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/localTypes1(target=es5).errors.txt create mode 100644 tests/baselines/reference/manyConstExports(target=es5).errors.txt create mode 100644 tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).errors.txt create mode 100644 tests/baselines/reference/metadataOfClassFromAlias2(target=es5).errors.txt create mode 100644 tests/baselines/reference/metadataOfClassFromModule(target=es5).errors.txt create mode 100644 tests/baselines/reference/metadataOfEventAlias(target=es5).errors.txt create mode 100644 tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).errors.txt create mode 100644 tests/baselines/reference/methodContainingLocalFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/modifierParenCast(target=es5).errors.txt create mode 100644 tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib(target=es5).errors.txt create mode 100644 tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).errors.txt create mode 100644 tests/baselines/reference/moduledecl(target=es5).errors.txt create mode 100644 tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).errors.txt create mode 100644 tests/baselines/reference/nestedLoops(target=es5).errors.txt create mode 100644 tests/baselines/reference/nestedSuperCallEmit(target=es5).errors.txt create mode 100644 tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).errors.txt create mode 100644 tests/baselines/reference/newTarget.es5(target=es5).errors.txt create mode 100644 tests/baselines/reference/newWithSpreadES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/noEmitHelpers2(target=es5).errors.txt create mode 100644 tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).errors.txt create mode 100644 tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).errors.txt create mode 100644 tests/baselines/reference/numericUnderscoredSeparator(target=es5).errors.txt create mode 100644 tests/baselines/reference/objectLiteralShorthandProperties(target=es5).errors.txt create mode 100644 tests/baselines/reference/objectRestParameterES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/objectSpread(target=es5).errors.txt create mode 100644 tests/baselines/reference/octalIntegerLiteral(target=es5).errors.txt create mode 100644 tests/baselines/reference/optionalChainingInArrow(target=es5).errors.txt create mode 100644 tests/baselines/reference/optionalChainingInLoop(target=es5).errors.txt create mode 100644 tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).errors.txt create mode 100644 tests/baselines/reference/out-flag(target=es5).errors.txt create mode 100644 tests/baselines/reference/parameterInitializersBackwardReferencing(target=es5).errors.txt create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserAccessors2(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserAccessors4(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5ForOfStatement17(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5ForOfStatement18(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5ForOfStatement19(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolIndexer1(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolIndexer2(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolIndexer3(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty1(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty2(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty3(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty6(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty7(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty8(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserES5SymbolProperty9(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).errors.txt create mode 100644 tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).errors.txt create mode 100644 tests/baselines/reference/privacyAccessorDeclFile(target=es5).errors.txt create mode 100644 tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).errors.txt create mode 100644 tests/baselines/reference/privacyGloGetter(target=es5).errors.txt create mode 100644 tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt create mode 100644 tests/baselines/reference/properties(target=es5).errors.txt create mode 100644 tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).errors.txt create mode 100644 tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt create mode 100644 tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass(target=es5).errors.txt create mode 100644 tests/baselines/reference/reExportDefaultExport(target=es5).errors.txt create mode 100644 tests/baselines/reference/readonlyInDeclarationFile(target=es5).errors.txt create mode 100644 tests/baselines/reference/recursiveProperties(target=es5).errors.txt create mode 100644 tests/baselines/reference/restElementWithNumberPropertyName(target=es5).errors.txt create mode 100644 tests/baselines/reference/restParameterInDownlevelGenerator(target=es5).errors.txt create mode 100644 tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).errors.txt create mode 100644 tests/baselines/reference/scannerNumericLiteral1(target=es5).errors.txt create mode 100644 tests/baselines/reference/scannerNumericLiteral5(target=es5).errors.txt create mode 100644 tests/baselines/reference/scannerNumericLiteral7(target=es5).errors.txt create mode 100644 tests/baselines/reference/shorthandOfExportedEntity02_targetES5_CommonJS(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-Comment1(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-Comments(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-Comments2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-EmptyFile1(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-LineBreaks(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-NewLine1(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-SemiColon1(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-SingleSpace1(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMap-StringLiteralWithNewLine(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationClass(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDecorators(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2(target=es5).errors.txt create mode 100644 tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).errors.txt create mode 100644 tests/baselines/reference/superInStaticMembers1(target=es5).errors.txt create mode 100644 tests/baselines/reference/superPropertyAccessInComputedPropertiesOfNestedType_ES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/superPropertyAccessNoError(target=es5).errors.txt create mode 100644 tests/baselines/reference/superSymbolIndexedAccess5(target=es5).errors.txt create mode 100644 tests/baselines/reference/superSymbolIndexedAccess6(target=es5).errors.txt create mode 100644 tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).errors.txt create mode 100644 tests/baselines/reference/taggedTemplatesInModuleAndGlobal(target=es5).errors.txt create mode 100644 tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).errors.txt create mode 100644 tests/baselines/reference/thisAndSuperInStaticMembers3(target=es5).errors.txt create mode 100644 tests/baselines/reference/thisAndSuperInStaticMembers4(target=es5).errors.txt create mode 100644 tests/baselines/reference/thisTypeInObjectLiterals2(target=es5).errors.txt create mode 100644 tests/baselines/reference/trailingCommasES5(target=es5).errors.txt create mode 100644 tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).errors.txt create mode 100644 tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).errors.txt create mode 100644 tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2(target=es5).errors.txt create mode 100644 tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder(target=es5).errors.txt create mode 100644 tests/baselines/reference/typeGuardsInClassAccessors(target=es5).errors.txt create mode 100644 tests/baselines/reference/typeGuardsInProperties(target=es5).errors.txt create mode 100644 tests/baselines/reference/typeGuardsObjectMethods(target=es5).errors.txt create mode 100644 tests/baselines/reference/typeOfThisInStaticMembers5(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings01(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings02(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings03(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings04(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings05(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings06(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings08(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings09(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings10(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings11(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings13(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings15(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings16(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings18(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInStrings23(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates01(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates02(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates03(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates04(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates05(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates06(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates08(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates09(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates10(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates11(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates13(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates15(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates16(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates18(target=es5).errors.txt create mode 100644 tests/baselines/reference/unicodeExtendedEscapesInTemplates20(target=es5).errors.txt create mode 100644 tests/baselines/reference/unusedParameterUsedInTypeOf(target=es5).errors.txt create mode 100644 tests/baselines/reference/useObjectValuesAndEntries1(target=es5).errors.txt create mode 100644 tests/baselines/reference/usePromiseFinally(target=es5).errors.txt create mode 100644 tests/baselines/reference/useSharedArrayBuffer1(target=es5).errors.txt create mode 100644 tests/baselines/reference/useSharedArrayBuffer5(target=es5).errors.txt create mode 100644 tests/baselines/reference/useStrictLikePrologueString01(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarations.1(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarations.11(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarations.2(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarations.3(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsInFor(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsInForOf.1(target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=commonjs,target=es5).errors.txt create mode 100644 tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=esnext,target=es5).errors.txt create mode 100644 tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).errors.txt create mode 100644 tests/baselines/reference/yieldStatementNoAsiAfterTransform(target=es5).errors.txt diff --git a/tests/baselines/reference/ES3For-ofTypeCheck1(target=es5).errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck1(target=es5).errors.txt new file mode 100644 index 0000000000000..e58b14591eed2 --- /dev/null +++ b/tests/baselines/reference/ES3For-ofTypeCheck1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES3For-ofTypeCheck1.ts (0 errors) ==== + for (var v of "") { } \ No newline at end of file diff --git a/tests/baselines/reference/ES3For-ofTypeCheck2(target=es5).errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck2(target=es5).errors.txt new file mode 100644 index 0000000000000..0c92dcbb455e1 --- /dev/null +++ b/tests/baselines/reference/ES3For-ofTypeCheck2(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES3For-ofTypeCheck2.ts (0 errors) ==== + for (var v of [true]) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES3For-ofTypeCheck4(target=es5).errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck4(target=es5).errors.txt new file mode 100644 index 0000000000000..875b8bc5183ab --- /dev/null +++ b/tests/baselines/reference/ES3For-ofTypeCheck4(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES3For-ofTypeCheck4.ts (0 errors) ==== + var union: string | string[]; + for (const v of union) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES3For-ofTypeCheck6(target=es5).errors.txt b/tests/baselines/reference/ES3For-ofTypeCheck6(target=es5).errors.txt new file mode 100644 index 0000000000000..d1d44ab630a64 --- /dev/null +++ b/tests/baselines/reference/ES3For-ofTypeCheck6(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES3For-ofTypeCheck6.ts (0 errors) ==== + var union: string[] | number[]; + for (var v of union) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of1(target=es5).errors.txt b/tests/baselines/reference/ES5For-of1(target=es5).errors.txt new file mode 100644 index 0000000000000..2c2eb277ba412 --- /dev/null +++ b/tests/baselines/reference/ES5For-of1(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of1.ts (0 errors) ==== + for (var v of ['a', 'b', 'c']) { + console.log(v); + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of10(target=es5).errors.txt b/tests/baselines/reference/ES5For-of10(target=es5).errors.txt new file mode 100644 index 0000000000000..0b6562d33c097 --- /dev/null +++ b/tests/baselines/reference/ES5For-of10(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of10.ts (0 errors) ==== + function foo() { + return { x: 0 }; + } + for (foo().x of []) { + for (foo().x of []) + var p = foo().x; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of11(target=es5).errors.txt b/tests/baselines/reference/ES5For-of11(target=es5).errors.txt new file mode 100644 index 0000000000000..003646de07e53 --- /dev/null +++ b/tests/baselines/reference/ES5For-of11(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of11.ts (0 errors) ==== + var v; + for (v of []) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of11(target=es5).types b/tests/baselines/reference/ES5For-of11(target=es5).types index 47714be3636ca..296009f658e75 100644 --- a/tests/baselines/reference/ES5For-of11(target=es5).types +++ b/tests/baselines/reference/ES5For-of11(target=es5).types @@ -3,9 +3,11 @@ === ES5For-of11.ts === var v; >v : any +> : ^^^ for (v of []) { } >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/ES5For-of12(target=es5).errors.txt b/tests/baselines/reference/ES5For-of12(target=es5).errors.txt index fe53e92b35951..6feb5333400dd 100644 --- a/tests/baselines/reference/ES5For-of12(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of12.ts(1,7): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of12.ts (1 errors) ==== for ([""] of [[""]]) { } ~~ diff --git a/tests/baselines/reference/ES5For-of13(target=es5).errors.txt b/tests/baselines/reference/ES5For-of13(target=es5).errors.txt new file mode 100644 index 0000000000000..ba4460ee618b1 --- /dev/null +++ b/tests/baselines/reference/ES5For-of13(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of13.ts (0 errors) ==== + for (let v of ['a', 'b', 'c']) { + var x = v; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of14(target=es5).errors.txt b/tests/baselines/reference/ES5For-of14(target=es5).errors.txt new file mode 100644 index 0000000000000..e4bc5437fccb2 --- /dev/null +++ b/tests/baselines/reference/ES5For-of14(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of14.ts (0 errors) ==== + for (const v of []) { + var x = v; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of14(target=es5).types b/tests/baselines/reference/ES5For-of14(target=es5).types index 447dfafa6609f..7ca8d1793530e 100644 --- a/tests/baselines/reference/ES5For-of14(target=es5).types +++ b/tests/baselines/reference/ES5For-of14(target=es5).types @@ -3,10 +3,13 @@ === ES5For-of14.ts === for (const v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var x = v; >x : any +> : ^^^ >v : any +> : ^^^ } diff --git a/tests/baselines/reference/ES5For-of15(target=es5).errors.txt b/tests/baselines/reference/ES5For-of15(target=es5).errors.txt new file mode 100644 index 0000000000000..0840057072f76 --- /dev/null +++ b/tests/baselines/reference/ES5For-of15(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of15.ts (0 errors) ==== + for (let v of []) { + v; + for (const v of []) { + var x = v; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of15(target=es5).types b/tests/baselines/reference/ES5For-of15(target=es5).types index 59dd8fbcb942e..dc274dda81b91 100644 --- a/tests/baselines/reference/ES5For-of15(target=es5).types +++ b/tests/baselines/reference/ES5For-of15(target=es5).types @@ -3,19 +3,24 @@ === ES5For-of15.ts === for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ for (const v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var x = v; >x : any +> : ^^^ >v : any +> : ^^^ } } diff --git a/tests/baselines/reference/ES5For-of16(target=es5).errors.txt b/tests/baselines/reference/ES5For-of16(target=es5).errors.txt new file mode 100644 index 0000000000000..005c199af2cbf --- /dev/null +++ b/tests/baselines/reference/ES5For-of16(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of16.ts (0 errors) ==== + for (let v of []) { + v; + for (let v of []) { + var x = v; + v++; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of16(target=es5).types b/tests/baselines/reference/ES5For-of16(target=es5).types index cbb8f86a4c0a6..b0a6564844d00 100644 --- a/tests/baselines/reference/ES5For-of16(target=es5).types +++ b/tests/baselines/reference/ES5For-of16(target=es5).types @@ -3,24 +3,30 @@ === ES5For-of16.ts === for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var x = v; >x : any +> : ^^^ >v : any +> : ^^^ v++; >v++ : number > : ^^^^^^ >v : any +> : ^^^ } } diff --git a/tests/baselines/reference/ES5For-of17(target=es5).errors.txt b/tests/baselines/reference/ES5For-of17(target=es5).errors.txt index 8f20fb7f68a15..722a8101e29ab 100644 --- a/tests/baselines/reference/ES5For-of17(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of17(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of17.ts(3,20): error TS2448: Block-scoped variable 'v' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of17.ts (1 errors) ==== for (let v of []) { v; diff --git a/tests/baselines/reference/ES5For-of18(target=es5).errors.txt b/tests/baselines/reference/ES5For-of18(target=es5).errors.txt new file mode 100644 index 0000000000000..7b67fa8c61b55 --- /dev/null +++ b/tests/baselines/reference/ES5For-of18(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of18.ts (0 errors) ==== + for (let v of []) { + v; + } + for (let v of []) { + v; + } + \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of18(target=es5).types b/tests/baselines/reference/ES5For-of18(target=es5).types index 4d6d26f7c2245..ea1507d9e2340 100644 --- a/tests/baselines/reference/ES5For-of18(target=es5).types +++ b/tests/baselines/reference/ES5For-of18(target=es5).types @@ -3,18 +3,22 @@ === ES5For-of18.ts === for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ } for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ } diff --git a/tests/baselines/reference/ES5For-of19(target=es5).errors.txt b/tests/baselines/reference/ES5For-of19(target=es5).errors.txt new file mode 100644 index 0000000000000..9d68e6c5170b2 --- /dev/null +++ b/tests/baselines/reference/ES5For-of19(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of19.ts (0 errors) ==== + for (let v of []) { + v; + function foo() { + for (const v of []) { + v; + } + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of19(target=es5).types b/tests/baselines/reference/ES5For-of19(target=es5).types index 30cb86bfdb2ef..67affcfc4c249 100644 --- a/tests/baselines/reference/ES5For-of19(target=es5).types +++ b/tests/baselines/reference/ES5For-of19(target=es5).types @@ -3,11 +3,13 @@ === ES5For-of19.ts === for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ function foo() { >foo : () => void @@ -15,11 +17,13 @@ for (let v of []) { for (const v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ } } } diff --git a/tests/baselines/reference/ES5For-of2(target=es5).errors.txt b/tests/baselines/reference/ES5For-of2(target=es5).errors.txt new file mode 100644 index 0000000000000..33225e6abaa7c --- /dev/null +++ b/tests/baselines/reference/ES5For-of2(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of2.ts (0 errors) ==== + for (var v of []) { + var x = v; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of2(target=es5).types b/tests/baselines/reference/ES5For-of2(target=es5).types index 789047457d6dc..57c25b7edc2c3 100644 --- a/tests/baselines/reference/ES5For-of2(target=es5).types +++ b/tests/baselines/reference/ES5For-of2(target=es5).types @@ -3,10 +3,13 @@ === ES5For-of2.ts === for (var v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var x = v; >x : any +> : ^^^ >v : any +> : ^^^ } diff --git a/tests/baselines/reference/ES5For-of20(target=es5).errors.txt b/tests/baselines/reference/ES5For-of20(target=es5).errors.txt index ff8cf77d27271..c9b28dfcb4f57 100644 --- a/tests/baselines/reference/ES5For-of20(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of20(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of20.ts(3,20): error TS2448: Block-scoped variable 'v' used before its declaration. ES5For-of20.ts(4,15): error TS1155: 'const' declarations must be initialized. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of20.ts (2 errors) ==== for (let v of []) { let v; diff --git a/tests/baselines/reference/ES5For-of21(target=es5).errors.txt b/tests/baselines/reference/ES5For-of21(target=es5).errors.txt new file mode 100644 index 0000000000000..1fcdbe6d535d5 --- /dev/null +++ b/tests/baselines/reference/ES5For-of21(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of21.ts (0 errors) ==== + for (let v of []) { + for (let _i of []) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of21(target=es5).types b/tests/baselines/reference/ES5For-of21(target=es5).types index df747d6a8da95..375fb3fedf48e 100644 --- a/tests/baselines/reference/ES5For-of21(target=es5).types +++ b/tests/baselines/reference/ES5For-of21(target=es5).types @@ -3,11 +3,13 @@ === ES5For-of21.ts === for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ for (let _i of []) { } >_i : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ } diff --git a/tests/baselines/reference/ES5For-of22(target=es5).errors.txt b/tests/baselines/reference/ES5For-of22(target=es5).errors.txt new file mode 100644 index 0000000000000..a40c36ea0b5ff --- /dev/null +++ b/tests/baselines/reference/ES5For-of22(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of22.ts (0 errors) ==== + for (var x of [1, 2, 3]) { + let _a = 0; + console.log(x); + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of23(target=es5).errors.txt b/tests/baselines/reference/ES5For-of23(target=es5).errors.txt new file mode 100644 index 0000000000000..f0914f89d4485 --- /dev/null +++ b/tests/baselines/reference/ES5For-of23(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of23.ts (0 errors) ==== + for (var x of [1, 2, 3]) { + var _a = 0; + console.log(x); + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of24(target=es5).errors.txt b/tests/baselines/reference/ES5For-of24(target=es5).errors.txt new file mode 100644 index 0000000000000..44566cb4e3051 --- /dev/null +++ b/tests/baselines/reference/ES5For-of24(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of24.ts (0 errors) ==== + var a = [1, 2, 3]; + for (var v of a) { + let a = 0; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of25(target=es5).errors.txt b/tests/baselines/reference/ES5For-of25(target=es5).errors.txt new file mode 100644 index 0000000000000..5703ac8906272 --- /dev/null +++ b/tests/baselines/reference/ES5For-of25(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of25.ts (0 errors) ==== + var a = [1, 2, 3]; + for (var v of a) { + v; + a; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of26(target=es5).errors.txt b/tests/baselines/reference/ES5For-of26(target=es5).errors.txt index 04c47bcc748ec..8e44a0a909f13 100644 --- a/tests/baselines/reference/ES5For-of26(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of26(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of26.ts(1,10): error TS2461: Type 'number' is not an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of26.ts (1 errors) ==== for (var [a = 0, b = 1] of [2, 3]) { ~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/ES5For-of27(target=es5).errors.txt b/tests/baselines/reference/ES5For-of27(target=es5).errors.txt index 0e8087a19d99f..7ce66a4967a60 100644 --- a/tests/baselines/reference/ES5For-of27(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of27(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of27.ts(1,11): error TS2339: Property 'x' does not exist on type 'Number'. ES5For-of27.ts(1,21): error TS2339: Property 'y' does not exist on type 'Number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of27.ts (2 errors) ==== for (var {x: a = 0, y: b = 1} of [2, 3]) { ~ diff --git a/tests/baselines/reference/ES5For-of28(target=es5).errors.txt b/tests/baselines/reference/ES5For-of28(target=es5).errors.txt index f669a33fa2a2e..df1b84c303433 100644 --- a/tests/baselines/reference/ES5For-of28(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of28(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of28.ts(1,10): error TS2461: Type 'number' is not an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of28.ts (1 errors) ==== for (let [a = 0, b = 1] of [2, 3]) { ~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/ES5For-of29(target=es5).errors.txt b/tests/baselines/reference/ES5For-of29(target=es5).errors.txt index ff9834e6f86ff..f1450a84ef5ae 100644 --- a/tests/baselines/reference/ES5For-of29(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of29(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of29.ts(1,13): error TS2339: Property 'x' does not exist on type 'Number'. ES5For-of29.ts(1,23): error TS2339: Property 'y' does not exist on type 'Number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of29.ts (2 errors) ==== for (const {x: a = 0, y: b = 1} of [2, 3]) { ~ diff --git a/tests/baselines/reference/ES5For-of3(target=es5).errors.txt b/tests/baselines/reference/ES5For-of3(target=es5).errors.txt new file mode 100644 index 0000000000000..28fd8e27bcf90 --- /dev/null +++ b/tests/baselines/reference/ES5For-of3(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of3.ts (0 errors) ==== + for (var v of ['a', 'b', 'c']) + var x = v; \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of30(target=es5).errors.txt b/tests/baselines/reference/ES5For-of30(target=es5).errors.txt index b2e8a692f7c08..b81fd833e02a2 100644 --- a/tests/baselines/reference/ES5For-of30(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of30(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of30.ts(3,6): error TS2461: Type 'string | number' is not an array type. ES5For-of30.ts(3,7): error TS2322: Type 'number' is not assignable to type 'string'. ES5For-of30.ts(3,14): error TS2322: Type 'string' is not assignable to type 'number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of30.ts (3 errors) ==== var a: string, b: number; var tuple: [number, string] = [2, "3"]; diff --git a/tests/baselines/reference/ES5For-of31(target=es5).errors.txt b/tests/baselines/reference/ES5For-of31(target=es5).errors.txt index 2c311153ffc35..f023f3187d960 100644 --- a/tests/baselines/reference/ES5For-of31(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of31(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of31.ts(3,8): error TS2339: Property 'a' does not exist on type 'undefined'. ES5For-of31.ts(3,18): error TS2339: Property 'b' does not exist on type 'undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of31.ts (2 errors) ==== var a: string, b: number; diff --git a/tests/baselines/reference/ES5For-of33(target=es5).errors.txt b/tests/baselines/reference/ES5For-of33(target=es5).errors.txt new file mode 100644 index 0000000000000..3c3e980a6111e --- /dev/null +++ b/tests/baselines/reference/ES5For-of33(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of33.ts (0 errors) ==== + for (var v of ['a', 'b', 'c']) { + console.log(v); + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of34(target=es5).errors.txt b/tests/baselines/reference/ES5For-of34(target=es5).errors.txt index f144c20c30d3b..77c17bf4f3ce9 100644 --- a/tests/baselines/reference/ES5For-of34(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of34(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of34.ts(4,6): error TS2322: Type 'string' is not assignable to type 'number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of34.ts (1 errors) ==== function foo() { return { x: 0 }; diff --git a/tests/baselines/reference/ES5For-of35(target=es5).errors.txt b/tests/baselines/reference/ES5For-of35(target=es5).errors.txt index 64fe6dcc61a3a..0742153fdb980 100644 --- a/tests/baselines/reference/ES5For-of35(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of35(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of35.ts(1,13): error TS2339: Property 'x' does not exist on type 'Number'. ES5For-of35.ts(1,23): error TS2339: Property 'y' does not exist on type 'Number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of35.ts (2 errors) ==== for (const {x: a = 0, y: b = 1} of [2, 3]) { ~ diff --git a/tests/baselines/reference/ES5For-of36(target=es5).errors.txt b/tests/baselines/reference/ES5For-of36(target=es5).errors.txt index 2c9458b431d35..eb02b78a66de2 100644 --- a/tests/baselines/reference/ES5For-of36(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of36(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of36.ts(1,10): error TS2548: Type 'number' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of36.ts (1 errors) ==== for (let [a = 0, b = 1] of [2, 3]) { ~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/ES5For-of37(target=es5).errors.txt b/tests/baselines/reference/ES5For-of37(target=es5).errors.txt new file mode 100644 index 0000000000000..2454a2d838de1 --- /dev/null +++ b/tests/baselines/reference/ES5For-of37(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of37.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/30083 + + for (const i of [0, 1, 2, 3, 4]) { + try { + // Ensure catch binding for the following loop is reset per iteration: + for (const j of [1, 2, 3]) { + if (i === 2) { + throw new Error('ERR'); + } + } + console.log(i); + } catch (err) { + console.log('E %s %s', i, err); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of37(target=es5).types b/tests/baselines/reference/ES5For-of37(target=es5).types index 58c2d9689f3f5..232bb657472a6 100644 --- a/tests/baselines/reference/ES5For-of37(target=es5).types +++ b/tests/baselines/reference/ES5For-of37(target=es5).types @@ -64,6 +64,7 @@ for (const i of [0, 1, 2, 3, 4]) { } catch (err) { >err : any +> : ^^^ console.log('E %s %s', i, err); >console.log('E %s %s', i, err) : void @@ -79,5 +80,6 @@ for (const i of [0, 1, 2, 3, 4]) { >i : number > : ^^^^^^ >err : any +> : ^^^ } } diff --git a/tests/baselines/reference/ES5For-of4(target=es5).errors.txt b/tests/baselines/reference/ES5For-of4(target=es5).errors.txt new file mode 100644 index 0000000000000..fe6c947496ba5 --- /dev/null +++ b/tests/baselines/reference/ES5For-of4(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of4.ts (0 errors) ==== + for (var v of []) + var x = v; + var y = v; \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of4(target=es5).types b/tests/baselines/reference/ES5For-of4(target=es5).types index 7cad355200ff1..267e6533bb295 100644 --- a/tests/baselines/reference/ES5For-of4(target=es5).types +++ b/tests/baselines/reference/ES5For-of4(target=es5).types @@ -3,14 +3,19 @@ === ES5For-of4.ts === for (var v of []) >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var x = v; >x : any +> : ^^^ >v : any +> : ^^^ var y = v; >y : any +> : ^^^ >v : any +> : ^^^ diff --git a/tests/baselines/reference/ES5For-of5(target=es5).errors.txt b/tests/baselines/reference/ES5For-of5(target=es5).errors.txt new file mode 100644 index 0000000000000..552d94c54e7e7 --- /dev/null +++ b/tests/baselines/reference/ES5For-of5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of5.ts (0 errors) ==== + for (var _a of []) { + var x = _a; + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of5(target=es5).types b/tests/baselines/reference/ES5For-of5(target=es5).types index cb0edb7986759..009e8368d2e95 100644 --- a/tests/baselines/reference/ES5For-of5(target=es5).types +++ b/tests/baselines/reference/ES5For-of5(target=es5).types @@ -3,10 +3,13 @@ === ES5For-of5.ts === for (var _a of []) { >_a : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ var x = _a; >x : any +> : ^^^ >_a : any +> : ^^^ } diff --git a/tests/baselines/reference/ES5For-of6(target=es5).errors.txt b/tests/baselines/reference/ES5For-of6(target=es5).errors.txt new file mode 100644 index 0000000000000..cd9142393774e --- /dev/null +++ b/tests/baselines/reference/ES5For-of6(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of6.ts (0 errors) ==== + for (var w of []) { + for (var v of []) { + var x = [w, v]; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of6(target=es5).types b/tests/baselines/reference/ES5For-of6(target=es5).types index 1060c46c2ddc5..5db31f82af2e7 100644 --- a/tests/baselines/reference/ES5For-of6(target=es5).types +++ b/tests/baselines/reference/ES5For-of6(target=es5).types @@ -3,11 +3,13 @@ === ES5For-of6.ts === for (var w of []) { >w : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ for (var v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ @@ -17,6 +19,8 @@ for (var w of []) { >[w, v] : any[] > : ^^^^^ >w : any +> : ^^^ >v : any +> : ^^^ } } diff --git a/tests/baselines/reference/ES5For-of7(target=es5).errors.txt b/tests/baselines/reference/ES5For-of7(target=es5).errors.txt index 321726f9e2572..edb709bd4ea5f 100644 --- a/tests/baselines/reference/ES5For-of7(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of7(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of7.ts(6,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'any', but here has type 'any[]'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of7.ts (1 errors) ==== for (var w of []) { var x = w; diff --git a/tests/baselines/reference/ES5For-of8(target=es5).errors.txt b/tests/baselines/reference/ES5For-of8(target=es5).errors.txt index 707302366a09c..2c8db9bd13e3f 100644 --- a/tests/baselines/reference/ES5For-of8(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-of8(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-of8.ts(4,6): error TS2322: Type 'string' is not assignable to type 'number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-of8.ts (1 errors) ==== function foo() { return { x: 0 }; diff --git a/tests/baselines/reference/ES5For-of9(target=es5).errors.txt b/tests/baselines/reference/ES5For-of9(target=es5).errors.txt new file mode 100644 index 0000000000000..c3876489848bf --- /dev/null +++ b/tests/baselines/reference/ES5For-of9(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-of9.ts (0 errors) ==== + function foo() { + return { x: 0 }; + } + for (foo().x of []) { + for (foo().x of []) { + var p = foo().x; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck1(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck1(target=es5).errors.txt new file mode 100644 index 0000000000000..533c742673b15 --- /dev/null +++ b/tests/baselines/reference/ES5For-ofTypeCheck1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-ofTypeCheck1.ts (0 errors) ==== + for (var v of "") { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck10(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck10(target=es5).errors.txt index 5ec96d209aa3a..070cdaaae1208 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck10(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck10(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck10.ts(14,15): error TS2802: Type 'MyStringIterator' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck10.ts (1 errors) ==== // In ES3/5, you cannot for...of over an arbitrary iterable. class MyStringIterator { diff --git a/tests/baselines/reference/ES5For-ofTypeCheck11(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck11(target=es5).errors.txt index 4ccd0dc727574..e46ce345fa0b8 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck11(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck11(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck11.ts(3,6): error TS2322: Type 'string | number' is not assignable to type 'string'. Type 'number' is not assignable to type 'string'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck11.ts (1 errors) ==== declare var union: string | number[]; var v: string; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck12(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck12(target=es5).errors.txt index da876badcdddb..2db78d44766f5 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck12(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck12.ts(1,17): error TS2495: Type '0' is not an array type or a string type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck12.ts (1 errors) ==== for (const v of 0) { } ~ diff --git a/tests/baselines/reference/ES5For-ofTypeCheck13(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck13(target=es5).errors.txt index 84bbb524a371d..1c05c08ea5453 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck13(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck13(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck13.ts(4,19): error TS2802: Type 'Set' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck13.ts (1 errors) ==== const strSet: Set = new Set() strSet.add('Hello') diff --git a/tests/baselines/reference/ES5For-ofTypeCheck14(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck14(target=es5).errors.txt index 71d2526927a70..815bd131f2e54 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck14(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck14.ts(2,17): error TS2802: Type 'Set' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck14.ts (1 errors) ==== declare var union: string | Set for (const e of union) { } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck2(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck2(target=es5).errors.txt new file mode 100644 index 0000000000000..fc01e2e741e99 --- /dev/null +++ b/tests/baselines/reference/ES5For-ofTypeCheck2(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-ofTypeCheck2.ts (0 errors) ==== + for (var v of [true]) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck3(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck3(target=es5).errors.txt new file mode 100644 index 0000000000000..cf9cd9870ba06 --- /dev/null +++ b/tests/baselines/reference/ES5For-ofTypeCheck3(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-ofTypeCheck3.ts (0 errors) ==== + var tuple: [string, number] = ["", 0]; + for (var v of tuple) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck4(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck4(target=es5).errors.txt new file mode 100644 index 0000000000000..6193118ee4c0b --- /dev/null +++ b/tests/baselines/reference/ES5For-ofTypeCheck4(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-ofTypeCheck4.ts (0 errors) ==== + var union: string | string[]; + for (const v of union) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck5(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck5(target=es5).errors.txt new file mode 100644 index 0000000000000..5103a55a99ede --- /dev/null +++ b/tests/baselines/reference/ES5For-ofTypeCheck5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-ofTypeCheck5.ts (0 errors) ==== + var union: string | number[]; + for (var v of union) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck6(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck6(target=es5).errors.txt new file mode 100644 index 0000000000000..a052beb63f032 --- /dev/null +++ b/tests/baselines/reference/ES5For-ofTypeCheck6(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5For-ofTypeCheck6.ts (0 errors) ==== + var union: string[] | number[]; + for (var v of union) { } \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck7(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck7(target=es5).errors.txt index 653f2be91661e..bde3a6b70855b 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck7(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck7(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck7.ts(2,15): error TS2461: Type 'number' is not an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck7.ts (1 errors) ==== declare var union: string | number; for (var v of union) { } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck8(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck8(target=es5).errors.txt index 3f82df8f45f66..65451a9e20f13 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck8(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck8(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck8.ts(3,6): error TS2322: Type 'string | number | symbol' is not assignable to type 'symbol'. Type 'string' is not assignable to type 'symbol'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck8.ts (1 errors) ==== declare var union: string | string[]| number[]| symbol[]; var v: symbol; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck9(target=es5).errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck9(target=es5).errors.txt index 47f971f9d6303..6f6b17cc976ed 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck9(target=es5).errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck9(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5For-ofTypeCheck9.ts(2,15): error TS2461: Type 'number | symbol | string[]' is not an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5For-ofTypeCheck9.ts (1 errors) ==== declare var union: string | string[] | number | symbol; for (let v of union) { } diff --git a/tests/baselines/reference/ES5SymbolProperty1(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty1(target=es5).errors.txt new file mode 100644 index 0000000000000..ebab9ea2a1e8b --- /dev/null +++ b/tests/baselines/reference/ES5SymbolProperty1(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5SymbolProperty1.ts (0 errors) ==== + interface SymbolConstructor { + foo: string; + } + var Symbol: SymbolConstructor; + + var obj = { + [Symbol.foo]: 0 + } + + obj[Symbol.foo]; \ No newline at end of file diff --git a/tests/baselines/reference/ES5SymbolProperty2(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty2(target=es5).errors.txt new file mode 100644 index 0000000000000..a7508dd2492a8 --- /dev/null +++ b/tests/baselines/reference/ES5SymbolProperty2(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5SymbolProperty2.ts (0 errors) ==== + namespace M { + var Symbol: any; + + export class C { + [Symbol.iterator]() { } + } + (new C)[Symbol.iterator]; + } + + (new M.C)[Symbol.iterator]; \ No newline at end of file diff --git a/tests/baselines/reference/ES5SymbolProperty2(target=es5).types b/tests/baselines/reference/ES5SymbolProperty2(target=es5).types index 0fd0ed64949a9..1bf0ed45bbe05 100644 --- a/tests/baselines/reference/ES5SymbolProperty2(target=es5).types +++ b/tests/baselines/reference/ES5SymbolProperty2(target=es5).types @@ -7,6 +7,7 @@ namespace M { var Symbol: any; >Symbol : any +> : ^^^ export class C { >C : C @@ -16,6 +17,7 @@ namespace M { >[Symbol.iterator] : () => void > : ^^^^^^^^^^ >Symbol.iterator : any +> : ^^^ >Symbol : any > : ^^^ >iterator : any @@ -31,6 +33,7 @@ namespace M { >C : typeof C > : ^^^^^^^^ >Symbol.iterator : any +> : ^^^ >Symbol : any > : ^^^ >iterator : any @@ -38,7 +41,8 @@ namespace M { } (new M.C)[Symbol.iterator]; ->(new M.C)[Symbol.iterator] : error +>(new M.C)[Symbol.iterator] : any +> : ^^^ >(new M.C) : M.C > : ^^^ >new M.C : M.C diff --git a/tests/baselines/reference/ES5SymbolProperty3(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty3(target=es5).errors.txt index 09bb9fdb41853..6ac945981c772 100644 --- a/tests/baselines/reference/ES5SymbolProperty3(target=es5).errors.txt +++ b/tests/baselines/reference/ES5SymbolProperty3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5SymbolProperty3.ts(1,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'Symbol' must be of type 'SymbolConstructor', but here has type 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5SymbolProperty3.ts (1 errors) ==== var Symbol: any; ~~~~~~ diff --git a/tests/baselines/reference/ES5SymbolProperty4(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty4(target=es5).errors.txt index 38a4b466e074a..a235d7d01ecf7 100644 --- a/tests/baselines/reference/ES5SymbolProperty4(target=es5).errors.txt +++ b/tests/baselines/reference/ES5SymbolProperty4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5SymbolProperty4.ts(1,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'Symbol' must be of type 'SymbolConstructor', but here has type '{ iterator: string; }'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5SymbolProperty4.ts (1 errors) ==== var Symbol: { iterator: string }; ~~~~~~ diff --git a/tests/baselines/reference/ES5SymbolProperty5(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty5(target=es5).errors.txt index 962069c9d2a70..d62c2afb72938 100644 --- a/tests/baselines/reference/ES5SymbolProperty5(target=es5).errors.txt +++ b/tests/baselines/reference/ES5SymbolProperty5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5SymbolProperty5.ts(1,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Symbol' must be of type 'SymbolConstructor', but here has type '{ iterator: symbol; }'. ES5SymbolProperty5.ts(7,26): error TS2554: Expected 0 arguments, but got 1. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5SymbolProperty5.ts (2 errors) ==== declare var Symbol: { iterator: symbol }; ~~~~~~ diff --git a/tests/baselines/reference/ES5SymbolProperty6(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty6(target=es5).errors.txt new file mode 100644 index 0000000000000..159903614e93d --- /dev/null +++ b/tests/baselines/reference/ES5SymbolProperty6(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5SymbolProperty6.ts (0 errors) ==== + class C { + [Symbol.iterator]() { } + } + + (new C)[Symbol.iterator] \ No newline at end of file diff --git a/tests/baselines/reference/ES5SymbolProperty7(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolProperty7(target=es5).errors.txt index 9c083f0824bd8..ad5504c922fd7 100644 --- a/tests/baselines/reference/ES5SymbolProperty7(target=es5).errors.txt +++ b/tests/baselines/reference/ES5SymbolProperty7(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ES5SymbolProperty7.ts(1,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'Symbol' must be of type 'SymbolConstructor', but here has type '{ iterator: any; }'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ES5SymbolProperty7.ts (1 errors) ==== var Symbol: { iterator: any }; ~~~~~~ diff --git a/tests/baselines/reference/ES5SymbolType1(target=es5).errors.txt b/tests/baselines/reference/ES5SymbolType1(target=es5).errors.txt new file mode 100644 index 0000000000000..50844097eeca0 --- /dev/null +++ b/tests/baselines/reference/ES5SymbolType1(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5SymbolType1.ts (0 errors) ==== + var s: symbol; + s.toString(); \ No newline at end of file diff --git a/tests/baselines/reference/ES5for-of32(target=es5).errors.txt b/tests/baselines/reference/ES5for-of32(target=es5).errors.txt new file mode 100644 index 0000000000000..2a3d472871b6a --- /dev/null +++ b/tests/baselines/reference/ES5for-of32(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ES5for-of32.ts (0 errors) ==== + var array = [1,2,3]; + var sum = 0; + + for (let num of array) { + if (sum === 0) { + array = [4,5,6] + } + + sum += num; + } \ No newline at end of file diff --git a/tests/baselines/reference/abstractPropertyBasics(target=es5).errors.txt b/tests/baselines/reference/abstractPropertyBasics(target=es5).errors.txt new file mode 100644 index 0000000000000..e83f1c72c3054 --- /dev/null +++ b/tests/baselines/reference/abstractPropertyBasics(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== abstractPropertyBasics.ts (0 errors) ==== + interface A { + prop: string; + raw: string; + m(): void; + } + abstract class B implements A { + abstract prop: string; + abstract raw: string; + abstract readonly ro: string; + abstract get readonlyProp(): string; + abstract set readonlyProp(val: string); + abstract m(): void; + } + class C extends B { + get prop() { return "foo"; } + set prop(v) { } + raw = "edge"; + readonly ro = "readonly please"; + readonlyProp!: string; + m() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/abstractPropertyNegative(target=es5).errors.txt b/tests/baselines/reference/abstractPropertyNegative(target=es5).errors.txt index 34f7fd8e45361..da447b40a238b 100644 --- a/tests/baselines/reference/abstractPropertyNegative(target=es5).errors.txt +++ b/tests/baselines/reference/abstractPropertyNegative(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. abstractPropertyNegative.ts(13,7): error TS2654: Non-abstract class 'C' is missing implementations for the following members of 'B': 'prop', 'readonlyProp', 'm', 'mismatch'. abstractPropertyNegative.ts(15,5): error TS1253: Abstract properties can only appear within an abstract class. abstractPropertyNegative.ts(16,37): error TS1005: '{' expected. @@ -14,6 +15,7 @@ abstractPropertyNegative.ts(40,9): error TS2676: Accessors must both be abstract abstractPropertyNegative.ts(41,18): error TS2676: Accessors must both be abstract or non-abstract. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== abstractPropertyNegative.ts (11 errors) ==== interface A { prop: string; diff --git a/tests/baselines/reference/accessibilityModifiers(target=es5).errors.txt b/tests/baselines/reference/accessibilityModifiers(target=es5).errors.txt index 260ac25d0cfc0..7b94f030ee322 100644 --- a/tests/baselines/reference/accessibilityModifiers(target=es5).errors.txt +++ b/tests/baselines/reference/accessibilityModifiers(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessibilityModifiers.ts(21,12): error TS1029: 'private' modifier must precede 'static' modifier. accessibilityModifiers.ts(22,12): error TS1029: 'private' modifier must precede 'static' modifier. accessibilityModifiers.ts(23,12): error TS1029: 'private' modifier must precede 'static' modifier. @@ -16,6 +17,7 @@ accessibilityModifiers.ts(41,13): error TS1028: Accessibility modifier already s accessibilityModifiers.ts(42,12): error TS1028: Accessibility modifier already seen. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessibilityModifiers.ts (16 errors) ==== // No errors class C { diff --git a/tests/baselines/reference/accessorAccidentalCallDiagnostic(target=es5).errors.txt b/tests/baselines/reference/accessorAccidentalCallDiagnostic(target=es5).errors.txt index 5d51cd8be52ea..fcdc55dd96136 100644 --- a/tests/baselines/reference/accessorAccidentalCallDiagnostic(target=es5).errors.txt +++ b/tests/baselines/reference/accessorAccidentalCallDiagnostic(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorAccidentalCallDiagnostic.ts(6,14): error TS6234: This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'? Type 'Number' has no call signatures. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorAccidentalCallDiagnostic.ts (1 errors) ==== // https://github.com/microsoft/TypeScript/issues/24554 class Test24554 { diff --git a/tests/baselines/reference/accessorInAmbientContextES5(target=es5).errors.txt b/tests/baselines/reference/accessorInAmbientContextES5(target=es5).errors.txt index c9351f69f7213..01f4594204cd3 100644 --- a/tests/baselines/reference/accessorInAmbientContextES5(target=es5).errors.txt +++ b/tests/baselines/reference/accessorInAmbientContextES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorInAmbientContextES5.ts(25,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorInAmbientContextES5.ts (1 errors) ==== // Should allow accessor in ambient contexts even when targeting ES5 diff --git a/tests/baselines/reference/accessorParameterAccessibilityModifier(target=es5).errors.txt b/tests/baselines/reference/accessorParameterAccessibilityModifier(target=es5).errors.txt index 46de3d531dfb0..1a72c88b97f7e 100644 --- a/tests/baselines/reference/accessorParameterAccessibilityModifier(target=es5).errors.txt +++ b/tests/baselines/reference/accessorParameterAccessibilityModifier(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorParameterAccessibilityModifier.ts(2,11): error TS2369: A parameter property is only allowed in a constructor implementation. accessorParameterAccessibilityModifier.ts(3,18): error TS2369: A parameter property is only allowed in a constructor implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorParameterAccessibilityModifier.ts (2 errors) ==== class C { set X(public v) { } diff --git a/tests/baselines/reference/accessorWithES5(target=es5).errors.txt b/tests/baselines/reference/accessorWithES5(target=es5).errors.txt new file mode 100644 index 0000000000000..d2bbd983c3745 --- /dev/null +++ b/tests/baselines/reference/accessorWithES5(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== accessorWithES5.ts (0 errors) ==== + class C { + get x() { + return 1; + } + } + + class D { + set x(v) { + } + } + + var x = { + get a() { return 1 } + } + + var y = { + set b(v) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/accessorWithES5(target=es5).types b/tests/baselines/reference/accessorWithES5(target=es5).types index 9c1950168feb6..15093751f174f 100644 --- a/tests/baselines/reference/accessorWithES5(target=es5).types +++ b/tests/baselines/reference/accessorWithES5(target=es5).types @@ -21,7 +21,9 @@ class D { set x(v) { >x : any +> : ^^^ >v : any +> : ^^^ } } @@ -46,5 +48,7 @@ var y = { set b(v) { } >b : any +> : ^^^ >v : any +> : ^^^ } diff --git a/tests/baselines/reference/accessorWithInitializer(target=es5).errors.txt b/tests/baselines/reference/accessorWithInitializer(target=es5).errors.txt index 2a1b64da30ac4..d4f1696882769 100644 --- a/tests/baselines/reference/accessorWithInitializer(target=es5).errors.txt +++ b/tests/baselines/reference/accessorWithInitializer(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorWithInitializer.ts(2,9): error TS1052: A 'set' accessor parameter cannot have an initializer. accessorWithInitializer.ts(3,16): error TS1052: A 'set' accessor parameter cannot have an initializer. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorWithInitializer.ts (2 errors) ==== class C { set X(v = 0) { } diff --git a/tests/baselines/reference/accessorWithLineTerminator(target=es5).errors.txt b/tests/baselines/reference/accessorWithLineTerminator(target=es5).errors.txt new file mode 100644 index 0000000000000..c101298d45e93 --- /dev/null +++ b/tests/baselines/reference/accessorWithLineTerminator(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== accessorWithLineTerminator.ts (0 errors) ==== + class C { + get + x() { return 1 } + + set + x(v) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers(target=es5).errors.txt b/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers(target=es5).errors.txt new file mode 100644 index 0000000000000..943db8cdb49f5 --- /dev/null +++ b/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers(target=es5).errors.txt @@ -0,0 +1,36 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== accessorWithMismatchedAccessibilityModifiers.ts (0 errors) ==== + class C { + get x() { + return 1; + } + private set x(v) { + } + } + + class D { + protected get x() { + return 1; + } + private set x(v) { + } + } + + class E { + protected set x(v) { + } + get x() { + return 1; + } + } + + class F { + protected static set x(v) { + } + static get x() { + return 1; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/accessorWithRestParam(target=es5).errors.txt b/tests/baselines/reference/accessorWithRestParam(target=es5).errors.txt index 8e94f0ee95af0..f1ebd8b8c676e 100644 --- a/tests/baselines/reference/accessorWithRestParam(target=es5).errors.txt +++ b/tests/baselines/reference/accessorWithRestParam(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorWithRestParam.ts(2,11): error TS1053: A 'set' accessor cannot have rest parameter. accessorWithRestParam.ts(3,18): error TS1053: A 'set' accessor cannot have rest parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorWithRestParam.ts (2 errors) ==== class C { set X(...v) { } diff --git a/tests/baselines/reference/accessorWithoutBody1(target=es5).errors.txt b/tests/baselines/reference/accessorWithoutBody1(target=es5).errors.txt index da7b29fe6b64e..c4aa09fbab307 100644 --- a/tests/baselines/reference/accessorWithoutBody1(target=es5).errors.txt +++ b/tests/baselines/reference/accessorWithoutBody1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorWithoutBody1.ts(1,19): error TS1005: '{' expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorWithoutBody1.ts (1 errors) ==== var v = { get foo() } ~ diff --git a/tests/baselines/reference/accessorWithoutBody2(target=es5).errors.txt b/tests/baselines/reference/accessorWithoutBody2(target=es5).errors.txt index 596da62347794..2d2ee9dc25fd2 100644 --- a/tests/baselines/reference/accessorWithoutBody2(target=es5).errors.txt +++ b/tests/baselines/reference/accessorWithoutBody2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorWithoutBody2.ts(1,20): error TS1005: '{' expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorWithoutBody2.ts (1 errors) ==== var v = { set foo(a) } ~ diff --git a/tests/baselines/reference/accessorsInAmbientContext(target=es5).errors.txt b/tests/baselines/reference/accessorsInAmbientContext(target=es5).errors.txt index 9a3e5a8c3690a..7aad8f994f4ec 100644 --- a/tests/baselines/reference/accessorsInAmbientContext(target=es5).errors.txt +++ b/tests/baselines/reference/accessorsInAmbientContext(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorsInAmbientContext.ts(3,17): error TS1183: An implementation cannot be declared in ambient contexts. accessorsInAmbientContext.ts(4,18): error TS1183: An implementation cannot be declared in ambient contexts. accessorsInAmbientContext.ts(6,24): error TS1183: An implementation cannot be declared in ambient contexts. @@ -8,6 +9,7 @@ accessorsInAmbientContext.ts(15,20): error TS1183: An implementation cannot be d accessorsInAmbientContext.ts(16,21): error TS1183: An implementation cannot be declared in ambient contexts. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorsInAmbientContext.ts (8 errors) ==== declare namespace M { class C { diff --git a/tests/baselines/reference/accessorsOverrideProperty7(target=es5).errors.txt b/tests/baselines/reference/accessorsOverrideProperty7(target=es5).errors.txt index 33a92cd351372..b86e16fbc8d26 100644 --- a/tests/baselines/reference/accessorsOverrideProperty7(target=es5).errors.txt +++ b/tests/baselines/reference/accessorsOverrideProperty7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. accessorsOverrideProperty7.ts(2,14): error TS1267: Property 'p' cannot have an initializer because it is marked abstract. accessorsOverrideProperty7.ts(5,9): error TS2611: 'p' is defined as a property in class 'A', but is overridden here in 'B' as an accessor. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== accessorsOverrideProperty7.ts (2 errors) ==== abstract class A { abstract p = 'yep' diff --git a/tests/baselines/reference/aliasUsageInAccessorsOfClass(target=es5).errors.txt b/tests/baselines/reference/aliasUsageInAccessorsOfClass(target=es5).errors.txt new file mode 100644 index 0000000000000..89d33d97c1d39 --- /dev/null +++ b/tests/baselines/reference/aliasUsageInAccessorsOfClass(target=es5).errors.txt @@ -0,0 +1,30 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== aliasUsage1_main.ts (0 errors) ==== + import Backbone = require("./aliasUsage1_backbone"); + import moduleA = require("./aliasUsage1_moduleA"); + interface IHasVisualizationModel { + VisualizationModel: typeof Backbone.Model; + } + class C2 { + x: IHasVisualizationModel; + get A() { + return this.x; + } + set A(x) { + x = moduleA; + } + } +==== aliasUsage1_backbone.ts (0 errors) ==== + export class Model { + public someData: string; + } + +==== aliasUsage1_moduleA.ts (0 errors) ==== + import Backbone = require("./aliasUsage1_backbone"); + export class VisualizationModel extends Backbone.Model { + // interesting stuff here + } + \ No newline at end of file diff --git a/tests/baselines/reference/alwaysStrictModule6(target=es5).errors.txt b/tests/baselines/reference/alwaysStrictModule6(target=es5).errors.txt new file mode 100644 index 0000000000000..a7a850b0e95ef --- /dev/null +++ b/tests/baselines/reference/alwaysStrictModule6(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== alwaysStrictModule6.ts (0 errors) ==== + // Targeting ES5 + export const a = 1; \ No newline at end of file diff --git a/tests/baselines/reference/ambientAccessors(target=es5).errors.txt b/tests/baselines/reference/ambientAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..46f5a11f09bc0 --- /dev/null +++ b/tests/baselines/reference/ambientAccessors(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== ambientAccessors.ts (0 errors) ==== + // ok to use accessors in ambient class in ES3 + declare class C { + static get a(): string; + static set a(value: string); + + private static get b(): string; + private static set b(foo: string); + + get x(): string; + set x(value: string); + + private get y(): string; + private set y(foo: string); + } \ No newline at end of file diff --git a/tests/baselines/reference/ambientGetters(target=es5).errors.txt b/tests/baselines/reference/ambientGetters(target=es5).errors.txt index f9b413134eb70..bff407ad9478d 100644 --- a/tests/baselines/reference/ambientGetters(target=es5).errors.txt +++ b/tests/baselines/reference/ambientGetters(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ambientGetters.ts(6,18): error TS1183: An implementation cannot be declared in ambient contexts. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ambientGetters.ts (1 errors) ==== declare class A { get length() : number; diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 956fef5da96eb..e676e4fa93443 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2543,6 +2543,7 @@ declare namespace ts { export enum ScriptTarget { /** @deprecated */ ES3 = "es3", + /** @deprecated */ ES5 = "es5", ES6 = "es6", ES2015 = "es2015", @@ -7208,6 +7209,7 @@ declare namespace ts { enum ScriptTarget { /** @deprecated */ ES3 = 0, + /** @deprecated */ ES5 = 1, ES2015 = 2, ES2016 = 3, diff --git a/tests/baselines/reference/argumentsObjectIterator01_ES5(target=es5).errors.txt b/tests/baselines/reference/argumentsObjectIterator01_ES5(target=es5).errors.txt index 57755f8c8a176..9e586f022b1c1 100644 --- a/tests/baselines/reference/argumentsObjectIterator01_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/argumentsObjectIterator01_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. argumentsObjectIterator01_ES5.ts(3,21): error TS2802: Type 'IArguments' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== argumentsObjectIterator01_ES5.ts (1 errors) ==== function doubleAndReturnAsArray(x: number, y: number, z: number): [number, number, number] { let result = []; diff --git a/tests/baselines/reference/argumentsObjectIterator02_ES5(target=es5).errors.txt b/tests/baselines/reference/argumentsObjectIterator02_ES5(target=es5).errors.txt index 273529d0e9396..de287e9a94959 100644 --- a/tests/baselines/reference/argumentsObjectIterator02_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/argumentsObjectIterator02_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. argumentsObjectIterator02_ES5.ts(5,21): error TS2802: Type 'ArrayIterator' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== argumentsObjectIterator02_ES5.ts (1 errors) ==== function doubleAndReturnAsArray(x: number, y: number, z: number): [number, number, number] { let blah = arguments[Symbol.iterator]; diff --git a/tests/baselines/reference/argumentsObjectIterator03_ES5(target=es5).errors.txt b/tests/baselines/reference/argumentsObjectIterator03_ES5(target=es5).errors.txt index ab4d1358c6f4b..a90ffff485590 100644 --- a/tests/baselines/reference/argumentsObjectIterator03_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/argumentsObjectIterator03_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. argumentsObjectIterator03_ES5.ts(2,9): error TS2802: Type 'IArguments' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== argumentsObjectIterator03_ES5.ts (1 errors) ==== function asReversedTuple(a: number, b: string, c: boolean): [boolean, string, number] { let [x, y, z] = arguments; diff --git a/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).errors.txt b/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).errors.txt index 17972a3c2ece3..8223b761dc810 100644 --- a/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).errors.txt +++ b/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. argumentsSpreadRestIterables.tsx(3,28): error TS2802: Type 'Iterable' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. argumentsSpreadRestIterables.tsx(4,35): error TS2802: Type 'Iterable' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. argumentsSpreadRestIterables.tsx(5,41): error TS2802: Type 'Iterable' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. @@ -11,6 +12,7 @@ argumentsSpreadRestIterables.tsx(17,25): error TS2802: Type '"hello"' can only b argumentsSpreadRestIterables.tsx(18,25): error TS2802: Type 'Iterable' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== argumentsSpreadRestIterables.tsx (11 errors) ==== declare const itNum: Iterable diff --git a/tests/baselines/reference/arraySpreadImportHelpers(target=es5).errors.txt b/tests/baselines/reference/arraySpreadImportHelpers(target=es5).errors.txt index 98b0b1cae757f..1815a762aedc2 100644 --- a/tests/baselines/reference/arraySpreadImportHelpers(target=es5).errors.txt +++ b/tests/baselines/reference/arraySpreadImportHelpers(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(3,15): error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== main.ts (1 errors) ==== export {}; const k = [1, , 2]; diff --git a/tests/baselines/reference/arrayToLocaleStringES5(target=es5).errors.txt b/tests/baselines/reference/arrayToLocaleStringES5(target=es5).errors.txt new file mode 100644 index 0000000000000..42b68d4086d81 --- /dev/null +++ b/tests/baselines/reference/arrayToLocaleStringES5(target=es5).errors.txt @@ -0,0 +1,61 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== arrayToLocaleStringES5.ts (0 errors) ==== + let str: string; + const arr = [1, 2, 3]; + str = arr.toLocaleString(); // OK + str = arr.toLocaleString('en-US'); // should be error + str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const dates: readonly Date[] = [new Date(), new Date()]; + str = dates.toLocaleString(); // OK + str = dates.toLocaleString('fr'); // should be error + str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error + + const int8Array = new Int8Array(3); + str = int8Array.toLocaleString(); // OK + str = int8Array.toLocaleString('en-US'); // should be error + str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const uint8Array = new Uint8Array(3); + str = uint8Array.toLocaleString(); // OK + str = uint8Array.toLocaleString('en-US'); // should be error + str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const uint8ClampedArray = new Uint8ClampedArray(3); + str = uint8ClampedArray.toLocaleString(); // OK + str = uint8ClampedArray.toLocaleString('en-US'); // should be error + str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const int16Array = new Int16Array(3); + str = int16Array.toLocaleString(); // OK + str = int16Array.toLocaleString('en-US'); // should be error + str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const uint16Array = new Uint16Array(3); + str = uint16Array.toLocaleString(); // OK + str = uint16Array.toLocaleString('en-US'); // should be error + str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const int32Array = new Int32Array(3); + str = int32Array.toLocaleString(); // OK + str = int32Array.toLocaleString('en-US'); // should be error + str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const uint32Array = new Uint32Array(3); + str = uint32Array.toLocaleString(); // OK + str = uint32Array.toLocaleString('en-US'); // should be error + str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const float32Array = new Float32Array(3); + str = float32Array.toLocaleString(); // OK + str = float32Array.toLocaleString('en-US'); // should be error + str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + + const float64Array = new Float64Array(3); + str = float64Array.toLocaleString(); // OK + str = float64Array.toLocaleString('en-US'); // should be error + str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error + \ No newline at end of file diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).errors.txt b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).errors.txt new file mode 100644 index 0000000000000..e71020d759d3d --- /dev/null +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== arrowFunctionWithParameterNameAsync_es2017.ts (0 errors) ==== + const x = async => async; \ No newline at end of file diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).types b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).types index a9a7af90fd59b..576d379c59d7c 100644 --- a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).types +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017(target=es5).types @@ -7,5 +7,7 @@ const x = async => async; >async => async : (async: any) => any > : ^ ^^^^^^^^^^^^^ >async : any +> : ^^^ >async : any +> : ^^^ diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).errors.txt b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..68bd3e7dcc0d2 --- /dev/null +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== arrowFunctionWithParameterNameAsync_es5.ts (0 errors) ==== + const x = async => async; \ No newline at end of file diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).types b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).types index 689a6d058d413..10f349c975383 100644 --- a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).types +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5(target=es5).types @@ -7,5 +7,7 @@ const x = async => async; >async => async : (async: any) => any > : ^ ^^^^^^^^^^^^^ >async : any +> : ^^^ >async : any +> : ^^^ diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).errors.txt b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).errors.txt new file mode 100644 index 0000000000000..3c8ff7d48b8ec --- /dev/null +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== arrowFunctionWithParameterNameAsync_es6.ts (0 errors) ==== + const x = async => async; \ No newline at end of file diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).types b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).types index 83d46dba73a98..a50104b875e16 100644 --- a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).types +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6(target=es5).types @@ -7,5 +7,7 @@ const x = async => async; >async => async : (async: any) => any > : ^ ^^^^^^^^^^^^^ >async : any +> : ^^^ >async : any +> : ^^^ diff --git a/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer(target=es5).errors.txt b/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer(target=es5).errors.txt index cc22119ec5064..c570a12120eab 100644 --- a/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer(target=es5).errors.txt +++ b/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. assignSharedArrayBufferToArrayBuffer.ts(1,5): error TS2322: Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'. Types of property '[Symbol.toStringTag]' are incompatible. Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== assignSharedArrayBufferToArrayBuffer.ts (1 errors) ==== var foo: ArrayBuffer = new SharedArrayBuffer(1024); // should error ~~~ diff --git a/tests/baselines/reference/asyncAliasReturnType_es5(target=es5).errors.txt b/tests/baselines/reference/asyncAliasReturnType_es5(target=es5).errors.txt index b0ad4b8920dbc..de7ea6721acf9 100644 --- a/tests/baselines/reference/asyncAliasReturnType_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncAliasReturnType_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncAliasReturnType_es5.ts(3,21): error TS1055: Type 'PromiseAlias' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncAliasReturnType_es5.ts (1 errors) ==== type PromiseAlias = Promise; diff --git a/tests/baselines/reference/asyncArrowFunction10_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction10_es5(target=es5).errors.txt index d6a9d124aa772..4575f2b28a6a6 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction10_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction10_es5.ts(3,11): error TS2552: Cannot find name 'await'. Did you mean 'Awaited'? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction10_es5.ts (1 errors) ==== var foo = async (): Promise => { // Legal to use 'await' in a type context. diff --git a/tests/baselines/reference/asyncArrowFunction11_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction11_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..e199d801eef1b --- /dev/null +++ b/tests/baselines/reference/asyncArrowFunction11_es5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncArrowFunction11_es5.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/24722 + class A { + b = async (...args: any[]) => { + await Promise.resolve(); + const obj = { ["a"]: () => this }; // computed property name after `await` triggers case + }; + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncArrowFunction1_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction1_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..b6859c0070d89 --- /dev/null +++ b/tests/baselines/reference/asyncArrowFunction1_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncArrowFunction1_es5.ts (0 errors) ==== + var foo = async (): Promise => { + }; \ No newline at end of file diff --git a/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..57cc1c989e6ce --- /dev/null +++ b/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncArrowFunction2_es5.ts (0 errors) ==== + var f = (await) => { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).types b/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).types index bf5374cccce47..15a614a7f26ce 100644 --- a/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).types +++ b/tests/baselines/reference/asyncArrowFunction2_es5(target=es5).types @@ -7,4 +7,5 @@ var f = (await) => { >(await) => {} : (await: any) => void > : ^ ^^^^^^^^^^^^^^ >await : any +> : ^^^ } diff --git a/tests/baselines/reference/asyncArrowFunction3_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction3_es5(target=es5).errors.txt index b78f02690776d..f74d3d9151d6f 100644 --- a/tests/baselines/reference/asyncArrowFunction3_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction3_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction3_es5.ts(1,20): error TS2372: Parameter 'await' cannot reference itself. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction3_es5.ts (1 errors) ==== function f(await = await) { ~~~~~ diff --git a/tests/baselines/reference/asyncArrowFunction4_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction4_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..16a522d60a96e --- /dev/null +++ b/tests/baselines/reference/asyncArrowFunction4_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncArrowFunction4_es5.ts (0 errors) ==== + var await = () => { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncArrowFunction5_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction5_es5(target=es5).errors.txt index 9d5b679d53bbc..c1c6de89783a9 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction5_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction5_es5.ts(1,18): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction5_es5.ts (1 errors) ==== var foo = async (await): Promise => { ~~~~~ diff --git a/tests/baselines/reference/asyncArrowFunction6_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction6_es5(target=es5).errors.txt index 1f4846d8df3c4..fe3b48e4eb4cd 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction6_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction6_es5.ts(1,22): error TS2524: 'await' expressions cannot be used in a parameter initializer. asyncArrowFunction6_es5.ts(1,27): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction6_es5.ts (2 errors) ==== var foo = async (a = await): Promise => { ~~~~~ diff --git a/tests/baselines/reference/asyncArrowFunction7_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction7_es5(target=es5).errors.txt index 1a4faee91bd1d..044ad4e9c7e05 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction7_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction7_es5.ts(3,24): error TS2524: 'await' expressions cannot be used in a parameter initializer. asyncArrowFunction7_es5.ts(3,29): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction7_es5.ts (2 errors) ==== var bar = async (): Promise => { // 'await' here is an identifier, and not an await expression. diff --git a/tests/baselines/reference/asyncArrowFunction8_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction8_es5(target=es5).errors.txt index 47109bea85ff8..28a859d217446 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction8_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction8_es5.ts(2,19): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction8_es5.ts (1 errors) ==== var foo = async (): Promise => { var v = { [await]: foo } diff --git a/tests/baselines/reference/asyncArrowFunction9_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunction9_es5(target=es5).errors.txt index a1a1c9691c9dd..2f30ca2b13c14 100644 --- a/tests/baselines/reference/asyncArrowFunction9_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunction9_es5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunction9_es5.ts(1,11): error TS2304: Cannot find name 'async'. asyncArrowFunction9_es5.ts(1,18): error TS2304: Cannot find name 'a'. asyncArrowFunction9_es5.ts(1,37): error TS1005: ',' expected. @@ -6,6 +7,7 @@ asyncArrowFunction9_es5.ts(1,46): error TS1005: ',' expected. asyncArrowFunction9_es5.ts(1,53): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunction9_es5.ts (6 errors) ==== var foo = async (a = await => await): Promise => { ~~~~~ diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5(target=es5).errors.txt index db54dddc46804..f83125a493853 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncArrowFunctionCapturesArguments_es5.ts(4,52): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncArrowFunctionCapturesArguments_es5.ts (1 errors) ==== class C { method() { diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..a1c8071891cca --- /dev/null +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncArrowFunctionCapturesThis_es5.ts (0 errors) ==== + class C { + method() { + var fn = async () => await this; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/asyncArrowInClassES5(target=es5).errors.txt b/tests/baselines/reference/asyncArrowInClassES5(target=es5).errors.txt new file mode 100644 index 0000000000000..587c123ff0142 --- /dev/null +++ b/tests/baselines/reference/asyncArrowInClassES5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncArrowInClassES5.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/16924 + // Should capture `this` + + class Test { + static member = async (x: string) => { }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es5(target=es5).errors.txt b/tests/baselines/reference/asyncAwaitIsolatedModules_es5(target=es5).errors.txt index 673f63cce76f6..0ee61ce8544fa 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncAwaitIsolatedModules_es5.ts(1,27): error TS2307: Cannot find module 'missing' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncAwaitIsolatedModules_es5.ts (1 errors) ==== import { MyPromise } from "missing"; ~~~~~~~~~ diff --git a/tests/baselines/reference/asyncAwaitNestedClasses_es5(target=es5).errors.txt b/tests/baselines/reference/asyncAwaitNestedClasses_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..82510e3d9f7b0 --- /dev/null +++ b/tests/baselines/reference/asyncAwaitNestedClasses_es5(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncAwaitNestedClasses_es5.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/20744 + class A { + static B = class B { + static func2(): Promise { + return new Promise((resolve) => { resolve(null); }); + } + static C = class C { + static async func() { + await B.func2(); + } + } + } + } + + A.B.C.func(); \ No newline at end of file diff --git a/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar(target=es5).errors.txt b/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar(target=es5).errors.txt new file mode 100644 index 0000000000000..4b12e40312346 --- /dev/null +++ b/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar(target=es5).errors.txt @@ -0,0 +1,40 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncAwaitWithCapturedBlockScopeVar.ts (0 errors) ==== + async function fn1() { + let ar = []; + for (let i = 0; i < 1; i++) { + await 1; + ar.push(() => i); + } + } + + async function fn2() { + let ar = []; + for (let i = 0; i < 1; i++) { + await 1; + ar.push(() => i); + break; + } + } + + async function fn3() { + let ar = []; + for (let i = 0; i < 1; i++) { + await 1; + ar.push(() => i); + continue; + } + } + + async function fn4(): Promise { + let ar = []; + for (let i = 0; i < 1; i++) { + await 1; + ar.push(() => i); + return 1; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/asyncAwait_es5(target=es5).errors.txt b/tests/baselines/reference/asyncAwait_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..947a5290c6769 --- /dev/null +++ b/tests/baselines/reference/asyncAwait_es5(target=es5).errors.txt @@ -0,0 +1,51 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncAwait_es5.ts (0 errors) ==== + type MyPromise = Promise; + declare var MyPromise: typeof Promise; + declare var p: Promise; + declare var mp: MyPromise; + + async function f0() { } + async function f1(): Promise { } + async function f3(): MyPromise { } + + let f4 = async function() { } + let f5 = async function(): Promise { } + let f6 = async function(): MyPromise { } + + let f7 = async () => { }; + let f8 = async (): Promise => { }; + let f9 = async (): MyPromise => { }; + let f10 = async () => p; + let f11 = async () => mp; + let f12 = async (): Promise => mp; + let f13 = async (): MyPromise => p; + + let o = { + async m1() { }, + async m2(): Promise { }, + async m3(): MyPromise { } + }; + + class C { + async m1() { } + async m2(): Promise { } + async m3(): MyPromise { } + static async m4() { } + static async m5(): Promise { } + static async m6(): MyPromise { } + } + + namespace M { + export async function f1() { } + } + + async function f14() { + block: { + await 1; + break block; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncClass_es5(target=es5).errors.txt b/tests/baselines/reference/asyncClass_es5(target=es5).errors.txt index 214f940474879..b7ef02b265a24 100644 --- a/tests/baselines/reference/asyncClass_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncClass_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncClass_es5.ts(1,1): error TS1042: 'async' modifier cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncClass_es5.ts (1 errors) ==== async class C { ~~~~~ diff --git a/tests/baselines/reference/asyncConstructor_es5(target=es5).errors.txt b/tests/baselines/reference/asyncConstructor_es5(target=es5).errors.txt index 5b56f8c1d8892..4ae64540b099d 100644 --- a/tests/baselines/reference/asyncConstructor_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncConstructor_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncConstructor_es5.ts(2,3): error TS1089: 'async' modifier cannot appear on a constructor declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncConstructor_es5.ts (1 errors) ==== class C { async constructor() { diff --git a/tests/baselines/reference/asyncDeclare_es5(target=es5).errors.txt b/tests/baselines/reference/asyncDeclare_es5(target=es5).errors.txt index 3aeac405b6f78..95df12605c8e6 100644 --- a/tests/baselines/reference/asyncDeclare_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncDeclare_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncDeclare_es5.ts(1,9): error TS1040: 'async' modifier cannot be used in an ambient context. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncDeclare_es5.ts (1 errors) ==== declare async function foo(): Promise; ~~~~~ diff --git a/tests/baselines/reference/asyncEnum_es5(target=es5).errors.txt b/tests/baselines/reference/asyncEnum_es5(target=es5).errors.txt index fb944a716d817..b8c1f9ea11a48 100644 --- a/tests/baselines/reference/asyncEnum_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncEnum_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncEnum_es5.ts(1,1): error TS1042: 'async' modifier cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncEnum_es5.ts (1 errors) ==== async enum E { ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration10_es5(target=es5).errors.txt index 6fc157649dd7c..8867474e22bde 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration10_es5.ts(1,24): error TS2524: 'await' expressions cannot be used in a parameter initializer. asyncFunctionDeclaration10_es5.ts(1,30): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration10_es5.ts (2 errors) ==== async function foo(a = await => await): Promise { ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration11_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..ceb11bc06d8fe --- /dev/null +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncFunctionDeclaration11_es5.ts (0 errors) ==== + async function await(): Promise { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration12_es5(target=es5).errors.txt index f6866f5bcaf7b..f06d2b0635227 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration12_es5.ts(1,24): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration12_es5.ts (1 errors) ==== var v = async function await(): Promise { } ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration13_es5(target=es5).errors.txt index b3138f28704d1..9861f2eb984f6 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration13_es5.ts(3,11): error TS2552: Cannot find name 'await'. Did you mean 'Awaited'? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration13_es5.ts (1 errors) ==== async function foo(): Promise { // Legal to use 'await' in a type context. diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration14_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..0568cb64bc811 --- /dev/null +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncFunctionDeclaration14_es5.ts (0 errors) ==== + async function foo(): Promise { + return; + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionDeclaration15_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration15_es5(target=es5).errors.txt index fb4cdc909c6bc..ab0c64e46f44f 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration15_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration15_es5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration15_es5.ts(6,23): error TS1055: Type '{}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. asyncFunctionDeclaration15_es5.ts(6,23): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. asyncFunctionDeclaration15_es5.ts(7,23): error TS1055: Type 'any' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. @@ -12,6 +13,7 @@ asyncFunctionDeclaration15_es5.ts(17,16): error TS1058: The return type of an as asyncFunctionDeclaration15_es5.ts(23,25): error TS1320: Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration15_es5.ts (9 errors) ==== declare class Thenable { then(): void; } declare let a: any; diff --git a/tests/baselines/reference/asyncFunctionDeclaration16_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration16_es5(target=es5).errors.txt index f6f88f047eb49..2341ccfc55e32 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration16_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration16_es5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /a.js(21,14): error TS1055: Type 'string' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. /a.js(27,12): error TS1065: The return type of an async function or method must be the global Promise type. /a.js(45,12): error TS1065: The return type of an async function or method must be the global Promise type. @@ -7,6 +8,7 @@ Type 'void' is not assignable to type 'PromiseLike'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /types.d.ts (0 errors) ==== declare class Thenable { then(): void; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration1_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..374d813a9bfd8 --- /dev/null +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncFunctionDeclaration1_es5.ts (0 errors) ==== + async function foo(): Promise { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..6f933f9e18fe4 --- /dev/null +++ b/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncFunctionDeclaration2_es5.ts (0 errors) ==== + function f(await) { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).types b/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).types index 26a780e93d7fc..137776509a04c 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).types +++ b/tests/baselines/reference/asyncFunctionDeclaration2_es5(target=es5).types @@ -5,4 +5,5 @@ function f(await) { >f : (await: any) => void > : ^ ^^^^^^^^^^^^^^ >await : any +> : ^^^ } diff --git a/tests/baselines/reference/asyncFunctionDeclaration3_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration3_es5(target=es5).errors.txt index 2b2507b88297c..388a9d829b262 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration3_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration3_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration3_es5.ts(1,20): error TS2372: Parameter 'await' cannot reference itself. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration3_es5.ts (1 errors) ==== function f(await = await) { ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration4_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration4_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..92c797ebb4dc2 --- /dev/null +++ b/tests/baselines/reference/asyncFunctionDeclaration4_es5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncFunctionDeclaration4_es5.ts (0 errors) ==== + function await() { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration5_es5(target=es5).errors.txt index 175409258281f..76e4efbc48cd9 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration5_es5.ts(1,20): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration5_es5.ts (1 errors) ==== async function foo(await): Promise { ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration6_es5(target=es5).errors.txt index bfe5e9017af9f..932372cbecaef 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration6_es5.ts(1,24): error TS2524: 'await' expressions cannot be used in a parameter initializer. asyncFunctionDeclaration6_es5.ts(1,29): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration6_es5.ts (2 errors) ==== async function foo(a = await): Promise { ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration7_es5(target=es5).errors.txt index 6c51148ae758e..4e8d582c18300 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration7_es5.ts(3,26): error TS2524: 'await' expressions cannot be used in a parameter initializer. asyncFunctionDeclaration7_es5.ts(3,31): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration7_es5.ts (2 errors) ==== async function bar(): Promise { // 'await' here is an identifier, and not a yield expression. diff --git a/tests/baselines/reference/asyncFunctionDeclaration8_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration8_es5(target=es5).errors.txt index d050d9263b74e..60b4339abdaab 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration8_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration8_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration8_es5.ts(1,12): error TS2304: Cannot find name 'await'. asyncFunctionDeclaration8_es5.ts(1,20): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration8_es5.ts (2 errors) ==== var v = { [await]: foo } ~~~~~ diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclaration9_es5(target=es5).errors.txt index 878d099702c18..e5121f3578639 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclaration9_es5.ts(2,19): error TS1109: Expression expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclaration9_es5.ts (1 errors) ==== async function foo(): Promise { var v = { [await]: foo } diff --git a/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5(target=es5).errors.txt index e6c805127cbcd..6971bcff9a5de 100644 --- a/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncFunctionDeclarationCapturesArguments_es5.ts(5,36): error TS2522: The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncFunctionDeclarationCapturesArguments_es5.ts (1 errors) ==== class C { method() { diff --git a/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).errors.txt b/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).errors.txt new file mode 100644 index 0000000000000..576b09f9e19d7 --- /dev/null +++ b/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncFunctionTempVariableScoping.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/19187 + + async ({ foo, bar, ...rest }) => bar(await foo); \ No newline at end of file diff --git a/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).types b/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).types index f419de00d7f96..4b9760d475a4d 100644 --- a/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).types +++ b/tests/baselines/reference/asyncFunctionTempVariableScoping(target=es5).types @@ -13,7 +13,11 @@ async ({ foo, bar, ...rest }) => bar(await foo); >rest : { [x: string]: any; } > : ^^^^^^^^^^^^^^^^^^^^^ >bar(await foo) : any +> : ^^^ >bar : any +> : ^^^ >await foo : any +> : ^^^ >foo : any +> : ^^^ diff --git a/tests/baselines/reference/asyncGetter_es5(target=es5).errors.txt b/tests/baselines/reference/asyncGetter_es5(target=es5).errors.txt index 8d0d28e07f394..eb120245dbda1 100644 --- a/tests/baselines/reference/asyncGetter_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncGetter_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncGetter_es5.ts(2,3): error TS1042: 'async' modifier cannot be used here. asyncGetter_es5.ts(2,13): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncGetter_es5.ts (2 errors) ==== class C { async get foo() { diff --git a/tests/baselines/reference/asyncImportedPromise_es5(target=es5).errors.txt b/tests/baselines/reference/asyncImportedPromise_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..1c173ab403cf9 --- /dev/null +++ b/tests/baselines/reference/asyncImportedPromise_es5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== task.ts (0 errors) ==== + export class Task extends Promise { } + +==== test.ts (0 errors) ==== + import { Task } from "./task"; + class Test { + async example(): Task { return; } + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncInterface_es5(target=es5).errors.txt b/tests/baselines/reference/asyncInterface_es5(target=es5).errors.txt index 931ebb1e21497..30e5782c9c51c 100644 --- a/tests/baselines/reference/asyncInterface_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncInterface_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncInterface_es5.ts(1,1): error TS1042: 'async' modifier cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncInterface_es5.ts (1 errors) ==== async interface I { ~~~~~ diff --git a/tests/baselines/reference/asyncMethodWithSuper_es5(target=es5).errors.txt b/tests/baselines/reference/asyncMethodWithSuper_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..9cbc9eac0ef57 --- /dev/null +++ b/tests/baselines/reference/asyncMethodWithSuper_es5(target=es5).errors.txt @@ -0,0 +1,60 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncMethodWithSuper_es5.ts (0 errors) ==== + class A { + x() { + } + y() { + } + } + + class B extends A { + // async method with only call/get on 'super' does not require a binding + async simple() { + // call with property access + super.x(); + // call additional property. + super.y(); + + // call with element access + super["x"](); + + // property access (read) + const a = super.x; + + // element access (read) + const b = super["x"]; + } + + // async method with assignment/destructuring on 'super' requires a binding + async advanced() { + const f = () => {}; + + // call with property access + super.x(); + + // call with element access + super["x"](); + + // property access (read) + const a = super.x; + + // element access (read) + const b = super["x"]; + + // property access (assign) + super.x = f; + + // element access (assign) + super["x"] = f; + + // destructuring assign with property access + ({ f: super.x } = { f }); + + // destructuring assign with element access + ({ f: super["x"] } = { f }); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/asyncModule_es5(target=es5).errors.txt b/tests/baselines/reference/asyncModule_es5(target=es5).errors.txt index c381d2a74aca7..a9a4d03c43dcb 100644 --- a/tests/baselines/reference/asyncModule_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncModule_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncModule_es5.ts(1,1): error TS1042: 'async' modifier cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncModule_es5.ts (1 errors) ==== async namespace M { ~~~~~ diff --git a/tests/baselines/reference/asyncMultiFile_es5(target=es5).errors.txt b/tests/baselines/reference/asyncMultiFile_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..6d802b8fa2b29 --- /dev/null +++ b/tests/baselines/reference/asyncMultiFile_es5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + async function f() {} +==== b.ts (0 errors) ==== + function g() { } \ No newline at end of file diff --git a/tests/baselines/reference/asyncQualifiedReturnType_es5(target=es5).errors.txt b/tests/baselines/reference/asyncQualifiedReturnType_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..b3149e5ede58a --- /dev/null +++ b/tests/baselines/reference/asyncQualifiedReturnType_es5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncQualifiedReturnType_es5.ts (0 errors) ==== + namespace X { + export class MyPromise extends Promise { + } + } + + async function f(): X.MyPromise { + } \ No newline at end of file diff --git a/tests/baselines/reference/asyncSetter_es5(target=es5).errors.txt b/tests/baselines/reference/asyncSetter_es5(target=es5).errors.txt index d637655d34104..9a1b02c502933 100644 --- a/tests/baselines/reference/asyncSetter_es5(target=es5).errors.txt +++ b/tests/baselines/reference/asyncSetter_es5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. asyncSetter_es5.ts(2,3): error TS1042: 'async' modifier cannot be used here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== asyncSetter_es5.ts (1 errors) ==== class C { async set foo(value) { diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).errors.txt b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..00f2c894b1b53 --- /dev/null +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncUnParenthesizedArrowFunction_es5.ts (0 errors) ==== + declare function someOtherFunction(i: any): Promise; + const x = async i => await someOtherFunction(i) + const x1 = async (i) => await someOtherFunction(i); \ No newline at end of file diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).types b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).types index 20fcabfe2922e..3c442332c0e59 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).types +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5(target=es5).types @@ -5,6 +5,7 @@ declare function someOtherFunction(i: any): Promise; >someOtherFunction : (i: any) => Promise > : ^ ^^ ^^^^^ >i : any +> : ^^^ const x = async i => await someOtherFunction(i) >x : (i: any) => Promise @@ -12,6 +13,7 @@ const x = async i => await someOtherFunction(i) >async i => await someOtherFunction(i) : (i: any) => Promise > : ^ ^^^^^^^^^^^^^^^^^^^^^^^ >i : any +> : ^^^ >await someOtherFunction(i) : void > : ^^^^ >someOtherFunction(i) : Promise @@ -19,6 +21,7 @@ const x = async i => await someOtherFunction(i) >someOtherFunction : (i: any) => Promise > : ^ ^^ ^^^^^ >i : any +> : ^^^ const x1 = async (i) => await someOtherFunction(i); >x1 : (i: any) => Promise @@ -26,6 +29,7 @@ const x1 = async (i) => await someOtherFunction(i); >async (i) => await someOtherFunction(i) : (i: any) => Promise > : ^ ^^^^^^^^^^^^^^^^^^^^^^^ >i : any +> : ^^^ >await someOtherFunction(i) : void > : ^^^^ >someOtherFunction(i) : Promise @@ -33,4 +37,5 @@ const x1 = async (i) => await someOtherFunction(i); >someOtherFunction : (i: any) => Promise > : ^ ^^ ^^^^^ >i : any +> : ^^^ diff --git a/tests/baselines/reference/asyncUseStrict_es5(target=es5).errors.txt b/tests/baselines/reference/asyncUseStrict_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..6bbee548be735 --- /dev/null +++ b/tests/baselines/reference/asyncUseStrict_es5(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== asyncUseStrict_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + async function func(): Promise { + "use strict"; + var b = await p || a; + } \ No newline at end of file diff --git a/tests/baselines/reference/autoAccessor1(target=es5).errors.txt b/tests/baselines/reference/autoAccessor1(target=es5).errors.txt index d20d2bfecf11e..c32c3dec24277 100644 --- a/tests/baselines/reference/autoAccessor1(target=es5).errors.txt +++ b/tests/baselines/reference/autoAccessor1(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. autoAccessor1.ts(2,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor1.ts(3,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor1.ts(4,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor1.ts(5,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== autoAccessor1.ts (4 errors) ==== class C1 { accessor a: any; diff --git a/tests/baselines/reference/autoAccessor1(target=es5).js b/tests/baselines/reference/autoAccessor1(target=es5).js deleted file mode 100644 index 014f81f4c8993..0000000000000 --- a/tests/baselines/reference/autoAccessor1(target=es5).js +++ /dev/null @@ -1,61 +0,0 @@ -//// [tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor1.ts] //// - -//// [autoAccessor1.ts] -class C1 { - accessor a: any; - accessor b = 1; - static accessor c: any; - static accessor d = 2; -} - - - - -!!!! File autoAccessor1.js missing from original emit, but present in noCheck emit -//// [autoAccessor1.js] -var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); -}; -var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; -}; -var C1 = /** @class */ (function () { - function C1() { - _C1_a_accessor_storage.set(this, void 0); - _C1_b_accessor_storage.set(this, 1); - } - Object.defineProperty(C1.prototype, "a", { - get: function () { return __classPrivateFieldGet(this, _C1_a_accessor_storage, "f"); }, - set: function (value) { __classPrivateFieldSet(this, _C1_a_accessor_storage, value, "f"); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1.prototype, "b", { - get: function () { return __classPrivateFieldGet(this, _C1_b_accessor_storage, "f"); }, - set: function (value) { __classPrivateFieldSet(this, _C1_b_accessor_storage, value, "f"); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1, "c", { - get: function () { return __classPrivateFieldGet(_a, _a, "f", _C1_c_accessor_storage); }, - set: function (value) { __classPrivateFieldSet(_a, _a, value, "f", _C1_c_accessor_storage); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1, "d", { - get: function () { return __classPrivateFieldGet(_a, _a, "f", _C1_d_accessor_storage); }, - set: function (value) { __classPrivateFieldSet(_a, _a, value, "f", _C1_d_accessor_storage); }, - enumerable: false, - configurable: true - }); - var _a, _C1_a_accessor_storage, _C1_b_accessor_storage, _C1_c_accessor_storage, _C1_d_accessor_storage; - _a = C1, _C1_a_accessor_storage = new WeakMap(), _C1_b_accessor_storage = new WeakMap(); - _C1_c_accessor_storage = { value: void 0 }; - _C1_d_accessor_storage = { value: 2 }; - return C1; -}()); diff --git a/tests/baselines/reference/autoAccessor3(target=es5).errors.txt b/tests/baselines/reference/autoAccessor3(target=es5).errors.txt index 0637053416bfe..5e54b5ee09072 100644 --- a/tests/baselines/reference/autoAccessor3(target=es5).errors.txt +++ b/tests/baselines/reference/autoAccessor3(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. autoAccessor3.ts(2,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor3.ts(3,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor3.ts(4,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor3.ts(5,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== autoAccessor3.ts (4 errors) ==== class C1 { accessor "w": any; diff --git a/tests/baselines/reference/autoAccessor3(target=es5).js b/tests/baselines/reference/autoAccessor3(target=es5).js deleted file mode 100644 index aa624c216a8cc..0000000000000 --- a/tests/baselines/reference/autoAccessor3(target=es5).js +++ /dev/null @@ -1,61 +0,0 @@ -//// [tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor3.ts] //// - -//// [autoAccessor3.ts] -class C1 { - accessor "w": any; - accessor "x" = 1; - static accessor "y": any; - static accessor "z" = 2; -} - - - - -!!!! File autoAccessor3.js missing from original emit, but present in noCheck emit -//// [autoAccessor3.js] -var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); -}; -var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; -}; -var C1 = /** @class */ (function () { - function C1() { - _C1__a_accessor_storage.set(this, void 0); - _C1__b_accessor_storage.set(this, 1); - } - Object.defineProperty(C1.prototype, "w", { - get: function () { return __classPrivateFieldGet(this, _C1__a_accessor_storage, "f"); }, - set: function (value) { __classPrivateFieldSet(this, _C1__a_accessor_storage, value, "f"); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1.prototype, "x", { - get: function () { return __classPrivateFieldGet(this, _C1__b_accessor_storage, "f"); }, - set: function (value) { __classPrivateFieldSet(this, _C1__b_accessor_storage, value, "f"); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1, "y", { - get: function () { return __classPrivateFieldGet(_a, _a, "f", _C1__c_accessor_storage); }, - set: function (value) { __classPrivateFieldSet(_a, _a, value, "f", _C1__c_accessor_storage); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1, "z", { - get: function () { return __classPrivateFieldGet(_a, _a, "f", _C1__d_accessor_storage); }, - set: function (value) { __classPrivateFieldSet(_a, _a, value, "f", _C1__d_accessor_storage); }, - enumerable: false, - configurable: true - }); - var _a, _C1__a_accessor_storage, _C1__b_accessor_storage, _C1__c_accessor_storage, _C1__d_accessor_storage; - _a = C1, _C1__a_accessor_storage = new WeakMap(), _C1__b_accessor_storage = new WeakMap(); - _C1__c_accessor_storage = { value: void 0 }; - _C1__d_accessor_storage = { value: 2 }; - return C1; -}()); diff --git a/tests/baselines/reference/autoAccessor4(target=es5).errors.txt b/tests/baselines/reference/autoAccessor4(target=es5).errors.txt index 5c481a6438a95..6471b94271d08 100644 --- a/tests/baselines/reference/autoAccessor4(target=es5).errors.txt +++ b/tests/baselines/reference/autoAccessor4(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. autoAccessor4.ts(2,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor4.ts(3,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor4.ts(4,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor4.ts(5,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== autoAccessor4.ts (4 errors) ==== class C1 { accessor 0: any; diff --git a/tests/baselines/reference/autoAccessor4(target=es5).js b/tests/baselines/reference/autoAccessor4(target=es5).js deleted file mode 100644 index 889d9f36dc3f6..0000000000000 --- a/tests/baselines/reference/autoAccessor4(target=es5).js +++ /dev/null @@ -1,61 +0,0 @@ -//// [tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor4.ts] //// - -//// [autoAccessor4.ts] -class C1 { - accessor 0: any; - accessor 1 = 1; - static accessor 2: any; - static accessor 3 = 2; -} - - - - -!!!! File autoAccessor4.js missing from original emit, but present in noCheck emit -//// [autoAccessor4.js] -var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); -}; -var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; -}; -var C1 = /** @class */ (function () { - function C1() { - _C1__a_accessor_storage.set(this, void 0); - _C1__b_accessor_storage.set(this, 1); - } - Object.defineProperty(C1.prototype, 0, { - get: function () { return __classPrivateFieldGet(this, _C1__a_accessor_storage, "f"); }, - set: function (value) { __classPrivateFieldSet(this, _C1__a_accessor_storage, value, "f"); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1.prototype, 1, { - get: function () { return __classPrivateFieldGet(this, _C1__b_accessor_storage, "f"); }, - set: function (value) { __classPrivateFieldSet(this, _C1__b_accessor_storage, value, "f"); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1, 2, { - get: function () { return __classPrivateFieldGet(_a, _a, "f", _C1__c_accessor_storage); }, - set: function (value) { __classPrivateFieldSet(_a, _a, value, "f", _C1__c_accessor_storage); }, - enumerable: false, - configurable: true - }); - Object.defineProperty(C1, 3, { - get: function () { return __classPrivateFieldGet(_a, _a, "f", _C1__d_accessor_storage); }, - set: function (value) { __classPrivateFieldSet(_a, _a, value, "f", _C1__d_accessor_storage); }, - enumerable: false, - configurable: true - }); - var _a, _C1__a_accessor_storage, _C1__b_accessor_storage, _C1__c_accessor_storage, _C1__d_accessor_storage; - _a = C1, _C1__a_accessor_storage = new WeakMap(), _C1__b_accessor_storage = new WeakMap(); - _C1__c_accessor_storage = { value: void 0 }; - _C1__d_accessor_storage = { value: 2 }; - return C1; -}()); diff --git a/tests/baselines/reference/autoAccessor5(target=es5).errors.txt b/tests/baselines/reference/autoAccessor5(target=es5).errors.txt index 5800cd441ff26..3d1ed9efe7294 100644 --- a/tests/baselines/reference/autoAccessor5(target=es5).errors.txt +++ b/tests/baselines/reference/autoAccessor5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. autoAccessor5.ts(2,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor5.ts(3,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. autoAccessor5.ts(4,21): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher. @@ -5,6 +6,7 @@ autoAccessor5.ts(5,21): error TS18045: Properties with the 'accessor' modifier a autoAccessor5.ts(10,14): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== autoAccessor5.ts (5 errors) ==== class C1 { accessor ["w"]: any; diff --git a/tests/baselines/reference/awaitBinaryExpression1_es5(target=es5).errors.txt b/tests/baselines/reference/awaitBinaryExpression1_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..aad920c52c7aa --- /dev/null +++ b/tests/baselines/reference/awaitBinaryExpression1_es5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitBinaryExpression1_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = await p || a; + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitBinaryExpression2_es5(target=es5).errors.txt b/tests/baselines/reference/awaitBinaryExpression2_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..3afbaec00cecb --- /dev/null +++ b/tests/baselines/reference/awaitBinaryExpression2_es5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitBinaryExpression2_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = await p && a; + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitBinaryExpression3_es5(target=es5).errors.txt b/tests/baselines/reference/awaitBinaryExpression3_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..4c1236589bf01 --- /dev/null +++ b/tests/baselines/reference/awaitBinaryExpression3_es5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitBinaryExpression3_es5.ts (0 errors) ==== + declare var a: number; + declare var p: Promise; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = await p + a; + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitBinaryExpression4_es5(target=es5).errors.txt b/tests/baselines/reference/awaitBinaryExpression4_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..3b529df6ee23c --- /dev/null +++ b/tests/baselines/reference/awaitBinaryExpression4_es5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitBinaryExpression4_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = (await p, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitBinaryExpression5_es5(target=es5).errors.txt b/tests/baselines/reference/awaitBinaryExpression5_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..6537b9ffaf5cb --- /dev/null +++ b/tests/baselines/reference/awaitBinaryExpression5_es5(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitBinaryExpression5_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var o: { a: boolean; }; + o.a = await p; + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression1_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression1_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..daf16521896dd --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression1_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression1_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = fn(a, a, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression2_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression2_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..c8300a2273a85 --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression2_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression2_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = fn(await p, a, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression3_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression3_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..c0a41aeb6551d --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression3_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression3_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = fn(a, await p, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression4_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression4_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..ae063ce5f63fc --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression4_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression4_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = (await pfn)(a, a, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression5_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression5_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..f82a2983ec3f6 --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression5_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression5_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = o.fn(a, a, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression6_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression6_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..ed3f06b18f851 --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression6_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression6_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = o.fn(await p, a, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression7_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression7_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..04249a638f7c3 --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression7_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression7_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = o.fn(a, await p, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitCallExpression8_es5(target=es5).errors.txt b/tests/baselines/reference/awaitCallExpression8_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..cad1b7e94c9a1 --- /dev/null +++ b/tests/baselines/reference/awaitCallExpression8_es5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitCallExpression8_es5.ts (0 errors) ==== + declare var a: boolean; + declare var p: Promise; + declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; + declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; + declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare var po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; + declare function before(): void; + declare function after(): void; + async function func(): Promise { + before(); + var b = (await po).fn(a, a, a); + after(); + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitClassExpression_es5(target=es5).errors.txt b/tests/baselines/reference/awaitClassExpression_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..7726939f0fde4 --- /dev/null +++ b/tests/baselines/reference/awaitClassExpression_es5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitClassExpression_es5.ts (0 errors) ==== + declare class C { } + declare var p: Promise; + + async function func(): Promise { + class D extends (await p) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitUnion_es5(target=es5).errors.txt b/tests/baselines/reference/awaitUnion_es5(target=es5).errors.txt new file mode 100644 index 0000000000000..5ac4ca6de3aaf --- /dev/null +++ b/tests/baselines/reference/awaitUnion_es5(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitUnion_es5.ts (0 errors) ==== + declare let a: number | string; + declare let b: PromiseLike | PromiseLike; + declare let c: PromiseLike; + declare let d: number | PromiseLike; + declare let e: number | PromiseLike; + async function f() { + let await_a = await a; + let await_b = await b; + let await_c = await c; + let await_d = await d; + let await_e = await e; + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).errors.txt index 008722a48e7e6..a0bc13632f494 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).errors.txt +++ b/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. awaitUsingDeclarations.1.ts(1,1): error TS2854: Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. awaitUsingDeclarations.1.ts(36,5): error TS2854: Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. awaitUsingDeclarations.1.ts(41,9): error TS2854: Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. @@ -17,6 +18,7 @@ awaitUsingDeclarations.1.ts(101,5): error TS2854: Top-level 'await using' statem awaitUsingDeclarations.1.ts(105,5): error TS2854: Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== awaitUsingDeclarations.1.ts (17 errors) ==== await using d1 = { async [Symbol.asyncDispose]() {} }; ~~~~~ diff --git a/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).errors.txt index 2966bcdfb74a4..f2fb2fe4bbbcc 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).errors.txt +++ b/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. awaitUsingDeclarations.2.ts(2,5): error TS2854: Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== awaitUsingDeclarations.2.ts (1 errors) ==== { await using d1 = { async [Symbol.asyncDispose]() {} }, diff --git a/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).errors.txt index 3987b59b7904b..1b6452f9f5655 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).errors.txt +++ b/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. awaitUsingDeclarations.3.ts(2,5): error TS2854: Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== awaitUsingDeclarations.3.ts (1 errors) ==== { await using d1 = { async [Symbol.asyncDispose]() {} }, diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).errors.txt new file mode 100644 index 0000000000000..b2f5382d1e1ec --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitUsingDeclarationsInFor.ts (0 errors) ==== + async function main() { + for (await using d1 = { [Symbol.dispose]() {} }, + d2 = { async [Symbol.asyncDispose]() {} }, + d3 = null, + d4 = undefined;;) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).errors.txt new file mode 100644 index 0000000000000..2f96c14338668 --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitUsingDeclarationsInForAwaitOf.ts (0 errors) ==== + async function main() { + for await (await using d1 of [{ async [Symbol.asyncDispose]() {} }, { [Symbol.dispose]() {} }, null, undefined]) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).errors.txt index dff557f7c85b0..7ac8281610272 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).errors.txt +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. awaitUsingDeclarationsInForAwaitOf.3.ts(5,5): error TS1432: Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher. awaitUsingDeclarationsInForAwaitOf.3.ts(5,23): error TS1123: Variable declaration list cannot be empty. awaitUsingDeclarationsInForAwaitOf.3.ts(8,25): error TS1123: Variable declaration list cannot be empty. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== awaitUsingDeclarationsInForAwaitOf.3.ts (3 errors) ==== // https://github.com/microsoft/TypeScript/pull/55558#issuecomment-1817595357 diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).errors.txt new file mode 100644 index 0000000000000..3530767862b58 --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== awaitUsingDeclarationsInForOf.1.ts (0 errors) ==== + async function main() { + for (await using d1 of [{ async [Symbol.asyncDispose]() {} }, { [Symbol.dispose]() {} }, null, undefined]) { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).errors.txt b/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).errors.txt index 0cc4b1df6bc21..57d50732a94d7 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).errors.txt +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. awaitUsingDeclarationsInForOf.5.ts(5,17): error TS1123: Variable declaration list cannot be empty. awaitUsingDeclarationsInForOf.5.ts(8,19): error TS1123: Variable declaration list cannot be empty. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== awaitUsingDeclarationsInForOf.5.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/pull/55558#issuecomment-1817595357 diff --git a/tests/baselines/reference/bigintAmbientMinimal(target=es5).errors.txt b/tests/baselines/reference/bigintAmbientMinimal(target=es5).errors.txt index e95b511da01dd..a29874c687456 100644 --- a/tests/baselines/reference/bigintAmbientMinimal(target=es5).errors.txt +++ b/tests/baselines/reference/bigintAmbientMinimal(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /main.ts(5,17): error TS2737: BigInt literals are not available when targeting lower than ES2020. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /ambient.d.ts (0 errors) ==== declare const fromDts = 789n; declare namespace Lib { diff --git a/tests/baselines/reference/bigintWithoutLib(target=es5).errors.txt b/tests/baselines/reference/bigintWithoutLib(target=es5).errors.txt index cb1d1688127e9..a801d5a48825a 100644 --- a/tests/baselines/reference/bigintWithoutLib(target=es5).errors.txt +++ b/tests/baselines/reference/bigintWithoutLib(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. bigintWithoutLib.ts(4,25): error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigintWithoutLib.ts(5,13): error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigintWithoutLib.ts(6,5): error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. @@ -51,6 +52,7 @@ bigintWithoutLib.ts(55,36): error TS2737: BigInt literals are not available when bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assignable to parameter of type 'number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== bigintWithoutLib.ts (51 errors) ==== // Every line should error because these builtins are not declared diff --git a/tests/baselines/reference/binaryIntegerLiteral(target=es5).errors.txt b/tests/baselines/reference/binaryIntegerLiteral(target=es5).errors.txt new file mode 100644 index 0000000000000..63348f01a84e7 --- /dev/null +++ b/tests/baselines/reference/binaryIntegerLiteral(target=es5).errors.txt @@ -0,0 +1,47 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== binaryIntegerLiteral.ts (0 errors) ==== + var bin1 = 0b11010; + var bin2 = 0B11010; + var bin3 = 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111; + var bin4 = 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111; + + var obj1 = { + 0b11010: "Hello", + a: bin1, + bin1, + b: 0b11010, + 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: true, + } + + var obj2 = { + 0B11010: "World", + a: bin2, + bin2, + b: 0B11010, + 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: false, + } + + obj1[0b11010]; // string + obj1[26]; // string + obj1["26"]; // string + obj1["0b11010"]; // any + obj1["a"]; // number + obj1["b"]; // number + obj1["bin1"]; // number + obj1["Infinity"]; // boolean + + obj2[0B11010]; // string + obj2[26]; // string + obj2["26"]; // string + obj2["0B11010"]; // any + obj2["a"]; // number + obj2["b"]; // number + obj2["bin2"]; // number + obj2[9.671406556917009e+24]; // boolean + obj2["9.671406556917009e+24"]; // boolean + obj2["Infinity"]; // any + + \ No newline at end of file diff --git a/tests/baselines/reference/binaryIntegerLiteral(target=es5).types b/tests/baselines/reference/binaryIntegerLiteral(target=es5).types index 9bb5101b0e371..50471191dcec4 100644 --- a/tests/baselines/reference/binaryIntegerLiteral(target=es5).types +++ b/tests/baselines/reference/binaryIntegerLiteral(target=es5).types @@ -120,7 +120,8 @@ obj1["26"]; // string > : ^^^^ obj1["0b11010"]; // any ->obj1["0b11010"] : error +>obj1["0b11010"] : any +> : ^^^ >obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >"0b11010" : "0b11010" @@ -183,7 +184,8 @@ obj2["26"]; // string > : ^^^^ obj2["0B11010"]; // any ->obj2["0B11010"] : error +>obj2["0B11010"] : any +> : ^^^ >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >"0B11010" : "0B11010" @@ -230,7 +232,8 @@ obj2["9.671406556917009e+24"]; // boolean > : ^^^^^^^^^^^^^^^^^^^^^^^ obj2["Infinity"]; // any ->obj2["Infinity"] : error +>obj2["Infinity"] : any +> : ^^^ >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >"Infinity" : "Infinity" diff --git a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).errors.txt b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).errors.txt new file mode 100644 index 0000000000000..f34c1e623c972 --- /dev/null +++ b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== blockScopedBindingsInDownlevelGenerator.ts (0 errors) ==== + function* a() { + for (const i of [1,2,3]) { + (() => i)() + yield i + } + } \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).types b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).types index 957f447f8e574..60f40d20f0646 100644 --- a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).types +++ b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator(target=es5).types @@ -29,6 +29,7 @@ function* a() { yield i >yield i : any +> : ^^^ >i : number > : ^^^^^^ } diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef(target=es5).errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef(target=es5).errors.txt index 1b67e080e243f..7241c14ec4998 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedEnumVariablesUseBeforeDef.ts(2,12): error TS2450: Enum 'E' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedEnumVariablesUseBeforeDef.ts (1 errors) ==== function foo1() { return E.A diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules(target=es5).errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules(target=es5).errors.txt index 99a0a42f86099..0075269cad7cb 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts(2,12): error TS2450: Enum 'E' used before its declaration. blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts(7,12): error TS2450: Enum 'E' used before its declaration. blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts(12,8): error TS2450: Enum 'AfterObject' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts (3 errors) ==== function foo1() { return E.A diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve(target=es5).errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve(target=es5).errors.txt index f5d55337e5395..bd2dacf2e3ced 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedEnumVariablesUseBeforeDef_preserve.ts(2,12): error TS2450: Enum 'E' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedEnumVariablesUseBeforeDef_preserve.ts (1 errors) ==== function foo1() { return E.A diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax(target=es5).errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax(target=es5).errors.txt index d3059e8840ae4..17f57b10a22d3 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts(2,12): error TS2450: Enum 'E' used before its declaration. blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts(7,12): error TS2450: Enum 'E' used before its declaration. blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts(12,8): error TS2450: Enum 'AfterObject' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts (3 errors) ==== function foo1() { return E.A diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES5(target=es5).errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationES5(target=es5).errors.txt new file mode 100644 index 0000000000000..04023008c4cf9 --- /dev/null +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== blockScopedFunctionDeclarationES5.ts (0 errors) ==== + if (true) { + function foo() { } + foo(); + } + foo(); \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass(target=es5).errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass(target=es5).errors.txt index f0e4c2cc061c6..ea7a2975b04f9 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedFunctionDeclarationInStrictClass.ts(4,22): error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode. blockScopedFunctionDeclarationInStrictClass.ts(7,9): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedFunctionDeclarationInStrictClass.ts (2 errors) ==== class c { method() { diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5(target=es5).errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5(target=es5).errors.txt index 857941c464872..6e7fc8c8dd055 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedFunctionDeclarationStrictES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedFunctionDeclarationStrictES5.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedFunctionDeclarationStrictES5.ts(6,1): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedFunctionDeclarationStrictES5.ts (2 errors) ==== "use strict"; if (true) { diff --git a/tests/baselines/reference/blockScopedNamespaceDifferentFile(target=es5).errors.txt b/tests/baselines/reference/blockScopedNamespaceDifferentFile(target=es5).errors.txt index dc3f899b5a225..e06d7ce581e6f 100644 --- a/tests/baselines/reference/blockScopedNamespaceDifferentFile(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedNamespaceDifferentFile(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== namespace C { export class Name { diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5(target=es5).errors.txt b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5(target=es5).errors.txt index 47b4cf9a063cf..9c54d31e8e5e1 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedSameNameFunctionDeclarationES5.ts(3,18): error TS2393: Duplicate function implementation. blockScopedSameNameFunctionDeclarationES5.ts(5,13): error TS2554: Expected 0 arguments, but got 1. blockScopedSameNameFunctionDeclarationES5.ts(8,18): error TS2393: Duplicate function implementation. @@ -6,6 +7,7 @@ blockScopedSameNameFunctionDeclarationES5.ts(12,9): error TS2554: Expected 0 arg blockScopedSameNameFunctionDeclarationES5.ts(16,1): error TS2554: Expected 1 arguments, but got 0. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedSameNameFunctionDeclarationES5.ts (6 errors) ==== function foo(a: number) { if (a === 1) { diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5(target=es5).errors.txt b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5(target=es5).errors.txt index 2a0872026df8e..e76dc06bf8fb1 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationStrictES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedSameNameFunctionDeclarationStrictES5.ts(4,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedSameNameFunctionDeclarationStrictES5.ts(6,13): error TS2554: Expected 0 arguments, but got 1. blockScopedSameNameFunctionDeclarationStrictES5.ts(9,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. @@ -6,6 +7,7 @@ blockScopedSameNameFunctionDeclarationStrictES5.ts(14,5): error TS2554: Expected blockScopedSameNameFunctionDeclarationStrictES5.ts(17,1): error TS2554: Expected 1 arguments, but got 0. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedSameNameFunctionDeclarationStrictES5.ts (6 errors) ==== "use strict"; function foo(a: number) { diff --git a/tests/baselines/reference/blockScopedVariablesUseBeforeDef(target=es5).errors.txt b/tests/baselines/reference/blockScopedVariablesUseBeforeDef(target=es5).errors.txt index 7beb2b37b9389..e8aa4623c45a5 100644 --- a/tests/baselines/reference/blockScopedVariablesUseBeforeDef(target=es5).errors.txt +++ b/tests/baselines/reference/blockScopedVariablesUseBeforeDef(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. blockScopedVariablesUseBeforeDef.ts(2,13): error TS2448: Block-scoped variable 'x' used before its declaration. blockScopedVariablesUseBeforeDef.ts(58,20): error TS2448: Block-scoped variable 'x' used before its declaration. blockScopedVariablesUseBeforeDef.ts(65,20): error TS2448: Block-scoped variable 'x' used before its declaration. @@ -10,6 +11,7 @@ blockScopedVariablesUseBeforeDef.ts(131,9): error TS2448: Block-scoped variable blockScopedVariablesUseBeforeDef.ts(153,20): error TS2450: Enum 'Enum' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== blockScopedVariablesUseBeforeDef.ts (10 errors) ==== function foo0() { let a = x; diff --git a/tests/baselines/reference/callChainWithSuper(target=es5).errors.txt b/tests/baselines/reference/callChainWithSuper(target=es5).errors.txt new file mode 100644 index 0000000000000..f459aaacadb78 --- /dev/null +++ b/tests/baselines/reference/callChainWithSuper(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== callChainWithSuper.ts (0 errors) ==== + // GH#34952 + class Base { method?() {} } + class Derived extends Base { + method1() { return super.method?.(); } + method2() { return super["method"]?.(); } + } \ No newline at end of file diff --git a/tests/baselines/reference/capturedLetConstInLoop14(target=es5).errors.txt b/tests/baselines/reference/capturedLetConstInLoop14(target=es5).errors.txt index ab5b98288acb1..04dc8679f17ef 100644 --- a/tests/baselines/reference/capturedLetConstInLoop14(target=es5).errors.txt +++ b/tests/baselines/reference/capturedLetConstInLoop14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. capturedLetConstInLoop14.ts(7,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'v' must be of type 'number', but here has type 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== capturedLetConstInLoop14.ts (1 errors) ==== function use(v: number) {} diff --git a/tests/baselines/reference/capturedParametersInInitializers2(target=es5).errors.txt b/tests/baselines/reference/capturedParametersInInitializers2(target=es5).errors.txt index 0576ba7b95af3..da5aecc225c95 100644 --- a/tests/baselines/reference/capturedParametersInInitializers2(target=es5).errors.txt +++ b/tests/baselines/reference/capturedParametersInInitializers2(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. capturedParametersInInitializers2.ts(3,20): error TS2373: Parameter 'y' cannot reference identifier 'x' declared after it. capturedParametersInInitializers2.ts(4,14): error TS2373: Parameter 'y' cannot reference identifier 'x' declared after it. capturedParametersInInitializers2.ts(6,10): error TS2373: Parameter 'y' cannot reference identifier 'z' declared after it. capturedParametersInInitializers2.ts(13,27): error TS2373: Parameter 'y' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== capturedParametersInInitializers2.ts (4 errors) ==== function foo( y = class { diff --git a/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).errors.txt b/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).errors.txt new file mode 100644 index 0000000000000..8bb335d1b6cc9 --- /dev/null +++ b/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== capturedShorthandPropertyAssignmentNoCheck.ts (0 errors) ==== + const fns = []; + for (const value of [1, 2, 3]) { + fns.push(() => ({ value })); + } + const result = fns.map(fn => fn()); + console.log(result) + \ No newline at end of file diff --git a/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).types b/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).types index ff153e104aa65..30fdc2aea7f58 100644 --- a/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).types +++ b/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck(target=es5).types @@ -51,8 +51,11 @@ const result = fns.map(fn => fn()); >fn => fn() : (fn: any) => any > : ^ ^^^^^^^^^^^^^ >fn : any +> : ^^^ >fn() : any +> : ^^^ >fn : any +> : ^^^ console.log(result) >console.log(result) : void diff --git a/tests/baselines/reference/capturedVarInLoop(target=es5).errors.txt b/tests/baselines/reference/capturedVarInLoop(target=es5).errors.txt new file mode 100644 index 0000000000000..c1b283ed49d6d --- /dev/null +++ b/tests/baselines/reference/capturedVarInLoop(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== capturedVarInLoop.ts (0 errors) ==== + for (var i = 0; i < 10; i++) { + var str = 'x', len = str.length; + let lambda1 = (y) => { }; + let lambda2 = () => lambda1(len); + } \ No newline at end of file diff --git a/tests/baselines/reference/capturedVarInLoop(target=es5).types b/tests/baselines/reference/capturedVarInLoop(target=es5).types index 5a19b847e7921..76c57c3d0e440 100644 --- a/tests/baselines/reference/capturedVarInLoop(target=es5).types +++ b/tests/baselines/reference/capturedVarInLoop(target=es5).types @@ -37,6 +37,7 @@ for (var i = 0; i < 10; i++) { >(y) => { } : (y: any) => void > : ^ ^^^^^^^^^^^^^^ >y : any +> : ^^^ let lambda2 = () => lambda1(len); >lambda2 : () => void diff --git a/tests/baselines/reference/checkForObjectTooStrict(target=es5).errors.txt b/tests/baselines/reference/checkForObjectTooStrict(target=es5).errors.txt index f917241422777..f6a4b385463fe 100644 --- a/tests/baselines/reference/checkForObjectTooStrict(target=es5).errors.txt +++ b/tests/baselines/reference/checkForObjectTooStrict(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. checkForObjectTooStrict.ts(3,18): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module CommonJS. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== checkForObjectTooStrict.ts (1 errors) ==== namespace Foo { diff --git a/tests/baselines/reference/circularObjectLiteralAccessors(target=es5).errors.txt b/tests/baselines/reference/circularObjectLiteralAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..844c18b2feeba --- /dev/null +++ b/tests/baselines/reference/circularObjectLiteralAccessors(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== circularObjectLiteralAccessors.ts (0 errors) ==== + // Repro from #6000 + + const a = { + b: { + get foo(): string { + return a.foo; + }, + set foo(value: string) { + a.foo = value; + } + }, + foo: '' + }; \ No newline at end of file diff --git a/tests/baselines/reference/classAbstractAccessor(target=es5).errors.txt b/tests/baselines/reference/classAbstractAccessor(target=es5).errors.txt index 552193c4cd31f..e201e9929c7f5 100644 --- a/tests/baselines/reference/classAbstractAccessor(target=es5).errors.txt +++ b/tests/baselines/reference/classAbstractAccessor(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classAbstractAccessor.ts(3,17): error TS1318: An abstract accessor cannot have an implementation. classAbstractAccessor.ts(5,17): error TS1318: An abstract accessor cannot have an implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classAbstractAccessor.ts (2 errors) ==== abstract class A { abstract get a(); diff --git a/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).errors.txt b/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).errors.txt new file mode 100644 index 0000000000000..d93665a7b26d2 --- /dev/null +++ b/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classExpressionWithStaticProperties2.ts (0 errors) ==== + var v = class C { + static a = 1; + static b + static c = { + x: "hi" + } + static d = C.c.x + " world"; + }; \ No newline at end of file diff --git a/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).types b/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).types index 8f0bbd78d5b4e..7e4f56dc7f192 100644 --- a/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).types +++ b/tests/baselines/reference/classExpressionWithStaticProperties2(target=es5).types @@ -17,6 +17,7 @@ var v = class C { static b >b : any +> : ^^^ static c = { >c : { x: string; } diff --git a/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).errors.txt b/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).errors.txt new file mode 100644 index 0000000000000..173aea57cfd5c --- /dev/null +++ b/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classExpressionWithStaticProperties3.ts (0 errors) ==== + declare var console: any; + const arr: {y(): number}[] = []; + for (let i = 0; i < 3; i++) { + arr.push(class C { + static x = i; + static y = () => C.x * 2; + }); + } + arr.forEach(C => console.log(C.y())); \ No newline at end of file diff --git a/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).types b/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).types index df8f6807c5362..c2e5edc1ae011 100644 --- a/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).types +++ b/tests/baselines/reference/classExpressionWithStaticProperties3(target=es5).types @@ -3,6 +3,7 @@ === classExpressionWithStaticProperties3.ts === declare var console: any; >console : any +> : ^^^ const arr: {y(): number}[] = []; >arr : { y(): number; }[] @@ -80,7 +81,9 @@ arr.forEach(C => console.log(C.y())); >C : { y(): number; } > : ^^^^^^^ ^^^ >console.log(C.y()) : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any diff --git a/tests/baselines/reference/classExtendsAcrossFiles(target=es5).errors.txt b/tests/baselines/reference/classExtendsAcrossFiles(target=es5).errors.txt new file mode 100644 index 0000000000000..a1c245f6b5544 --- /dev/null +++ b/tests/baselines/reference/classExtendsAcrossFiles(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + import { b } from './b'; + export const a = { + f: () => { + class A { } + class B extends A { } + b.f(); + } + }; +==== b.ts (0 errors) ==== + import { a } from './a'; + export const b = { + f: () => { + class A { } + class B extends A { } + a.f(); + } + }; \ No newline at end of file diff --git a/tests/baselines/reference/classInConvertedLoopES5(target=es5).errors.txt b/tests/baselines/reference/classInConvertedLoopES5(target=es5).errors.txt new file mode 100644 index 0000000000000..255af4d2e3521 --- /dev/null +++ b/tests/baselines/reference/classInConvertedLoopES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classInConvertedLoopES5.ts (0 errors) ==== + const classesByRow: Record = {}; + for (const row of ['1', '2', '3', '4', '5']) { + class RowClass { + row = row; + static factory = () => new RowClass(); + } + + classesByRow[row] = RowClass; + } \ No newline at end of file diff --git a/tests/baselines/reference/classStaticBlock1(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock1(target=es5).errors.txt new file mode 100644 index 0000000000000..1fe460372d8bf --- /dev/null +++ b/tests/baselines/reference/classStaticBlock1(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classStaticBlock1.ts (0 errors) ==== + const a = 2; + + class C { + static { + const a = 1; + + a; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/classStaticBlock10(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock10(target=es5).errors.txt new file mode 100644 index 0000000000000..7cacc739e1ba7 --- /dev/null +++ b/tests/baselines/reference/classStaticBlock10(target=es5).errors.txt @@ -0,0 +1,33 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classStaticBlock10.ts (0 errors) ==== + var a1 = 1; + var a2 = 1; + const b1 = 2; + const b2 = 2; + + function f () { + var a1 = 11; + const b1 = 22; + + class C1 { + static { + var a1 = 111; + var a2 = 111; + const b1 = 222; + const b2 = 222; + } + } + } + + class C2 { + static { + var a1 = 111; + var a2 = 111; + const b1 = 222; + const b2 = 222; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/classStaticBlock18(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock18(target=es5).errors.txt new file mode 100644 index 0000000000000..fc0ec43808720 --- /dev/null +++ b/tests/baselines/reference/classStaticBlock18(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classStaticBlock18.ts (0 errors) ==== + function foo () { + return class { + static foo = 1; + static { + const c = class { + static bar = 2; + static { + // do + } + } + } + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/classStaticBlock2(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock2(target=es5).errors.txt new file mode 100644 index 0000000000000..bcf0bbef8b2a3 --- /dev/null +++ b/tests/baselines/reference/classStaticBlock2(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classStaticBlock2.ts (0 errors) ==== + const a = 1; + const b = 2; + + class C { + static { + const a = 11; + + a; + b; + } + + static { + const a = 11; + + a; + b; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/classStaticBlock5(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock5(target=es5).errors.txt index e08815d9d420b..112cb004ed42f 100644 --- a/tests/baselines/reference/classStaticBlock5(target=es5).errors.txt +++ b/tests/baselines/reference/classStaticBlock5(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classStaticBlock5.ts(8,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. classStaticBlock5.ts(12,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. classStaticBlock5.ts(13,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classStaticBlock5.ts (3 errors) ==== class B { static a = 1; diff --git a/tests/baselines/reference/classStaticBlock6(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock6(target=es5).errors.txt index 321325c296527..5d7e771381e53 100644 --- a/tests/baselines/reference/classStaticBlock6(target=es5).errors.txt +++ b/tests/baselines/reference/classStaticBlock6(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classStaticBlock6.ts(8,13): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. classStaticBlock6.ts(9,13): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'eval'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. classStaticBlock6.ts(13,9): error TS18037: 'await' expression cannot be used inside a class static block. @@ -17,6 +18,7 @@ classStaticBlock6.ts(66,14): error TS2729: Property 'b' is used before its initi classStaticBlock6.ts(69,18): error TS2729: Property 'b' is used before its initialization. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classStaticBlock6.ts (17 errors) ==== class B { static a = 1; diff --git a/tests/baselines/reference/classStaticBlock9(target=es5).errors.txt b/tests/baselines/reference/classStaticBlock9(target=es5).errors.txt index 185d702d41dfb..8a0747835a2ab 100644 --- a/tests/baselines/reference/classStaticBlock9(target=es5).errors.txt +++ b/tests/baselines/reference/classStaticBlock9(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classStaticBlock9.ts(2,20): error TS2729: Property 'foo' is used before its initialization. classStaticBlock9.ts(4,11): error TS2729: Property 'foo' is used before its initialization. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classStaticBlock9.ts (2 errors) ==== class A { static bar = A.foo + 1 diff --git a/tests/baselines/reference/classStaticPropertyAccess(target=es5).errors.txt b/tests/baselines/reference/classStaticPropertyAccess(target=es5).errors.txt index 135b46a14207d..63b008e284ec4 100644 --- a/tests/baselines/reference/classStaticPropertyAccess(target=es5).errors.txt +++ b/tests/baselines/reference/classStaticPropertyAccess(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classStaticPropertyAccess.ts(10,1): error TS2576: Property '"' does not exist on type 'A'. Did you mean to access the static member 'A["\""]' instead? classStaticPropertyAccess.ts(11,1): error TS2576: Property 'y' does not exist on type 'A'. Did you mean to access the static member 'A['y']' instead? classStaticPropertyAccess.ts(12,3): error TS2576: Property 'y' does not exist on type 'A'. Did you mean to access the static member 'A.y' instead? @@ -5,6 +6,7 @@ classStaticPropertyAccess.ts(13,3): error TS2341: Property '_b' is private and o classStaticPropertyAccess.ts(14,3): error TS2339: Property 'a' does not exist on type 'typeof A'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classStaticPropertyAccess.ts (5 errors) ==== class A { public static "\""() {} diff --git a/tests/baselines/reference/classStaticPropertyTypeGuard(target=es5).errors.txt b/tests/baselines/reference/classStaticPropertyTypeGuard(target=es5).errors.txt new file mode 100644 index 0000000000000..fa860f96fd42d --- /dev/null +++ b/tests/baselines/reference/classStaticPropertyTypeGuard(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classStaticPropertyTypeGuard.ts (0 errors) ==== + // Repro from #8923 + + class A { + private static _a: string | undefined; + + public get a(): string { + if (A._a) { + return A._a; // is possibly null or undefined. + } + return A._a = 'helloworld'; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/classUsedBeforeInitializedVariables(target=es5).errors.txt b/tests/baselines/reference/classUsedBeforeInitializedVariables(target=es5).errors.txt index 5a9c7352042eb..e40d4a97ab74a 100644 --- a/tests/baselines/reference/classUsedBeforeInitializedVariables(target=es5).errors.txt +++ b/tests/baselines/reference/classUsedBeforeInitializedVariables(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classUsedBeforeInitializedVariables.ts(4,15): error TS2729: Property 'p4' is used before its initialization. classUsedBeforeInitializedVariables.ts(13,34): error TS2729: Property 'directlyAssigned' is used before its initialization. classUsedBeforeInitializedVariables.ts(22,15): error TS2729: Property 'withinObjectLiteral' is used before its initialization. @@ -6,6 +7,7 @@ classUsedBeforeInitializedVariables.ts(32,19): error TS2729: Property 'withinObj classUsedBeforeInitializedVariables.ts(35,64): error TS2729: Property 'withinClassDeclarationExtension' is used before its initialization. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classUsedBeforeInitializedVariables.ts (6 errors) ==== class Test { p1 = 0; diff --git a/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface(target=es5).errors.txt b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface(target=es5).errors.txt new file mode 100644 index 0000000000000..b01fb7aa05dce --- /dev/null +++ b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface(target=es5).errors.txt @@ -0,0 +1,30 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classWithOnlyPublicMembersEquivalentToInterface.ts (0 errors) ==== + // no errors expected + + class C { + public x: string; + public y(a: number): number { return null; } + public get z() { return 1; } + public set z(v) { } + [x: string]: Object; + [x: number]: Object; + 0: number; + } + + interface I { + x: string; + y(b: number): number; + z: number; + [x: string]: Object; + [x: number]: Object; + 0: number; + } + + var c: C; + var i: I; + c = i; + i = c; \ No newline at end of file diff --git a/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2(target=es5).errors.txt b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2(target=es5).errors.txt new file mode 100644 index 0000000000000..d233b01d7ba57 --- /dev/null +++ b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2(target=es5).errors.txt @@ -0,0 +1,32 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classWithOnlyPublicMembersEquivalentToInterface2.ts (0 errors) ==== + // no errors expected + + class C { + public x: string; + public y(a: number): number { return null; } + public get z() { return 1; } + public set z(v) { } + [x: string]: Object; + [x: number]: Object; + 0: number; + + public static foo: string; // doesn't effect equivalence + } + + interface I { + x: string; + y(b: number): number; + z: number; + [x: string]: Object; + [x: number]: Object; + 0: number; + } + + var c: C; + var i: I; + c = i; + i = c; \ No newline at end of file diff --git a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).errors.txt b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..ef76ac46c9aa2 --- /dev/null +++ b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classWithStaticFieldInParameterBindingPattern.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36295 + (({ [class { static x = 1 }.x]: b = "" }) => {})(); \ No newline at end of file diff --git a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern.2(target=es5).errors.txt b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern.2(target=es5).errors.txt index 28dfa8cb08d59..a12d8dd72f7bf 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern.2(target=es5).errors.txt +++ b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern.2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classWithStaticFieldInParameterBindingPattern.2.ts(3,20): error TS2373: Parameter '{ [class extends C { static x = 1 }.x]: b = "" }' cannot reference identifier 'C' declared after it. classWithStaticFieldInParameterBindingPattern.2.ts(6,57): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classWithStaticFieldInParameterBindingPattern.2.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 class C {} diff --git a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).errors.txt b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).errors.txt new file mode 100644 index 0000000000000..c6ebdd6ebfecd --- /dev/null +++ b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classWithStaticFieldInParameterInitializer.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36295 + ((b = class { static x = 1 }) => {})(); \ No newline at end of file diff --git a/tests/baselines/reference/classWithStaticFieldInParameterInitializer.2(target=es5).errors.txt b/tests/baselines/reference/classWithStaticFieldInParameterInitializer.2(target=es5).errors.txt index caf000ff5f0ba..ee486e436e0e2 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterInitializer.2(target=es5).errors.txt +++ b/tests/baselines/reference/classWithStaticFieldInParameterInitializer.2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. classWithStaticFieldInParameterInitializer.2.ts(3,21): error TS2373: Parameter 'b' cannot reference identifier 'C' declared after it. classWithStaticFieldInParameterInitializer.2.ts(6,45): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== classWithStaticFieldInParameterInitializer.2.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 class C {} diff --git a/tests/baselines/reference/classdecl(target=es5).errors.txt b/tests/baselines/reference/classdecl(target=es5).errors.txt new file mode 100644 index 0000000000000..edb86bcf34bc5 --- /dev/null +++ b/tests/baselines/reference/classdecl(target=es5).errors.txt @@ -0,0 +1,98 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== classdecl.ts (0 errors) ==== + class a { + //constructor (); + constructor (n: number); + constructor (s: string); + constructor (ns: any) { + + } + + public pgF() { } + + public pv; + public get d() { + return 30; + } + public set d(a: number) { + } + + public static get p2() { + return { x: 30, y: 40 }; + } + + private static d2() { + } + private static get p3() { + return "string"; + } + private pv3; + + private foo(n: number): string; + private foo(s: string): string; + private foo(ns: any) { + return ns.toString(); + } + } + + class b extends a { + } + + namespace m1 { + export class b { + } + class d { + } + + + export interface ib { + } + } + + namespace m2 { + + export namespace m3 { + export class c extends b { + } + export class ib2 implements m1.ib { + } + } + } + + class c extends m1.b { + } + + class ib2 implements m1.ib { + } + + declare class aAmbient { + constructor (n: number); + constructor (s: string); + public pgF(): void; + public pv; + public d : number; + static p2 : { x: number; y: number; }; + static d2(); + static p3; + private pv3; + private foo(s); + } + + class d { + private foo(n: number): string; + private foo(s: string): string; + private foo(ns: any) { + return ns.toString(); + } + } + + class e { + private foo(s: string): string; + private foo(n: number): string; + private foo(ns: any) { + return ns.toString(); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/classdecl(target=es5).types b/tests/baselines/reference/classdecl(target=es5).types index bb98c4bdc433c..eb9d3e101326a 100644 --- a/tests/baselines/reference/classdecl(target=es5).types +++ b/tests/baselines/reference/classdecl(target=es5).types @@ -16,6 +16,7 @@ class a { constructor (ns: any) { >ns : any +> : ^^^ } @@ -25,6 +26,7 @@ class a { public pv; >pv : any +> : ^^^ public get d() { >d : number @@ -72,6 +74,7 @@ class a { } private pv3; >pv3 : any +> : ^^^ private foo(n: number): string; >foo : { (n: number): string; (s: string): string; } @@ -89,10 +92,13 @@ class a { >foo : { (n: number): string; (s: string): string; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >ns : any +> : ^^^ return ns.toString(); >ns.toString() : any +> : ^^^ >ns.toString : any +> : ^^^ >ns : any > : ^^^ >toString : any @@ -184,6 +190,7 @@ declare class aAmbient { public pv; >pv : any +> : ^^^ public d : number; >d : number @@ -203,14 +210,17 @@ declare class aAmbient { static p3; >p3 : any +> : ^^^ private pv3; >pv3 : any +> : ^^^ private foo(s); >foo : (s: any) => any > : ^ ^^^^^^^^^^^^^ >s : any +> : ^^^ } class d { @@ -233,10 +243,13 @@ class d { >foo : { (n: number): string; (s: string): string; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >ns : any +> : ^^^ return ns.toString(); >ns.toString() : any +> : ^^^ >ns.toString : any +> : ^^^ >ns : any > : ^^^ >toString : any @@ -264,10 +277,13 @@ class e { >foo : { (s: string): string; (n: number): string; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >ns : any +> : ^^^ return ns.toString(); >ns.toString() : any +> : ^^^ >ns.toString : any +> : ^^^ >ns : any > : ^^^ >toString : any diff --git a/tests/baselines/reference/collisionArgumentsArrowFunctions(target=es5).errors.txt b/tests/baselines/reference/collisionArgumentsArrowFunctions(target=es5).errors.txt index c3ed9abd5f8b7..cbde2985f06bd 100644 --- a/tests/baselines/reference/collisionArgumentsArrowFunctions(target=es5).errors.txt +++ b/tests/baselines/reference/collisionArgumentsArrowFunctions(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. collisionArgumentsArrowFunctions.ts(1,22): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsArrowFunctions.ts(4,12): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== collisionArgumentsArrowFunctions.ts (2 errors) ==== var f1 = (i: number, ...arguments) => { //arguments is error ~~~~~~~~~~~~ diff --git a/tests/baselines/reference/collisionArgumentsClassConstructor(target=es5).errors.txt b/tests/baselines/reference/collisionArgumentsClassConstructor(target=es5).errors.txt index 96f8c1fd3ae2d..9c741613813e2 100644 --- a/tests/baselines/reference/collisionArgumentsClassConstructor(target=es5).errors.txt +++ b/tests/baselines/reference/collisionArgumentsClassConstructor(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. collisionArgumentsClassConstructor.ts(3,28): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsClassConstructor.ts(3,31): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. collisionArgumentsClassConstructor.ts(4,13): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. @@ -29,6 +30,7 @@ collisionArgumentsClassConstructor.ts(69,17): error TS1210: Code contained in a collisionArgumentsClassConstructor.ts(70,13): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== collisionArgumentsClassConstructor.ts (29 errors) ==== // Constructors class c1 { diff --git a/tests/baselines/reference/collisionArgumentsClassMethod(target=es5).errors.txt b/tests/baselines/reference/collisionArgumentsClassMethod(target=es5).errors.txt index e242b2421ae00..9634623c1a732 100644 --- a/tests/baselines/reference/collisionArgumentsClassMethod(target=es5).errors.txt +++ b/tests/baselines/reference/collisionArgumentsClassMethod(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. collisionArgumentsClassMethod.ts(2,27): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsClassMethod.ts(2,30): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. collisionArgumentsClassMethod.ts(3,13): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. @@ -24,6 +25,7 @@ collisionArgumentsClassMethod.ts(43,13): error TS1210: Code contained in a class collisionArgumentsClassMethod.ts(46,13): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== collisionArgumentsClassMethod.ts (24 errors) ==== class c1 { public foo(i: number, ...arguments) { //arguments is error diff --git a/tests/baselines/reference/collisionArgumentsFunction(target=es5).errors.txt b/tests/baselines/reference/collisionArgumentsFunction(target=es5).errors.txt index 1d7d2b3c99b7f..bced0ca74e435 100644 --- a/tests/baselines/reference/collisionArgumentsFunction(target=es5).errors.txt +++ b/tests/baselines/reference/collisionArgumentsFunction(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. collisionArgumentsFunction.ts(2,13): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsFunction.ts(5,25): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsFunction.ts(25,13): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsFunction.ts(30,22): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== collisionArgumentsFunction.ts (4 errors) ==== // Functions function f1(arguments: number, ...restParameters) { //arguments is error diff --git a/tests/baselines/reference/collisionArgumentsFunctionExpressions(target=es5).errors.txt b/tests/baselines/reference/collisionArgumentsFunctionExpressions(target=es5).errors.txt index f85bd42c754d8..4ff7bf7317155 100644 --- a/tests/baselines/reference/collisionArgumentsFunctionExpressions(target=es5).errors.txt +++ b/tests/baselines/reference/collisionArgumentsFunctionExpressions(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. collisionArgumentsFunctionExpressions.ts(2,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsFunctionExpressions.ts(5,29): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsFunctionExpressions.ts(21,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. collisionArgumentsFunctionExpressions.ts(26,26): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== collisionArgumentsFunctionExpressions.ts (4 errors) ==== function foo() { function f1(arguments: number, ...restParameters) { //arguments is error diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors(target=es5).errors.txt b/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..2f419a29f8e99 --- /dev/null +++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors(target=es5).errors.txt @@ -0,0 +1,44 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== collisionSuperAndLocalFunctionInAccessors.ts (0 errors) ==== + function _super() { // No error + } + class Foo { + get prop1(): number { + function _super() { // No error + } + return 10; + } + set prop1(val: number) { + function _super() { // No error + } + } + } + class b extends Foo { + get prop2(): number { + function _super() { // Should be error + } + return 10; + } + set prop2(val: number) { + function _super() { // Should be error + } + } + } + class c extends Foo { + get prop2(): number { + var x = () => { + function _super() { // Should be error + } + } + return 10; + } + set prop2(val: number) { + var x = () => { + function _super() { // Should be error + } + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInAccessors(target=es5).errors.txt b/tests/baselines/reference/collisionSuperAndLocalVarInAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..26867527487b8 --- /dev/null +++ b/tests/baselines/reference/collisionSuperAndLocalVarInAccessors(target=es5).errors.txt @@ -0,0 +1,37 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== collisionSuperAndLocalVarInAccessors.ts (0 errors) ==== + var _super = 10; // No Error + class Foo { + get prop1(): number { + var _super = 10; // No error + return 10; + } + set prop1(val: number) { + var _super = 10; // No error + } + } + class b extends Foo { + get prop2(): number { + var _super = 10; // Should be error + return 10; + } + set prop2(val: number) { + var _super = 10; // Should be error + } + } + class c extends Foo { + get prop2(): number { + var x = () => { + var _super = 10; // Should be error + } + return 10; + } + set prop2(val: number) { + var x = () => { + var _super = 10; // Should be error + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/collisionSuperAndParameter(target=es5).errors.txt b/tests/baselines/reference/collisionSuperAndParameter(target=es5).errors.txt new file mode 100644 index 0000000000000..31fc5028bb0a0 --- /dev/null +++ b/tests/baselines/reference/collisionSuperAndParameter(target=es5).errors.txt @@ -0,0 +1,67 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== collisionSuperAndParameter.ts (0 errors) ==== + class Foo { + a() { + var lamda = (_super: number) => { // No Error + return x => this; // New scope. So should inject new _this capture + } + } + b(_super: number) { // No Error + var lambda = () => { + return x => this; // New scope. So should inject new _this capture + } + } + set c(_super: number) { // No error + } + } + class Foo2 extends Foo { + x() { + var lamda = (_super: number) => { // Error + return x => this; // New scope. So should inject new _this capture + } + } + y(_super: number) { // Error + var lambda = () => { + return x => this; // New scope. So should inject new _this capture + } + } + set z(_super: number) { // Error + } + public prop3: { + doStuff: (_super: number) => void; // no error - no code gen + } + public prop4 = { + doStuff: (_super: number) => { // should be error + } + } + constructor(_super: number) { // should be error + super(); + } + } + declare class Foo3 extends Foo { + x(); + y(_super: number); // No error - no code gen + constructor(_super: number); // No error - no code gen + public prop2: { + doStuff: (_super: number) => void; // no error - no code gen + }; + public _super: number; // No error + } + + class Foo4 extends Foo { + constructor(_super: number); // no code gen - no error + constructor(_super: string);// no code gen - no error + constructor(_super: any) { // should be error + super(); + } + y(_super: number); // no code gen - no error + y(_super: string); // no code gen - no error + y(_super: any) { // Error + var lambda = () => { + return x => this; // New scope. So should inject new _this capture + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/collisionSuperAndParameter(target=es5).types b/tests/baselines/reference/collisionSuperAndParameter(target=es5).types index 5abe135cd301f..2b5ff9f636f95 100644 --- a/tests/baselines/reference/collisionSuperAndParameter(target=es5).types +++ b/tests/baselines/reference/collisionSuperAndParameter(target=es5).types @@ -21,6 +21,7 @@ class Foo { >x => this : (x: any) => this > : ^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >this : this > : ^^^^ } @@ -41,6 +42,7 @@ class Foo { >x => this : (x: any) => this > : ^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >this : this > : ^^^^ } @@ -74,6 +76,7 @@ class Foo2 extends Foo { >x => this : (x: any) => this > : ^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >this : this > : ^^^^ } @@ -94,6 +97,7 @@ class Foo2 extends Foo { >x => this : (x: any) => this > : ^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >this : this > : ^^^^ } @@ -192,6 +196,7 @@ class Foo4 extends Foo { constructor(_super: any) { // should be error >_super : any +> : ^^^ super(); >super() : void @@ -215,6 +220,7 @@ class Foo4 extends Foo { >y : { (_super: number): any; (_super: string): any; } > : ^^^ ^^ ^^^^^^^^^ ^^ ^^^^^^^^^ >_super : any +> : ^^^ var lambda = () => { >lambda : () => (x: any) => this @@ -226,6 +232,7 @@ class Foo4 extends Foo { >x => this : (x: any) => this > : ^ ^^^^^^^^^^^^^^ >x : any +> : ^^^ >this : this > : ^^^^ } diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).errors.txt b/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..b8182a8984c77 --- /dev/null +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).errors.txt @@ -0,0 +1,48 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== collisionThisExpressionAndLocalVarInAccessors.ts (0 errors) ==== + class class1 { + get a(): number { + var x2 = { + doStuff: (callback) => () => { + var _this = 2; + return callback(this); + } + } + + return 10; + } + set a(val: number) { + var x2 = { + doStuff: (callback) => () => { + var _this = 2; + return callback(this); + } + } + + } + } + + class class2 { + get a(): number { + var _this = 2; + var x2 = { + doStuff: (callback) => () => { + return callback(this); + } + } + + return 10; + } + set a(val: number) { + var _this = 2; + var x2 = { + doStuff: (callback) => () => { + return callback(this); + } + } + + } + } \ No newline at end of file diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).types b/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).types index a0398800afcd0..6edbc1a837119 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).types +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors(target=es5).types @@ -21,6 +21,7 @@ class class1 { >(callback) => () => { var _this = 2; return callback(this); } : (callback: any) => () => any > : ^ ^^^^^^^^^^^^^^^^^^^ >callback : any +> : ^^^ >() => { var _this = 2; return callback(this); } : () => any > : ^^^^^^^^^ @@ -32,7 +33,9 @@ class class1 { return callback(this); >callback(this) : any +> : ^^^ >callback : any +> : ^^^ >this : this > : ^^^^ } @@ -60,6 +63,7 @@ class class1 { >(callback) => () => { var _this = 2; return callback(this); } : (callback: any) => () => any > : ^ ^^^^^^^^^^^^^^^^^^^ >callback : any +> : ^^^ >() => { var _this = 2; return callback(this); } : () => any > : ^^^^^^^^^ @@ -71,7 +75,9 @@ class class1 { return callback(this); >callback(this) : any +> : ^^^ >callback : any +> : ^^^ >this : this > : ^^^^ } @@ -106,12 +112,15 @@ class class2 { >(callback) => () => { return callback(this); } : (callback: any) => () => any > : ^ ^^^^^^^^^^^^^^^^^^^ >callback : any +> : ^^^ >() => { return callback(this); } : () => any > : ^^^^^^^^^ return callback(this); >callback(this) : any +> : ^^^ >callback : any +> : ^^^ >this : this > : ^^^^ } @@ -145,12 +154,15 @@ class class2 { >(callback) => () => { return callback(this); } : (callback: any) => () => any > : ^ ^^^^^^^^^^^^^^^^^^^ >callback : any +> : ^^^ >() => { return callback(this); } : () => any > : ^^^^^^^^^ return callback(this); >callback(this) : any +> : ^^^ >callback : any +> : ^^^ >this : this > : ^^^^ } diff --git a/tests/baselines/reference/commentsClass(target=es5).errors.txt b/tests/baselines/reference/commentsClass(target=es5).errors.txt new file mode 100644 index 0000000000000..5a9cbf24c91b0 --- /dev/null +++ b/tests/baselines/reference/commentsClass(target=es5).errors.txt @@ -0,0 +1,77 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsClass.ts (0 errors) ==== + /** This is class c2 without constuctor*/ + class c2 { + } // trailing comment1 + var i2 = new c2(); + var i2_c = c2; + class c3 { + /** Constructor comment*/ + constructor() { + } // trailing comment of constructor + } /* trailing comment 2 */ + var i3 = new c3(); + var i3_c = c3; + /** Class comment*/ + class c4 { + /** Constructor comment*/ + constructor() { + } /* trailing comment of constructor 2*/ + } + var i4 = new c4(); + var i4_c = c4; + /** Class with statics*/ + class c5 { + static s1: number; + } + var i5 = new c5(); + var i5_c = c5; + + /// class with statics and constructor + class c6 { /// class with statics and constructor2 + /// s1 comment + static s1: number; /// s1 comment2 + /// constructor comment + constructor() { /// constructor comment2 + } + } + var i6 = new c6(); + var i6_c = c6; + + // class with statics and constructor + class c7 { + // s1 comment + static s1: number; + // constructor comment + constructor() { + } + } + var i7 = new c7(); + var i7_c = c7; + + /** class with statics and constructor + */ + class c8 { + /** s1 comment */ + static s1: number; /** s1 comment2 */ + /** constructor comment + */ + constructor() { + /** constructor comment2 + */ + } + } + var i8 = new c8(); + var i8_c = c8; + + class c9 { + constructor() { + /// This is some detached comment + + // should emit this leading comment of } too + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/commentsClassMembers(target=es5).errors.txt b/tests/baselines/reference/commentsClassMembers(target=es5).errors.txt new file mode 100644 index 0000000000000..da3665cd12edf --- /dev/null +++ b/tests/baselines/reference/commentsClassMembers(target=es5).errors.txt @@ -0,0 +1,222 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsClassMembers.ts (0 errors) ==== + /** This is comment for c1*/ + class c1 { + /** p1 is property of c1*/ + public p1: number; + /** sum with property*/ + public p2(/** number to add*/b: number) { + return this.p1 + b; + } /* trailing comment of method*/ + /** getter property*/ + public get p3() { + return this.p2(this.p1); + }// trailing comment Getter + /** setter property*/ + public set p3(/** this is value*/value: number) { + this.p1 = this.p2(value); + }// trailing comment Setter + /** pp1 is property of c1*/ + private pp1: number; + /** sum with property*/ + private pp2(/** number to add*/b: number) { + return this.p1 + b; + } // trailing comment of method + /** getter property*/ + private get pp3() { + return this.pp2(this.pp1); + } + /** setter property*/ + private set pp3( /** this is value*/value: number) { + this.pp1 = this.pp2(value); + } + /** Constructor method*/ + constructor() { + } + /** s1 is static property of c1*/ + static s1: number; + /** static sum with property*/ + static s2(/** number to add*/b: number) { + return c1.s1 + b; + } + /** static getter property*/ + static get s3() { + return c1.s2(c1.s1); + } /*trailing comment 1 getter*/ + /** setter property*/ + static set s3( /** this is value*/value: number) { + c1.s1 = c1.s2(value); + }/*trailing comment 2 */ /*setter*/ + public nc_p1: number; + public nc_p2(b: number) { + return this.nc_p1 + b; + } + public get nc_p3() { + return this.nc_p2(this.nc_p1); + } + public set nc_p3(value: number) { + this.nc_p1 = this.nc_p2(value); + } + private nc_pp1: number; + private nc_pp2(b: number) { + return this.nc_pp1 + b; + } + private get nc_pp3() { + return this.nc_pp2(this.nc_pp1); + } + private set nc_pp3(value: number) { + this.nc_pp1 = this.nc_pp2(value); + } + static nc_s1: number; + static nc_s2(b: number) { + return c1.nc_s1 + b; + } + static get nc_s3() { + return c1.nc_s2(c1.nc_s1); + } + static set nc_s3(value: number) { + c1.nc_s1 = c1.nc_s2(value); + } + + // p1 is property of c1 + public a_p1: number; + // sum with property + public a_p2(b: number) { + return this.a_p1 + b; + } + // getter property + public get a_p3() { + return this.a_p2(this.a_p1); + } + // setter property + public set a_p3(value: number) { + this.a_p1 = this.a_p2(value); + } + // pp1 is property of c1 + private a_pp1: number; + // sum with property + private a_pp2(b: number) { + return this.a_p1 + b; + } + // getter property + private get a_pp3() { + return this.a_pp2(this.a_pp1); + } + // setter property + private set a_pp3(value: number) { + this.a_pp1 = this.a_pp2(value); + } + + // s1 is static property of c1 + static a_s1: number; + // static sum with property + static a_s2(b: number) { + return c1.a_s1 + b; + } + // static getter property + static get a_s3() { + return c1.s2(c1.s1); + } + + // setter property + static set a_s3(value: number) { + c1.a_s1 = c1.a_s2(value); + } + + /** p1 is property of c1 */ + public b_p1: number; + /** sum with property */ + public b_p2(b: number) { + return this.b_p1 + b; + } + /** getter property */ + public get b_p3() { + return this.b_p2(this.b_p1); + } + /** setter property */ + public set b_p3(value: number) { + this.b_p1 = this.b_p2(value); + } + /** pp1 is property of c1 */ + private b_pp1: number; + /** sum with property */ + private b_pp2(b: number) { + return this.b_p1 + b; + } + /** getter property */ + private get b_pp3() { + return this.b_pp2(this.b_pp1); + } + /** setter property */ + private set b_pp3(value: number) { + this.b_pp1 = this.b_pp2(value); + } + + /** s1 is static property of c1 */ + static b_s1: number; + /** static sum with property */ + static b_s2(b: number) { + return c1.b_s1 + b; + } + /** static getter property + */ + static get b_s3() { + return c1.s2(c1.s1); + } + + /** setter property + */ + static set b_s3(value: number) { + /** setter */ + c1.b_s1 = c1.b_s2(value); + } + } + var i1 = new c1(); + var i1_p = i1.p1; + var i1_f = i1.p2; + var i1_r = i1.p2(20); + var i1_prop = i1.p3; + i1.p3 = i1_prop; + var i1_nc_p = i1.nc_p1; + var i1_ncf = i1.nc_p2; + var i1_ncr = i1.nc_p2(20); + var i1_ncprop = i1.nc_p3; + i1.nc_p3 = i1_ncprop; + var i1_s_p = c1.s1; + var i1_s_f = c1.s2; + var i1_s_r = c1.s2(20); + var i1_s_prop = c1.s3; + c1.s3 = i1_s_prop; + var i1_s_nc_p = c1.nc_s1; + var i1_s_ncf = c1.nc_s2; + var i1_s_ncr = c1.nc_s2(20); + var i1_s_ncprop = c1.nc_s3; + c1.nc_s3 = i1_s_ncprop; + var i1_c = c1; + class cProperties { + private val: number; + /** getter only property*/ + public get p1() { + return this.val; + } // trailing comment of only getter + public get nc_p1() { + return this.val; + } + /**setter only property*/ + public set p2(value: number) { + this.val = value; + } + public set nc_p2(value: number) { + this.val = value; + } /* trailing comment of setter only*/ + + public x = 10; /*trailing comment for property*/ + private y = 10; // trailing comment of // style + } + var cProperties_i = new cProperties(); + cProperties_i.p2 = cProperties_i.p1; + cProperties_i.nc_p2 = cProperties_i.nc_p1; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsCommentParsing(target=es5).errors.txt b/tests/baselines/reference/commentsCommentParsing(target=es5).errors.txt new file mode 100644 index 0000000000000..734a6cb8102d8 --- /dev/null +++ b/tests/baselines/reference/commentsCommentParsing(target=es5).errors.txt @@ -0,0 +1,158 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsCommentParsing.ts (0 errors) ==== + /// This is simple /// comments + function simple() { + } + + simple(); + + /// multiLine /// Comments + /// This is example of multiline /// comments + /// Another multiLine + function multiLine() { + } + multiLine(); + + /** this is eg of single line jsdoc style comment */ + function jsDocSingleLine() { + } + jsDocSingleLine(); + + + /** this is multiple line jsdoc stule comment + *New line1 + *New Line2*/ + function jsDocMultiLine() { + } + jsDocMultiLine(); + + /** this is multiple line jsdoc stule comment + *New line1 + *New Line2*/ + /** Shoul mege this line as well + * and this too*/ /** Another this one too*/ + function jsDocMultiLineMerge() { + } + jsDocMultiLineMerge(); + + + /// Triple slash comment + /** jsdoc comment */ + function jsDocMixedComments1() { + } + jsDocMixedComments1(); + + /// Triple slash comment + /** jsdoc comment */ /*** another jsDocComment*/ + function jsDocMixedComments2() { + } + jsDocMixedComments2(); + + /** jsdoc comment */ /*** another jsDocComment*/ + /// Triple slash comment + function jsDocMixedComments3() { + } + jsDocMixedComments3(); + + /** jsdoc comment */ /*** another jsDocComment*/ + /// Triple slash comment + /// Triple slash comment 2 + function jsDocMixedComments4() { + } + jsDocMixedComments4(); + + /// Triple slash comment 1 + /** jsdoc comment */ /*** another jsDocComment*/ + /// Triple slash comment + /// Triple slash comment 2 + function jsDocMixedComments5() { + } + jsDocMixedComments5(); + + /*** another jsDocComment*/ + /// Triple slash comment 1 + /// Triple slash comment + /// Triple slash comment 2 + /** jsdoc comment */ + function jsDocMixedComments6() { + } + jsDocMixedComments6(); + + // This shoulnot be help comment + function noHelpComment1() { + } + noHelpComment1(); + + /* This shoulnot be help comment */ + function noHelpComment2() { + } + noHelpComment2(); + + function noHelpComment3() { + } + noHelpComment3(); + /** Adds two integers and returns the result + * @param {number} a first number + * @param b second number + */ + function sum(a: number, b: number) { + return a + b; + } + sum(10, 20); + /** This is multiplication function*/ + /** @param */ + /** @param a first number*/ + /** @param b */ + /** @param c { + @param d @anotherTag*/ + /** @param e LastParam @anotherTag*/ + function multiply(a: number, b: number, c?: number, d?, e?) { + } + /** fn f1 with number + * @param { string} b about b + */ + function f1(a: number); + function f1(b: string); + /**@param opt optional parameter*/ + function f1(aOrb, opt?) { + return aOrb; + } + /** This is subtract function + @param { a + *@param { number | } b this is about b + @param { { () => string; } } c this is optional param c + @param { { () => string; } d this is optional param d + @param { { () => string; } } e this is optional param e + @param { { { () => string; } } f this is optional param f + */ + function subtract(a: number, b: number, c?: () => string, d?: () => string, e?: () => string, f?: () => string) { + } + /** this is square function + @paramTag { number } a this is input number of paramTag + @param { number } a this is input number + @returnType { number } it is return type + */ + function square(a: number) { + return a * a; + } + /** this is divide function + @param { number} a this is a + @paramTag { number } g this is optional param g + @param { number} b this is b + */ + function divide(a: number, b: number) { + } + /** this is jsdoc style function with param tag as well as inline parameter help + *@param a it is first parameter + *@param c it is third parameter + */ + function jsDocParamTest(/** this is inline comment for a */a: number, /** this is inline comment for b*/ b: number, c: number, d: number) { + return a + b + c + d; + } + + /**/ + class NoQuickInfoClass { + } \ No newline at end of file diff --git a/tests/baselines/reference/commentsCommentParsing(target=es5).types b/tests/baselines/reference/commentsCommentParsing(target=es5).types index 38ec3cb4e8d91..3780bfb75b1fb 100644 --- a/tests/baselines/reference/commentsCommentParsing(target=es5).types +++ b/tests/baselines/reference/commentsCommentParsing(target=es5).types @@ -224,7 +224,9 @@ function multiply(a: number, b: number, c?: number, d?, e?) { >c : number > : ^^^^^^ >d : any +> : ^^^ >e : any +> : ^^^ } /** fn f1 with number * @param { string} b about b @@ -246,10 +248,13 @@ function f1(aOrb, opt?) { >f1 : { (a: number): any; (b: string): any; } > : ^^^ ^^ ^^^^^^^^^ ^^ ^^^^^^^^^ >aOrb : any +> : ^^^ >opt : any +> : ^^^ return aOrb; >aOrb : any +> : ^^^ } /** This is subtract function @param { a diff --git a/tests/baselines/reference/commentsDottedModuleName(target=es5).errors.txt b/tests/baselines/reference/commentsDottedModuleName(target=es5).errors.txt index 4893cf17c42f3..93e8d86130a60 100644 --- a/tests/baselines/reference/commentsDottedModuleName(target=es5).errors.txt +++ b/tests/baselines/reference/commentsDottedModuleName(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== commentsDottedModuleName.ts (0 errors) ==== /** this is multi declare module*/ export namespace outerModule.InnerModule { diff --git a/tests/baselines/reference/commentsEnums(target=es5).errors.txt b/tests/baselines/reference/commentsEnums(target=es5).errors.txt new file mode 100644 index 0000000000000..8be38377f0545 --- /dev/null +++ b/tests/baselines/reference/commentsEnums(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsEnums.ts (0 errors) ==== + /** Enum of colors*/ + enum Colors { + /** Fancy name for 'blue'*/ + Cornflower /* blue */, + /** Fancy name for 'pink'*/ + FancyPink + } // trailing comment + var x = Colors.Cornflower; + x = Colors.FancyPink; + + \ No newline at end of file diff --git a/tests/baselines/reference/commentsExternalModules(target=es5).errors.txt b/tests/baselines/reference/commentsExternalModules(target=es5).errors.txt index 1e2d583d84131..5aebad0777d36 100644 --- a/tests/baselines/reference/commentsExternalModules(target=es5).errors.txt +++ b/tests/baselines/reference/commentsExternalModules(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== commentsExternalModules_1.ts (0 errors) ==== /**This is on import declaration*/ import extMod = require("commentsExternalModules_0"); // trailing comment1 diff --git a/tests/baselines/reference/commentsExternalModules2(target=es5).errors.txt b/tests/baselines/reference/commentsExternalModules2(target=es5).errors.txt index 859f2c1134ec3..8f3cfba6aae26 100644 --- a/tests/baselines/reference/commentsExternalModules2(target=es5).errors.txt +++ b/tests/baselines/reference/commentsExternalModules2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== commentsExternalModules_1.ts (0 errors) ==== /**This is on import declaration*/ import extMod = require("commentsExternalModules2_0"); // trailing comment 1 diff --git a/tests/baselines/reference/commentsExternalModules3(target=es5).errors.txt b/tests/baselines/reference/commentsExternalModules3(target=es5).errors.txt new file mode 100644 index 0000000000000..b372c2c6904ba --- /dev/null +++ b/tests/baselines/reference/commentsExternalModules3(target=es5).errors.txt @@ -0,0 +1,63 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsExternalModules_1.ts (0 errors) ==== + /**This is on import declaration*/ + import extMod = require("./commentsExternalModules2_0"); // trailing comment 1 + extMod.m1.fooExport(); + export var newVar = new extMod.m1.m2.c(); + extMod.m4.fooExport(); + export var newVar2 = new extMod.m4.m2.c(); + +==== commentsExternalModules2_0.ts (0 errors) ==== + /** Module comment*/ + export namespace m1 { + /** b's comment*/ + export var b: number; + /** foo's comment*/ + function foo() { + return b; + } + /** m2 comments*/ + export namespace m2 { + /** class comment;*/ + export class c { + }; + /** i*/ + export var i = new c(); + } + /** exported function*/ + export function fooExport() { + return foo(); + } + } + m1.fooExport(); + var myvar = new m1.m2.c(); + + /** Module comment */ + export namespace m4 { + /** b's comment */ + export var b: number; + /** foo's comment + */ + function foo() { + return b; + } + /** m2 comments + */ + export namespace m2 { + /** class comment; */ + export class c { + }; + /** i */ + export var i = new c(); + } + /** exported function */ + export function fooExport() { + return foo(); + } + } + m4.fooExport(); + var myvar2 = new m4.m2.c(); + \ No newline at end of file diff --git a/tests/baselines/reference/commentsFormatting(target=es5).errors.txt b/tests/baselines/reference/commentsFormatting(target=es5).errors.txt new file mode 100644 index 0000000000000..50beb470b2238 --- /dev/null +++ b/tests/baselines/reference/commentsFormatting(target=es5).errors.txt @@ -0,0 +1,90 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsFormatting.ts (0 errors) ==== + namespace m { + /** this is first line - aligned to class declaration + * this is 4 spaces left aligned + * this is 3 spaces left aligned + * this is 2 spaces left aligned + * this is 1 spaces left aligned + * this is at same level as first line + * this is 1 spaces right aligned + * this is 2 spaces right aligned + * this is 3 spaces right aligned + * this is 4 spaces right aligned + * this is 5 spaces right aligned + * this is 6 spaces right aligned + * this is 7 spaces right aligned + * this is 8 spaces right aligned */ + export class c { + } + + /** this is first line - 4 spaces right aligned to class but in js file should be aligned to class declaration + * this is 8 spaces left aligned + * this is 7 spaces left aligned + * this is 6 spaces left aligned + * this is 5 spaces left aligned + * this is 4 spaces left aligned + * this is 3 spaces left aligned + * this is 2 spaces left aligned + * this is 1 spaces left aligned + * this is at same level as first line + * this is 1 spaces right aligned + * this is 2 spaces right aligned + * this is 3 spaces right aligned + * this is 4 spaces right aligned + * this is 5 spaces right aligned + * this is 6 spaces right aligned + * this is 7 spaces right aligned + * this is 8 spaces right aligned */ + export class c2 { + } + + /** this is comment with new lines in between + + this is 4 spaces left aligned but above line is empty + + this is 3 spaces left aligned but above line is empty + + this is 2 spaces left aligned but above line is empty + + this is 1 spaces left aligned but above line is empty + + this is at same level as first line but above line is empty + + this is 1 spaces right aligned but above line is empty + + this is 2 spaces right aligned but above line is empty + + this is 3 spaces right aligned but above line is empty + + this is 4 spaces right aligned but above line is empty + + + Above 2 lines are empty + + + + above 3 lines are empty*/ + export class c3 { + } + + /** this is first line - aligned to class declaration + * this is 0 space + tab + * this is 1 space + tab + * this is 2 spaces + tab + * this is 3 spaces + tab + * this is 4 spaces + tab + * this is 5 spaces + tab + * this is 6 spaces + tab + * this is 7 spaces + tab + * this is 8 spaces + tab + * this is 9 spaces + tab + * this is 10 spaces + tab + * this is 11 spaces + tab + * this is 12 spaces + tab */ + export class c4 { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/commentsFunction(target=es5).errors.txt b/tests/baselines/reference/commentsFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..227a2394e0e41 --- /dev/null +++ b/tests/baselines/reference/commentsFunction(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsFunction.ts (0 errors) ==== + /** This comment should appear for foo*/ + function foo() { + } /* trailing comment of function */ + foo(); + /** This is comment for function signature*/ + function fooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } // trailing comment of function + fooWithParameters("a", 10); + /** fooFunc + * comment + */ + var fooFunc = function FooFunctionValue(/** fooFunctionValue param */ b: string) { + return b; + } + + /// lamdaFoo var comment + var lambdaFoo = /** this is lambda comment*/ (/**param a*/a: number, /**param b*/b: number) => a + b; + var lambddaNoVarComment = /** this is lambda multiplication*/ (/**param a*/a: number, /**param b*/b: number) => a * b; + lambdaFoo(10, 20); + lambddaNoVarComment(10, 20); + + function blah(a: string /* multiline trailing comment + multiline */) { + } + + function blah2(a: string /* single line multiple trailing comments */ /* second */) { + } + + function blah3(a: string // trailing commen single line + ) { + } + + lambdaFoo = (a, b) => a * b; // This is trailing comment + + /*leading comment*/() => 0; // Needs to be wrapped in parens to be a valid expression (not declaration) + /*leading comment*/(() => 0); //trailing comment + + function blah4(/*1*/a: string/*2*/,/*3*/b: string/*4*/) { + } + + function foo1() { + + // should emit this + } + + function foo2() { + /// This is some detached comment + + // should emit this leading comment of } too + } + \ No newline at end of file diff --git a/tests/baselines/reference/commentsInheritance(target=es5).errors.txt b/tests/baselines/reference/commentsInheritance(target=es5).errors.txt new file mode 100644 index 0000000000000..d57ceb905754f --- /dev/null +++ b/tests/baselines/reference/commentsInheritance(target=es5).errors.txt @@ -0,0 +1,155 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsInheritance.ts (0 errors) ==== + /** i1 is interface with properties*/ + interface i1 { + /** i1_p1*/ + i1_p1: number; + /** i1_f1*/ + i1_f1(): void; + /** i1_l1*/ + i1_l1: () => void; + // il_nc_p1 + i1_nc_p1: number; + i1_nc_f1(): void; + i1_nc_l1: () => void; + p1: number; + f1(): void; + l1: () => void; + nc_p1: number; + nc_f1(): void; + nc_l1: () => void; + } + class c1 implements i1 { + public i1_p1: number; + // i1_f1 + public i1_f1() { + } + public i1_l1: () => void; + public i1_nc_p1: number; + public i1_nc_f1() { + } + public i1_nc_l1: () => void; + /** c1_p1*/ + public p1: number; + /** c1_f1*/ + public f1() { + } + /** c1_l1*/ + public l1: () => void; + /** c1_nc_p1*/ + public nc_p1: number; + /** c1_nc_f1*/ + public nc_f1() { + } + /** c1_nc_l1*/ + public nc_l1: () => void; + } + var i1_i: i1; + var c1_i = new c1(); + // assign to interface + i1_i = c1_i; + class c2 { + /** c2 c2_p1*/ + public c2_p1: number; + /** c2 c2_f1*/ + public c2_f1() { + } + /** c2 c2_prop*/ + public get c2_prop() { + return 10; + } + public c2_nc_p1: number; + public c2_nc_f1() { + } + public get c2_nc_prop() { + return 10; + } + /** c2 p1*/ + public p1: number; + /** c2 f1*/ + public f1() { + } + /** c2 prop*/ + public get prop() { + return 10; + } + public nc_p1: number; + public nc_f1() { + } + public get nc_prop() { + return 10; + } + /** c2 constructor*/ + constructor(a: number) { + this.c2_p1 = a; + } + } + class c3 extends c2 { + constructor() { + super(10); + } + /** c3 p1*/ + public p1: number; + /** c3 f1*/ + public f1() { + } + /** c3 prop*/ + public get prop() { + return 10; + } + public nc_p1: number; + public nc_f1() { + } + public get nc_prop() { + return 10; + } + } + var c2_i = new c2(10); + var c3_i = new c3(); + // assign + c2_i = c3_i; + class c4 extends c2 { + } + var c4_i = new c4(10); + interface i2 { + /** i2_p1*/ + i2_p1: number; + /** i2_f1*/ + i2_f1(): void; + /** i2_l1*/ + i2_l1: () => void; + // i2_nc_p1 + i2_nc_p1: number; + i2_nc_f1(): void; + i2_nc_l1: () => void; + /** i2 p1*/ + p1: number; + /** i2 f1*/ + f1(): void; + /** i2 l1*/ + l1: () => void; + nc_p1: number; + nc_f1(): void; + nc_l1: () => void; + } + interface i3 extends i2 { + /** i3 p1 */ + p1: number; + /** + * i3 f1 + */ + f1(): void; + /** i3 l1*/ + l1: () => void; + nc_p1: number; + nc_f1(): void; + nc_l1: () => void; + } + var i2_i: i2; + var i3_i: i3; + // assign to interface + i2_i = i3_i; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsInterface(target=es5).errors.txt b/tests/baselines/reference/commentsInterface(target=es5).errors.txt new file mode 100644 index 0000000000000..4fdaf66dc6850 --- /dev/null +++ b/tests/baselines/reference/commentsInterface(target=es5).errors.txt @@ -0,0 +1,74 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsInterface.ts (0 errors) ==== + /** this is interface 1*/ + interface i1 { + } + var i1_i: i1; + interface nc_i1 { + } + var nc_i1_i: nc_i1; + /** this is interface 2 with memebers*/ + interface i2 { + /** this is x*/ + x: number; + /** this is foo*/ + foo: (/**param help*/b: number) => string; + /** this is indexer*/ + [/**string param*/i: string]: any; + /**new method*/ + new (/** param*/i: i1); + nc_x: number; + nc_foo: (b: number) => string; + [i: number]: number; + /** this is call signature*/ + (/**paramhelp a*/a: number,/**paramhelp b*/ b: number) : number; + /** this is fnfoo*/ + fnfoo(/**param help*/b: number): string; + nc_fnfoo(b: number): string; + // nc_y + nc_y: number; + } + var i2_i: i2; + var i2_i_x = i2_i.x; + var i2_i_foo = i2_i.foo; + var i2_i_foo_r = i2_i.foo(30); + var i2_i_i2_si = i2_i["hello"]; + var i2_i_i2_ii = i2_i[30]; + var i2_i_n = new i2_i(i1_i); + var i2_i_nc_x = i2_i.nc_x; + var i2_i_nc_foo = i2_i.nc_foo; + var i2_i_nc_foo_r = i2_i.nc_foo(30); + var i2_i_r = i2_i(10, 20); + var i2_i_fnfoo = i2_i.fnfoo; + var i2_i_fnfoo_r = i2_i.fnfoo(10); + var i2_i_nc_fnfoo = i2_i.nc_fnfoo; + var i2_i_nc_fnfoo_r = i2_i.nc_fnfoo(10); + interface i3 { + /** Comment i3 x*/ + x: number; + /** Function i3 f*/ + f(/**number parameter*/a: number): string; + /** i3 l*/ + l: (/**comment i3 l b*/b: number) => string; + nc_x: number; + nc_f(a: number): string; + nc_l: (b: number) => string; + } + var i3_i: i3; + i3_i = { + f: /**own f*/ (/**i3_i a*/a: number) => "Hello" + a, + l: this.f, + /** own x*/ + x: this.f(10), + nc_x: this.l(this.x), + nc_f: this.f, + nc_l: this.l + }; + i3_i.f(10); + i3_i.l(10); + i3_i.nc_f(10); + i3_i.nc_l(10); + \ No newline at end of file diff --git a/tests/baselines/reference/commentsInterface(target=es5).types b/tests/baselines/reference/commentsInterface(target=es5).types index 740c812054b8b..d669596b01f59 100644 --- a/tests/baselines/reference/commentsInterface(target=es5).types +++ b/tests/baselines/reference/commentsInterface(target=es5).types @@ -117,7 +117,9 @@ var i2_i_foo_r = i2_i.foo(30); var i2_i_i2_si = i2_i["hello"]; >i2_i_i2_si : any +> : ^^^ >i2_i["hello"] : any +> : ^^^ >i2_i : i2 > : ^^ >"hello" : "hello" @@ -135,7 +137,9 @@ var i2_i_i2_ii = i2_i[30]; var i2_i_n = new i2_i(i1_i); >i2_i_n : any +> : ^^^ >new i2_i(i1_i) : any +> : ^^^ >i2_i : i2 > : ^^ >i1_i : i1 @@ -299,7 +303,9 @@ i3_i = { l: this.f, >l : any +> : ^^^ >this.f : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >f : any @@ -308,8 +314,11 @@ i3_i = { /** own x*/ x: this.f(10), >x : any +> : ^^^ >this.f(10) : any +> : ^^^ >this.f : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >f : any @@ -319,13 +328,17 @@ i3_i = { nc_x: this.l(this.x), >nc_x : any +> : ^^^ >this.l(this.x) : any +> : ^^^ >this.l : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >l : any > : ^^^ >this.x : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >x : any @@ -333,7 +346,9 @@ i3_i = { nc_f: this.f, >nc_f : any +> : ^^^ >this.f : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >f : any @@ -341,7 +356,9 @@ i3_i = { nc_l: this.l >nc_l : any +> : ^^^ >this.l : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >l : any diff --git a/tests/baselines/reference/commentsModules(target=es5).errors.txt b/tests/baselines/reference/commentsModules(target=es5).errors.txt new file mode 100644 index 0000000000000..c44ba3c8a303b --- /dev/null +++ b/tests/baselines/reference/commentsModules(target=es5).errors.txt @@ -0,0 +1,102 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsModules.ts (0 errors) ==== + /** Module comment*/ + namespace m1 { + /** b's comment*/ + export var b: number; + /** foo's comment*/ + function foo() { + return b; + } + /** m2 comments*/ + export namespace m2 { + /** class comment;*/ + export class c { + }; + /** i*/ + export var i = new c(); + } + /** exported function*/ + export function fooExport() { + return foo(); + } + + // shouldn't appear + export function foo2Export(/**hm*/ a: string) { + } + + /** foo3Export + * comment + */ + export function foo3Export() { + } + + /** foo4Export + * comment + */ + function foo4Export() { + } + } // trailing comment module + m1.fooExport(); + var myvar = new m1.m2.c(); + /** module comment of m2.m3*/ + namespace m2.m3 { + /** Exported class comment*/ + export class c { + } + } /* trailing dotted module comment*/ + new m2.m3.c(); + /** module comment of m3.m4.m5*/ + namespace m3.m4.m5 { + /** Exported class comment*/ + export class c { + } + } // trailing dotted module 2 + new m3.m4.m5.c(); + /** module comment of m4.m5.m6*/ + namespace m4.m5.m6 { + export namespace m7 { + /** Exported class comment*/ + export class c { + } + } /* trailing inner module */ /* multiple comments*/ + } + new m4.m5.m6.m7.c(); + /** module comment of m5.m6.m7*/ + namespace m5.m6.m7 { + /** module m8 comment*/ + export namespace m8 { + /** Exported class comment*/ + export class c { + } + } + } + new m5.m6.m7.m8.c(); + namespace m6.m7 { + export namespace m8 { + /** Exported class comment*/ + export class c { + } + } + } + new m6.m7.m8.c(); + namespace m7.m8 { + /** module m9 comment*/ + export namespace m9 { + /** Exported class comment*/ + export class c { + } + + /** class d */ + class d { + } + + // class e + export class e { + } + } + } + new m7.m8.m9.c(); \ No newline at end of file diff --git a/tests/baselines/reference/commentsMultiModuleMultiFile(target=es5).errors.txt b/tests/baselines/reference/commentsMultiModuleMultiFile(target=es5).errors.txt index 7bba5d1ad20e3..84584fd2a3c5d 100644 --- a/tests/baselines/reference/commentsMultiModuleMultiFile(target=es5).errors.txt +++ b/tests/baselines/reference/commentsMultiModuleMultiFile(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== commentsMultiModuleMultiFile_1.ts (0 errors) ==== import m = require('commentsMultiModuleMultiFile_0'); /** this is multi module 3 comment*/ diff --git a/tests/baselines/reference/commentsMultiModuleSingleFile(target=es5).errors.txt b/tests/baselines/reference/commentsMultiModuleSingleFile(target=es5).errors.txt new file mode 100644 index 0000000000000..5c1afef9f71d8 --- /dev/null +++ b/tests/baselines/reference/commentsMultiModuleSingleFile(target=es5).errors.txt @@ -0,0 +1,28 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsMultiModuleSingleFile.ts (0 errors) ==== + /** this is multi declare module*/ + namespace multiM { + /** class b*/ + export class b { + } + + // class d + export class d { + } + } + + /// this is multi module 2 + namespace multiM { + /** class c comment*/ + export class c { + } + + /// class e + export class e { + } + } + new multiM.b(); + new multiM.c(); \ No newline at end of file diff --git a/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).errors.txt b/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).errors.txt new file mode 100644 index 0000000000000..955cebc316799 --- /dev/null +++ b/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsOnObjectLiteral3.ts (0 errors) ==== + var v = { + //property + prop: 1 /* multiple trailing comments */ /*trailing comments*/, + //property + func: function () { + }, + //PropertyName + CallSignature + func1() { }, + //getter + get a() { + return this.prop; + } /*trailing 1*/, + //setter + set a(value) { + this.prop = value; + } // trailing 2 + }; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).types b/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).types index abdf46a8f723f..db56ce9f48621 100644 --- a/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).types +++ b/tests/baselines/reference/commentsOnObjectLiteral3(target=es5).types @@ -30,9 +30,11 @@ var v = { //getter get a() { >a : any +> : ^^^ return this.prop; >this.prop : any +> : ^^^ >this : any > : ^^^ >prop : any @@ -42,16 +44,21 @@ var v = { //setter set a(value) { >a : any +> : ^^^ >value : any +> : ^^^ this.prop = value; >this.prop = value : any +> : ^^^ >this.prop : any +> : ^^^ >this : any > : ^^^ >prop : any > : ^^^ >value : any +> : ^^^ } // trailing 2 }; diff --git a/tests/baselines/reference/commentsOnObjectLiteral4(target=es5).errors.txt b/tests/baselines/reference/commentsOnObjectLiteral4(target=es5).errors.txt new file mode 100644 index 0000000000000..7c4596e33d884 --- /dev/null +++ b/tests/baselines/reference/commentsOnObjectLiteral4(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsOnObjectLiteral4.ts (0 errors) ==== + var v = { + /** + * @type {number} + */ + get bar(): number { + return 12; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/commentsOnObjectLiteral5(target=es5).errors.txt b/tests/baselines/reference/commentsOnObjectLiteral5(target=es5).errors.txt new file mode 100644 index 0000000000000..391b4635decf2 --- /dev/null +++ b/tests/baselines/reference/commentsOnObjectLiteral5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsOnObjectLiteral5.ts (0 errors) ==== + const a = { + p0: 0, // Comment 0 + p1: 0, /* Comment 1 + A multiline comment. */ + p2: 0, // Comment 2 + }; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsOnRequireStatement(target=es5).errors.txt b/tests/baselines/reference/commentsOnRequireStatement(target=es5).errors.txt new file mode 100644 index 0000000000000..36c1ba02f2530 --- /dev/null +++ b/tests/baselines/reference/commentsOnRequireStatement(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== 0.ts (0 errors) ==== + export var subject = 10; + +==== 1.ts (0 errors) ==== + export var subject1 = 10; + +==== 2.ts (0 errors) ==== + /* blah0 */ + // blah + // blah + // blah + export {subject} from './0'; + /* blah1 */ + export {subject1} from './1'; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsOverloads(target=es5).errors.txt b/tests/baselines/reference/commentsOverloads(target=es5).errors.txt new file mode 100644 index 0000000000000..aa04357c6a9af --- /dev/null +++ b/tests/baselines/reference/commentsOverloads(target=es5).errors.txt @@ -0,0 +1,179 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsOverloads.ts (0 errors) ==== + /** this is signature 1*/ + function f1(/**param a*/a: number): number; + function f1(b: string): number; + function f1(aOrb: any) { + return 10; + } + f1("hello"); + f1(10); + function f2(a: number): number; + /** this is signature 2*/ + function f2(b: string): number; + /** this is f2 var comment*/ + function f2(aOrb: any) { + return 10; + } + f2("hello"); + f2(10); + function f3(a: number): number; + function f3(b: string): number; + function f3(aOrb: any) { + return 10; + } + f3("hello"); + f3(10); + /** this is signature 4 - with number parameter*/ + function f4(/**param a*/a: number): number; + /** this is signature 4 - with string parameter*/ + function f4(b: string): number; + function f4(aOrb: any) { + return 10; + } + f4("hello"); + f4(10); + interface i1 { + /**this signature 1*/ + (/**param a*/ a: number): number; + /**this is signature 2*/ + (b: string): number; + /** foo 1*/ + foo(a: number): number; + /** foo 2*/ + foo(b: string): number; + // foo 3 + foo(arr: number[]): number; + /** foo 4 */ + foo(arr: string[]): number; + + foo2(a: number): number; + /** foo2 2*/ + foo2(b: string): number; + foo3(a: number): number; + foo3(b: string): number; + /** foo4 1*/ + foo4(a: number): number; + foo4(b: string): number; + /** foo4 any */ + foo4(c: any): any; + /// new 1 + new (a: string); + /** new 1*/ + new (b: number); + } + var i1_i: i1; + interface i2 { + new (a: string); + /** new 2*/ + new (b: number); + (a: number): number; + /**this is signature 2*/ + (b: string): number; + } + var i2_i: i2; + interface i3 { + /** new 1*/ + new (a: string); + /** new 2*/ + new (b: number); + /**this is signature 1*/ + (a: number): number; + (b: string): number; + } + var i3_i: i3; + interface i4 { + new (a: string); + new (b: number); + (a: number): number; + (b: string): number; + } + class c { + public prop1(a: number): number; + public prop1(b: string): number; + public prop1(aorb: any) { + return 10; + } + /** prop2 1*/ + public prop2(a: number): number; + public prop2(b: string): number; + public prop2(aorb: any) { + return 10; + } + public prop3(a: number): number; + /** prop3 2*/ + public prop3(b: string): number; + public prop3(aorb: any) { + return 10; + } + /** prop4 1*/ + public prop4(a: number): number; + /** prop4 2*/ + public prop4(b: string): number; + public prop4(aorb: any) { + return 10; + } + /** prop5 1*/ + public prop5(a: number): number; + /** prop5 2*/ + public prop5(b: string): number; + /** Prop5 implementaion*/ + public prop5(aorb: any) { + return 10; + } + } + class c1 { + constructor(a: number); + constructor(b: string); + constructor(aorb: any) { + } + } + class c2 { + /** c2 1*/ + constructor(a: number); + // c2 2 + constructor(b: string); + constructor(aorb: any) { + } + } + class c3 { + constructor(a: number); + /** c3 2*/ + constructor(b: string); + constructor(aorb: any) { + } + } + class c4 { + /** c4 1*/ + constructor(a: number); + /** c4 2*/ + constructor(b: string); + /** c4 3 */ + constructor(aorb: any) { + } + } + class c5 { + /** c5 1*/ + constructor(a: number); + /** c5 2*/ + constructor(b: string); + /** c5 implementation*/ + constructor(aorb: any) { + } + } + var c_i = new c(); + + var c1_i_1 = new c1(10); + var c1_i_2 = new c1("hello"); + var c2_i_1 = new c2(10); + var c2_i_2 = new c2("hello"); + var c3_i_1 = new c3(10); + var c3_i_2 = new c3("hello"); + var c4_i_1 = new c4(10); + var c4_i_2 = new c4("hello"); + var c5_i_1 = new c5(10); + var c5_i_2 = new c5("hello"); + \ No newline at end of file diff --git a/tests/baselines/reference/commentsOverloads(target=es5).types b/tests/baselines/reference/commentsOverloads(target=es5).types index 2ab32c9fb47df..de9a87e6279c1 100644 --- a/tests/baselines/reference/commentsOverloads(target=es5).types +++ b/tests/baselines/reference/commentsOverloads(target=es5).types @@ -18,6 +18,7 @@ function f1(aOrb: any) { >f1 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aOrb : any +> : ^^^ return 10; >10 : 10 @@ -57,6 +58,7 @@ function f2(aOrb: any) { >f2 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aOrb : any +> : ^^^ return 10; >10 : 10 @@ -94,6 +96,7 @@ function f3(aOrb: any) { >f3 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aOrb : any +> : ^^^ return 10; >10 : 10 @@ -133,6 +136,7 @@ function f4(aOrb: any) { >f4 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aOrb : any +> : ^^^ return 10; >10 : 10 @@ -236,6 +240,7 @@ interface i1 { >foo4 : { (a: number): number; (b: string): number; (c: any): any; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >c : any +> : ^^^ /// new 1 new (a: string); @@ -335,6 +340,7 @@ class c { >prop1 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aorb : any +> : ^^^ return 10; >10 : 10 @@ -357,6 +363,7 @@ class c { >prop2 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aorb : any +> : ^^^ return 10; >10 : 10 @@ -379,6 +386,7 @@ class c { >prop3 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aorb : any +> : ^^^ return 10; >10 : 10 @@ -402,6 +410,7 @@ class c { >prop4 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aorb : any +> : ^^^ return 10; >10 : 10 @@ -426,6 +435,7 @@ class c { >prop5 : { (a: number): number; (b: string): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aorb : any +> : ^^^ return 10; >10 : 10 @@ -446,6 +456,7 @@ class c1 { constructor(aorb: any) { >aorb : any +> : ^^^ } } class c2 { @@ -464,6 +475,7 @@ class c2 { constructor(aorb: any) { >aorb : any +> : ^^^ } } class c3 { @@ -481,6 +493,7 @@ class c3 { constructor(aorb: any) { >aorb : any +> : ^^^ } } class c4 { @@ -500,6 +513,7 @@ class c4 { /** c4 3 */ constructor(aorb: any) { >aorb : any +> : ^^^ } } class c5 { @@ -519,6 +533,7 @@ class c5 { /** c5 implementation*/ constructor(aorb: any) { >aorb : any +> : ^^^ } } var c_i = new c(); diff --git a/tests/baselines/reference/commentsVarDecl(target=es5).errors.txt b/tests/baselines/reference/commentsVarDecl(target=es5).errors.txt new file mode 100644 index 0000000000000..c02d105ab3066 --- /dev/null +++ b/tests/baselines/reference/commentsVarDecl(target=es5).errors.txt @@ -0,0 +1,47 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsVarDecl.ts (0 errors) ==== + /** Variable comments*/ + var myVariable = 10; // This trailing Comment1 + + /** This is another variable comment*/ + var anotherVariable = 30; + + // shouldn't appear + var aVar = ""; + + /** this is multiline comment + * All these variables are of number type */ + var anotherAnotherVariable = 70; /* these are multiple trailing comments */ /* multiple trailing comments */ + + /** Triple slash multiline comment*/ + /** another line in the comment*/ + /** comment line 2*/ + var x = 70; /* multiline trailing comment + this is multiline trailing comment */ + /** Triple slash comment on the assignment shouldnt be in .d.ts file*/ + x = myVariable; + + /** triple slash comment1*/ + /** jsdocstyle comment - only this comment should be in .d.ts file*/ + var n = 30; + + /** var deckaration with comment on type as well*/ + var y = /** value comment */ 20; + + /// var deckaration with comment on type as well + var yy = + /// value comment + 20; + + /** comment2 */ + var z = /** lambda comment */ (x: number, y: number) => x + y; + + var z2: /** type comment*/ (x: number) => string; + + var x2 = z2; + + var n4: (x: number) => string; + n4 = z2; \ No newline at end of file diff --git a/tests/baselines/reference/commentsdoNotEmitComments(target=es5).errors.txt b/tests/baselines/reference/commentsdoNotEmitComments(target=es5).errors.txt new file mode 100644 index 0000000000000..95d2faeee1ad2 --- /dev/null +++ b/tests/baselines/reference/commentsdoNotEmitComments(target=es5).errors.txt @@ -0,0 +1,97 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsdoNotEmitComments.ts (0 errors) ==== + /** Variable comments*/ + var myVariable = 10; + + /** function comments*/ + function foo(/** parameter comment*/p: number) { + } + + /** variable with function type comment*/ + var fooVar: () => void; + foo(50); + fooVar(); + + /**class comment*/ + class c { + /** constructor comment*/ + constructor() { + } + + /** property comment */ + public b = 10; + + /** function comment */ + public myFoo() { + return this.b; + } + + /** getter comment*/ + public get prop1() { + return this.b; + } + + /** setter comment*/ + public set prop1(val: number) { + this.b = val; + } + + /** overload signature1*/ + public foo1(a: number): string; + /** Overload signature 2*/ + public foo1(b: string): string; + /** overload implementation signature*/ + public foo1(aOrb) { + return aOrb.toString(); + } + } + + /**instance comment*/ + var i = new c(); + + /** interface comments*/ + interface i1 { + /** caller comments*/ + (a: number): number; + + /** new comments*/ + new (b: string); + + /**indexer property*/ + [a: number]: string; + + /** function property;*/ + myFoo(/*param prop*/a: number): string; + + /** prop*/ + prop: string; + } + + /**interface instance comments*/ + var i1_i: i1; + + /** this is module comment*/ + namespace m1 { + /** class b */ + export class b { + constructor(public x: number) { + + } + } + + /// module m2 + export namespace m2 { + } + } + + /// this is x + declare var x; + + + /** const enum member value comment (generated by TS) */ + const enum color { red, green, blue } + var shade: color = color.green; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsdoNotEmitComments(target=es5).types b/tests/baselines/reference/commentsdoNotEmitComments(target=es5).types index 1a306143d6e38..170a69f664a6f 100644 --- a/tests/baselines/reference/commentsdoNotEmitComments(target=es5).types +++ b/tests/baselines/reference/commentsdoNotEmitComments(target=es5).types @@ -118,10 +118,13 @@ class c { >foo1 : { (a: number): string; (b: string): string; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aOrb : any +> : ^^^ return aOrb.toString(); >aOrb.toString() : any +> : ^^^ >aOrb.toString : any +> : ^^^ >aOrb : any > : ^^^ >toString : any @@ -198,6 +201,7 @@ namespace m1 { /// this is x declare var x; >x : any +> : ^^^ /** const enum member value comment (generated by TS) */ diff --git a/tests/baselines/reference/commentsemitComments(target=es5).errors.txt b/tests/baselines/reference/commentsemitComments(target=es5).errors.txt new file mode 100644 index 0000000000000..6e190739c830f --- /dev/null +++ b/tests/baselines/reference/commentsemitComments(target=es5).errors.txt @@ -0,0 +1,92 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commentsemitComments.ts (0 errors) ==== + /** Variable comments*/ + var myVariable = 10; + + /** function comments*/ + function foo(/** parameter comment*/p: number) { + } + + /** variable with function type comment*/ + var fooVar: () => void; + foo(50); + fooVar(); + + /**class comment*/ + class c { + /** constructor comment*/ + constructor() { + } + + /** property comment */ + public b = 10; + + /** function comment */ + public myFoo() { + return this.b; + } + + /** getter comment*/ + public get prop1() { + return this.b; + } + + /** setter comment*/ + public set prop1(val: number) { + this.b = val; + } + + /** overload signature1*/ + public foo1(a: number): string; + /** Overload signature 2*/ + public foo1(b: string): string; + /** overload implementation signature*/ + public foo1(aOrb) { + return aOrb.toString(); + } + } + + /**instance comment*/ + var i = new c(); + + /** interface comments*/ + interface i1 { + /** caller comments*/ + (a: number): number; + + /** new comments*/ + new (b: string); + + /**indexer property*/ + [a: number]: string; + + /** function property;*/ + myFoo(/*param prop*/a: number): string; + + /** prop*/ + prop: string; + } + + /**interface instance comments*/ + var i1_i: i1; + + /** this is module comment*/ + namespace m1 { + /** class b */ + export class b { + constructor(public x: number) { + + } + } + + /// module m2 + export namespace m2 { + } + } + + /// this is x + declare var x; + \ No newline at end of file diff --git a/tests/baselines/reference/commentsemitComments(target=es5).types b/tests/baselines/reference/commentsemitComments(target=es5).types index caa9f3b50153e..4996500969966 100644 --- a/tests/baselines/reference/commentsemitComments(target=es5).types +++ b/tests/baselines/reference/commentsemitComments(target=es5).types @@ -118,10 +118,13 @@ class c { >foo1 : { (a: number): string; (b: string): string; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >aOrb : any +> : ^^^ return aOrb.toString(); >aOrb.toString() : any +> : ^^^ >aOrb.toString : any +> : ^^^ >aOrb : any > : ^^^ >toString : any @@ -198,4 +201,5 @@ namespace m1 { /// this is x declare var x; >x : any +> : ^^^ diff --git a/tests/baselines/reference/commonJsExportTypeDeclarationError(target=es5).errors.txt b/tests/baselines/reference/commonJsExportTypeDeclarationError(target=es5).errors.txt index 193a7a1bcda42..a0a4316b8eba3 100644 --- a/tests/baselines/reference/commonJsExportTypeDeclarationError(target=es5).errors.txt +++ b/tests/baselines/reference/commonJsExportTypeDeclarationError(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. types1.ts(2,17): error TS1110: Type expected. types1.ts(3,1): error TS1005: '=' expected. types2.ts(2,19): error TS1110: Type expected. types3.ts(2,13): error TS2456: Type alias 'test' circularly references itself. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ./test.js (0 errors) ==== module.exports = { message: "" diff --git a/tests/baselines/reference/commonjsSafeImport(target=es5).errors.txt b/tests/baselines/reference/commonjsSafeImport(target=es5).errors.txt new file mode 100644 index 0000000000000..c1befacf613c5 --- /dev/null +++ b/tests/baselines/reference/commonjsSafeImport(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== 10_lib.ts (0 errors) ==== + export function Foo() {} + +==== main.ts (0 errors) ==== + import { Foo } from './10_lib'; + + Foo(); + \ No newline at end of file diff --git a/tests/baselines/reference/complexClassRelationships(target=es5).errors.txt b/tests/baselines/reference/complexClassRelationships(target=es5).errors.txt index ac14126b2e90e..1350a55b49669 100644 --- a/tests/baselines/reference/complexClassRelationships(target=es5).errors.txt +++ b/tests/baselines/reference/complexClassRelationships(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. complexClassRelationships.ts(2,23): error TS2449: Class 'Base' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== complexClassRelationships.ts (1 errors) ==== // There should be no errors in this file class Derived extends Base { diff --git a/tests/baselines/reference/complicatedPrivacy(target=es5).errors.txt b/tests/baselines/reference/complicatedPrivacy(target=es5).errors.txt index 10fbd465c68bc..27f291da4ff5a 100644 --- a/tests/baselines/reference/complicatedPrivacy(target=es5).errors.txt +++ b/tests/baselines/reference/complicatedPrivacy(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. complicatedPrivacy.ts(11,24): error TS1054: A 'get' accessor cannot have parameters. complicatedPrivacy.ts(35,6): error TS2693: 'number' only refers to a type, but is being used as a value here. complicatedPrivacy.ts(73,55): error TS2694: Namespace 'mglo5' has no exported member 'i6'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== complicatedPrivacy.ts (3 errors) ==== namespace m1 { export namespace m2 { diff --git a/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..b94bb3ca0f401 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames10_ES5.ts (0 errors) ==== + var s: string; + var n: number; + var a: any; + var v = { + [s]() { }, + [n]() { }, + [s + s]() { }, + [s + n]() { }, + [+s]() { }, + [""]() { }, + [0]() { }, + [a]() { }, + [true]() { }, + [`hello bye`]() { }, + [`hello ${a} bye`]() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).types index 20052a34138ab..f6a81e58b919f 100644 --- a/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames10_ES5(target=es5).types @@ -11,6 +11,7 @@ var n: number; var a: any; >a : any +> : ^^^ var v = { >v : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void; } @@ -74,11 +75,13 @@ var v = { >[a] : () => void > : ^^^^^^^^^^ >a : any +> : ^^^ [true]() { }, >[true] : () => void > : ^^^^^^^^^^ >true : any +> : ^^^ >true : true > : ^^^^ @@ -94,4 +97,5 @@ var v = { >`hello ${a} bye` : string > : ^^^^^^ >a : any +> : ^^^ } diff --git a/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..fe1b9b533bbfb --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames11_ES5.ts (0 errors) ==== + var s: string; + var n: number; + var a: any; + var v = { + get [s]() { return 0; }, + set [n](v) { }, + get [s + s]() { return 0; }, + set [s + n](v) { }, + get [+s]() { return 0; }, + set [""](v) { }, + get [0]() { return 0; }, + set [a](v) { }, + get [true]() { return 0; }, + set [`hello bye`](v) { }, + get [`hello ${a} bye`]() { return 0; } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).types index 58cc22264ed2c..0516ad6ada530 100644 --- a/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames11_ES5(target=es5).types @@ -11,6 +11,7 @@ var n: number; var a: any; >a : any +> : ^^^ var v = { >v : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; } @@ -28,9 +29,11 @@ var v = { set [n](v) { }, >[n] : any +> : ^^^ >n : number > : ^^^^^^ >v : any +> : ^^^ get [s + s]() { return 0; }, >[s + s] : number @@ -46,6 +49,7 @@ var v = { set [s + n](v) { }, >[s + n] : any +> : ^^^ >s + n : string > : ^^^^^^ >s : string @@ -53,6 +57,7 @@ var v = { >n : number > : ^^^^^^ >v : any +> : ^^^ get [+s]() { return 0; }, >[+s] : number @@ -66,9 +71,11 @@ var v = { set [""](v) { }, >[""] : any +> : ^^^ >"" : "" > : ^^ >v : any +> : ^^^ get [0]() { return 0; }, >[0] : number @@ -80,13 +87,17 @@ var v = { set [a](v) { }, >[a] : any +> : ^^^ >a : any +> : ^^^ >v : any +> : ^^^ get [true]() { return 0; }, >[true] : number > : ^^^^^^ >true : any +> : ^^^ >true : true > : ^^^^ >0 : 0 @@ -94,9 +105,11 @@ var v = { set [`hello bye`](v) { }, >[`hello bye`] : any +> : ^^^ >`hello bye` : "hello bye" > : ^^^^^^^^^^^ >v : any +> : ^^^ get [`hello ${a} bye`]() { return 0; } >[`hello ${a} bye`] : number @@ -104,6 +117,7 @@ var v = { >`hello ${a} bye` : string > : ^^^^^^ >a : any +> : ^^^ >0 : 0 > : ^ } diff --git a/tests/baselines/reference/computedPropertyNames12_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames12_ES5(target=es5).errors.txt index 7803fd8078d63..7c292e4d6519c 100644 --- a/tests/baselines/reference/computedPropertyNames12_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames12_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames12_ES5.ts(7,12): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. computedPropertyNames12_ES5.ts(8,5): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. computedPropertyNames12_ES5.ts(9,5): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. @@ -7,6 +8,7 @@ computedPropertyNames12_ES5.ts(13,12): error TS1166: A computed property name in computedPropertyNames12_ES5.ts(15,12): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames12_ES5.ts (7 errors) ==== var s: string; var n: number; diff --git a/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..c650959e8d45e --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames13_ES5.ts (0 errors) ==== + var s: string; + var n: number; + var a: any; + class C { + [s]() {} + [n]() { } + static [s + s]() { } + [s + n]() { } + [+s]() { } + static [""]() { } + [0]() { } + [a]() { } + static [true]() { } + [`hello bye`]() { } + static [`hello ${a} bye`]() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).types index d152acabf40e8..89a3ff5391f6b 100644 --- a/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames13_ES5(target=es5).types @@ -11,6 +11,7 @@ var n: number; var a: any; >a : any +> : ^^^ class C { >C : C @@ -72,11 +73,13 @@ class C { >[a] : () => void > : ^^^^^^^^^^ >a : any +> : ^^^ static [true]() { } >[true] : () => void > : ^^^^^^^^^^ >true : any +> : ^^^ >true : true > : ^^^^ @@ -92,4 +95,5 @@ class C { >`hello ${a} bye` : string > : ^^^^^^ >a : any +> : ^^^ } diff --git a/tests/baselines/reference/computedPropertyNames14_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames14_ES5(target=es5).errors.txt index b27347755a22c..a704e70a3fe58 100644 --- a/tests/baselines/reference/computedPropertyNames14_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames14_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames14_ES5.ts(3,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames14_ES5.ts(4,12): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames14_ES5.ts(5,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. @@ -6,6 +7,7 @@ computedPropertyNames14_ES5.ts(7,5): error TS2464: A computed property name must computedPropertyNames14_ES5.ts(8,12): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames14_ES5.ts (6 errors) ==== var b: boolean; class C { diff --git a/tests/baselines/reference/computedPropertyNames15_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames15_ES5(target=es5).errors.txt index 7e3e168ec7a57..c4c63bf0ee4bd 100644 --- a/tests/baselines/reference/computedPropertyNames15_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames15_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames15_ES5.ts(6,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames15_ES5.ts(7,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames15_ES5.ts (2 errors) ==== var p1: number | string; var p2: number | number[]; diff --git a/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..9f0a00e4f3c97 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames16_ES5.ts (0 errors) ==== + var s: string; + var n: number; + var a: any; + class C { + get [s]() { return 0;} + set [n](v) { } + static get [s + s]() { return 0; } + set [s + n](v) { } + get [+s]() { return 0; } + static set [""](v) { } + get [0]() { return 0; } + set [a](v) { } + static get [true]() { return 0; } + set [`hello bye`](v) { } + get [`hello ${a} bye`]() { return 0; } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).types index 3dbfae37b4da8..57e069773daaa 100644 --- a/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames16_ES5(target=es5).types @@ -11,6 +11,7 @@ var n: number; var a: any; >a : any +> : ^^^ class C { >C : C @@ -26,9 +27,11 @@ class C { set [n](v) { } >[n] : any +> : ^^^ >n : number > : ^^^^^^ >v : any +> : ^^^ static get [s + s]() { return 0; } >[s + s] : number @@ -44,6 +47,7 @@ class C { set [s + n](v) { } >[s + n] : any +> : ^^^ >s + n : string > : ^^^^^^ >s : string @@ -51,6 +55,7 @@ class C { >n : number > : ^^^^^^ >v : any +> : ^^^ get [+s]() { return 0; } >[+s] : number @@ -64,9 +69,11 @@ class C { static set [""](v) { } >[""] : any +> : ^^^ >"" : "" > : ^^ >v : any +> : ^^^ get [0]() { return 0; } >[0] : number @@ -78,13 +85,17 @@ class C { set [a](v) { } >[a] : any +> : ^^^ >a : any +> : ^^^ >v : any +> : ^^^ static get [true]() { return 0; } >[true] : number > : ^^^^^^ >true : any +> : ^^^ >true : true > : ^^^^ >0 : 0 @@ -92,9 +103,11 @@ class C { set [`hello bye`](v) { } >[`hello bye`] : any +> : ^^^ >`hello bye` : "hello bye" > : ^^^^^^^^^^^ >v : any +> : ^^^ get [`hello ${a} bye`]() { return 0; } >[`hello ${a} bye`] : number @@ -102,6 +115,7 @@ class C { >`hello ${a} bye` : string > : ^^^^^^ >a : any +> : ^^^ >0 : 0 > : ^ } diff --git a/tests/baselines/reference/computedPropertyNames17_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames17_ES5(target=es5).errors.txt index 946678732946e..8726c8eb62a9c 100644 --- a/tests/baselines/reference/computedPropertyNames17_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames17_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames17_ES5.ts(3,9): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames17_ES5.ts(4,16): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames17_ES5.ts(5,9): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. @@ -6,6 +7,7 @@ computedPropertyNames17_ES5.ts(7,16): error TS2464: A computed property name mus computedPropertyNames17_ES5.ts(8,9): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames17_ES5.ts (6 errors) ==== var b: boolean; class C { diff --git a/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..ba02cfe5b5285 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames18_ES5.ts (0 errors) ==== + function foo() { + var obj = { + [this.bar]: 0 + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).types index fba7ca0fa899c..31b06d5eea6ab 100644 --- a/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames18_ES5(target=es5).types @@ -15,6 +15,7 @@ function foo() { >[this.bar] : number > : ^^^^^^ >this.bar : any +> : ^^^ >this : any > : ^^^ >bar : any diff --git a/tests/baselines/reference/computedPropertyNames19_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames19_ES5(target=es5).errors.txt index b5b9ae897a980..b0022f3985cbc 100644 --- a/tests/baselines/reference/computedPropertyNames19_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames19_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames19_ES5.ts(3,10): error TS2331: 'this' cannot be referenced in a module or namespace body. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames19_ES5.ts (1 errors) ==== namespace M { var obj = { diff --git a/tests/baselines/reference/computedPropertyNames1_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames1_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..a441bf797930c --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames1_ES5(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames1_ES5.ts (0 errors) ==== + var v = { + get [0 + 1]() { return 0 }, + set [0 + 1](v: string) { } //No error + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..d0cc4e544eb55 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames20_ES5.ts (0 errors) ==== + var obj = { + [this.bar]: 0 + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).types index ff06fb0e5401b..c1450783ff471 100644 --- a/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames20_ES5(target=es5).types @@ -11,6 +11,7 @@ var obj = { >[this.bar] : number > : ^^^^^^ >this.bar : any +> : ^^^ >this : typeof globalThis > : ^^^^^^^^^^^^^^^^^ >bar : any diff --git a/tests/baselines/reference/computedPropertyNames21_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames21_ES5(target=es5).errors.txt index 694f824436812..49fa5dcb4a9c1 100644 --- a/tests/baselines/reference/computedPropertyNames21_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames21_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames21_ES5.ts(5,6): error TS2465: 'this' cannot be referenced in a computed property name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames21_ES5.ts (1 errors) ==== class C { bar() { diff --git a/tests/baselines/reference/computedPropertyNames22_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames22_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..68d7d9f41c5fa --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames22_ES5(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames22_ES5.ts (0 errors) ==== + class C { + bar() { + var obj = { + [this.bar()]() { } + }; + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames23_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames23_ES5(target=es5).errors.txt index 8344c69e99867..65d731172c5fb 100644 --- a/tests/baselines/reference/computedPropertyNames23_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames23_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames23_ES5.ts(6,12): error TS2465: 'this' cannot be referenced in a computed property name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames23_ES5.ts (1 errors) ==== class C { bar() { diff --git a/tests/baselines/reference/computedPropertyNames24_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames24_ES5(target=es5).errors.txt index 9d8b1c8d30a8b..1320472df36f7 100644 --- a/tests/baselines/reference/computedPropertyNames24_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames24_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames24_ES5.ts(7,6): error TS2466: 'super' cannot be referenced in a computed property name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames24_ES5.ts (1 errors) ==== class Base { bar() { diff --git a/tests/baselines/reference/computedPropertyNames25_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames25_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..a350b78c2ca2e --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames25_ES5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames25_ES5.ts (0 errors) ==== + class Base { + bar() { + return 0; + } + } + class C extends Base { + foo() { + var obj = { + [super.bar()]() { } + }; + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames26_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames26_ES5(target=es5).errors.txt index b2357e21e1862..bf6514ce47aa6 100644 --- a/tests/baselines/reference/computedPropertyNames26_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames26_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames26_ES5.ts(8,12): error TS2466: 'super' cannot be referenced in a computed property name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames26_ES5.ts (1 errors) ==== class Base { bar() { diff --git a/tests/baselines/reference/computedPropertyNames27_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames27_ES5(target=es5).errors.txt index de9f7d9f1f18b..1305154adb3db 100644 --- a/tests/baselines/reference/computedPropertyNames27_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames27_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames27_ES5.ts(4,7): error TS2466: 'super' cannot be referenced in a computed property name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames27_ES5.ts (1 errors) ==== class Base { } diff --git a/tests/baselines/reference/computedPropertyNames28_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames28_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..7a9e42d57395b --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames28_ES5(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames28_ES5.ts (0 errors) ==== + class Base { + } + class C extends Base { + constructor() { + super(); + var obj = { + [(super(), "prop")]() { } + }; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames29_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames29_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..5e282ec614291 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames29_ES5(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames29_ES5.ts (0 errors) ==== + class C { + bar() { + () => { + var obj = { + [this.bar()]() { } // needs capture + }; + } + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames2_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames2_ES5(target=es5).errors.txt index 2d1b4f1abc814..357f44ede4c3f 100644 --- a/tests/baselines/reference/computedPropertyNames2_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames2_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames2_ES5.ts(6,9): error TS2378: A 'get' accessor must return a value. computedPropertyNames2_ES5.ts(8,16): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames2_ES5.ts (2 errors) ==== var methodName = "method"; var accessorName = "accessor"; diff --git a/tests/baselines/reference/computedPropertyNames30_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames30_ES5(target=es5).errors.txt index 4c5ccb37f84e9..32766a45b9e92 100644 --- a/tests/baselines/reference/computedPropertyNames30_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames30_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames30_ES5.ts(11,19): error TS2466: 'super' cannot be referenced in a computed property name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames30_ES5.ts (1 errors) ==== class Base { } diff --git a/tests/baselines/reference/computedPropertyNames31_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames31_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..8d30f28e33d21 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames31_ES5(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames31_ES5.ts (0 errors) ==== + class Base { + bar() { + return 0; + } + } + class C extends Base { + foo() { + () => { + var obj = { + [super.bar()]() { } // needs capture + }; + } + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames32_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames32_ES5(target=es5).errors.txt index a55302245291a..212797184d0c7 100644 --- a/tests/baselines/reference/computedPropertyNames32_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames32_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames32_ES5.ts(6,10): error TS2467: A computed property name cannot reference a type parameter from its containing type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames32_ES5.ts (1 errors) ==== function foo() { return '' } class C { diff --git a/tests/baselines/reference/computedPropertyNames33_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames33_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..1b8c01b10dce1 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames33_ES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames33_ES5.ts (0 errors) ==== + function foo() { return '' } + class C { + bar() { + var obj = { + [foo()]() { } + }; + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames34_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames34_ES5(target=es5).errors.txt index cbf2b19ba3336..a2f177adefd77 100644 --- a/tests/baselines/reference/computedPropertyNames34_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames34_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames34_ES5.ts(5,18): error TS2302: Static members cannot reference class type parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames34_ES5.ts (1 errors) ==== function foo() { return '' } class C { diff --git a/tests/baselines/reference/computedPropertyNames35_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames35_ES5(target=es5).errors.txt index 7feea07160252..6b41af41d9e64 100644 --- a/tests/baselines/reference/computedPropertyNames35_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames35_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames35_ES5.ts(4,5): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type. computedPropertyNames35_ES5.ts(4,10): error TS2467: A computed property name cannot reference a type parameter from its containing type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames35_ES5.ts (2 errors) ==== function foo() { return '' } interface I { diff --git a/tests/baselines/reference/computedPropertyNames36_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames36_ES5(target=es5).errors.txt index fb42b6cfce47a..29caba9e2056a 100644 --- a/tests/baselines/reference/computedPropertyNames36_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames36_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames36_ES5.ts(8,9): error TS2411: Property '["get1"]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames36_ES5.ts (1 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..28758d8346bf6 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames37_ES5.ts (0 errors) ==== + class Foo { x } + class Foo2 { x; y } + + class C { + [s: number]: Foo2; + + // Computed properties + get ["get1"]() { return new Foo } + set ["set1"](p: Foo2) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).types index f45f1f38fe99e..348d6d7e0d862 100644 --- a/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames37_ES5(target=es5).types @@ -5,12 +5,15 @@ class Foo { x } >Foo : Foo > : ^^^ >x : any +> : ^^^ class Foo2 { x; y } >Foo2 : Foo2 > : ^^^^ >x : any +> : ^^^ >y : any +> : ^^^ class C { >C : C diff --git a/tests/baselines/reference/computedPropertyNames38_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames38_ES5(target=es5).errors.txt index 80eb9e2c5a334..a84e7c4b38bcd 100644 --- a/tests/baselines/reference/computedPropertyNames38_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames38_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames38_ES5.ts(8,9): error TS2411: Property '[1 << 6]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames38_ES5.ts (1 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames39_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames39_ES5(target=es5).errors.txt index 5b77d679ddf94..bcf51889d2c10 100644 --- a/tests/baselines/reference/computedPropertyNames39_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames39_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames39_ES5.ts(8,9): error TS2411: Property '[1 << 6]' of type 'Foo' is not assignable to 'number' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames39_ES5.ts (1 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames3_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames3_ES5(target=es5).errors.txt index b60dc88534f75..6c5df2fd7f125 100644 --- a/tests/baselines/reference/computedPropertyNames3_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames3_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames3_ES5.ts(4,12): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames3_ES5.ts(5,9): error TS2378: A 'get' accessor must return a value. computedPropertyNames3_ES5.ts(5,9): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. @@ -8,6 +9,7 @@ computedPropertyNames3_ES5.ts(7,16): error TS2378: A 'get' accessor must return computedPropertyNames3_ES5.ts(7,16): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames3_ES5.ts (8 errors) ==== var id; class C { diff --git a/tests/baselines/reference/computedPropertyNames40_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames40_ES5(target=es5).errors.txt index 666806b614e96..89f930a34e8cd 100644 --- a/tests/baselines/reference/computedPropertyNames40_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames40_ES5(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames40_ES5.ts(8,5): error TS2393: Duplicate function implementation. computedPropertyNames40_ES5.ts(8,5): error TS2411: Property '[""]' of type '() => Foo' is not assignable to 'string' index type '() => Foo2'. computedPropertyNames40_ES5.ts(9,5): error TS2393: Duplicate function implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames40_ES5.ts (3 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..44e0ef2ecd42c --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames41_ES5.ts (0 errors) ==== + class Foo { x } + class Foo2 { x; y } + + class C { + [s: string]: () => Foo2; + + // Computed properties + static [""]() { return new Foo } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).types index 06aabb404b656..5086af168c7cd 100644 --- a/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames41_ES5(target=es5).types @@ -5,12 +5,15 @@ class Foo { x } >Foo : Foo > : ^^^ >x : any +> : ^^^ class Foo2 { x; y } >Foo2 : Foo2 > : ^^^^ >x : any +> : ^^^ >y : any +> : ^^^ class C { >C : C diff --git a/tests/baselines/reference/computedPropertyNames42_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames42_ES5(target=es5).errors.txt index ef05ceac83034..0ace73ad4e4bb 100644 --- a/tests/baselines/reference/computedPropertyNames42_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames42_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames42_ES5.ts(8,5): error TS2411: Property '[""]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames42_ES5.ts (1 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames43_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames43_ES5(target=es5).errors.txt index 48a99cd358237..258be30739710 100644 --- a/tests/baselines/reference/computedPropertyNames43_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames43_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames43_ES5.ts(10,9): error TS2411: Property '["get1"]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames43_ES5.ts (1 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames44_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames44_ES5(target=es5).errors.txt index 3651df6f9a373..47a5a2582889f 100644 --- a/tests/baselines/reference/computedPropertyNames44_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames44_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames44_ES5.ts(6,9): error TS2411: Property '["get1"]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. computedPropertyNames44_ES5.ts(10,9): error TS2411: Property '["set1"]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames44_ES5.ts (2 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames45_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames45_ES5(target=es5).errors.txt index ca699225fe35f..c372e8913f2e2 100644 --- a/tests/baselines/reference/computedPropertyNames45_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames45_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames45_ES5.ts(10,5): error TS2411: Property '["get1"]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. computedPropertyNames45_ES5.ts(11,9): error TS2411: Property '["set1"]' of type 'Foo' is not assignable to 'string' index type 'Foo2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames45_ES5.ts (2 errors) ==== class Foo { x } class Foo2 { x; y } diff --git a/tests/baselines/reference/computedPropertyNames46_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames46_ES5(target=es5).errors.txt index 8b574a3610e6f..933915e45fed3 100644 --- a/tests/baselines/reference/computedPropertyNames46_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames46_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames46_ES5.ts(2,6): error TS2873: This kind of expression is always falsy. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames46_ES5.ts (1 errors) ==== var o = { ["" || 0]: 0 diff --git a/tests/baselines/reference/computedPropertyNames47_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames47_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..436f27f6fd42a --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames47_ES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames47_ES5.ts (0 errors) ==== + enum E1 { x } + enum E2 { x } + var o = { + [E1.x || E2.x]: 0 + }; \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames48_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames48_ES5(target=es5).errors.txt index 4cbb21c322842..d89c2067eeef1 100644 --- a/tests/baselines/reference/computedPropertyNames48_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames48_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames48_ES5.ts(16,6): error TS2873: This kind of expression is always falsy. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames48_ES5.ts (1 errors) ==== declare function extractIndexer(p: { [n: number]: T }): T; diff --git a/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..9d3fed09ce3ac --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames4_ES5.ts (0 errors) ==== + var s: string; + var n: number; + var a: any; + var v = { + [s]: 0, + [n]: n, + [s + s]: 1, + [s + n]: 2, + [+s]: s, + [""]: 0, + [0]: 0, + [a]: 1, + [true]: 0, + [`hello bye`]: 0, + [`hello ${a} bye`]: 0 + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).types index 809126b9fcb45..2728dfb0c33b2 100644 --- a/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNames4_ES5(target=es5).types @@ -11,6 +11,7 @@ var n: number; var a: any; >a : any +> : ^^^ var v = { >v : { [x: string]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; } @@ -88,6 +89,7 @@ var v = { >[a] : number > : ^^^^^^ >a : any +> : ^^^ >1 : 1 > : ^ @@ -95,6 +97,7 @@ var v = { >[true] : number > : ^^^^^^ >true : any +> : ^^^ >true : true > : ^^^^ >0 : 0 @@ -114,6 +117,7 @@ var v = { >`hello ${a} bye` : string > : ^^^^^^ >a : any +> : ^^^ >0 : 0 > : ^ } diff --git a/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt index 1e229b0db8f79..a5473e281bf3f 100644 --- a/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames52(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames52.js (0 errors) ==== const array = []; for (let i = 0; i < 10; ++i) { diff --git a/tests/baselines/reference/computedPropertyNames5_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames5_ES5(target=es5).errors.txt index ea3d175e86770..ac791bc2f9633 100644 --- a/tests/baselines/reference/computedPropertyNames5_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames5_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames5_ES5.ts(3,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames5_ES5.ts(4,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames5_ES5.ts(5,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. @@ -6,6 +7,7 @@ computedPropertyNames5_ES5.ts(7,5): error TS2464: A computed property name must computedPropertyNames5_ES5.ts(8,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames5_ES5.ts (6 errors) ==== declare var b: boolean; var v = { diff --git a/tests/baselines/reference/computedPropertyNames6_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames6_ES5(target=es5).errors.txt index 3cea957bee81d..1b0d8c20f3cbb 100644 --- a/tests/baselines/reference/computedPropertyNames6_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames6_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames6_ES5.ts(6,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. computedPropertyNames6_ES5.ts(7,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames6_ES5.ts (2 errors) ==== declare var p1: number | string; declare var p2: number | number[]; diff --git a/tests/baselines/reference/computedPropertyNames7_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames7_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..4342ea2e0477a --- /dev/null +++ b/tests/baselines/reference/computedPropertyNames7_ES5(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNames7_ES5.ts (0 errors) ==== + enum E { + member + } + var v = { + [E.member]: 0 + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNames8_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames8_ES5(target=es5).errors.txt index a0e2cb036051a..426bad9c4d12c 100644 --- a/tests/baselines/reference/computedPropertyNames8_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames8_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames8_ES5.ts(5,9): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames8_ES5.ts (1 errors) ==== function f() { var t!: T; diff --git a/tests/baselines/reference/computedPropertyNames9_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNames9_ES5(target=es5).errors.txt index e820861413655..8e997f5386293 100644 --- a/tests/baselines/reference/computedPropertyNames9_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNames9_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNames9_ES5.ts(9,5): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNames9_ES5.ts (1 errors) ==== function f(s: string): string; function f(n: number): number; diff --git a/tests/baselines/reference/computedPropertyNamesContextualType10_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType10_ES5(target=es5).errors.txt index 9ba99607f12f9..46838fcdceb15 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType10_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNamesContextualType10_ES5(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNamesContextualType10_ES5.ts(5,5): error TS2322: Type '{ [x: number]: string | number; }' is not assignable to type 'I'. 'number' index signatures are incompatible. Type 'string | number' is not assignable to type 'boolean'. Type 'string' is not assignable to type 'boolean'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNamesContextualType10_ES5.ts (1 errors) ==== interface I { [s: number]: boolean; diff --git a/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..1ee3b2a304b23 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType1_ES5.ts (0 errors) ==== + interface I { + [s: string]: (x: string) => number; + [s: number]: (x: any) => number; // Doesn't get hit + } + + var o: I = { + ["" + 0](y) { return y.length; }, + ["" + 1]: y => y.length + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).types index 8cc985710adb9..2d89ef430cda7 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNamesContextualType1_ES5(target=es5).types @@ -12,6 +12,7 @@ interface I { >s : number > : ^^^^^^ >x : any +> : ^^^ } var o: I = { diff --git a/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..e5a696e99691d --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType2_ES5.ts (0 errors) ==== + interface I { + [s: string]: (x: any) => number; // Doesn't get hit + [s: number]: (x: string) => number; + } + + var o: I = { + [+"foo"](y) { return y.length; }, + [+"bar"]: y => y.length + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).types index 9dcee1facb3ed..01b3045997788 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNamesContextualType2_ES5(target=es5).types @@ -6,6 +6,7 @@ interface I { >s : string > : ^^^^^^ >x : any +> : ^^^ [s: number]: (x: string) => number; >s : number diff --git a/tests/baselines/reference/computedPropertyNamesContextualType3_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType3_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..ba833f17d66d2 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType3_ES5(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType3_ES5.ts (0 errors) ==== + interface I { + [s: string]: (x: string) => number; + } + + var o: I = { + [+"foo"](y) { return y.length; }, + [+"bar"]: y => y.length + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType4_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType4_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..f72322ec1b1a9 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType4_ES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType4_ES5.ts (0 errors) ==== + interface I { + [s: string]: any; + [s: number]: any; + } + + var o: I = { + [""+"foo"]: "", + [""+"bar"]: 0 + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType5_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType5_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..98a4f31b12e81 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType5_ES5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType5_ES5.ts (0 errors) ==== + interface I { + [s: string]: any; + [s: number]: any; + } + + var o: I = { + [+"foo"]: "", + [+"bar"]: 0 + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType6_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType6_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..531c83a7c86b9 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType6_ES5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType6_ES5.ts (0 errors) ==== + interface I { + [s: string]: T; + } + + declare function foo(obj: I): T + + foo({ + p: "", + 0: () => { }, + ["hi" + "bye"]: true, + [0 + 1]: 0, + [+"hi"]: [0] + }); \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType7_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType7_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..84105ae1ab6a8 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesContextualType7_ES5(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesContextualType7_ES5.ts (0 errors) ==== + interface I { + [n: number]: T; + } + interface J { + [s: string]: T; + } + + declare function foo(obj: I): T; + declare function g(obj: J): T; + + foo({ + 0: () => { }, + ["hi" + "bye"]: true, + [0 + 1]: 0, + [+"hi"]: [0] + }); + + g({ p: "" }); + \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesContextualType8_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType8_ES5(target=es5).errors.txt index b6bab33df600f..ee6df00c49b16 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType8_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNamesContextualType8_ES5(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNamesContextualType8_ES5.ts(6,5): error TS2322: Type '{ [x: string]: string | number; }' is not assignable to type 'I'. 'string' index signatures are incompatible. Type 'string | number' is not assignable to type 'boolean'. Type 'string' is not assignable to type 'boolean'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNamesContextualType8_ES5.ts (1 errors) ==== interface I { [s: string]: boolean; diff --git a/tests/baselines/reference/computedPropertyNamesContextualType9_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesContextualType9_ES5(target=es5).errors.txt index bee561e2e2cd8..5446fdee504b8 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType9_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNamesContextualType9_ES5(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNamesContextualType9_ES5.ts(6,5): error TS2322: Type '{ [x: number]: string | number; }' is not assignable to type 'I'. 'number' and 'string' index signatures are incompatible. Type 'string | number' is not assignable to type 'boolean'. Type 'string' is not assignable to type 'boolean'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNamesContextualType9_ES5.ts (1 errors) ==== interface I { [s: string]: boolean; diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..76255f5e408b1 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesDeclarationEmit1_ES5.ts (0 errors) ==== + class C { + ["" + ""]() { } + get ["" + ""]() { return 0; } + set ["" + ""](x) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).types index fb1e92e98156e..c995134b9d23f 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5(target=es5).types @@ -29,6 +29,7 @@ class C { set ["" + ""](x) { } >["" + ""] : any +> : ^^^ >"" + "" : string > : ^^^^^^ >"" : "" @@ -36,4 +37,5 @@ class C { >"" : "" > : ^^ >x : any +> : ^^^ } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..a24d052a3baba --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesDeclarationEmit2_ES5.ts (0 errors) ==== + class C { + static ["" + ""]() { } + static get ["" + ""]() { return 0; } + static set ["" + ""](x) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).types index 21ef7eeb6f552..700401103388e 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5(target=es5).types @@ -29,6 +29,7 @@ class C { static set ["" + ""](x) { } >["" + ""] : any +> : ^^^ >"" + "" : string > : ^^^^^^ >"" : "" @@ -36,4 +37,5 @@ class C { >"" : "" > : ^^ >x : any +> : ^^^ } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5(target=es5).errors.txt index 6d1a0d5205556..9ad922d08d783 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNamesDeclarationEmit3_ES5.ts(2,5): error TS1169: A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNamesDeclarationEmit3_ES5.ts (1 errors) ==== interface I { ["" + ""](): void; diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5(target=es5).errors.txt index 340c951c4ba22..e8774a6d66261 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNamesDeclarationEmit4_ES5.ts(2,5): error TS1170: A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNamesDeclarationEmit4_ES5.ts (1 errors) ==== var v: { ["" + ""](): void; diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..f62a2746eae11 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesDeclarationEmit5_ES5.ts (0 errors) ==== + var v = { + ["" + ""]: 0, + ["" + ""]() { }, + get ["" + ""]() { return 0; }, + set ["" + ""](x) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).types b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).types index 90710630222ef..95d7407b7bff8 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).types +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5(target=es5).types @@ -43,6 +43,7 @@ var v = { set ["" + ""](x) { } >["" + ""] : any +> : ^^^ >"" + "" : string > : ^^^^^^ >"" : "" @@ -50,4 +51,5 @@ var v = { >"" : "" > : ^^ >x : any +> : ^^^ } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5(target=es5).errors.txt index 1abf280f1b818..b4f877cd62c5f 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. computedPropertyNamesDeclarationEmit6_ES5.ts(5,3): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== computedPropertyNamesDeclarationEmit6_ES5.ts (1 errors) ==== var v = { [-1]: {}, diff --git a/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..72fb87b5e56ab --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesOnOverloads_ES5.ts (0 errors) ==== + var methodName = "method"; + var accessorName = "accessor"; + class C { + [methodName](v: string); + [methodName](); + [methodName](v?: string) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..e8dd822ec7e3a --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesSourceMap1_ES5.ts (0 errors) ==== + class C { + ["hello"]() { + debugger; + } + get ["goodbye"]() { + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5(target=es5).errors.txt b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..09d8b1b5a1fd0 --- /dev/null +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computedPropertyNamesSourceMap2_ES5.ts (0 errors) ==== + var v = { + ["hello"]() { + debugger; + }, + get ["goodbye"]() { + return 0; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).errors.txt b/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).errors.txt new file mode 100644 index 0000000000000..3454d526e0af5 --- /dev/null +++ b/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== computerPropertiesInES5ShouldBeTransformed.ts (0 errors) ==== + const b = ({ [`key`]: renamed }) => renamed; \ No newline at end of file diff --git a/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).types b/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).types index 6f14599491ebf..9937115f9bf6f 100644 --- a/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).types +++ b/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed(target=es5).types @@ -11,4 +11,5 @@ const b = ({ [`key`]: renamed }) => renamed; >renamed : any > : ^^^ >renamed : any +> : ^^^ diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js index 6c8e2c7f578eb..843d50eee9035 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js @@ -7,4 +7,4 @@ FileNames:: 0.ts Errors:: error TS6044: Compiler option 'target' expects an argument. -error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. +error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js index b6a032226b147..a240700e9903f 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js @@ -23,5 +23,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. +error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js index 84a12546e9ba4..2f09a917176f5 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js @@ -23,7 +23,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. +tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. 3 "target": "",    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js index 5f7b31f5d8a6d..0a0c455515810 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js @@ -47,7 +47,7 @@ Errors::   ~~~  19 }   ~ -tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. +tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext'. 3 "target": "<%- options.useTsWithBabel ? 'esnext' : 'es5' %>",    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/constDeclarations-es5(target=es5).errors.txt b/tests/baselines/reference/constDeclarations-es5(target=es5).errors.txt new file mode 100644 index 0000000000000..e052a07471a10 --- /dev/null +++ b/tests/baselines/reference/constDeclarations-es5(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== constDeclarations-es5.ts (0 errors) ==== + const z7 = false; + const z8: number = 23; + const z9 = 0, z10 :string = "", z11 = null; + \ No newline at end of file diff --git a/tests/baselines/reference/constDeclarations-es5(target=es5).types b/tests/baselines/reference/constDeclarations-es5(target=es5).types index cb068af0ec587..503363696a2f1 100644 --- a/tests/baselines/reference/constDeclarations-es5(target=es5).types +++ b/tests/baselines/reference/constDeclarations-es5(target=es5).types @@ -23,4 +23,5 @@ const z9 = 0, z10 :string = "", z11 = null; >"" : "" > : ^^ >z11 : any +> : ^^^ diff --git a/tests/baselines/reference/constructorWithSuperAndPrologue.es5(target=es5).errors.txt b/tests/baselines/reference/constructorWithSuperAndPrologue.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..5d8d96934635e --- /dev/null +++ b/tests/baselines/reference/constructorWithSuperAndPrologue.es5(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== constructorWithSuperAndPrologue.es5.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/48761 + "use strict"; + + class A { + public constructor() { + console.log("A") + } + } + + class B extends A { + constructor() { + "ngInject"; + console.log("B") + super(); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).errors.txt b/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).errors.txt new file mode 100644 index 0000000000000..9585fd552203e --- /dev/null +++ b/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).errors.txt @@ -0,0 +1,27 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== contextualExpressionTypecheckingDoesntBlowStack.ts (0 errors) ==== + // repro for: https://github.com/Microsoft/TypeScript/issues/23661 + export interface IValidationError { + message: string; + } + + export default class Operation { + validateParameters(parameterValues: any) : IValidationError[] | null { + let result: IValidationError[] | null = null; + for(const parameterLocation of Object.keys(parameterValues)) { + const parameter: any = (this as any).getParameter();; + const values = (this as any).getValues(); + + const innerResult = parameter.validate(values[parameter.oaParameter.name]); + if(innerResult && innerResult.length > 0) { + // Commenting out this line will fix the problem. + result = (result || []).concat(innerResult); + } + } + + return result; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).types b/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).types index f9a158fc781e3..1e275f4566c02 100644 --- a/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).types +++ b/tests/baselines/reference/contextualExpressionTypecheckingDoesntBlowStack(target=es5).types @@ -16,6 +16,7 @@ export default class Operation { >validateParameters : (parameterValues: any) => IValidationError[] | null > : ^ ^^ ^^^^^ >parameterValues : any +> : ^^^ let result: IValidationError[] | null = null; >result : IValidationError[] | null @@ -33,14 +34,19 @@ export default class Operation { >keys : { (o: object): string[]; (o: {}): string[]; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >parameterValues : any +> : ^^^ const parameter: any = (this as any).getParameter();; >parameter : any +> : ^^^ >(this as any).getParameter() : any +> : ^^^ >(this as any).getParameter : any +> : ^^^ >(this as any) : any > : ^^^ >this as any : any +> : ^^^ >this : this > : ^^^^ >getParameter : any @@ -48,11 +54,15 @@ export default class Operation { const values = (this as any).getValues(); >values : any +> : ^^^ >(this as any).getValues() : any +> : ^^^ >(this as any).getValues : any +> : ^^^ >(this as any) : any > : ^^^ >this as any : any +> : ^^^ >this : this > : ^^^^ >getValues : any @@ -60,15 +70,21 @@ export default class Operation { const innerResult = parameter.validate(values[parameter.oaParameter.name]); >innerResult : any +> : ^^^ >parameter.validate(values[parameter.oaParameter.name]) : any +> : ^^^ >parameter.validate : any +> : ^^^ >parameter : any > : ^^^ >validate : any > : ^^^ >values[parameter.oaParameter.name] : any +> : ^^^ >values : any +> : ^^^ >parameter.oaParameter.name : any +> : ^^^ >parameter.oaParameter : any > : ^^^ >parameter : any @@ -80,10 +96,13 @@ export default class Operation { if(innerResult && innerResult.length > 0) { >innerResult && innerResult.length > 0 : any +> : ^^^ >innerResult : any +> : ^^^ >innerResult.length > 0 : boolean > : ^^^^^^^ >innerResult.length : any +> : ^^^ >innerResult : any > : ^^^ >length : any @@ -112,6 +131,7 @@ export default class Operation { >concat : { (...items: ConcatArray[]): IValidationError[]; (...items: (IValidationError | ConcatArray)[]): IValidationError[]; } > : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >innerResult : any +> : ^^^ } } diff --git a/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1(target=es5).errors.txt b/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1(target=es5).errors.txt new file mode 100644 index 0000000000000..1b2eea4c8dca8 --- /dev/null +++ b/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== continueInLoopsWithCapturedBlockScopedBindings1.ts (0 errors) ==== + function foo() { + for (const i of [0, 1]) { + if (i === 0) { + continue; + } + + // Trigger non-simple-loop emit + (() => { + return i; + })(); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).errors.txt b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).errors.txt new file mode 100644 index 0000000000000..560e69333e6e4 --- /dev/null +++ b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).errors.txt @@ -0,0 +1,245 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== convertClassExpressionToFunctionFromObjectProperty1.ts (0 errors) ==== + const foo: any = {}; + + // properties + foo.x = class { + constructor () {} + } + foo.y = class { + constructor () {} + } + + // keywords + foo.break = class { + constructor () {} + } + foo.case = class { + constructor () {} + } + foo.catch = class { + constructor () {} + } + foo.class = class { + constructor () {} + } + foo.const = class { + constructor () {} + } + foo.continue = class { + constructor () {} + } + foo.debugger = class { + constructor () {} + } + foo.default = class { + constructor () {} + } + foo.delete = class { + constructor () {} + } + foo.do = class { + constructor () {} + } + foo.else = class { + constructor () {} + } + foo.enum = class { + constructor () {} + } + foo.export = class { + constructor () {} + } + foo.extends = class { + constructor () {} + } + foo.false = class { + constructor () {} + } + foo.finally = class { + constructor () {} + } + foo.for = class { + constructor () {} + } + foo.function = class { + constructor () {} + } + foo.if = class { + constructor () {} + } + foo.import = class { + constructor () {} + } + foo.in = class { + constructor () {} + } + foo.instanceof = class { + constructor () {} + } + foo.new = class { + constructor () {} + } + foo.null = class { + constructor () {} + } + foo.return = class { + constructor () {} + } + foo.super = class { + constructor () {} + } + foo.switch = class { + constructor () {} + } + foo.this = class { + constructor () {} + } + foo.throw = class { + constructor () {} + } + foo.true = class { + constructor () {} + } + foo.try = class { + constructor () {} + } + foo.typeof = class { + constructor () {} + } + foo.var = class { + constructor () {} + } + foo.void = class { + constructor () {} + } + foo.while = class { + constructor () {} + } + foo.with = class { + constructor () {} + } + foo.implements = class { + constructor () {} + } + foo.interface = class { + constructor () {} + } + foo.let = class { + constructor () {} + } + foo.package = class { + constructor () {} + } + foo.private = class { + constructor () {} + } + foo.protected = class { + constructor () {} + } + foo.public = class { + constructor () {} + } + foo.static = class { + constructor () {} + } + foo.yield = class { + constructor () {} + } + foo.abstract = class { + constructor () {} + } + foo.as = class { + constructor () {} + } + foo.asserts = class { + constructor () {} + } + foo.any = class { + constructor () {} + } + foo.async = class { + constructor () {} + } + foo.await = class { + constructor () {} + } + foo.boolean = class { + constructor () {} + } + foo.constructor = class { + constructor () {} + } + foo.declare = class { + constructor () {} + } + foo.get = class { + constructor () {} + } + foo.infer = class { + constructor () {} + } + foo.is = class { + constructor () {} + } + foo.keyof = class { + constructor () {} + } + foo.module = class { + constructor () {} + } + foo.namespace = class { + constructor () {} + } + foo.never = class { + constructor () {} + } + foo.readonly = class { + constructor () {} + } + foo.require = class { + constructor () {} + } + foo.number = class { + constructor () {} + } + foo.object = class { + constructor () {} + } + foo.set = class { + constructor () {} + } + foo.string = class { + constructor () {} + } + foo.symbol = class { + constructor () {} + } + foo.type = class { + constructor () {} + } + foo.undefined = class { + constructor () {} + } + foo.unique = class { + constructor () {} + } + foo.unknown = class { + constructor () {} + } + foo.from = class { + constructor () {} + } + foo.global = class { + constructor () {} + } + foo.bigint = class { + constructor () {} + } + foo.of = class { + constructor () {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).types b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).types index 808da6a78a79c..3132a987a6e35 100644 --- a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).types +++ b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1(target=es5).types @@ -3,6 +3,7 @@ === convertClassExpressionToFunctionFromObjectProperty1.ts === const foo: any = {}; >foo : any +> : ^^^ >{} : {} > : ^^ @@ -11,6 +12,7 @@ foo.x = class { >foo.x = class { constructor () {}} : typeof x > : ^^^^^^^^ >foo.x : any +> : ^^^ >foo : any > : ^^^ >x : any @@ -24,6 +26,7 @@ foo.y = class { >foo.y = class { constructor () {}} : typeof y > : ^^^^^^^^ >foo.y : any +> : ^^^ >foo : any > : ^^^ >y : any @@ -39,6 +42,7 @@ foo.break = class { >foo.break = class { constructor () {}} : typeof break > : ^^^^^^^^^^^^ >foo.break : any +> : ^^^ >foo : any > : ^^^ >break : any @@ -52,6 +56,7 @@ foo.case = class { >foo.case = class { constructor () {}} : typeof case > : ^^^^^^^^^^^ >foo.case : any +> : ^^^ >foo : any > : ^^^ >case : any @@ -65,6 +70,7 @@ foo.catch = class { >foo.catch = class { constructor () {}} : typeof catch > : ^^^^^^^^^^^^ >foo.catch : any +> : ^^^ >foo : any > : ^^^ >catch : any @@ -78,6 +84,7 @@ foo.class = class { >foo.class = class { constructor () {}} : typeof class > : ^^^^^^^^^^^^ >foo.class : any +> : ^^^ >foo : any > : ^^^ >class : any @@ -91,6 +98,7 @@ foo.const = class { >foo.const = class { constructor () {}} : typeof const > : ^^^^^^^^^^^^ >foo.const : any +> : ^^^ >foo : any > : ^^^ >const : any @@ -104,6 +112,7 @@ foo.continue = class { >foo.continue = class { constructor () {}} : typeof continue > : ^^^^^^^^^^^^^^^ >foo.continue : any +> : ^^^ >foo : any > : ^^^ >continue : any @@ -117,6 +126,7 @@ foo.debugger = class { >foo.debugger = class { constructor () {}} : typeof debugger > : ^^^^^^^^^^^^^^^ >foo.debugger : any +> : ^^^ >foo : any > : ^^^ >debugger : any @@ -130,6 +140,7 @@ foo.default = class { >foo.default = class { constructor () {}} : typeof default > : ^^^^^^^^^^^^^^ >foo.default : any +> : ^^^ >foo : any > : ^^^ >default : any @@ -143,6 +154,7 @@ foo.delete = class { >foo.delete = class { constructor () {}} : typeof delete > : ^^^^^^^^^^^^^ >foo.delete : any +> : ^^^ >foo : any > : ^^^ >delete : any @@ -156,6 +168,7 @@ foo.do = class { >foo.do = class { constructor () {}} : typeof do > : ^^^^^^^^^ >foo.do : any +> : ^^^ >foo : any > : ^^^ >do : any @@ -169,6 +182,7 @@ foo.else = class { >foo.else = class { constructor () {}} : typeof else > : ^^^^^^^^^^^ >foo.else : any +> : ^^^ >foo : any > : ^^^ >else : any @@ -182,6 +196,7 @@ foo.enum = class { >foo.enum = class { constructor () {}} : typeof enum > : ^^^^^^^^^^^ >foo.enum : any +> : ^^^ >foo : any > : ^^^ >enum : any @@ -195,6 +210,7 @@ foo.export = class { >foo.export = class { constructor () {}} : typeof export > : ^^^^^^^^^^^^^ >foo.export : any +> : ^^^ >foo : any > : ^^^ >export : any @@ -208,6 +224,7 @@ foo.extends = class { >foo.extends = class { constructor () {}} : typeof extends > : ^^^^^^^^^^^^^^ >foo.extends : any +> : ^^^ >foo : any > : ^^^ >extends : any @@ -221,6 +238,7 @@ foo.false = class { >foo.false = class { constructor () {}} : typeof false > : ^^^^^^^^^^^^ >foo.false : any +> : ^^^ >foo : any > : ^^^ >false : any @@ -234,6 +252,7 @@ foo.finally = class { >foo.finally = class { constructor () {}} : typeof finally > : ^^^^^^^^^^^^^^ >foo.finally : any +> : ^^^ >foo : any > : ^^^ >finally : any @@ -247,6 +266,7 @@ foo.for = class { >foo.for = class { constructor () {}} : typeof for > : ^^^^^^^^^^ >foo.for : any +> : ^^^ >foo : any > : ^^^ >for : any @@ -260,6 +280,7 @@ foo.function = class { >foo.function = class { constructor () {}} : typeof function > : ^^^^^^^^^^^^^^^ >foo.function : any +> : ^^^ >foo : any > : ^^^ >function : any @@ -273,6 +294,7 @@ foo.if = class { >foo.if = class { constructor () {}} : typeof if > : ^^^^^^^^^ >foo.if : any +> : ^^^ >foo : any > : ^^^ >if : any @@ -286,6 +308,7 @@ foo.import = class { >foo.import = class { constructor () {}} : typeof import > : ^^^^^^^^^^^^^ >foo.import : any +> : ^^^ >foo : any > : ^^^ >import : any @@ -299,6 +322,7 @@ foo.in = class { >foo.in = class { constructor () {}} : typeof in > : ^^^^^^^^^ >foo.in : any +> : ^^^ >foo : any > : ^^^ >in : any @@ -312,6 +336,7 @@ foo.instanceof = class { >foo.instanceof = class { constructor () {}} : typeof instanceof > : ^^^^^^^^^^^^^^^^^ >foo.instanceof : any +> : ^^^ >foo : any > : ^^^ >instanceof : any @@ -325,6 +350,7 @@ foo.new = class { >foo.new = class { constructor () {}} : typeof new > : ^^^^^^^^^^ >foo.new : any +> : ^^^ >foo : any > : ^^^ >new : any @@ -338,6 +364,7 @@ foo.null = class { >foo.null = class { constructor () {}} : typeof null > : ^^^^^^^^^^^ >foo.null : any +> : ^^^ >foo : any > : ^^^ >null : any @@ -351,6 +378,7 @@ foo.return = class { >foo.return = class { constructor () {}} : typeof return > : ^^^^^^^^^^^^^ >foo.return : any +> : ^^^ >foo : any > : ^^^ >return : any @@ -364,6 +392,7 @@ foo.super = class { >foo.super = class { constructor () {}} : typeof super > : ^^^^^^^^^^^^ >foo.super : any +> : ^^^ >foo : any > : ^^^ >super : any @@ -377,6 +406,7 @@ foo.switch = class { >foo.switch = class { constructor () {}} : typeof switch > : ^^^^^^^^^^^^^ >foo.switch : any +> : ^^^ >foo : any > : ^^^ >switch : any @@ -390,6 +420,7 @@ foo.this = class { >foo.this = class { constructor () {}} : typeof this > : ^^^^^^^^^^^ >foo.this : any +> : ^^^ >foo : any > : ^^^ >this : any @@ -403,6 +434,7 @@ foo.throw = class { >foo.throw = class { constructor () {}} : typeof throw > : ^^^^^^^^^^^^ >foo.throw : any +> : ^^^ >foo : any > : ^^^ >throw : any @@ -416,6 +448,7 @@ foo.true = class { >foo.true = class { constructor () {}} : typeof true > : ^^^^^^^^^^^ >foo.true : any +> : ^^^ >foo : any > : ^^^ >true : any @@ -429,6 +462,7 @@ foo.try = class { >foo.try = class { constructor () {}} : typeof try > : ^^^^^^^^^^ >foo.try : any +> : ^^^ >foo : any > : ^^^ >try : any @@ -442,6 +476,7 @@ foo.typeof = class { >foo.typeof = class { constructor () {}} : typeof typeof > : ^^^^^^^^^^^^^ >foo.typeof : any +> : ^^^ >foo : any > : ^^^ >typeof : any @@ -455,6 +490,7 @@ foo.var = class { >foo.var = class { constructor () {}} : typeof var > : ^^^^^^^^^^ >foo.var : any +> : ^^^ >foo : any > : ^^^ >var : any @@ -468,6 +504,7 @@ foo.void = class { >foo.void = class { constructor () {}} : typeof void > : ^^^^^^^^^^^ >foo.void : any +> : ^^^ >foo : any > : ^^^ >void : any @@ -481,6 +518,7 @@ foo.while = class { >foo.while = class { constructor () {}} : typeof while > : ^^^^^^^^^^^^ >foo.while : any +> : ^^^ >foo : any > : ^^^ >while : any @@ -494,6 +532,7 @@ foo.with = class { >foo.with = class { constructor () {}} : typeof with > : ^^^^^^^^^^^ >foo.with : any +> : ^^^ >foo : any > : ^^^ >with : any @@ -507,6 +546,7 @@ foo.implements = class { >foo.implements = class { constructor () {}} : typeof implements > : ^^^^^^^^^^^^^^^^^ >foo.implements : any +> : ^^^ >foo : any > : ^^^ >implements : any @@ -520,6 +560,7 @@ foo.interface = class { >foo.interface = class { constructor () {}} : typeof interface > : ^^^^^^^^^^^^^^^^ >foo.interface : any +> : ^^^ >foo : any > : ^^^ >interface : any @@ -533,6 +574,7 @@ foo.let = class { >foo.let = class { constructor () {}} : typeof let > : ^^^^^^^^^^ >foo.let : any +> : ^^^ >foo : any > : ^^^ >let : any @@ -546,6 +588,7 @@ foo.package = class { >foo.package = class { constructor () {}} : typeof package > : ^^^^^^^^^^^^^^ >foo.package : any +> : ^^^ >foo : any > : ^^^ >package : any @@ -559,6 +602,7 @@ foo.private = class { >foo.private = class { constructor () {}} : typeof private > : ^^^^^^^^^^^^^^ >foo.private : any +> : ^^^ >foo : any > : ^^^ >private : any @@ -572,6 +616,7 @@ foo.protected = class { >foo.protected = class { constructor () {}} : typeof protected > : ^^^^^^^^^^^^^^^^ >foo.protected : any +> : ^^^ >foo : any > : ^^^ >protected : any @@ -585,6 +630,7 @@ foo.public = class { >foo.public = class { constructor () {}} : typeof public > : ^^^^^^^^^^^^^ >foo.public : any +> : ^^^ >foo : any > : ^^^ >public : any @@ -598,6 +644,7 @@ foo.static = class { >foo.static = class { constructor () {}} : typeof static > : ^^^^^^^^^^^^^ >foo.static : any +> : ^^^ >foo : any > : ^^^ >static : any @@ -611,6 +658,7 @@ foo.yield = class { >foo.yield = class { constructor () {}} : typeof yield > : ^^^^^^^^^^^^ >foo.yield : any +> : ^^^ >foo : any > : ^^^ >yield : any @@ -624,6 +672,7 @@ foo.abstract = class { >foo.abstract = class { constructor () {}} : typeof abstract > : ^^^^^^^^^^^^^^^ >foo.abstract : any +> : ^^^ >foo : any > : ^^^ >abstract : any @@ -637,6 +686,7 @@ foo.as = class { >foo.as = class { constructor () {}} : typeof as > : ^^^^^^^^^ >foo.as : any +> : ^^^ >foo : any > : ^^^ >as : any @@ -650,6 +700,7 @@ foo.asserts = class { >foo.asserts = class { constructor () {}} : typeof asserts > : ^^^^^^^^^^^^^^ >foo.asserts : any +> : ^^^ >foo : any > : ^^^ >asserts : any @@ -663,6 +714,7 @@ foo.any = class { >foo.any = class { constructor () {}} : typeof any > : ^^^^^^^^^^ >foo.any : any +> : ^^^ >foo : any > : ^^^ >any : any @@ -676,6 +728,7 @@ foo.async = class { >foo.async = class { constructor () {}} : typeof async > : ^^^^^^^^^^^^ >foo.async : any +> : ^^^ >foo : any > : ^^^ >async : any @@ -689,6 +742,7 @@ foo.await = class { >foo.await = class { constructor () {}} : typeof await > : ^^^^^^^^^^^^ >foo.await : any +> : ^^^ >foo : any > : ^^^ >await : any @@ -702,6 +756,7 @@ foo.boolean = class { >foo.boolean = class { constructor () {}} : typeof boolean > : ^^^^^^^^^^^^^^ >foo.boolean : any +> : ^^^ >foo : any > : ^^^ >boolean : any @@ -715,6 +770,7 @@ foo.constructor = class { >foo.constructor = class { constructor () {}} : typeof constructor > : ^^^^^^^^^^^^^^^^^^ >foo.constructor : any +> : ^^^ >foo : any > : ^^^ >constructor : any @@ -728,6 +784,7 @@ foo.declare = class { >foo.declare = class { constructor () {}} : typeof declare > : ^^^^^^^^^^^^^^ >foo.declare : any +> : ^^^ >foo : any > : ^^^ >declare : any @@ -741,6 +798,7 @@ foo.get = class { >foo.get = class { constructor () {}} : typeof get > : ^^^^^^^^^^ >foo.get : any +> : ^^^ >foo : any > : ^^^ >get : any @@ -754,6 +812,7 @@ foo.infer = class { >foo.infer = class { constructor () {}} : typeof infer > : ^^^^^^^^^^^^ >foo.infer : any +> : ^^^ >foo : any > : ^^^ >infer : any @@ -767,6 +826,7 @@ foo.is = class { >foo.is = class { constructor () {}} : typeof is > : ^^^^^^^^^ >foo.is : any +> : ^^^ >foo : any > : ^^^ >is : any @@ -780,6 +840,7 @@ foo.keyof = class { >foo.keyof = class { constructor () {}} : typeof keyof > : ^^^^^^^^^^^^ >foo.keyof : any +> : ^^^ >foo : any > : ^^^ >keyof : any @@ -793,6 +854,7 @@ foo.module = class { >foo.module = class { constructor () {}} : typeof module > : ^^^^^^^^^^^^^ >foo.module : any +> : ^^^ >foo : any > : ^^^ >module : any @@ -806,6 +868,7 @@ foo.namespace = class { >foo.namespace = class { constructor () {}} : typeof namespace > : ^^^^^^^^^^^^^^^^ >foo.namespace : any +> : ^^^ >foo : any > : ^^^ >namespace : any @@ -819,6 +882,7 @@ foo.never = class { >foo.never = class { constructor () {}} : typeof never > : ^^^^^^^^^^^^ >foo.never : any +> : ^^^ >foo : any > : ^^^ >never : any @@ -832,6 +896,7 @@ foo.readonly = class { >foo.readonly = class { constructor () {}} : typeof readonly > : ^^^^^^^^^^^^^^^ >foo.readonly : any +> : ^^^ >foo : any > : ^^^ >readonly : any @@ -845,6 +910,7 @@ foo.require = class { >foo.require = class { constructor () {}} : typeof require > : ^^^^^^^^^^^^^^ >foo.require : any +> : ^^^ >foo : any > : ^^^ >require : any @@ -858,6 +924,7 @@ foo.number = class { >foo.number = class { constructor () {}} : typeof number > : ^^^^^^^^^^^^^ >foo.number : any +> : ^^^ >foo : any > : ^^^ >number : any @@ -871,6 +938,7 @@ foo.object = class { >foo.object = class { constructor () {}} : typeof object > : ^^^^^^^^^^^^^ >foo.object : any +> : ^^^ >foo : any > : ^^^ >object : any @@ -884,6 +952,7 @@ foo.set = class { >foo.set = class { constructor () {}} : typeof set > : ^^^^^^^^^^ >foo.set : any +> : ^^^ >foo : any > : ^^^ >set : any @@ -897,6 +966,7 @@ foo.string = class { >foo.string = class { constructor () {}} : typeof string > : ^^^^^^^^^^^^^ >foo.string : any +> : ^^^ >foo : any > : ^^^ >string : any @@ -910,6 +980,7 @@ foo.symbol = class { >foo.symbol = class { constructor () {}} : typeof symbol > : ^^^^^^^^^^^^^ >foo.symbol : any +> : ^^^ >foo : any > : ^^^ >symbol : any @@ -923,6 +994,7 @@ foo.type = class { >foo.type = class { constructor () {}} : typeof type > : ^^^^^^^^^^^ >foo.type : any +> : ^^^ >foo : any > : ^^^ >type : any @@ -936,6 +1008,7 @@ foo.undefined = class { >foo.undefined = class { constructor () {}} : typeof undefined > : ^^^^^^^^^^^^^^^^ >foo.undefined : any +> : ^^^ >foo : any > : ^^^ >undefined : any @@ -949,6 +1022,7 @@ foo.unique = class { >foo.unique = class { constructor () {}} : typeof unique > : ^^^^^^^^^^^^^ >foo.unique : any +> : ^^^ >foo : any > : ^^^ >unique : any @@ -962,6 +1036,7 @@ foo.unknown = class { >foo.unknown = class { constructor () {}} : typeof unknown > : ^^^^^^^^^^^^^^ >foo.unknown : any +> : ^^^ >foo : any > : ^^^ >unknown : any @@ -975,6 +1050,7 @@ foo.from = class { >foo.from = class { constructor () {}} : typeof from > : ^^^^^^^^^^^ >foo.from : any +> : ^^^ >foo : any > : ^^^ >from : any @@ -988,6 +1064,7 @@ foo.global = class { >foo.global = class { constructor () {}} : typeof global > : ^^^^^^^^^^^^^ >foo.global : any +> : ^^^ >foo : any > : ^^^ >global : any @@ -1001,6 +1078,7 @@ foo.bigint = class { >foo.bigint = class { constructor () {}} : typeof bigint > : ^^^^^^^^^^^^^ >foo.bigint : any +> : ^^^ >foo : any > : ^^^ >bigint : any @@ -1014,6 +1092,7 @@ foo.of = class { >foo.of = class { constructor () {}} : typeof of > : ^^^^^^^^^ >foo.of : any +> : ^^^ >foo : any > : ^^^ >of : any diff --git a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2(target=es5).errors.txt b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2(target=es5).errors.txt new file mode 100644 index 0000000000000..2e3ca25739d64 --- /dev/null +++ b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2(target=es5).errors.txt @@ -0,0 +1,244 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== convertClassExpressionToFunctionFromObjectProperty2.ts (0 errors) ==== + ({ + x: class { + constructor() { } + }, + y: class { + constructor() { } + }, + + // keywords + break: class { + constructor() { } + }, + case: class { + constructor() { } + }, + catch: class { + constructor() { } + }, + class: class { + constructor() { } + }, + const: class { + constructor() { } + }, + continue: class { + constructor() { } + }, + debugger: class { + constructor() { } + }, + default: class { + constructor() { } + }, + delete: class { + constructor() { } + }, + do: class { + constructor() { } + }, + else: class { + constructor() { } + }, + enum: class { + constructor() { } + }, + export: class { + constructor() { } + }, + extends: class { + constructor() { } + }, + false: class { + constructor() { } + }, + finally: class { + constructor() { } + }, + for: class { + constructor() { } + }, + function: class { + constructor() { } + }, + if: class { + constructor() { } + }, + import: class { + constructor() { } + }, + in: class { + constructor() { } + }, + instanceof: class { + constructor() { } + }, + new: class { + constructor() { } + }, + null: class { + constructor() { } + }, + return: class { + constructor() { } + }, + super: class { + constructor() { } + }, + switch: class { + constructor() { } + }, + this: class { + constructor() { } + }, + throw: class { + constructor() { } + }, + true: class { + constructor() { } + }, + try: class { + constructor() { } + }, + typeof: class { + constructor() { } + }, + var: class { + constructor() { } + }, + void: class { + constructor() { } + }, + while: class { + constructor() { } + }, + with: class { + constructor() { } + }, + implements: class { + constructor() { } + }, + interface: class { + constructor() { } + }, + let: class { + constructor() { } + }, + package: class { + constructor() { } + }, + private: class { + constructor() { } + }, + protected: class { + constructor() { } + }, + public: class { + constructor() { } + }, + static: class { + constructor() { } + }, + yield: class { + constructor() { } + }, + abstract: class { + constructor() { } + }, + as: class { + constructor() { } + }, + asserts: class { + constructor() { } + }, + any: class { + constructor() { } + }, + async: class { + constructor() { } + }, + await: class { + constructor() { } + }, + boolean: class { + constructor() { } + }, + constructor: class { + constructor() { } + }, + declare: class { + constructor() { } + }, + get: class { + constructor() { } + }, + infer: class { + constructor() { } + }, + is: class { + constructor() { } + }, + keyof: class { + constructor() { } + }, + module: class { + constructor() { } + }, + namespace: class { + constructor() { } + }, + never: class { + constructor() { } + }, + readonly: class { + constructor() { } + }, + require: class { + constructor() { } + }, + number: class { + constructor() { } + }, + object: class { + constructor() { } + }, + set: class { + constructor() { } + }, + string: class { + constructor() { } + }, + symbol: class { + constructor() { } + }, + type: class { + constructor() { } + }, + undefined: class { + constructor() { } + }, + unique: class { + constructor() { } + }, + unknown: class { + constructor() { } + }, + from: class { + constructor() { } + }, + global: class { + constructor() { } + }, + bigint: class { + constructor() { } + }, + of: class { + constructor() { } + } + }) + \ No newline at end of file diff --git a/tests/baselines/reference/declFileAccessors(target=es5).errors.txt b/tests/baselines/reference/declFileAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..620638ee26104 --- /dev/null +++ b/tests/baselines/reference/declFileAccessors(target=es5).errors.txt @@ -0,0 +1,103 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileAccessors_0.ts (0 errors) ==== + /** This is comment for c1*/ + export class c1 { + /** getter property*/ + public get p3() { + return 10; + } + /** setter property*/ + public set p3(/** this is value*/value: number) { + } + /** private getter property*/ + private get pp3() { + return 10; + } + /** private setter property*/ + private set pp3(/** this is value*/value: number) { + } + /** static getter property*/ + static get s3() { + return 10; + } + /** setter property*/ + static set s3( /** this is value*/value: number) { + } + public get nc_p3() { + return 10; + } + public set nc_p3(value: number) { + } + private get nc_pp3() { + return 10; + } + private set nc_pp3(value: number) { + } + static get nc_s3() { + return ""; + } + static set nc_s3(value: string) { + } + + // Only getter property + public get onlyGetter() { + return 10; + } + + // Only setter property + public set onlySetter(value: number) { + } + } + +==== declFileAccessors_1.ts (0 errors) ==== + /** This is comment for c2 - the global class*/ + class c2 { + /** getter property*/ + public get p3() { + return 10; + } + /** setter property*/ + public set p3(/** this is value*/value: number) { + } + /** private getter property*/ + private get pp3() { + return 10; + } + /** private setter property*/ + private set pp3(/** this is value*/value: number) { + } + /** static getter property*/ + static get s3() { + return 10; + } + /** setter property*/ + static set s3( /** this is value*/value: number) { + } + public get nc_p3() { + return 10; + } + public set nc_p3(value: number) { + } + private get nc_pp3() { + return 10; + } + private set nc_pp3(value: number) { + } + static get nc_s3() { + return ""; + } + static set nc_s3(value: string) { + } + + // Only getter property + public get onlyGetter() { + return 10; + } + + // Only setter property + public set onlySetter(value: number) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileCallSignatures(target=es5).errors.txt b/tests/baselines/reference/declFileCallSignatures(target=es5).errors.txt new file mode 100644 index 0000000000000..25f3bded4342d --- /dev/null +++ b/tests/baselines/reference/declFileCallSignatures(target=es5).errors.txt @@ -0,0 +1,67 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileCallSignatures_0.ts (0 errors) ==== + export interface ICallSignature { + /** This comment should appear for foo*/ + (): string; + } + + export interface ICallSignatureWithParameters { + /** This is comment for function signature*/ + (/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number): void; + } + + export interface ICallSignatureWithRestParameters { + (a: string, ...rests: string[]): string; + } + + export interface ICallSignatureWithOverloads { + (a: string): string; + (a: number): number; + } + + export interface ICallSignatureWithTypeParameters { + /** This comment should appear for foo*/ + (a: T): string; + } + + export interface ICallSignatureWithOwnTypeParametes { + (a: T): string; + } + +==== declFileCallSignatures_1.ts (0 errors) ==== + interface IGlobalCallSignature { + /** This comment should appear for foo*/ + (): string; + } + + interface IGlobalCallSignatureWithParameters { + /** This is comment for function signature*/ + (/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number): void; + } + + interface IGlobalCallSignatureWithRestParameters { + + (a: string, ...rests: string[]): string; + + } + + interface IGlobalCallSignatureWithOverloads { + (a: string): string; + (a: number): number; + } + + interface IGlobalCallSignatureWithTypeParameters { + /** This comment should appear for foo*/ + (a: T): string; + } + + interface IGlobalCallSignatureWithOwnTypeParametes { + (a: T): string; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileClassExtendsNull(target=es5).errors.txt b/tests/baselines/reference/declFileClassExtendsNull(target=es5).errors.txt new file mode 100644 index 0000000000000..ce23f632acfeb --- /dev/null +++ b/tests/baselines/reference/declFileClassExtendsNull(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileClassExtendsNull.ts (0 errors) ==== + class ExtendsNull extends null { + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileConstructSignatures(target=es5).errors.txt b/tests/baselines/reference/declFileConstructSignatures(target=es5).errors.txt new file mode 100644 index 0000000000000..79b9964596180 --- /dev/null +++ b/tests/baselines/reference/declFileConstructSignatures(target=es5).errors.txt @@ -0,0 +1,67 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileConstructSignatures_0.ts (0 errors) ==== + export interface IConstructSignature { + /** This comment should appear for foo*/ + new (): string; + } + + export interface IConstructSignatureWithParameters { + /** This is comment for function signature*/ + new (/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number); + } + + export interface IConstructSignatureWithRestParameters { + new (a: string, ...rests: string[]): string; + } + + export interface IConstructSignatureWithOverloads { + new (a: string): string; + new (a: number): number; + } + + export interface IConstructSignatureWithTypeParameters { + /** This comment should appear for foo*/ + new (a: T): T; + } + + export interface IConstructSignatureWithOwnTypeParametes { + new (a: T): T; + } + +==== declFileConstructSignatures_1.ts (0 errors) ==== + interface IGlobalConstructSignature { + /** This comment should appear for foo*/ + new (): string; + } + + interface IGlobalConstructSignatureWithParameters { + /** This is comment for function signature*/ + new (/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number); + } + + interface IGlobalConstructSignatureWithRestParameters { + + new (a: string, ...rests: string[]): string; + + } + + interface IGlobalConstructSignatureWithOverloads { + new (a: string): string; + new (a: number): number; + } + + interface IGlobalConstructSignatureWithTypeParameters { + /** This comment should appear for foo*/ + new (a: T): T; + } + + interface IGlobalConstructSignatureWithOwnTypeParametes { + new (a: T): T; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileConstructors(target=es5).errors.txt b/tests/baselines/reference/declFileConstructors(target=es5).errors.txt new file mode 100644 index 0000000000000..b432d4ab28f65 --- /dev/null +++ b/tests/baselines/reference/declFileConstructors(target=es5).errors.txt @@ -0,0 +1,99 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileConstructors_0.ts (0 errors) ==== + export class SimpleConstructor { + /** This comment should appear for foo*/ + constructor() { + } + } + export class ConstructorWithParameters { + /** This is comment for function signature*/ + constructor(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + } + + export class ConstructorWithRestParamters { + constructor(a: string, ...rests: string[]) { + return a + rests.join(""); + } + } + + export class ConstructorWithOverloads { + constructor(a: string); + constructor(a: number); + constructor(a: any) { + } + } + + export class ConstructorWithPublicParameterProperty { + constructor(public x: string) { + } + } + + export class ConstructorWithPrivateParameterProperty { + constructor(private x: string) { + } + } + + export class ConstructorWithOptionalParameterProperty { + constructor(public x?: string) { + } + } + + export class ConstructorWithParameterInitializer { + constructor(public x = "hello") { + } + } + +==== declFileConstructors_1.ts (0 errors) ==== + class GlobalSimpleConstructor { + /** This comment should appear for foo*/ + constructor() { + } + } + class GlobalConstructorWithParameters { + /** This is comment for function signature*/ + constructor(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + } + + class GlobalConstructorWithRestParamters { + constructor(a: string, ...rests: string[]) { + return a + rests.join(""); + } + } + + class GlobalConstructorWithOverloads { + constructor(a: string); + constructor(a: number); + constructor(a: any) { + } + } + + class GlobalConstructorWithPublicParameterProperty { + constructor(public x: string) { + } + } + + class GlobalConstructorWithPrivateParameterProperty { + constructor(private x: string) { + } + } + + class GlobalConstructorWithOptionalParameterProperty { + constructor(public x?: string) { + } + } + + class GlobalConstructorWithParameterInitializer { + constructor(public x = "hello") { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileConstructors(target=es5).types b/tests/baselines/reference/declFileConstructors(target=es5).types index 87c70f851a3b7..9a37bc18a4163 100644 --- a/tests/baselines/reference/declFileConstructors(target=es5).types +++ b/tests/baselines/reference/declFileConstructors(target=es5).types @@ -73,6 +73,7 @@ export class ConstructorWithOverloads { constructor(a: any) { >a : any +> : ^^^ } } @@ -191,6 +192,7 @@ class GlobalConstructorWithOverloads { constructor(a: any) { >a : any +> : ^^^ } } diff --git a/tests/baselines/reference/declFileFunctions(target=es5).errors.txt b/tests/baselines/reference/declFileFunctions(target=es5).errors.txt new file mode 100644 index 0000000000000..666af90feee15 --- /dev/null +++ b/tests/baselines/reference/declFileFunctions(target=es5).errors.txt @@ -0,0 +1,79 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileFunctions_0.ts (0 errors) ==== + /** This comment should appear for foo*/ + export function foo() { + } + /** This is comment for function signature*/ + export function fooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + export function fooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + + export function fooWithOverloads(a: string): string; + export function fooWithOverloads(a: number): number; + export function fooWithOverloads(a: any): any { + return a; + } + + export function fooWithSingleOverload(a: string): string; + export function fooWithSingleOverload(a: any) { + return a; + } + + export function fooWithTypePredicate(a: any): a is number { + return true; + } + export function fooWithTypePredicateAndMulitpleParams(a: any, b: any, c: any): a is number { + return true; + } + export function fooWithTypeTypePredicateAndGeneric(a: any): a is T { + return true; + } + export function fooWithTypeTypePredicateAndRestParam(a: any, ...rest): a is number { + return true; + } + + /** This comment should appear for nonExportedFoo*/ + function nonExportedFoo() { + } + /** This is comment for function signature*/ + function nonExportedFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + function nonExportedFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + + function nonExportedFooWithOverloads(a: string): string; + function nonExportedFooWithOverloads(a: number): number; + function nonExportedFooWithOverloads(a: any): any { + return a; + } + +==== declFileFunctions_1.ts (0 errors) ==== + /** This comment should appear for foo*/ + function globalfoo() { + } + /** This is comment for function signature*/ + function globalfooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + function globalfooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + function globalfooWithOverloads(a: string): string; + function globalfooWithOverloads(a: number): number; + function globalfooWithOverloads(a: any): any { + return a; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileFunctions(target=es5).types b/tests/baselines/reference/declFileFunctions(target=es5).types index e9e108d197fc4..8b4f18a920a01 100644 --- a/tests/baselines/reference/declFileFunctions(target=es5).types +++ b/tests/baselines/reference/declFileFunctions(target=es5).types @@ -65,9 +65,11 @@ export function fooWithOverloads(a: any): any { >fooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } export function fooWithSingleOverload(a: string): string; @@ -80,15 +82,18 @@ export function fooWithSingleOverload(a: any) { >fooWithSingleOverload : (a: string) => string > : ^ ^^ ^^^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } export function fooWithTypePredicate(a: any): a is number { >fooWithTypePredicate : (a: any) => a is number > : ^ ^^ ^^^^^ >a : any +> : ^^^ return true; >true : true @@ -98,8 +103,11 @@ export function fooWithTypePredicateAndMulitpleParams(a: any, b: any, c: any): a >fooWithTypePredicateAndMulitpleParams : (a: any, b: any, c: any) => a is number > : ^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ return true; >true : true @@ -109,6 +117,7 @@ export function fooWithTypeTypePredicateAndGeneric(a: any): a is T { >fooWithTypeTypePredicateAndGeneric : (a: any) => a is T > : ^ ^^ ^^ ^^^^^ >a : any +> : ^^^ return true; >true : true @@ -118,6 +127,7 @@ export function fooWithTypeTypePredicateAndRestParam(a: any, ...rest): a is numb >fooWithTypeTypePredicateAndRestParam : (a: any, ...rest: any[]) => a is number > : ^ ^^ ^^^^^ ^^^^^^^^^^^^ >a : any +> : ^^^ >rest : any[] > : ^^^^^ @@ -190,9 +200,11 @@ function nonExportedFooWithOverloads(a: any): any { >nonExportedFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } === declFileFunctions_1.ts === @@ -259,7 +271,9 @@ function globalfooWithOverloads(a: any): any { >globalfooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } diff --git a/tests/baselines/reference/declFileIndexSignatures(target=es5).errors.txt b/tests/baselines/reference/declFileIndexSignatures(target=es5).errors.txt new file mode 100644 index 0000000000000..9d9e478df94f2 --- /dev/null +++ b/tests/baselines/reference/declFileIndexSignatures(target=es5).errors.txt @@ -0,0 +1,37 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileIndexSignatures_0.ts (0 errors) ==== + export interface IStringIndexSignature { + [s: string]: string; + } + export interface INumberIndexSignature { + [n: number]: number; + } + + export interface IBothIndexSignature { + [s: string]: any; + [n: number]: number; + } + + export interface IIndexSignatureWithTypeParameter { + [a: string]: T; + } + +==== declFileIndexSignatures_1.ts (0 errors) ==== + interface IGlobalStringIndexSignature { + [s: string]: string; + } + interface IGlobalNumberIndexSignature { + [n: number]: number; + } + + interface IGlobalBothIndexSignature { + [s: string]: any; + [n: number]: number; + } + + interface IGlobalIndexSignatureWithTypeParameter { + [a: string]: T; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileMethods(target=es5).errors.txt b/tests/baselines/reference/declFileMethods(target=es5).errors.txt new file mode 100644 index 0000000000000..3c3934c916459 --- /dev/null +++ b/tests/baselines/reference/declFileMethods(target=es5).errors.txt @@ -0,0 +1,192 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileMethods_0.ts (0 errors) ==== + export class c1 { + /** This comment should appear for foo*/ + public foo() { + } + /** This is comment for function signature*/ + public fooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + public fooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + + public fooWithOverloads(a: string): string; + public fooWithOverloads(a: number): number; + public fooWithOverloads(a: any): any { + return a; + } + + + /** This comment should appear for privateFoo*/ + private privateFoo() { + } + /** This is comment for function signature*/ + private privateFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + private privateFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + private privateFooWithOverloads(a: string): string; + private privateFooWithOverloads(a: number): number; + private privateFooWithOverloads(a: any): any { + return a; + } + + + /** This comment should appear for static foo*/ + static staticFoo() { + } + /** This is comment for function signature*/ + static staticFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + static staticFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + static staticFooWithOverloads(a: string): string; + static staticFooWithOverloads(a: number): number; + static staticFooWithOverloads(a: any): any { + return a; + } + + + /** This comment should appear for privateStaticFoo*/ + private static privateStaticFoo() { + } + /** This is comment for function signature*/ + private static privateStaticFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + private static privateStaticFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + private static privateStaticFooWithOverloads(a: string): string; + private static privateStaticFooWithOverloads(a: number): number; + private static privateStaticFooWithOverloads(a: any): any { + return a; + } + } + + export interface I1 { + /** This comment should appear for foo*/ + foo(): string; + + /** This is comment for function signature*/ + fooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number): void; + + fooWithRestParameters(a: string, ...rests: string[]): string; + + fooWithOverloads(a: string): string; + fooWithOverloads(a: number): number; + } + +==== declFileMethods_1.ts (0 errors) ==== + class c2 { + /** This comment should appear for foo*/ + public foo() { + } + /** This is comment for function signature*/ + public fooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + public fooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + + public fooWithOverloads(a: string): string; + public fooWithOverloads(a: number): number; + public fooWithOverloads(a: any): any { + return a; + } + + + /** This comment should appear for privateFoo*/ + private privateFoo() { + } + /** This is comment for function signature*/ + private privateFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + private privateFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + private privateFooWithOverloads(a: string): string; + private privateFooWithOverloads(a: number): number; + private privateFooWithOverloads(a: any): any { + return a; + } + + + /** This comment should appear for static foo*/ + static staticFoo() { + } + /** This is comment for function signature*/ + static staticFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + static staticFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + static staticFooWithOverloads(a: string): string; + static staticFooWithOverloads(a: number): number; + static staticFooWithOverloads(a: any): any { + return a; + } + + + /** This comment should appear for privateStaticFoo*/ + private static privateStaticFoo() { + } + /** This is comment for function signature*/ + private static privateStaticFooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number) { + var d = a; + } + private static privateStaticFooWithRestParameters(a: string, ...rests: string[]) { + return a + rests.join(""); + } + private static privateStaticFooWithOverloads(a: string): string; + private static privateStaticFooWithOverloads(a: number): number; + private static privateStaticFooWithOverloads(a: any): any { + return a; + } + } + + interface I2 { + /** This comment should appear for foo*/ + foo(): string; + + /** This is comment for function signature*/ + fooWithParameters(/** this is comment about a*/a: string, + /** this is comment for b*/ + b: number): void; + + fooWithRestParameters(a: string, ...rests: string[]): string; + + fooWithOverloads(a: string): string; + fooWithOverloads(a: number): number; + } + \ No newline at end of file diff --git a/tests/baselines/reference/declFileMethods(target=es5).types b/tests/baselines/reference/declFileMethods(target=es5).types index a99cfdc9e4c58..fe8f094fa2c63 100644 --- a/tests/baselines/reference/declFileMethods(target=es5).types +++ b/tests/baselines/reference/declFileMethods(target=es5).types @@ -69,9 +69,11 @@ export class c1 { >fooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } @@ -138,9 +140,11 @@ export class c1 { >privateFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } @@ -207,9 +211,11 @@ export class c1 { >staticFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } @@ -276,9 +282,11 @@ export class c1 { >privateStaticFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } } @@ -390,9 +398,11 @@ class c2 { >fooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } @@ -459,9 +469,11 @@ class c2 { >privateFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } @@ -528,9 +540,11 @@ class c2 { >staticFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } @@ -597,9 +611,11 @@ class c2 { >privateStaticFooWithOverloads : { (a: string): string; (a: number): number; } > : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ >a : any +> : ^^^ return a; >a : any +> : ^^^ } } diff --git a/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).errors.txt b/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..33577ecf76ee5 --- /dev/null +++ b/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileObjectLiteralWithAccessors.ts (0 errors) ==== + function /*1*/makePoint(x: number) { + return { + b: 10, + get x() { return x; }, + set x(a: number) { this.b = a; } + }; + }; + var /*4*/point = makePoint(2); + var /*2*/x = point.x; + point./*3*/x = 30; \ No newline at end of file diff --git a/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).types b/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).types index 5419544595676..b8daac4f8a25d 100644 --- a/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).types +++ b/tests/baselines/reference/declFileObjectLiteralWithAccessors(target=es5).types @@ -31,6 +31,7 @@ function /*1*/makePoint(x: number) { >this.b = a : number > : ^^^^^^ >this.b : any +> : ^^^ >this : any > : ^^^ >b : any diff --git a/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter(target=es5).errors.txt b/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter(target=es5).errors.txt new file mode 100644 index 0000000000000..090a5382a5eb7 --- /dev/null +++ b/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileObjectLiteralWithOnlyGetter.ts (0 errors) ==== + function /*1*/makePoint(x: number) { + return { + get x() { return x; }, + }; + }; + var /*4*/point = makePoint(2); + var /*2*/x = point./*3*/x; + \ No newline at end of file diff --git a/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).errors.txt b/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).errors.txt new file mode 100644 index 0000000000000..e3034d819d8c9 --- /dev/null +++ b/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileObjectLiteralWithOnlySetter.ts (0 errors) ==== + function /*1*/makePoint(x: number) { + return { + b: 10, + set x(a: number) { this.b = a; } + }; + }; + var /*3*/point = makePoint(2); + point./*2*/x = 30; \ No newline at end of file diff --git a/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).types b/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).types index f61fd90251cb2..0e99b6fcce9c7 100644 --- a/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).types +++ b/tests/baselines/reference/declFileObjectLiteralWithOnlySetter(target=es5).types @@ -25,6 +25,7 @@ function /*1*/makePoint(x: number) { >this.b = a : number > : ^^^^^^ >this.b : any +> : ^^^ >this : any > : ^^^ >b : any diff --git a/tests/baselines/reference/declFilePrivateStatic(target=es5).errors.txt b/tests/baselines/reference/declFilePrivateStatic(target=es5).errors.txt new file mode 100644 index 0000000000000..3df59b6048dc8 --- /dev/null +++ b/tests/baselines/reference/declFilePrivateStatic(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFilePrivateStatic.ts (0 errors) ==== + class C { + private static x = 1; + static y = 1; + + private static a() { } + static b() { } + + private static get c() { return 1; } + static get d() { return 1; } + + private static set e(v) { } + static set f(v) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/declFilePrivateStatic(target=es5).types b/tests/baselines/reference/declFilePrivateStatic(target=es5).types index c8c1fce918863..f7226abf769cb 100644 --- a/tests/baselines/reference/declFilePrivateStatic(target=es5).types +++ b/tests/baselines/reference/declFilePrivateStatic(target=es5).types @@ -39,9 +39,13 @@ class C { private static set e(v) { } >e : any +> : ^^^ >v : any +> : ^^^ static set f(v) { } >f : any +> : ^^^ >v : any +> : ^^^ } diff --git a/tests/baselines/reference/declFileTypeAnnotationArrayType(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationArrayType(target=es5).errors.txt new file mode 100644 index 0000000000000..4b2f4c4165593 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationArrayType(target=es5).errors.txt @@ -0,0 +1,55 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationArrayType.ts (0 errors) ==== + class c { + } + namespace m { + export class c { + } + export class g { + } + } + class g { + } + + // Just the name + function foo(): c[] { + return [new c()]; + } + function foo2() { + return [new c()]; + } + + // Qualified name + function foo3(): m.c[] { + return [new m.c()]; + } + function foo4() { + return m.c; + } + + // Just the name with type arguments + function foo5(): g[] { + return [new g()]; + } + function foo6() { + return [new g()]; + } + + // Qualified name with type arguments + function foo7(): m.g[] { + return [new m.g()]; + } + function foo8() { + return [new m.g()]; + } + + // Array of function types + function foo9(): (()=>c)[] { + return [() => new c()]; + } + function foo10() { + return [() => new c()]; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationBuiltInType(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationBuiltInType(target=es5).errors.txt new file mode 100644 index 0000000000000..769f79c3691a9 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationBuiltInType(target=es5).errors.txt @@ -0,0 +1,44 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationBuiltInType.ts (0 errors) ==== + // string + function foo(): string { + return ""; + } + function foo2() { + return ""; + } + + // number + function foo3(): number { + return 10; + } + function foo4() { + return 10; + } + + // boolean + function foo5(): boolean { + return true; + } + function foo6() { + return false; + } + + // void + function foo7(): void { + return; + } + function foo8() { + return; + } + + // any + function foo9(): any { + return undefined; + } + function foo10() { + return undefined; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationParenType(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationParenType(target=es5).errors.txt index 662ed01ca8883..cfdce47491ec5 100644 --- a/tests/baselines/reference/declFileTypeAnnotationParenType(target=es5).errors.txt +++ b/tests/baselines/reference/declFileTypeAnnotationParenType(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. declFileTypeAnnotationParenType.ts(8,29): error TS2872: This kind of expression is always truthy. declFileTypeAnnotationParenType.ts(9,9): error TS2872: This kind of expression is always truthy. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== declFileTypeAnnotationParenType.ts (2 errors) ==== class c { private p: string; diff --git a/tests/baselines/reference/declFileTypeAnnotationStringLiteral(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationStringLiteral(target=es5).errors.txt new file mode 100644 index 0000000000000..b70ef2cf8fee1 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationStringLiteral(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationStringLiteral.ts (0 errors) ==== + function foo(a: "hello"): number; + function foo(a: "name"): string; + function foo(a: string): string | number; + function foo(a: string): string | number { + if (a === "hello") { + return a.length; + } + + return a; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationTupleType(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationTupleType(target=es5).errors.txt new file mode 100644 index 0000000000000..94f9eb222c705 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationTupleType(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationTupleType.ts (0 errors) ==== + class c { + } + namespace m { + export class c { + } + export class g { + } + } + class g { + } + + // Just the name + var k: [c, m.c] = [new c(), new m.c()]; + var l = k; + + var x: [g, m.g, () => c] = [new g(), new m.g(), () => new c()]; + var y = x; \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeAlias(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationTypeAlias(target=es5).errors.txt new file mode 100644 index 0000000000000..92d0f92c5bcd7 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationTypeAlias(target=es5).errors.txt @@ -0,0 +1,35 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationTypeAlias.ts (0 errors) ==== + namespace M { + export type Value = string | number | boolean; + export var x: Value; + + export class c { + } + + export type C = c; + + export namespace m { + export class c { + } + } + + export type MC = m.c; + + export type fc = () => c; + } + + interface Window { + someMethod(); + } + + namespace M { + export type W = Window | string; + export namespace N { + export class Window { } + export var p: W; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeLiteral(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationTypeLiteral(target=es5).errors.txt new file mode 100644 index 0000000000000..23c79537ee8b1 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationTypeLiteral(target=es5).errors.txt @@ -0,0 +1,43 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationTypeLiteral.ts (0 errors) ==== + class c { + } + class g { + } + namespace m { + export class c { + } + } + + // Object literal with everything + var x: { + // Call signatures + (a: number): c; + (a: string): g; + + // Construct signatures + new (a: number): c; + new (a: string): m.c; + + // Indexers + [n: number]: c; + [n: string]: c; + + // Properties + a: c; + b: g; + + // methods + m1(): g; + m2(a: string, b?: number, ...c: c[]): string; + }; + + + // Function type + var y: (a: string) => string; + + // constructor type + var z: new (a: string) => m.c; \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeQuery(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationTypeQuery(target=es5).errors.txt new file mode 100644 index 0000000000000..032b128ed4ca9 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationTypeQuery(target=es5).errors.txt @@ -0,0 +1,47 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationTypeQuery.ts (0 errors) ==== + class c { + } + namespace m { + export class c { + } + export class g { + } + } + class g { + } + + // Just the name + function foo(): typeof c { + return c; + } + function foo2() { + return c; + } + + // Qualified name + function foo3(): typeof m.c { + return m.c; + } + function foo4() { + return m.c; + } + + // Just the name with type arguments + function foo5(): typeof g { + return g; + } + function foo6() { + return g; + } + + // Qualified name with type arguments + function foo7(): typeof m.g { + return m.g + } + function foo8() { + return m.g + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeReference(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationTypeReference(target=es5).errors.txt new file mode 100644 index 0000000000000..1ec6f6e92d552 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationTypeReference(target=es5).errors.txt @@ -0,0 +1,47 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationTypeReference.ts (0 errors) ==== + class c { + } + namespace m { + export class c { + } + export class g { + } + } + class g { + } + + // Just the name + function foo(): c { + return new c(); + } + function foo2() { + return new c(); + } + + // Qualified name + function foo3(): m.c { + return new m.c(); + } + function foo4() { + return new m.c(); + } + + // Just the name with type arguments + function foo5(): g { + return new g(); + } + function foo6() { + return new g(); + } + + // Qualified name with type arguments + function foo7(): m.g { + return new m.g(); + } + function foo8() { + return new m.g(); + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationUnionType(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationUnionType(target=es5).errors.txt new file mode 100644 index 0000000000000..5c514b379ec63 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationUnionType(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationUnionType.ts (0 errors) ==== + class c { + private p: string; + } + namespace m { + export class c { + private q: string; + } + export class g { + private r: string; + } + } + class g { + private s: string; + } + + // Just the name + var k: c | m.c = new c() || new m.c(); + var l = new c() || new m.c(); + + var x: g | m.g | (() => c) = new g() || new m.g() || (() => new c()); + var y = new g() || new m.g() || (() => new c()); \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..df3a659b33404 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors(target=es5).errors.txt @@ -0,0 +1,104 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationVisibilityErrorAccessors.ts (0 errors) ==== + namespace m { + class private1 { + } + + export class public1 { + } + + namespace m2 { + export class public2 { + } + } + + export class c { + // getter with annotation + get foo1(): private1 { + return; + } + + // getter without annotation + get foo2() { + return new private1(); + } + + // setter with annotation + set foo3(param: private1) { + } + + // Both - getter without annotation, setter with annotation + get foo4() { + return new private1(); + } + set foo4(param: private1) { + } + + // Both - with annotation + get foo5(): private1 { + return; + } + set foo5(param: private1) { + } + + // getter with annotation + get foo11(): public1 { + return; + } + + // getter without annotation + get foo12() { + return new public1(); + } + + // setter with annotation + set foo13(param: public1) { + } + + // Both - getter without annotation, setter with annotation + get foo14() { + return new public1(); + } + set foo14(param: public1) { + } + + // Both - with annotation + get foo15(): public1 { + return; + } + set foo15(param: public1) { + } + + // getter with annotation + get foo111(): m2.public2 { + return; + } + + // getter without annotation + get foo112() { + return new m2.public2(); + } + + // setter with annotation + set foo113(param: m2.public2) { + } + + // Both - getter without annotation, setter with annotation + get foo114() { + return new m2.public2(); + } + set foo114(param: m2.public2) { + } + + // Both - with annotation + get foo115(): m2.public2 { + return; + } + set foo115(param: m2.public2) { + } + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..7239012348def --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction(target=es5).errors.txt @@ -0,0 +1,49 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationVisibilityErrorParameterOfFunction.ts (0 errors) ==== + namespace m { + class private1 { + } + + export class public1 { + } + + // Directly using names from this module + function foo1(param: private1) { + } + function foo2(param = new private1()) { + } + + export function foo3(param : private1) { + } + export function foo4(param = new private1()) { + } + + function foo11(param: public1) { + } + function foo12(param = new public1()) { + } + + export function foo13(param: public1) { + } + export function foo14(param = new public1()) { + } + + namespace m2 { + export class public2 { + } + } + + function foo111(param: m2.public2) { + } + function foo112(param = new m2.public2()) { + } + + export function foo113(param: m2.public2) { + } + export function foo114(param = new m2.public2()) { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..9fa994d71d365 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction(target=es5).errors.txt @@ -0,0 +1,61 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.ts (0 errors) ==== + namespace m { + class private1 { + } + + export class public1 { + } + + // Directly using names from this module + function foo1(): private1 { + return; + } + function foo2() { + return new private1(); + } + + export function foo3(): private1 { + return; + } + export function foo4() { + return new private1(); + } + + function foo11(): public1 { + return; + } + function foo12() { + return new public1(); + } + + export function foo13(): public1 { + return; + } + export function foo14() { + return new public1(); + } + + namespace m2 { + export class public2 { + } + } + + function foo111(): m2.public2 { + return; + } + function foo112() { + return new m2.public2(); + } + + export function foo113(): m2.public2 { + return; + } + export function foo114() { + return new m2.public2(); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias(target=es5).errors.txt new file mode 100644 index 0000000000000..74e777efbea3d --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias(target=es5).errors.txt @@ -0,0 +1,45 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationVisibilityErrorTypeAlias.ts (0 errors) ==== + interface Window { + someMethod(); + } + + namespace M { + type W = Window | string; + export namespace N { + export class Window { } + export var p: W; // Should report error that W is private + } + } + + namespace M1 { + export type W = Window | string; + export namespace N { + export class Window { } + export var p: W; // No error + } + } + + namespace M2 { + class private1 { + } + class public1 { + } + namespace m3 { + export class public1 { + } + } + + type t1 = private1; + export type t2 = private1; // error + + type t11 = public1; + export type t12 = public1; + + type t111 = m3.public1; + export type t112 = m3.public1; // error + } + \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral(target=es5).errors.txt new file mode 100644 index 0000000000000..0a9e4e656e0f3 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral(target=es5).errors.txt @@ -0,0 +1,38 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationVisibilityErrorTypeLiteral.ts (0 errors) ==== + namespace m { + class private1 { + } + namespace m2 { + export class public1 { + } + } + + export var x: { + x: private1; + y: m2.public1; + (): m2.public1[]; + method(): private1; + [n: number]: private1; + [s: string]: m2.public1; + }; + export var x2 = { + x: new private1(), + y: new m2.public1(), + method() { + return new private1(); + } + }; + export var x3 = x; + + // Function type + export var y: (a: private1) => m2.public1; + export var y2 = y; + + // constructor type + export var z: new (a: private1) => m2.public1; + export var z2 = z; + } \ No newline at end of file diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration(target=es5).errors.txt b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration(target=es5).errors.txt new file mode 100644 index 0000000000000..f80c0470a6ed9 --- /dev/null +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration(target=es5).errors.txt @@ -0,0 +1,37 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declFileTypeAnnotationVisibilityErrorVariableDeclaration.ts (0 errors) ==== + namespace m { + class private1 { + } + + export class public1 { + } + + // Directly using names from this module + var x: private1; + var y = new private1(); + + export var k: private1; + export var l = new private1(); + + var x2: public1; + var y2 = new public1(); + + export var k2: public1; + export var l2 = new public1(); + + namespace m2 { + export class public2 { + } + } + + var x3: m2.public2; + var y3 = new m2.public2(); + + export var k3: m2.public2; + export var l3 = new m2.public2(); + } + \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).errors.txt b/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).errors.txt new file mode 100644 index 0000000000000..9c47d8797aa71 --- /dev/null +++ b/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).errors.txt @@ -0,0 +1,40 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declarationEmitClassMemberNameConflict.ts (0 errors) ==== + export class C1 { + C1() { } // has to be the same as the class name + + bar() { + return function (t: typeof C1) { + }; + } + } + + export class C2 { + C2: any // has to be the same as the class name + + bar() { + return function (t: typeof C2) { + }; + } + } + + export class C3 { + get C3() { return 0; } // has to be the same as the class name + + bar() { + return function (t: typeof C3) { + }; + } + } + + export class C4 { + set C4(v) { } // has to be the same as the class name + + bar() { + return function (t: typeof C4) { + }; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).types b/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).types index 5547bba484afb..68c0d9569e417 100644 --- a/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).types +++ b/tests/baselines/reference/declarationEmitClassMemberNameConflict(target=es5).types @@ -31,6 +31,7 @@ export class C2 { C2: any // has to be the same as the class name >C2 : any +> : ^^^ bar() { >bar : () => (t: typeof C2) => void @@ -80,7 +81,9 @@ export class C4 { set C4(v) { } // has to be the same as the class name >C4 : any +> : ^^^ >v : any +> : ^^^ bar() { >bar : () => (t: typeof C4) => void diff --git a/tests/baselines/reference/declarationEmitClassMemberNameConflict2(target=es5).errors.txt b/tests/baselines/reference/declarationEmitClassMemberNameConflict2(target=es5).errors.txt new file mode 100644 index 0000000000000..ec440e948380e --- /dev/null +++ b/tests/baselines/reference/declarationEmitClassMemberNameConflict2(target=es5).errors.txt @@ -0,0 +1,25 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declarationEmitClassMemberNameConflict2.ts (0 errors) ==== + const Bar = 'bar'; + + enum Hello { + World + } + + enum Hello1 { + World1 + } + + class Foo { + // Same names + string => OK + Bar = Bar; + + // Same names + enum => OK + Hello = Hello; + + // Different names + enum => OK + Hello2 = Hello1; + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitClassPrivateConstructor(target=es5).errors.txt b/tests/baselines/reference/declarationEmitClassPrivateConstructor(target=es5).errors.txt new file mode 100644 index 0000000000000..511babfaf8898 --- /dev/null +++ b/tests/baselines/reference/declarationEmitClassPrivateConstructor(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declarationEmitClassPrivateConstructor.ts (0 errors) ==== + interface PrivateInterface { + } + + export class ExportedClass1 { + private constructor(data: PrivateInterface) { } + } + + export class ExportedClass2 { + private constructor(private data: PrivateInterface) { } + } + + export class ExportedClass3 { + private constructor(private data: PrivateInterface, private n: number) { } + } + + export class ExportedClass4 { + private constructor(private data: PrivateInterface, public n:number) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitClassPrivateConstructor2(target=es5).errors.txt b/tests/baselines/reference/declarationEmitClassPrivateConstructor2(target=es5).errors.txt new file mode 100644 index 0000000000000..e2135755d9be4 --- /dev/null +++ b/tests/baselines/reference/declarationEmitClassPrivateConstructor2(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declarationEmitClassPrivateConstructor2.ts (0 errors) ==== + interface PrivateInterface { + } + + export class ExportedClass1 { + private constructor(public data: PrivateInterface) { } + } + + + export class ExportedClass2 { + protected constructor(data: PrivateInterface) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitDetachedComment1(target=es5).errors.txt b/tests/baselines/reference/declarationEmitDetachedComment1(target=es5).errors.txt new file mode 100644 index 0000000000000..a7dc45a2c0ace --- /dev/null +++ b/tests/baselines/reference/declarationEmitDetachedComment1(target=es5).errors.txt @@ -0,0 +1,34 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== test1.ts (0 errors) ==== + /*! Copyright 2015 MyCompany Inc. */ + + /** + * Hello class + */ + class Hello { + + } + +==== test2.ts (0 errors) ==== + /* A comment at the top of the file. */ + + /** + * Hi class + */ + class Hi { + + } + +==== test3.ts (0 errors) ==== + // A one-line comment at the top of the file. + + /** + * Hola class + */ + class Hola { + + } + \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitDetachedComment2(target=es5).errors.txt b/tests/baselines/reference/declarationEmitDetachedComment2(target=es5).errors.txt new file mode 100644 index 0000000000000..a7dc45a2c0ace --- /dev/null +++ b/tests/baselines/reference/declarationEmitDetachedComment2(target=es5).errors.txt @@ -0,0 +1,34 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== test1.ts (0 errors) ==== + /*! Copyright 2015 MyCompany Inc. */ + + /** + * Hello class + */ + class Hello { + + } + +==== test2.ts (0 errors) ==== + /* A comment at the top of the file. */ + + /** + * Hi class + */ + class Hi { + + } + +==== test3.ts (0 errors) ==== + // A one-line comment at the top of the file. + + /** + * Hola class + */ + class Hola { + + } + \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitExportAssignment(target=es5).errors.txt b/tests/baselines/reference/declarationEmitExportAssignment(target=es5).errors.txt new file mode 100644 index 0000000000000..6aa318f24d8ca --- /dev/null +++ b/tests/baselines/reference/declarationEmitExportAssignment(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== utils.ts (0 errors) ==== + export function foo() { } + export function bar() { } + export interface Buzz { } + +==== index.ts (0 errors) ==== + import {foo} from "./utils"; + export = foo; \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitExportDeclaration(target=es5).errors.txt b/tests/baselines/reference/declarationEmitExportDeclaration(target=es5).errors.txt new file mode 100644 index 0000000000000..6dfdd468bed51 --- /dev/null +++ b/tests/baselines/reference/declarationEmitExportDeclaration(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== utils.ts (0 errors) ==== + export function foo() { } + export function bar() { } + export interface Buzz { } + +==== index.ts (0 errors) ==== + import {foo, bar, Buzz} from "./utils"; + + foo(); + let obj: Buzz; + export {bar}; \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitModuleWithScopeMarker(target=es5).errors.txt b/tests/baselines/reference/declarationEmitModuleWithScopeMarker(target=es5).errors.txt new file mode 100644 index 0000000000000..05fa14373c72f --- /dev/null +++ b/tests/baselines/reference/declarationEmitModuleWithScopeMarker(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declarationEmitModuleWithScopeMarker.ts (0 errors) ==== + declare module "bar" { + var before: typeof func; + + export function normal(): void; + + export default function func(): typeof func; + + var after: typeof func; + + export {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling(target=es5).errors.txt b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling(target=es5).errors.txt index b973b452e13b5..f3f5de60adbdb 100644 --- a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling(target=es5).errors.txt +++ b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== src/lib/operators/scalar.ts (0 errors) ==== export interface Scalar { (): string; diff --git a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2(target=es5).errors.txt b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2(target=es5).errors.txt index ffd31d2848ed2..c19ed8abcb824 100644 --- a/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2(target=es5).errors.txt +++ b/tests/baselines/reference/declarationEmitPrefersPathKindBasedOnBundling2(target=es5).errors.txt @@ -2,12 +2,14 @@ error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeSc Visit https://aka.ms/ts6 for migration information. error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Visit https://aka.ms/ts6 for migration information. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== src/lib/operators/scalar.ts (0 errors) ==== export interface Scalar { (): string; diff --git a/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).errors.txt b/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).errors.txt new file mode 100644 index 0000000000000..060e57e2155ea --- /dev/null +++ b/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).errors.txt @@ -0,0 +1,54 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declarationEmitProtectedMembers.ts (0 errors) ==== + // Class with protected members + class C1 { + protected x: number; + + protected f() { + return this.x; + } + + protected set accessor(a: number) { } + protected get accessor() { return 0; } + + protected static sx: number; + + protected static sf() { + return this.sx; + } + + protected static set staticSetter(a: number) { } + protected static get staticGetter() { return 0; } + } + + // Derived class overriding protected members + class C2 extends C1 { + protected f() { + return super.f() + this.x; + } + protected static sf() { + return super.sf() + this.sx; + } + } + + // Derived class making protected members public + class C3 extends C2 { + x: number; + static sx: number; + f() { + return super.f(); + } + static sf() { + return super.sf(); + } + + static get staticGetter() { return 1; } + } + + // Protected properties in constructors + class C4 { + constructor(protected a: number, protected b) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).types b/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).types index 8d5f29fb516b1..5b56cd88c0e44 100644 --- a/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).types +++ b/tests/baselines/reference/declarationEmitProtectedMembers(target=es5).types @@ -178,4 +178,5 @@ class C4 { >a : number > : ^^^^^^ >b : any +> : ^^^ } diff --git a/tests/baselines/reference/declarationEmitSymlinkPaths(target=es5).errors.txt b/tests/baselines/reference/declarationEmitSymlinkPaths(target=es5).errors.txt new file mode 100644 index 0000000000000..61e571420ab3d --- /dev/null +++ b/tests/baselines/reference/declarationEmitSymlinkPaths(target=es5).errors.txt @@ -0,0 +1,27 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== /packages/search/package.json (0 errors) ==== + { + "name": "search", + "version": "0.0.1", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "sideEffects": false + } +==== /packages/search/lib/index.d.ts (0 errors) ==== + export declare function test (a: () => T): () => T; +==== /packages/search-prefix/src/API/NotificationAPIUtils.ts (0 errors) ==== + export type NotificationRequest = {}; + export type NotificationResponse = {}; + export function getNotification(): NotificationResponse { + return {}; + } +==== /packages/search-prefix/src/Store/NotificationStore.ts (0 errors) ==== + import { test } from "search/lib/index"; + import { getNotification } from "../API/NotificationAPIUtils"; + + export const NotificationScenario = test( + getNotification + ); \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitUnknownImport(target=es5).errors.txt b/tests/baselines/reference/declarationEmitUnknownImport(target=es5).errors.txt index ffde8f5e80f21..a0036344145a3 100644 --- a/tests/baselines/reference/declarationEmitUnknownImport(target=es5).errors.txt +++ b/tests/baselines/reference/declarationEmitUnknownImport(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. declarationEmitUnknownImport.ts(1,1): error TS2303: Circular definition of import alias 'Foo'. declarationEmitUnknownImport.ts(1,14): error TS2304: Cannot find name 'SomeNonExistingName'. declarationEmitUnknownImport.ts(1,14): error TS2503: Cannot find namespace 'SomeNonExistingName'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== declarationEmitUnknownImport.ts (3 errors) ==== import Foo = SomeNonExistingName ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/declarationEmitUnknownImport2(target=es5).errors.txt b/tests/baselines/reference/declarationEmitUnknownImport2(target=es5).errors.txt index 37d7841f4b6b3..5f4aa0ab23ce1 100644 --- a/tests/baselines/reference/declarationEmitUnknownImport2(target=es5).errors.txt +++ b/tests/baselines/reference/declarationEmitUnknownImport2(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. declarationEmitUnknownImport2.ts(1,1): error TS2303: Circular definition of import alias 'Foo'. declarationEmitUnknownImport2.ts(1,12): error TS1005: '=' expected. declarationEmitUnknownImport2.ts(1,12): error TS2304: Cannot find name 'From'. @@ -5,6 +6,7 @@ declarationEmitUnknownImport2.ts(1,12): error TS2503: Cannot find namespace 'Fro declarationEmitUnknownImport2.ts(1,17): error TS1005: ';' expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== declarationEmitUnknownImport2.ts (5 errors) ==== import Foo From './Foo'; // Syntax error ~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).errors.txt b/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).errors.txt new file mode 100644 index 0000000000000..1da0bd4ad0239 --- /dev/null +++ b/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).errors.txt @@ -0,0 +1,33 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== /index.ts (0 errors) ==== + import minimist = require('minimist'); + import process = require('process'); + + export default function parseArgs(): minimist.ParsedArgs { + return minimist(process.argv.slice(2)); + } + +==== /node_modules/@types/minimist/minimist.d.ts (0 errors) ==== + declare namespace thing { + interface ParsedArgs {} + } + declare function thing(x: any): thing.ParsedArgs; + export = thing; +==== /node_modules/@types/minimist/package.json (0 errors) ==== + { + "name": "minimist", + "version": "0.0.1", + "types": "./minimist.d.ts" + } +==== /node_modules/@types/process/process.d.ts (0 errors) ==== + declare const thing: any; + export = thing; +==== /node_modules/@types/process/package.json (0 errors) ==== + { + "name": "process", + "version": "0.0.1", + "types": "./process.d.ts" + } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).types b/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).types index fe008688925eb..553f273732ed5 100644 --- a/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).types +++ b/tests/baselines/reference/declarationEmitUnnessesaryTypeReferenceNotAdded(target=es5).types @@ -21,7 +21,9 @@ export default function parseArgs(): minimist.ParsedArgs { >minimist : (x: any) => minimist.ParsedArgs > : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ >process.argv.slice(2) : any +> : ^^^ >process.argv.slice : any +> : ^^^ >process.argv : any > : ^^^ >process : any @@ -42,6 +44,7 @@ declare function thing(x: any): thing.ParsedArgs; >thing : (x: any) => thing.ParsedArgs > : ^ ^^ ^^^^^ >x : any +> : ^^^ >thing : any > : ^^^ @@ -52,6 +55,7 @@ export = thing; === /node_modules/@types/process/process.d.ts === declare const thing: any; >thing : any +> : ^^^ export = thing; >thing : any diff --git a/tests/baselines/reference/declarationEmitWithDefaultAsComputedName(target=es5).errors.txt b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName(target=es5).errors.txt new file mode 100644 index 0000000000000..7fd57295ceead --- /dev/null +++ b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== other.ts (0 errors) ==== + type Experiment = { + name: Name; + }; + declare const createExperiment: ( + options: Experiment + ) => Experiment; + export default createExperiment({ + name: "foo" + }); + +==== main.ts (0 errors) ==== + import other from "./other"; + export const obj = { + [other.name]: 1, + }; \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2(target=es5).errors.txt b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2(target=es5).errors.txt new file mode 100644 index 0000000000000..767d84350ad74 --- /dev/null +++ b/tests/baselines/reference/declarationEmitWithDefaultAsComputedName2(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== other.ts (0 errors) ==== + type Experiment = { + name: Name; + }; + declare const createExperiment: ( + options: Experiment + ) => Experiment; + export default createExperiment({ + name: "foo" + }); + +==== main.ts (0 errors) ==== + import * as other2 from "./other"; + export const obj = { + [other2.default.name]: 1 + }; \ No newline at end of file diff --git a/tests/baselines/reference/decoratedBlockScopedClass1(target=es5).errors.txt b/tests/baselines/reference/decoratedBlockScopedClass1(target=es5).errors.txt new file mode 100644 index 0000000000000..15ab9152d2c87 --- /dev/null +++ b/tests/baselines/reference/decoratedBlockScopedClass1(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + function decorator() { + return (target: new (...args: any[]) => any) => {} + } + + @decorator() + class Foo { + public static func(): Foo { + return new Foo(); + } + } + Foo.func(); + \ No newline at end of file diff --git a/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).errors.txt b/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).errors.txt new file mode 100644 index 0000000000000..039ece1c40e7f --- /dev/null +++ b/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + function decorator() { + return (target: new (...args: any[]) => any) => {} + } + + try { + @decorator() + class Foo { + public static func(): Foo { + return new Foo(); + } + } + Foo.func(); + } + catch (e) {} + \ No newline at end of file diff --git a/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).types b/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).types index 271242a6fa09e..1dbb0964ed781 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).types +++ b/tests/baselines/reference/decoratedBlockScopedClass2(target=es5).types @@ -48,4 +48,5 @@ try { } catch (e) {} >e : any +> : ^^^ diff --git a/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).errors.txt b/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).errors.txt new file mode 100644 index 0000000000000..67e4a7242984e --- /dev/null +++ b/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).errors.txt @@ -0,0 +1,28 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + function decorator() { + return (target: new (...args: any[]) => any) => {} + } + + @decorator() + class Foo { + public static func(): Foo { + return new Foo(); + } + } + Foo.func(); + + try { + @decorator() + class Foo { + public static func(): Foo { + return new Foo(); + } + } + Foo.func(); + } + catch (e) {} + \ No newline at end of file diff --git a/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).types b/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).types index 5018dcd3677aa..a0cb0852b3b2b 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).types +++ b/tests/baselines/reference/decoratedBlockScopedClass3(target=es5).types @@ -79,4 +79,5 @@ try { } catch (e) {} >e : any +> : ^^^ diff --git a/tests/baselines/reference/decoratorChecksFunctionBodies(target=es5).errors.txt b/tests/baselines/reference/decoratorChecksFunctionBodies(target=es5).errors.txt index 50ab24953dc69..86fedc56bd151 100644 --- a/tests/baselines/reference/decoratorChecksFunctionBodies(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorChecksFunctionBodies(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorChecksFunctionBodies.ts(8,14): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorChecksFunctionBodies.ts (1 errors) ==== // from #2971 function func(s: string): void { diff --git a/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).errors.txt b/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).errors.txt new file mode 100644 index 0000000000000..d58c5a5ad3d8f --- /dev/null +++ b/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + // from #3108 + export var test = 'abc'; + +==== b.ts (0 errors) ==== + import { test } from './a'; + + function filter(handler: any) { + return function (target: any, propertyKey: string) { + // ... + }; + } + + class Wat { + @filter(() => test == 'abc') + static whatever() { + // ... + } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).types b/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).types index a060963cd35b3..6a5858d1e8015 100644 --- a/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).types +++ b/tests/baselines/reference/decoratorInstantiateModulesInFunctionBodies(target=es5).types @@ -17,11 +17,13 @@ function filter(handler: any) { >filter : (handler: any) => (target: any, propertyKey: string) => void > : ^ ^^ ^^^^^^ ^^ ^^^^^^^^^ >handler : any +> : ^^^ return function (target: any, propertyKey: string) { >function (target: any, propertyKey: string) { // ... } : (target: any, propertyKey: string) => void > : ^ ^^ ^^ ^^ ^^^^^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorMetadata(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadata(target=es5).errors.txt new file mode 100644 index 0000000000000..5f0f8422b1907 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadata(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== service.ts (0 errors) ==== + export default class Service { + } +==== component.ts (0 errors) ==== + import Service from "./service"; + + declare var decorator: any; + + @decorator + class MyComponent { + constructor(public Service: Service) { + } + + @decorator + method(x: this) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadata(target=es5).types b/tests/baselines/reference/decoratorMetadata(target=es5).types index a7e9a49536863..fd77ba3a9f3d3 100644 --- a/tests/baselines/reference/decoratorMetadata(target=es5).types +++ b/tests/baselines/reference/decoratorMetadata(target=es5).types @@ -12,9 +12,11 @@ import Service from "./service"; declare var decorator: any; >decorator : any +> : ^^^ @decorator >decorator : any +> : ^^^ class MyComponent { >MyComponent : MyComponent @@ -27,6 +29,7 @@ class MyComponent { @decorator >decorator : any +> : ^^^ method(x: this) { >method : (x: this) => void diff --git a/tests/baselines/reference/decoratorMetadata-jsdoc(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadata-jsdoc(target=es5).errors.txt index b38d8ebf6e86e..a37c3540825d2 100644 --- a/tests/baselines/reference/decoratorMetadata-jsdoc(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorMetadata-jsdoc(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorMetadata-jsdoc.ts(5,9): error TS17019: '?' at the end of a type is not valid TypeScript syntax. Did you mean to write 'string'? decoratorMetadata-jsdoc.ts(7,9): error TS17019: '!' at the end of a type is not valid TypeScript syntax. Did you mean to write 'string'? decoratorMetadata-jsdoc.ts(9,9): error TS8020: JSDoc types can only be used inside documentation comments. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorMetadata-jsdoc.ts (3 errors) ==== declare var decorator: any; diff --git a/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).errors.txt new file mode 100644 index 0000000000000..4e068cca65fe5 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts (0 errors) ==== + declare var decorator: any; + + class MyClass { + constructor(test: string, test2: number) { + + } + + @decorator + doSomething() { + + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).types b/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).types index 6ff8c81acd589..448e6949ffa4e 100644 --- a/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01(target=es5).types @@ -3,6 +3,7 @@ === decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts === declare var decorator: any; >decorator : any +> : ^^^ class MyClass { >MyClass : MyClass @@ -18,6 +19,7 @@ class MyClass { @decorator >decorator : any +> : ^^^ doSomething() { >doSomething : () => void diff --git a/tests/baselines/reference/decoratorMetadataOnInferredType(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataOnInferredType(target=es5).errors.txt new file mode 100644 index 0000000000000..82f2bd502c6de --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataOnInferredType(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorMetadataOnInferredType.ts (0 errors) ==== + declare var console: { + log(msg: string): void; + }; + + class A { + constructor() { console.log('new A'); } + } + + function decorator(target: Object, propertyKey: string) { + } + + export class B { + @decorator + x = new A(); + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).errors.txt new file mode 100644 index 0000000000000..ee82a874d3f94 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).errors.txt @@ -0,0 +1,42 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== aux.ts (0 errors) ==== + export class SomeClass { + field: string; + } + +==== aux1.ts (0 errors) ==== + export class SomeClass1 { + field: string; + } + +==== aux2.ts (0 errors) ==== + export class SomeClass2 { + field: string; + } +==== main.ts (0 errors) ==== + import { SomeClass } from './aux'; + import { SomeClass1 } from './aux1'; + + function annotation(): ClassDecorator { + return (target: any): void => { }; + } + + function annotation1(): MethodDecorator { + return (target: any): void => { }; + } + + @annotation() + export class ClassA { + array: SomeClass[]; + + constructor(...init: SomeClass[]) { + this.array = init; + } + + @annotation1() + foo(... args: SomeClass1[]) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).types b/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).types index 039c11ddb3b9d..38aadf5a73fab 100644 --- a/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataRestParameterWithImportedType(target=es5).types @@ -46,6 +46,7 @@ function annotation(): ClassDecorator { >(target: any): void => { } : (target: any) => void > : ^ ^^ ^^^^^ >target : any +> : ^^^ } function annotation1(): MethodDecorator { @@ -56,6 +57,7 @@ function annotation1(): MethodDecorator { >(target: any): void => { } : (target: any) => void > : ^ ^^ ^^^^^ >target : any +> : ^^^ } @annotation() diff --git a/tests/baselines/reference/decoratorMetadataWithConstructorType(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithConstructorType(target=es5).errors.txt new file mode 100644 index 0000000000000..14131aa1c31ee --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithConstructorType(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorMetadataWithConstructorType.ts (0 errors) ==== + declare var console: { + log(msg: string): void; + }; + + class A { + constructor() { console.log('new A'); } + } + + function decorator(target: Object, propertyKey: string) { + } + + export class B { + @decorator + x: A = new A(); + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).errors.txt new file mode 100644 index 0000000000000..5fcfabf5d70df --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== db.ts (0 errors) ==== + export class db { + public doSomething() { + } + } + +==== service.ts (0 errors) ==== + import {db} from './db'; + function someDecorator(target) { + return target; + } + @someDecorator + class MyClass { + db: db; + + constructor(db: db) { + this.db = db; + this.db.doSomething(); + } + } + export {MyClass}; + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).types index 42cbbe0667ed2..a5bbe62e6a1c2 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision(target=es5).types @@ -20,9 +20,11 @@ function someDecorator(target) { >someDecorator : (target: any) => any > : ^ ^^^^^^^^^^^^^ >target : any +> : ^^^ return target; >target : any +> : ^^^ } @someDecorator >someDecorator : (target: any) => any diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).errors.txt new file mode 100644 index 0000000000000..e582c9d95d17e --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== db.ts (0 errors) ==== + export class db { + public doSomething() { + } + } + +==== service.ts (0 errors) ==== + import {db as Database} from './db'; + function someDecorator(target) { + return target; + } + @someDecorator + class MyClass { + db: Database; + + constructor(db: Database) { // no collision + this.db = db; + this.db.doSomething(); + } + } + export {MyClass}; + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).types index 95c9a2e1754e7..ffd742e116f2a 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision2(target=es5).types @@ -22,9 +22,11 @@ function someDecorator(target) { >someDecorator : (target: any) => any > : ^ ^^^^^^^^^^^^^ >target : any +> : ^^^ return target; >target : any +> : ^^^ } @someDecorator >someDecorator : (target: any) => any diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).errors.txt new file mode 100644 index 0000000000000..5346b6561fe7c --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== service.ts (0 errors) ==== + import db = require('./db'); + function someDecorator(target) { + return target; + } + @someDecorator + class MyClass { + db: db.db; + + constructor(db: db.db) { // collision with namespace of external module db + this.db = db; + this.db.doSomething(); + } + } + export {MyClass}; + +==== db.ts (0 errors) ==== + export class db { + public doSomething() { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).types index 3689995d560e6..63e3f87bf16a0 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision3(target=es5).types @@ -9,9 +9,11 @@ function someDecorator(target) { >someDecorator : (target: any) => any > : ^ ^^^^^^^^^^^^^ >target : any +> : ^^^ return target; >target : any +> : ^^^ } @someDecorator >someDecorator : (target: any) => any diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4(target=es5).errors.txt index 2a76c2fb070e0..877703c3fecff 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. service.ts(1,8): error TS2613: Module '"db"' has no default export. Did you mean to use 'import { db } from "db"' instead? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== db.ts (0 errors) ==== export class db { public doSomething() { diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).errors.txt new file mode 100644 index 0000000000000..65e04d564f71d --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== db.ts (0 errors) ==== + export default class db { + public doSomething() { + } + } + +==== service.ts (0 errors) ==== + import db from './db'; + function someDecorator(target) { + return target; + } + @someDecorator + class MyClass { + db: db; + + constructor(db: db) { // collision + this.db = db; + this.db.doSomething(); + } + } + export {MyClass}; + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).types index 904662ff2c65a..7f313b9b11b35 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision5(target=es5).types @@ -20,9 +20,11 @@ function someDecorator(target) { >someDecorator : (target: any) => any > : ^ ^^^^^^^^^^^^^ >target : any +> : ^^^ return target; >target : any +> : ^^^ } @someDecorator >someDecorator : (target: any) => any diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).errors.txt new file mode 100644 index 0000000000000..c8ecb4ad0ed75 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== db.ts (0 errors) ==== + export default class db { + public doSomething() { + } + } + +==== service.ts (0 errors) ==== + import database from './db'; + function someDecorator(target) { + return target; + } + @someDecorator + class MyClass { + db: database; + + constructor(db: database) { // no collision + this.db = db; + this.db.doSomething(); + } + } + export {MyClass}; + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).types index 558cf75322dab..ab0849e4b70a6 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision6(target=es5).types @@ -20,9 +20,11 @@ function someDecorator(target) { >someDecorator : (target: any) => any > : ^ ^^^^^^^^^^^^^ >target : any +> : ^^^ return target; >target : any +> : ^^^ } @someDecorator >someDecorator : (target: any) => any diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7(target=es5).errors.txt index cce125d2fb0f9..929684b8c414a 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. service.ts(7,9): error TS2702: 'db' only refers to a type, but is being used as a namespace here. service.ts(9,21): error TS2702: 'db' only refers to a type, but is being used as a namespace here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== db.ts (0 errors) ==== export default class db { public doSomething() { diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).errors.txt new file mode 100644 index 0000000000000..52f78029a760f --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== service.ts (0 errors) ==== + import database = require('./db'); + function someDecorator(target) { + return target; + } + @someDecorator + class MyClass { + db: database.db; + + constructor(db: database.db) { // no collision + this.db = db; + this.db.doSomething(); + } + } + export {MyClass}; + +==== db.ts (0 errors) ==== + export class db { + public doSomething() { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).types index 01ec7d466daff..9c6b5f021c92f 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision8(target=es5).types @@ -9,9 +9,11 @@ function someDecorator(target) { >someDecorator : (target: any) => any > : ^ ^^^^^^^^^^^^^ >target : any +> : ^^^ return target; >target : any +> : ^^^ } @someDecorator >someDecorator : (target: any) => any diff --git a/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).errors.txt b/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).errors.txt new file mode 100644 index 0000000000000..5984bb899005e --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== service.ts (0 errors) ==== + export class Service { + } +==== component.ts (0 errors) ==== + import type { Service } from "./service"; + + declare var decorator: any; + + @decorator + class MyComponent { + constructor(public Service: Service) { + } + + @decorator + method(x: this) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).types b/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).types index 9500d17427675..56d001a4ca5ec 100644 --- a/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).types +++ b/tests/baselines/reference/decoratorMetadataWithTypeOnlyImport(target=es5).types @@ -12,9 +12,11 @@ import type { Service } from "./service"; declare var decorator: any; >decorator : any +> : ^^^ @decorator >decorator : any +> : ^^^ class MyComponent { >MyComponent : MyComponent @@ -27,6 +29,7 @@ class MyComponent { @decorator >decorator : any +> : ^^^ method(x: this) { >method : (x: this) => void diff --git a/tests/baselines/reference/decoratorOnClass1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass1(target=es5).errors.txt new file mode 100644 index 0000000000000..b50e7f79326df --- /dev/null +++ b/tests/baselines/reference/decoratorOnClass1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClass1.ts (0 errors) ==== + declare function dec(target: T): T; + + @dec + class C { + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClass2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass2(target=es5).errors.txt new file mode 100644 index 0000000000000..9539fc68fd7e4 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClass2(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClass2.ts (0 errors) ==== + declare function dec(target: T): T; + + @dec + export class C { + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClass3(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass3(target=es5).errors.txt new file mode 100644 index 0000000000000..c7e9d8ebf8b01 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClass3(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClass3.ts (0 errors) ==== + declare function dec(target: T): T; + + export + @dec + class C { + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClass4(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass4(target=es5).errors.txt new file mode 100644 index 0000000000000..bb25f677cb8e7 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClass4(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClass4.ts (0 errors) ==== + declare function dec(): (target: T) => T; + + @dec() + class C { + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClass5(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass5(target=es5).errors.txt new file mode 100644 index 0000000000000..841d83c1f5bbc --- /dev/null +++ b/tests/baselines/reference/decoratorOnClass5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClass5.ts (0 errors) ==== + declare function dec(): (target: T) => T; + + @dec() + class C { + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClass8(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass8(target=es5).errors.txt index bac1886c5d472..cba86a1080a14 100644 --- a/tests/baselines/reference/decoratorOnClass8(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClass8(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClass8.ts(3,1): error TS1238: Unable to resolve signature of class decorator when called as an expression. The runtime will invoke the decorator with 1 arguments, but the decorator expects 2. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClass8.ts (1 errors) ==== declare function dec(): (target: Function, paramIndex: number) => void; diff --git a/tests/baselines/reference/decoratorOnClass9(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClass9(target=es5).errors.txt new file mode 100644 index 0000000000000..111cbf1ef6223 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClass9(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClass9.ts (0 errors) ==== + declare var dec: any; + + class A {} + + // https://github.com/Microsoft/TypeScript/issues/16417 + @dec + class B extends A { + static x = 1; + static y = B.x; + m() { + return B.x; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClass9(target=es5).types b/tests/baselines/reference/decoratorOnClass9(target=es5).types index 4046ae2c002bf..836ec661a28a1 100644 --- a/tests/baselines/reference/decoratorOnClass9(target=es5).types +++ b/tests/baselines/reference/decoratorOnClass9(target=es5).types @@ -3,6 +3,7 @@ === decoratorOnClass9.ts === declare var dec: any; >dec : any +> : ^^^ class A {} >A : A @@ -11,6 +12,7 @@ class A {} // https://github.com/Microsoft/TypeScript/issues/16417 @dec >dec : any +> : ^^^ class B extends A { >B : B diff --git a/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).errors.txt new file mode 100644 index 0000000000000..cddf949c91ec9 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassAccessor1.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + @dec get accessor() { return 1; } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).types b/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).types index b146bc412a043..efb3228b4b579 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassAccessor1(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).errors.txt new file mode 100644 index 0000000000000..4e69923715f94 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassAccessor2.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + @dec public get accessor() { return 1; } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).types b/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).types index 7d55b72ce0e7b..13deeaa29cb28 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassAccessor2(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassAccessor3(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor3(target=es5).errors.txt index 74101534f6dd2..44e63bcb6b2d6 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor3(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassAccessor3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassAccessor3.ts(4,12): error TS1436: Decorators must precede the name and all keywords of property declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassAccessor3.ts (1 errors) ==== declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; diff --git a/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).errors.txt new file mode 100644 index 0000000000000..808cbdae72c46 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassAccessor4.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + @dec set accessor(value: number) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).types b/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).types index daa22e15d5f5d..0445f7d81b265 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassAccessor4(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).errors.txt new file mode 100644 index 0000000000000..af90f0e7afe46 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassAccessor5.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + @dec public set accessor(value: number) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).types b/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).types index a107b6e668e3b..8347ca46a33af 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassAccessor5(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassAccessor6(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor6(target=es5).errors.txt index 52f8c3efceaeb..b716c94977099 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor6(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassAccessor6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassAccessor6.ts(4,12): error TS1436: Decorators must precede the name and all keywords of property declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassAccessor6.ts (1 errors) ==== declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; diff --git a/tests/baselines/reference/decoratorOnClassAccessor7(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor7(target=es5).errors.txt index 119918052cd8d..480da7b1764c6 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor7(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassAccessor7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassAccessor7.ts(26,5): error TS1207: Decorators cannot be applied to multiple get/set accessors of the same name. decoratorOnClassAccessor7.ts(31,5): error TS1207: Decorators cannot be applied to multiple get/set accessors of the same name. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassAccessor7.ts (2 errors) ==== declare function dec1(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; declare function dec2(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; diff --git a/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).errors.txt new file mode 100644 index 0000000000000..e66d716c65c08 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).errors.txt @@ -0,0 +1,34 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassAccessor8.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class A { + @dec get x() { return 0; } + set x(value: number) { } + } + + class B { + get x() { return 0; } + @dec set x(value: number) { } + } + + class C { + @dec set x(value: number) { } + get x() { return 0; } + } + + class D { + set x(value: number) { } + @dec get x() { return 0; } + } + + class E { + @dec get x() { return 0; } + } + + class F { + @dec set x(value: number) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).types b/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).types index c6588ff39715e..51a041b5530f4 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassAccessor8(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassConstructor1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassConstructor1(target=es5).errors.txt index 08feee6fe0a19..410b465841763 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor1(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassConstructor1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassConstructor1.ts(4,5): error TS1206: Decorators are not valid here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassConstructor1.ts (1 errors) ==== declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; diff --git a/tests/baselines/reference/decoratorOnClassConstructor2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassConstructor2(target=es5).errors.txt index 29b7d220837cb..07d963a143a11 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor2(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassConstructor2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 2.ts(1,20): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled. 2.ts(2,19): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== 0.ts (0 errors) ==== export class base { } export function foo(target: Object, propertyKey: string | symbol, parameterIndex: number) { } diff --git a/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).errors.txt new file mode 100644 index 0000000000000..2a1dc275385d4 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== 0.ts (0 errors) ==== + export class base { } + export function foo(target: Object, propertyKey: string | symbol, parameterIndex: number) { } + +==== 2.ts (0 errors) ==== + import {base} from "./0" + import {foo} from "./0" + + /* Comment on the Class Declaration */ + export class C extends base{ + constructor(@foo prop: any) { + super(); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).types b/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).types index 6b0e4816e6298..ea716b4a9ed93 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassConstructor3(target=es5).types @@ -35,6 +35,7 @@ export class C extends base{ >foo : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void > : ^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^ >prop : any +> : ^^^ super(); >super() : void diff --git a/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).errors.txt new file mode 100644 index 0000000000000..622a51f1a1e07 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassConstructor4.ts (0 errors) ==== + declare var dec: any; + + @dec + class A { + } + + @dec + class B { + constructor(x: number) {} + } + + @dec + class C extends A { + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).types b/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).types index e74d0f38a34d8..3220bc0df1054 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassConstructor4(target=es5).types @@ -3,9 +3,11 @@ === decoratorOnClassConstructor4.ts === declare var dec: any; >dec : any +> : ^^^ @dec >dec : any +> : ^^^ class A { >A : A @@ -14,6 +16,7 @@ class A { @dec >dec : any +> : ^^^ class B { >B : B @@ -26,6 +29,7 @@ class B { @dec >dec : any +> : ^^^ class C extends A { >C : C diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassConstructorParameter1(target=es5).errors.txt new file mode 100644 index 0000000000000..bfab282023ba1 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassConstructorParameter1.ts (0 errors) ==== + declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void; + + class C { + constructor(@dec p: number) {} + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter4(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassConstructorParameter4(target=es5).errors.txt index 4647d3f842d98..c1921b0d0d9f1 100644 --- a/tests/baselines/reference/decoratorOnClassConstructorParameter4(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassConstructorParameter4.ts(4,24): error TS1005: ',' expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassConstructorParameter4.ts (1 errors) ==== declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void; diff --git a/tests/baselines/reference/decoratorOnClassMethod1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod1(target=es5).errors.txt new file mode 100644 index 0000000000000..50347a006b107 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassMethod1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassMethod1.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + @dec method() {} + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassMethod1(target=es5).types b/tests/baselines/reference/decoratorOnClassMethod1(target=es5).types index 07d1adb73abf7..5389dc7c3deac 100644 --- a/tests/baselines/reference/decoratorOnClassMethod1(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassMethod1(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassMethod10(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod10(target=es5).errors.txt index 2d46e3785d335..d274dba6a105d 100644 --- a/tests/baselines/reference/decoratorOnClassMethod10(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethod10(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethod10.ts(4,6): error TS1241: Unable to resolve signature of method decorator when called as an expression. Argument of type 'C' is not assignable to parameter of type 'Function'. Type 'C' is missing the following properties from type 'Function': apply, call, bind, prototype, and 5 more. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethod10.ts (1 errors) ==== declare function dec(target: Function, paramIndex: number): void; diff --git a/tests/baselines/reference/decoratorOnClassMethod11(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod11(target=es5).errors.txt index dd19010f0ca5d..8c6f4d3b8a615 100644 --- a/tests/baselines/reference/decoratorOnClassMethod11(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethod11(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethod11.ts(5,11): error TS2331: 'this' cannot be referenced in a module or namespace body. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethod11.ts (1 errors) ==== namespace M { class C { diff --git a/tests/baselines/reference/decoratorOnClassMethod12(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod12(target=es5).errors.txt index 4bb4d1c959243..f5bb902e33658 100644 --- a/tests/baselines/reference/decoratorOnClassMethod12(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethod12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethod12.ts(6,11): error TS2660: 'super' can only be referenced in members of derived classes or object literal expressions. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethod12.ts (1 errors) ==== namespace M { class S { diff --git a/tests/baselines/reference/decoratorOnClassMethod2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod2(target=es5).errors.txt new file mode 100644 index 0000000000000..dfbff249be27b --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassMethod2(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassMethod2.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + @dec public method() {} + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassMethod2(target=es5).types b/tests/baselines/reference/decoratorOnClassMethod2(target=es5).types index b72f9cb9b335e..9461717f5d041 100644 --- a/tests/baselines/reference/decoratorOnClassMethod2(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassMethod2(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassMethod3(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod3(target=es5).errors.txt index 9308996bc1bd6..66c5bb760f703 100644 --- a/tests/baselines/reference/decoratorOnClassMethod3(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethod3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethod3.ts(4,12): error TS1436: Decorators must precede the name and all keywords of property declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethod3.ts (1 errors) ==== declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; diff --git a/tests/baselines/reference/decoratorOnClassMethod8(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethod8(target=es5).errors.txt index 1ca9f7a2ed7a5..da989648b2a31 100644 --- a/tests/baselines/reference/decoratorOnClassMethod8(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethod8(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethod8.ts(4,6): error TS1241: Unable to resolve signature of method decorator when called as an expression. The runtime will invoke the decorator with 3 arguments, but the decorator expects 1. decoratorOnClassMethod8.ts(4,6): error TS1270: Decorator function return type 'C' is not assignable to type 'void | TypedPropertyDescriptor<() => void>'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethod8.ts (2 errors) ==== declare function dec(target: T): T; diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethodOverload1(target=es5).errors.txt index b9a38933d729a..8e29ffe99da44 100644 --- a/tests/baselines/reference/decoratorOnClassMethodOverload1(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethodOverload1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethodOverload1.ts(4,5): error TS1249: A decorator can only decorate a method implementation, not an overload. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethodOverload1.ts (1 errors) ==== declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).errors.txt new file mode 100644 index 0000000000000..7afa2f1149855 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassMethodOverload2.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor): TypedPropertyDescriptor; + + class C { + method() + @dec + method() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).types b/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).types index c827ee33ff9f6..6b7092a184ac4 100644 --- a/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassMethodOverload2(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string, descriptor: TypedPrope >dec : (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ >descriptor : TypedPropertyDescriptor diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethodParameter1(target=es5).errors.txt new file mode 100644 index 0000000000000..98e376233cfde --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassMethodParameter1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassMethodParameter1.ts (0 errors) ==== + declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; + + class C { + method(@dec p: number) {} + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethodParameter2(target=es5).errors.txt new file mode 100644 index 0000000000000..995dccdb2766d --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassMethodParameter2(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassMethodParameter2.ts (0 errors) ==== + declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; + + class C { + method(this: C, @dec p: number) {} + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassMethodThisParameter(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassMethodThisParameter(target=es5).errors.txt index 597bb186bb3b9..4c8d4d062876c 100644 --- a/tests/baselines/reference/decoratorOnClassMethodThisParameter(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassMethodThisParameter(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassMethodThisParameter.ts(4,12): error TS1433: Neither decorators nor modifiers may be applied to 'this' parameters. decoratorOnClassMethodThisParameter.ts(8,29): error TS1433: Neither decorators nor modifiers may be applied to 'this' parameters. decoratorOnClassMethodThisParameter.ts(8,30): error TS2680: A 'this' parameter must be the first parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassMethodThisParameter.ts (3 errors) ==== declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void; diff --git a/tests/baselines/reference/decoratorOnClassProperty1(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty1(target=es5).errors.txt new file mode 100644 index 0000000000000..e6157464bfb21 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassProperty1(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassProperty1.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string): void; + + class C { + @dec prop; + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassProperty1(target=es5).types b/tests/baselines/reference/decoratorOnClassProperty1(target=es5).types index 766cca25f17ee..08373c67f9426 100644 --- a/tests/baselines/reference/decoratorOnClassProperty1(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassProperty1(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string): void; >dec : (target: any, propertyKey: string) => void > : ^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ @@ -16,4 +17,5 @@ class C { >dec : (target: any, propertyKey: string) => void > : ^ ^^ ^^ ^^ ^^^^^ >prop : any +> : ^^^ } diff --git a/tests/baselines/reference/decoratorOnClassProperty10(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty10(target=es5).errors.txt new file mode 100644 index 0000000000000..ebed0f02e5a42 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassProperty10(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassProperty10.ts (0 errors) ==== + declare function dec(): (target: any, propertyKey: string) => void; + + class C { + @dec() prop; + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassProperty10(target=es5).types b/tests/baselines/reference/decoratorOnClassProperty10(target=es5).types index 4fef3c452dad5..95260e3750549 100644 --- a/tests/baselines/reference/decoratorOnClassProperty10(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassProperty10(target=es5).types @@ -5,6 +5,7 @@ declare function dec(): (target: any, propertyKey: string) => void; >dec : () => (target: any, propertyKey: string) => void > : ^^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ @@ -18,4 +19,5 @@ class C { >dec : () => (target: any, propertyKey: string) => void > : ^^^^^^ >prop : any +> : ^^^ } diff --git a/tests/baselines/reference/decoratorOnClassProperty11(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty11(target=es5).errors.txt index 73f85631821f8..b773e54cc7e37 100644 --- a/tests/baselines/reference/decoratorOnClassProperty11(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassProperty11(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassProperty11.ts(4,5): error TS1329: 'dec' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@dec()'? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassProperty11.ts (1 errors) ==== declare function dec(): (target: any, propertyKey: string) => void; diff --git a/tests/baselines/reference/decoratorOnClassProperty12(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty12(target=es5).errors.txt new file mode 100644 index 0000000000000..d157e1658af17 --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassProperty12(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassProperty12.ts (0 errors) ==== + declare function dec(): (target: any, propertyKey: string) => void; + + class A { + @dec() + foo: `${string}` + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassProperty12(target=es5).types b/tests/baselines/reference/decoratorOnClassProperty12(target=es5).types index 0c18f8712b401..9168cd86ea62b 100644 --- a/tests/baselines/reference/decoratorOnClassProperty12(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassProperty12(target=es5).types @@ -5,6 +5,7 @@ declare function dec(): (target: any, propertyKey: string) => void; >dec : () => (target: any, propertyKey: string) => void > : ^^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ diff --git a/tests/baselines/reference/decoratorOnClassProperty2(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty2(target=es5).errors.txt new file mode 100644 index 0000000000000..19a2d8dde39ee --- /dev/null +++ b/tests/baselines/reference/decoratorOnClassProperty2(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorOnClassProperty2.ts (0 errors) ==== + declare function dec(target: any, propertyKey: string): void; + + class C { + @dec public prop; + } \ No newline at end of file diff --git a/tests/baselines/reference/decoratorOnClassProperty2(target=es5).types b/tests/baselines/reference/decoratorOnClassProperty2(target=es5).types index d471e0728d13f..9f18c48b92ac3 100644 --- a/tests/baselines/reference/decoratorOnClassProperty2(target=es5).types +++ b/tests/baselines/reference/decoratorOnClassProperty2(target=es5).types @@ -5,6 +5,7 @@ declare function dec(target: any, propertyKey: string): void; >dec : (target: any, propertyKey: string) => void > : ^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ @@ -16,4 +17,5 @@ class C { >dec : (target: any, propertyKey: string) => void > : ^ ^^ ^^ ^^ ^^^^^ >prop : any +> : ^^^ } diff --git a/tests/baselines/reference/decoratorOnClassProperty3(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty3(target=es5).errors.txt index 50fcb82285b9a..684c471e58163 100644 --- a/tests/baselines/reference/decoratorOnClassProperty3(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassProperty3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassProperty3.ts(4,12): error TS1436: Decorators must precede the name and all keywords of property declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassProperty3.ts (1 errors) ==== declare function dec(target: any, propertyKey: string): void; diff --git a/tests/baselines/reference/decoratorOnClassProperty6(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty6(target=es5).errors.txt index 81048644fd0f6..2549007902d7e 100644 --- a/tests/baselines/reference/decoratorOnClassProperty6(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassProperty6(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassProperty6.ts(4,6): error TS1240: Unable to resolve signature of property decorator when called as an expression. The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassProperty6.ts (1 errors) ==== declare function dec(target: Function): void; diff --git a/tests/baselines/reference/decoratorOnClassProperty7(target=es5).errors.txt b/tests/baselines/reference/decoratorOnClassProperty7(target=es5).errors.txt index d81423a074b18..427cbd385b34c 100644 --- a/tests/baselines/reference/decoratorOnClassProperty7(target=es5).errors.txt +++ b/tests/baselines/reference/decoratorOnClassProperty7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. decoratorOnClassProperty7.ts(4,5): error TS1240: Unable to resolve signature of property decorator when called as an expression. The runtime will invoke the decorator with 2 arguments, but the decorator expects 3. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== decoratorOnClassProperty7.ts (1 errors) ==== declare function dec(target: Function, propertyKey: string | symbol, paramIndex: number): void; diff --git a/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).errors.txt b/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).errors.txt new file mode 100644 index 0000000000000..35bec281c62e1 --- /dev/null +++ b/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== decoratorWithNegativeLiteralTypeNoCrash.ts (0 errors) ==== + class A { + @decorator + public field1: -1 = -1; + } + function decorator(target: any, field: any) {} \ No newline at end of file diff --git a/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).types b/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).types index 9e32aedb683e4..eb9aa86cf9ab5 100644 --- a/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).types +++ b/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash(target=es5).types @@ -25,5 +25,7 @@ function decorator(target: any, field: any) {} >decorator : (target: any, field: any) => void > : ^ ^^ ^^ ^^ ^^^^^^^^^ >target : any +> : ^^^ >field : any +> : ^^^ diff --git a/tests/baselines/reference/defaultExportWithOverloads01(target=es5).errors.txt b/tests/baselines/reference/defaultExportWithOverloads01(target=es5).errors.txt new file mode 100644 index 0000000000000..7dbd56dc6ddf0 --- /dev/null +++ b/tests/baselines/reference/defaultExportWithOverloads01(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== defaultExportWithOverloads01.ts (0 errors) ==== + export default function f(); + export default function f(x: string); + export default function f(...args: any[]) { + } \ No newline at end of file diff --git a/tests/baselines/reference/defaultExportsCannotMerge01(target=es5).errors.txt b/tests/baselines/reference/defaultExportsCannotMerge01(target=es5).errors.txt index 03b907776ba7c..971efc75be460 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge01(target=es5).errors.txt +++ b/tests/baselines/reference/defaultExportsCannotMerge01(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. m1.ts(1,25): error TS2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a separate 'export default Decl' declaration instead. m1.ts(10,18): error TS2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a separate 'export default Decl' declaration instead. m2.ts(1,20): error TS2307: Cannot find module 'm1' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (2 errors) ==== export default function Decl() { ~~~~ diff --git a/tests/baselines/reference/defaultExportsCannotMerge02(target=es5).errors.txt b/tests/baselines/reference/defaultExportsCannotMerge02(target=es5).errors.txt index c5beac6d30822..21d861d123f16 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge02(target=es5).errors.txt +++ b/tests/baselines/reference/defaultExportsCannotMerge02(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. m1.ts(1,22): error TS2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a separate 'export default Decl' declaration instead. m1.ts(4,18): error TS2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a separate 'export default Decl' declaration instead. m2.ts(1,20): error TS2307: Cannot find module 'm1' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (2 errors) ==== export default class Decl { ~~~~ diff --git a/tests/baselines/reference/defaultExportsCannotMerge03(target=es5).errors.txt b/tests/baselines/reference/defaultExportsCannotMerge03(target=es5).errors.txt index 60b510fbd39c2..0c9bf6f933702 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge03(target=es5).errors.txt +++ b/tests/baselines/reference/defaultExportsCannotMerge03(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. m1.ts(1,22): error TS2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a separate 'export default Decl' declaration instead. m1.ts(4,11): error TS2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a separate 'export default Decl' declaration instead. m2.ts(1,20): error TS2307: Cannot find module 'm1' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (2 errors) ==== export default class Decl { ~~~~ diff --git a/tests/baselines/reference/defaultExportsCannotMerge04(target=es5).errors.txt b/tests/baselines/reference/defaultExportsCannotMerge04(target=es5).errors.txt index 0eb8ad763fcfb..a526bda315b1e 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge04(target=es5).errors.txt +++ b/tests/baselines/reference/defaultExportsCannotMerge04(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. defaultExportsCannotMerge04.ts(1,25): error TS2652: Merged declaration 'Foo' cannot include a default export declaration. Consider adding a separate 'export default Foo' declaration instead. defaultExportsCannotMerge04.ts(4,11): error TS2652: Merged declaration 'Foo' cannot include a default export declaration. Consider adding a separate 'export default Foo' declaration instead. defaultExportsCannotMerge04.ts(8,11): error TS2395: Individual declarations in merged declaration 'Foo' must be all exported or all local. defaultExportsCannotMerge04.ts(11,18): error TS2395: Individual declarations in merged declaration 'Foo' must be all exported or all local. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== defaultExportsCannotMerge04.ts (4 errors) ==== export default function Foo() { ~~~ diff --git a/tests/baselines/reference/defineProperty(target=es5).errors.txt b/tests/baselines/reference/defineProperty(target=es5).errors.txt new file mode 100644 index 0000000000000..a3def6e7f4862 --- /dev/null +++ b/tests/baselines/reference/defineProperty(target=es5).errors.txt @@ -0,0 +1,29 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== defineProperty.ts (0 errors) ==== + var x: "p" = "p" + class A { + a = this.y + b + public c; + ["computed"] = 13 + ;[x] = 14 + m() { } + constructor(public readonly y: number) { } + z = this.y + declare notEmitted; + } + class B { + public a; + } + class C extends B { + declare public a; + z = this.ka + constructor(public ka: number) { + super() + } + ki = this.ka + } + \ No newline at end of file diff --git a/tests/baselines/reference/defineProperty(target=es5).types b/tests/baselines/reference/defineProperty(target=es5).types index 3e60f6494fc4a..e0ba711d999b3 100644 --- a/tests/baselines/reference/defineProperty(target=es5).types +++ b/tests/baselines/reference/defineProperty(target=es5).types @@ -23,9 +23,11 @@ class A { b >b : any +> : ^^^ public c; >c : any +> : ^^^ ["computed"] = 13 >["computed"] : number @@ -63,6 +65,7 @@ class A { declare notEmitted; >notEmitted : any +> : ^^^ } class B { >B : B @@ -70,6 +73,7 @@ class B { public a; >a : any +> : ^^^ } class C extends B { >C : C @@ -79,6 +83,7 @@ class C extends B { declare public a; >a : any +> : ^^^ z = this.ka >z : number diff --git a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01(target=es5).errors.txt b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01(target=es5).errors.txt new file mode 100644 index 0000000000000..331d9f37f1494 --- /dev/null +++ b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01(target=es5).errors.txt @@ -0,0 +1,38 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== derivedClassConstructorWithExplicitReturns01.ts (0 errors) ==== + class C { + cProp = 10; + + foo() { return "this never gets used."; } + + constructor(value: number) { + return { + cProp: value, + foo() { + return "well this looks kinda C-ish."; + } + } + } + } + + class D extends C { + dProp = () => this; + + constructor(a = 100) { + super(a); + + if (Math.random() < 0.5) { + "You win!" + return { + cProp: 1, + dProp: () => this, + foo() { return "You win!!!!!" } + }; + } + else + return null; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers(target=es5).errors.txt b/tests/baselines/reference/derivedClassOverridesProtectedMembers(target=es5).errors.txt new file mode 100644 index 0000000000000..4751facd741f6 --- /dev/null +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers(target=es5).errors.txt @@ -0,0 +1,40 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== derivedClassOverridesProtectedMembers.ts (0 errors) ==== + var x: { foo: string; } + var y: { foo: string; bar: string; } + + class Base { + protected a: typeof x; + protected b(a: typeof x) { } + protected get c() { return x; } + protected set c(v: typeof x) { } + protected d: (a: typeof x) => void; + + protected static r: typeof x; + protected static s(a: typeof x) { } + protected static get t() { return x; } + protected static set t(v: typeof x) { } + protected static u: (a: typeof x) => void; + + constructor(a: typeof x) { } + } + + class Derived extends Base { + protected a: typeof y; + protected b(a: typeof y) { } + protected get c() { return y; } + protected set c(v: typeof y) { } + protected d: (a: typeof y) => void; + + protected static r: typeof y; + protected static s(a: typeof y) { } + protected static get t() { return y; } + protected static set t(a: typeof y) { } + protected static u: (a: typeof y) => void; + + constructor(a: typeof y) { super(x) } + } + \ No newline at end of file diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers2(target=es5).errors.txt b/tests/baselines/reference/derivedClassOverridesProtectedMembers2(target=es5).errors.txt new file mode 100644 index 0000000000000..7b696246153fb --- /dev/null +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers2(target=es5).errors.txt @@ -0,0 +1,68 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== derivedClassOverridesProtectedMembers2.ts (0 errors) ==== + var x: { foo: string; } + var y: { foo: string; bar: string; } + + class Base { + protected a: typeof x; + protected b(a: typeof x) { } + protected get c() { return x; } + protected set c(v: typeof x) { } + protected d: (a: typeof x) => void ; + + protected static r: typeof x; + protected static s(a: typeof x) { } + protected static get t() { return x; } + protected static set t(v: typeof x) { } + protected static u: (a: typeof x) => void ; + + constructor(a: typeof x) { } + } + + // Increase visibility of all protected members to public + class Derived extends Base { + a: typeof y; + b(a: typeof y) { } + get c() { return y; } + set c(v: typeof y) { } + d: (a: typeof y) => void; + + static r: typeof y; + static s(a: typeof y) { } + static get t() { return y; } + static set t(a: typeof y) { } + static u: (a: typeof y) => void; + + constructor(a: typeof y) { super(a); } + } + + var d: Derived = new Derived(y); + var r1 = d.a; + var r2 = d.b(y); + var r3 = d.c; + var r3a = d.d; + d.c = y; + var r4 = Derived.r; + var r5 = Derived.s(y); + var r6 = Derived.t; + var r6a = Derived.u; + Derived.t = y; + + class Base2 { + [i: string]: Object; + [i: number]: typeof x; + } + + class Derived2 extends Base2 { + [i: string]: typeof x; + [i: number]: typeof y; + } + + var d2: Derived2; + var r7 = d2['']; + var r8 = d2[1]; + + \ No newline at end of file diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers3(target=es5).errors.txt b/tests/baselines/reference/derivedClassOverridesProtectedMembers3(target=es5).errors.txt index 4bae5907f7ee6..4582e68492774 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers3(target=es5).errors.txt +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers3(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. derivedClassOverridesProtectedMembers3.ts(22,7): error TS2415: Class 'Derived1' incorrectly extends base class 'Base'. Property 'a' is protected in type 'Derived1' but public in type 'Base'. derivedClassOverridesProtectedMembers3.ts(27,7): error TS2415: Class 'Derived2' incorrectly extends base class 'Base'. @@ -20,6 +21,7 @@ derivedClassOverridesProtectedMembers3.ts(67,7): error TS2417: Class static side Property 'u' is protected in type 'typeof Derived10' but public in type 'typeof Base'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== derivedClassOverridesProtectedMembers3.ts (10 errors) ==== var x: { foo: string; } var y: { foo: string; bar: string; } diff --git a/tests/baselines/reference/derivedClassSuperProperties(target=es5).errors.txt b/tests/baselines/reference/derivedClassSuperProperties(target=es5).errors.txt index 4a43554ff1ab1..9abadb3004f07 100644 --- a/tests/baselines/reference/derivedClassSuperProperties(target=es5).errors.txt +++ b/tests/baselines/reference/derivedClassSuperProperties(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. derivedClassSuperProperties.ts(11,5): error TS2376: A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers. derivedClassSuperProperties.ts(12,9): error TS17011: 'super' must be called before accessing a property of 'super' in the constructor of a derived class. derivedClassSuperProperties.ts(19,5): error TS2376: A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers. @@ -46,6 +47,7 @@ derivedClassSuperProperties.ts(391,17): error TS2401: A 'super' call must be a r derivedClassSuperProperties.ts(397,21): error TS2401: A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== derivedClassSuperProperties.ts (46 errors) ==== declare const decorate: any; diff --git a/tests/baselines/reference/derivedClassSuperStatementPosition(target=es5).errors.txt b/tests/baselines/reference/derivedClassSuperStatementPosition(target=es5).errors.txt index bf989a9ccf881..a3b94879268a8 100644 --- a/tests/baselines/reference/derivedClassSuperStatementPosition(target=es5).errors.txt +++ b/tests/baselines/reference/derivedClassSuperStatementPosition(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. derivedClassSuperStatementPosition.ts(12,9): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class. derivedClassSuperStatementPosition.ts(22,9): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class. derivedClassSuperStatementPosition.ts(45,9): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class. @@ -7,6 +8,7 @@ derivedClassSuperStatementPosition.ts(81,13): error TS2401: A 'super' call must derivedClassSuperStatementPosition.ts(90,13): error TS2401: A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== derivedClassSuperStatementPosition.ts (7 errors) ==== class DerivedBasic extends Object { prop = 1; diff --git a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance(target=es5).errors.txt b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance(target=es5).errors.txt index 3e3e363541c6b..df9a880d232fc 100644 --- a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance(target=es5).errors.txt +++ b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. derivedClassWithPrivateInstanceShadowingProtectedInstance.ts(12,7): error TS2415: Class 'Derived' incorrectly extends base class 'Base'. Property 'x' is private in type 'Derived' but not in type 'Base'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== derivedClassWithPrivateInstanceShadowingProtectedInstance.ts (1 errors) ==== class Base { protected x: string; diff --git a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic(target=es5).errors.txt b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic(target=es5).errors.txt index aefed7ccd01b9..371367a9124ed 100644 --- a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic(target=es5).errors.txt +++ b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. derivedClassWithPrivateStaticShadowingProtectedStatic.ts(12,7): error TS2417: Class static side 'typeof Derived' incorrectly extends base class static side 'typeof Base'. Property 'x' is private in type 'typeof Derived' but not in type 'typeof Base'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== derivedClassWithPrivateStaticShadowingProtectedStatic.ts (1 errors) ==== class Base { protected static x: string; diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment4(target=es5).errors.txt b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment4(target=es5).errors.txt index ea3ee538ee477..8ed44abf71c56 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment4(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringArrayBindingPatternAndAssignment4.ts(5,7): error TS2548: Type 'number[] | null' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringArrayBindingPatternAndAssignment4.ts (1 errors) ==== // #35497 diff --git a/tests/baselines/reference/destructuringEvaluationOrder(target=es5).errors.txt b/tests/baselines/reference/destructuringEvaluationOrder(target=es5).errors.txt new file mode 100644 index 0000000000000..8b7ace0df143d --- /dev/null +++ b/tests/baselines/reference/destructuringEvaluationOrder(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringEvaluationOrder.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/39205 + let trace: any[] = []; + let order = (n: any): any => trace.push(n); + + // order(0) should evaluate before order(1) because the first element is undefined + let [{ [order(1)]: x } = order(0)] = []; + + // order(0) should not evaluate because the first element is defined + let [{ [order(1)]: y } = order(0)] = [{}]; + + // order(0) should evaluate first (destructuring of object literal {}) + // order(1) should evaluate next (initializer because property is undefined) + // order(2) should evaluate last (evaluate object binding pattern from initializer) + let { [order(0)]: { [order(2)]: z } = order(1), ...w } = {} as any; + + + // https://github.com/microsoft/TypeScript/issues/39181 + + // b = a must occur *after* 'a' has been assigned + let [{ ...a }, b = a]: any[] = [{ x: 1 }] + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).errors.txt b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).errors.txt new file mode 100644 index 0000000000000..3e5e72ca0b5b7 --- /dev/null +++ b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringObjectAssignmentPatternWithNestedSpread.ts (0 errors) ==== + let a: any, b: any, c: any = {x: {a: 1, y: 2}}, d: any; + ({x: {a, ...b} = d} = c); + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).errors.txt b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).errors.txt new file mode 100644 index 0000000000000..a12bff91feba4 --- /dev/null +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringObjectBindingPatternAndAssignment6.ts (0 errors) ==== + const a = "a"; + const b = "b"; + + const { [a]: aVal, [b]: bVal } = (() => { + return { [a]: 1, [b]: 1 }; + })(); + console.log(aVal, bVal); + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).errors.txt b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).errors.txt new file mode 100644 index 0000000000000..c8936c148a0f4 --- /dev/null +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringObjectBindingPatternAndAssignment7.ts (0 errors) ==== + enum K { + a = "a", + b = "b" + } + const { [K.a]: aVal, [K.b]: bVal } = (() => { + return { [K.a]: 1, [K.b]: 1 }; + })(); + console.log(aVal, bVal); + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).errors.txt b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).errors.txt new file mode 100644 index 0000000000000..77e0666bed0df --- /dev/null +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringObjectBindingPatternAndAssignment8.ts (0 errors) ==== + const K = { + a: "a", + b: "b" + } + const { [K.a]: aVal, [K.b]: bVal } = (() => { + return { [K.a]: 1, [K.b]: 1 }; + })(); + console.log(aVal, bVal); + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable(target=es5).errors.txt b/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable(target=es5).errors.txt index 3d2a00a310a3a..deee877920209 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringParameterDeclaration3ES5iterable.ts(26,4): error TS2345: Argument of type '[number, number, [[string]], boolean, boolean]' is not assignable to parameter of type '[any, any, [[any]]]'. Source has 5 element(s) but target allows only 3. destructuringParameterDeclaration3ES5iterable.ts(29,12): error TS2322: Type 'number' is not assignable to type '[[any]]'. @@ -5,6 +6,7 @@ destructuringParameterDeclaration3ES5iterable.ts(30,5): error TS2345: Argument o Source has 2 element(s) but target requires 3. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringParameterDeclaration3ES5iterable.ts (3 errors) ==== // If the parameter is a rest parameter, the parameter type is any[] // A type annotation for a rest parameter must denote an array type. diff --git a/tests/baselines/reference/destructuringParameterDeclaration7ES5(target=es5).errors.txt b/tests/baselines/reference/destructuringParameterDeclaration7ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..2f2faf508ea17 --- /dev/null +++ b/tests/baselines/reference/destructuringParameterDeclaration7ES5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringParameterDeclaration7ES5.ts (0 errors) ==== + interface ISomething { + foo: string, + bar: string + } + + function foo({}, {foo, bar}: ISomething) {} + + function baz([], {foo, bar}: ISomething) {} + + function one([], {}) {} + + function two([], [a, b, c]: number[]) {} + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable(target=es5).errors.txt b/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable(target=es5).errors.txt new file mode 100644 index 0000000000000..7c88a6b4faf9b --- /dev/null +++ b/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringParameterDeclaration7ES5iterable.ts (0 errors) ==== + interface ISomething { + foo: string, + bar: string + } + + function foo({}, {foo, bar}: ISomething) {} + + function baz([], {foo, bar}: ISomething) {} + + function one([], {}) {} + + function two([], [a, b, c]: number[]) {} + \ No newline at end of file diff --git a/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).errors.txt b/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).errors.txt new file mode 100644 index 0000000000000..d6fecb31dda25 --- /dev/null +++ b/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringReassignsRightHandSide.ts (0 errors) ==== + var foo: any = { foo: 1, bar: 2 }; + var bar: any; + + // reassignment in destructuring pattern + ({ foo, bar } = foo); + + // reassignment in subsequent var + var { foo, baz } = foo; \ No newline at end of file diff --git a/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).types b/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).types index be01d68117502..782374ed8ea7d 100644 --- a/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).types +++ b/tests/baselines/reference/destructuringReassignsRightHandSide(target=es5).types @@ -3,6 +3,7 @@ === destructuringReassignsRightHandSide.ts === var foo: any = { foo: 1, bar: 2 }; >foo : any +> : ^^^ >{ foo: 1, bar: 2 } : { foo: number; bar: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >foo : number @@ -16,16 +17,22 @@ var foo: any = { foo: 1, bar: 2 }; var bar: any; >bar : any +> : ^^^ // reassignment in destructuring pattern ({ foo, bar } = foo); >({ foo, bar } = foo) : any +> : ^^^ >{ foo, bar } = foo : any +> : ^^^ >{ foo, bar } : { foo: any; bar: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^ >foo : any +> : ^^^ >bar : any +> : ^^^ >foo : any +> : ^^^ // reassignment in subsequent var var { foo, baz } = foo; @@ -34,4 +41,5 @@ var { foo, baz } = foo; >baz : any > : ^^^ >foo : any +> : ^^^ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_1(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_1(target=es5).errors.txt index 338c228208d07..360e397d0d64f 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_1(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringTypeAssertionsES5_1.ts(1,18): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringTypeAssertionsES5_1.ts (1 errors) ==== var { x } = foo(); ~~~ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_2(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_2(target=es5).errors.txt index 69bb1ad29880e..2952b6ddbdd05 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_2(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringTypeAssertionsES5_2.ts(1,19): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringTypeAssertionsES5_2.ts (1 errors) ==== var { x } = (foo()); ~~~ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_3(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_3(target=es5).errors.txt index 711fffb77bcc1..e863046b23c79 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_3(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringTypeAssertionsES5_3.ts(1,19): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringTypeAssertionsES5_3.ts (1 errors) ==== var { x } = (foo()); ~~~ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_4(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_4(target=es5).errors.txt index e099359414cc8..3d97a83b1f735 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_4(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringTypeAssertionsES5_4.ts(1,23): error TS2304: Cannot find name 'foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringTypeAssertionsES5_4.ts (1 errors) ==== var { x } = foo(); ~~~ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).errors.txt new file mode 100644 index 0000000000000..3f02e211955bf --- /dev/null +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== destructuringTypeAssertionsES5_5.ts (0 errors) ==== + var { x } = 0; \ No newline at end of file diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).types b/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).types index 5abc2c7775ac8..fad57f7af763b 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).types +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_5(target=es5).types @@ -5,6 +5,7 @@ var { x } = 0; >x : any > : ^^^ >0 : any +> : ^^^ >0 : 0 > : ^ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_6(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_6(target=es5).errors.txt index a46b81469d87b..e257bfd0b40d6 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_6(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringTypeAssertionsES5_6.ts(1,22): error TS2304: Cannot find name 'Foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringTypeAssertionsES5_6.ts (1 errors) ==== var { x } = new Foo; ~~~ diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_7(target=es5).errors.txt b/tests/baselines/reference/destructuringTypeAssertionsES5_7(target=es5).errors.txt index 92d5d44e89b8d..35d33def67557 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_7(target=es5).errors.txt +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_7(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. destructuringTypeAssertionsES5_7.ts(1,27): error TS2304: Cannot find name 'Foo'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== destructuringTypeAssertionsES5_7.ts (1 errors) ==== var { x } = new Foo; ~~~ diff --git a/tests/baselines/reference/divergentAccessorsTypes3(target=es5).errors.txt b/tests/baselines/reference/divergentAccessorsTypes3(target=es5).errors.txt new file mode 100644 index 0000000000000..d9dee1b8b1583 --- /dev/null +++ b/tests/baselines/reference/divergentAccessorsTypes3(target=es5).errors.txt @@ -0,0 +1,48 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== divergentAccessorsTypes3.ts (0 errors) ==== + class One { + get prop1(): string { return ""; } + set prop1(s: string | number) { } + + get prop2(): string { return ""; } + set prop2(s: string | number) { } + + prop3: number; + + get prop4(): string { return ""; } + set prop4(s: string | number) { } + } + + class Two { + get prop1(): string { return ""; } + set prop1(s: string | number) { } + + get prop2(): string { return ""; } + set prop2(s: string) { } + + get prop3(): string { return ""; } + set prop3(s: string | boolean) { } + + get prop4(): string { return ""; } + set prop4(s: string | boolean) { } + } + + declare const u1: One|Two; + + u1.prop1 = 42; + u1.prop1 = "hello"; + + u1.prop2 = 42; + u1.prop2 = "hello"; + + u1.prop3 = 42; + u1.prop3 = "hello"; + u1.prop3 = true; + + u1.prop4 = 42; + u1.prop4 = "hello"; + u1.prop4 = true; + \ No newline at end of file diff --git a/tests/baselines/reference/divergentAccessorsTypes4(target=es5).errors.txt b/tests/baselines/reference/divergentAccessorsTypes4(target=es5).errors.txt index bd3bed24204ac..fe2fc36060c3e 100644 --- a/tests/baselines/reference/divergentAccessorsTypes4(target=es5).errors.txt +++ b/tests/baselines/reference/divergentAccessorsTypes4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. divergentAccessorsTypes4.ts(29,1): error TS2322: Type '"hello"' is not assignable to type '42'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== divergentAccessorsTypes4.ts (1 errors) ==== class One { get prop1(): string { return ""; } diff --git a/tests/baselines/reference/divergentAccessorsTypes5(target=es5).errors.txt b/tests/baselines/reference/divergentAccessorsTypes5(target=es5).errors.txt index 00b77b09e9cd4..bc9075b7ebaf3 100644 --- a/tests/baselines/reference/divergentAccessorsTypes5(target=es5).errors.txt +++ b/tests/baselines/reference/divergentAccessorsTypes5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. divergentAccessorsTypes5.ts(31,1): error TS2322: Type '42' is not assignable to type '"hello"'. divergentAccessorsTypes5.ts(36,1): error TS2322: Type '"hello"' is not assignable to type '42'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== divergentAccessorsTypes5.ts (2 errors) ==== // Not really different from divergentAccessorsTypes4.ts, // but goes through the deferred type code diff --git a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters(target=es5).errors.txt b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters(target=es5).errors.txt index 6974d3cd5bdd2..767c7269f8c88 100644 --- a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters(target=es5).errors.txt +++ b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. doNotElaborateAssignabilityToTypeParameters.ts(3,3): error TS2322: Type 'Yadda | Awaited' is not assignable to type 'T'. 'T' could be instantiated with an arbitrary type which could be unrelated to 'Yadda | Awaited'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== doNotElaborateAssignabilityToTypeParameters.ts (1 errors) ==== async function foo(x: T): Promise { let yaddable = await getXOrYadda(x); diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2023(target=es5).errors.txt b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2023(target=es5).errors.txt index 71834a97f7865..8c44bf6f70d3e 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2023(target=es5).errors.txt +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2023(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. doYouNeedToChangeYourTargetLibraryES2023.ts(7,31): error TS2550: Property 'findLastIndex' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later. doYouNeedToChangeYourTargetLibraryES2023.ts(7,45): error TS7006: Parameter 'v' implicitly has an 'any' type. doYouNeedToChangeYourTargetLibraryES2023.ts(8,31): error TS2550: Property 'findLastIndex' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later. @@ -13,6 +14,7 @@ doYouNeedToChangeYourTargetLibraryES2023.ts(21,34): error TS2550: Property 'with doYouNeedToChangeYourTargetLibraryES2023.ts(22,29): error TS2550: Property 'with' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== doYouNeedToChangeYourTargetLibraryES2023.ts (13 errors) ==== export let array = [0, 2, 3, 4]; diff --git a/tests/baselines/reference/downlevelLetConst12(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst12(target=es5).errors.txt index f19a853934514..dba9360356349 100644 --- a/tests/baselines/reference/downlevelLetConst12(target=es5).errors.txt +++ b/tests/baselines/reference/downlevelLetConst12(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. downlevelLetConst12.ts(6,6): error TS2493: Tuple type '[]' of length '0' has no element at index '0'. downlevelLetConst12.ts(9,8): error TS2493: Tuple type '[]' of length '0' has no element at index '0'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== downlevelLetConst12.ts (2 errors) ==== 'use strict' // top level let\const should not be renamed diff --git a/tests/baselines/reference/downlevelLetConst13(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst13(target=es5).errors.txt new file mode 100644 index 0000000000000..8e8a33eadef99 --- /dev/null +++ b/tests/baselines/reference/downlevelLetConst13(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== downlevelLetConst13.ts (0 errors) ==== + 'use strict' + // exported let\const bindings should not be renamed + + export let foo = 10; + export const bar = "123" + export let [bar1] = [1]; + export const [bar2] = [2]; + export let {a: bar3} = { a: 1 }; + export const {a: bar4} = { a: 1 }; + + export namespace M { + export let baz = 100; + export const baz2 = true; + export let [bar5] = [1]; + export const [bar6] = [2]; + export let {a: bar7} = { a: 1 }; + export const {a: bar8} = { a: 1 }; + } \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst14(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst14(target=es5).errors.txt new file mode 100644 index 0000000000000..e0cbbbb6a8941 --- /dev/null +++ b/tests/baselines/reference/downlevelLetConst14(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== downlevelLetConst14.ts (0 errors) ==== + 'use strict' + declare function use(a: any); + + var x = 10; + var z0, z1, z2, z3; + { + let x = 20; + use(x); + + let [z0] = [1]; + use(z0); + let [z1] = [1] + use(z1); + let {a: z2} = { a: 1 }; + use(z2); + let {a: z3} = { a: 1 }; + use(z3); + } + use(x); + use(z0); + use(z1); + use(z2); + use(z3); + var z6; + var y = true; + { + let y = ""; + let [z6] = [true] + { + let y = 1; + let {a: z6} = {a: 1} + use(y); + use(z6); + } + use(y); + use(z6); + } + use(y); + use(z6); + + var z = false; + var z5 = 1; + { + let z = ""; + let [z5] = [5]; + { + let _z = 1; + let {a: _z5} = { a: 1 }; + // try to step on generated name + use(_z); + } + use(z); + } + use(y); \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst14(target=es5).types b/tests/baselines/reference/downlevelLetConst14(target=es5).types index 56dd340727ea2..8e354b85d791f 100644 --- a/tests/baselines/reference/downlevelLetConst14(target=es5).types +++ b/tests/baselines/reference/downlevelLetConst14(target=es5).types @@ -9,6 +9,7 @@ declare function use(a: any); >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >a : any +> : ^^^ var x = 10; >x : number @@ -18,9 +19,13 @@ var x = 10; var z0, z1, z2, z3; >z0 : any +> : ^^^ >z1 : any +> : ^^^ >z2 : any +> : ^^^ >z3 : any +> : ^^^ { let x = 20; >x : number @@ -30,6 +35,7 @@ var z0, z1, z2, z3; use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : number @@ -45,6 +51,7 @@ var z0, z1, z2, z3; use(z0); >use(z0) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z0 : number @@ -60,6 +67,7 @@ var z0, z1, z2, z3; use(z1); >use(z1) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z1 : number @@ -79,6 +87,7 @@ var z0, z1, z2, z3; use(z2); >use(z2) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z2 : number @@ -98,6 +107,7 @@ var z0, z1, z2, z3; use(z3); >use(z3) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z3 : number @@ -105,6 +115,7 @@ var z0, z1, z2, z3; } use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : number @@ -112,30 +123,39 @@ use(x); use(z0); >use(z0) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z0 : any +> : ^^^ use(z1); >use(z1) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z1 : any +> : ^^^ use(z2); >use(z2) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z2 : any +> : ^^^ use(z3); >use(z3) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z3 : any +> : ^^^ var z6; >z6 : any +> : ^^^ var y = true; >y : boolean @@ -177,6 +197,7 @@ var y = true; use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : number @@ -184,6 +205,7 @@ var y = true; use(z6); >use(z6) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z6 : number @@ -191,6 +213,7 @@ var y = true; } use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : string @@ -198,6 +221,7 @@ var y = true; use(z6); >use(z6) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z6 : boolean @@ -205,6 +229,7 @@ var y = true; } use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : true @@ -212,9 +237,11 @@ use(y); use(z6); >use(z6) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z6 : any +> : ^^^ var z = false; >z : boolean @@ -263,6 +290,7 @@ var z5 = 1; // try to step on generated name use(_z); >use(_z) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >_z : number @@ -270,6 +298,7 @@ var z5 = 1; } use(z); >use(z) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z : string @@ -277,6 +306,7 @@ var z5 = 1; } use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : true diff --git a/tests/baselines/reference/downlevelLetConst15(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst15(target=es5).errors.txt new file mode 100644 index 0000000000000..95b82137052ed --- /dev/null +++ b/tests/baselines/reference/downlevelLetConst15(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== downlevelLetConst15.ts (0 errors) ==== + 'use strict' + declare function use(a: any); + + var x = 10; + var z0, z1, z2, z3; + { + const x = 20; + use(x); + + const [z0] = [1]; + use(z0); + const [{a: z1}] = [{a: 1}] + use(z1); + const {a: z2} = { a: 1 }; + use(z2); + const {a: {b: z3}} = { a: {b: 1} }; + use(z3); + } + use(x); + use(z0); + use(z1); + use(z2); + use(z3); + var z6; + var y = true; + { + const y = ""; + const [z6] = [true] + { + const y = 1; + const {a: z6} = { a: 1 } + use(y); + use(z6); + } + use(y); + use(z6); + } + use(y); + use(z6); + + var z = false; + var z5 = 1; + { + const z = ""; + const [z5] = [5]; + { + const _z = 1; + const {a: _z5} = { a: 1 }; + // try to step on generated name + use(_z); + } + use(z); + } + use(y); \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst15(target=es5).types b/tests/baselines/reference/downlevelLetConst15(target=es5).types index d9db80cf386a7..1178b7bcce099 100644 --- a/tests/baselines/reference/downlevelLetConst15(target=es5).types +++ b/tests/baselines/reference/downlevelLetConst15(target=es5).types @@ -9,6 +9,7 @@ declare function use(a: any); >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >a : any +> : ^^^ var x = 10; >x : number @@ -18,9 +19,13 @@ var x = 10; var z0, z1, z2, z3; >z0 : any +> : ^^^ >z1 : any +> : ^^^ >z2 : any +> : ^^^ >z3 : any +> : ^^^ { const x = 20; >x : 20 @@ -30,6 +35,7 @@ var z0, z1, z2, z3; use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : 20 @@ -45,6 +51,7 @@ var z0, z1, z2, z3; use(z0); >use(z0) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z0 : number @@ -66,6 +73,7 @@ var z0, z1, z2, z3; use(z1); >use(z1) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z1 : number @@ -85,6 +93,7 @@ var z0, z1, z2, z3; use(z2); >use(z2) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z2 : number @@ -110,6 +119,7 @@ var z0, z1, z2, z3; use(z3); >use(z3) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z3 : number @@ -117,6 +127,7 @@ var z0, z1, z2, z3; } use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : number @@ -124,30 +135,39 @@ use(x); use(z0); >use(z0) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z0 : any +> : ^^^ use(z1); >use(z1) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z1 : any +> : ^^^ use(z2); >use(z2) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z2 : any +> : ^^^ use(z3); >use(z3) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z3 : any +> : ^^^ var z6; >z6 : any +> : ^^^ var y = true; >y : boolean @@ -189,6 +209,7 @@ var y = true; use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : 1 @@ -196,6 +217,7 @@ var y = true; use(z6); >use(z6) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z6 : number @@ -203,6 +225,7 @@ var y = true; } use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : "" @@ -210,6 +233,7 @@ var y = true; use(z6); >use(z6) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z6 : boolean @@ -217,6 +241,7 @@ var y = true; } use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : true @@ -224,9 +249,11 @@ use(y); use(z6); >use(z6) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z6 : any +> : ^^^ var z = false; >z : boolean @@ -275,6 +302,7 @@ var z5 = 1; // try to step on generated name use(_z); >use(_z) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >_z : 1 @@ -282,6 +310,7 @@ var z5 = 1; } use(z); >use(z) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >z : "" @@ -289,6 +318,7 @@ var z5 = 1; } use(y); >use(y) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >y : true diff --git a/tests/baselines/reference/downlevelLetConst16(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst16(target=es5).errors.txt index 3e5267338045a..5fbe3b8d76341 100644 --- a/tests/baselines/reference/downlevelLetConst16(target=es5).errors.txt +++ b/tests/baselines/reference/downlevelLetConst16(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. downlevelLetConst16.ts(151,15): error TS2493: Tuple type '[]' of length '0' has no element at index '0'. downlevelLetConst16.ts(164,17): error TS2493: Tuple type '[]' of length '0' has no element at index '0'. downlevelLetConst16.ts(195,14): error TS2461: Type 'undefined' is not an array type. @@ -6,6 +7,7 @@ downlevelLetConst16.ts(216,16): error TS2461: Type 'undefined' is not an array t downlevelLetConst16.ts(223,17): error TS2339: Property 'a' does not exist on type 'undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== downlevelLetConst16.ts (6 errors) ==== 'use strict' diff --git a/tests/baselines/reference/downlevelLetConst17(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst17(target=es5).errors.txt new file mode 100644 index 0000000000000..be4b7d95fa3f8 --- /dev/null +++ b/tests/baselines/reference/downlevelLetConst17(target=es5).errors.txt @@ -0,0 +1,72 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== downlevelLetConst17.ts (0 errors) ==== + 'use strict' + + declare function use(a: any); + + var x; + for (let x = 10; ;) { + use(x); + } + use(x); + + for (const x = 10; ;) { + use(x); + } + + for (; ;) { + let x = 10; + use(x); + x = 1; + } + + for (; ;) { + const x = 10; + use(x); + } + + for (let x; ;) { + use(x); + x = 1; + } + + for (; ;) { + let x; + use(x); + x = 1; + } + + while (true) { + let x; + use(x); + } + + while (true) { + const x = true; + use(x); + } + + do { + let x; + use(x); + } while (true); + + do { + let x; + use(x); + } while (true); + + for (let x in []) { + use(x); + } + + for (const x in []) { + use(x); + } + + for (const x of []) { + use(x); + } \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst17(target=es5).types b/tests/baselines/reference/downlevelLetConst17(target=es5).types index 1e6193638c4c5..bd90b4df79b0c 100644 --- a/tests/baselines/reference/downlevelLetConst17(target=es5).types +++ b/tests/baselines/reference/downlevelLetConst17(target=es5).types @@ -9,9 +9,11 @@ declare function use(a: any); >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >a : any +> : ^^^ var x; >x : any +> : ^^^ for (let x = 10; ;) { >x : number @@ -21,6 +23,7 @@ for (let x = 10; ;) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : number @@ -28,9 +31,11 @@ for (let x = 10; ;) { } use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ for (const x = 10; ;) { >x : 10 @@ -40,6 +45,7 @@ for (const x = 10; ;) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : 10 @@ -55,6 +61,7 @@ for (; ;) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : number @@ -78,6 +85,7 @@ for (; ;) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : 10 @@ -86,17 +94,21 @@ for (; ;) { for (let x; ;) { >x : any +> : ^^^ use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ x = 1; >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -104,17 +116,21 @@ for (let x; ;) { for (; ;) { let x; >x : any +> : ^^^ use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ x = 1; >x = 1 : 1 > : ^ >x : any +> : ^^^ >1 : 1 > : ^ } @@ -125,12 +141,15 @@ while (true) { let x; >x : any +> : ^^^ use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ } while (true) { @@ -145,6 +164,7 @@ while (true) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : true @@ -154,12 +174,15 @@ while (true) { do { let x; >x : any +> : ^^^ use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ } while (true); >true : true @@ -168,12 +191,15 @@ do { do { let x; >x : any +> : ^^^ use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ } while (true); >true : true @@ -187,6 +213,7 @@ for (let x in []) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : string @@ -201,6 +228,7 @@ for (const x in []) { use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : string @@ -209,12 +237,15 @@ for (const x in []) { for (const x of []) { >x : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ use(x); >use(x) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >x : any +> : ^^^ } diff --git a/tests/baselines/reference/downlevelLetConst18(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst18(target=es5).errors.txt index 1b818a010bcc4..d5013f0394431 100644 --- a/tests/baselines/reference/downlevelLetConst18(target=es5).errors.txt +++ b/tests/baselines/reference/downlevelLetConst18(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. downlevelLetConst18.ts(4,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. downlevelLetConst18.ts(8,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== downlevelLetConst18.ts (2 errors) ==== 'use strict' diff --git a/tests/baselines/reference/downlevelLetConst19(target=es5).errors.txt b/tests/baselines/reference/downlevelLetConst19(target=es5).errors.txt index 216ba2d6de48c..3d6d6852ebb4f 100644 --- a/tests/baselines/reference/downlevelLetConst19(target=es5).errors.txt +++ b/tests/baselines/reference/downlevelLetConst19(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. downlevelLetConst19.ts(9,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== downlevelLetConst19.ts (1 errors) ==== 'use strict' declare function use(a: any); diff --git a/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1(target=es5).errors.txt b/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1(target=es5).errors.txt index 257093fbca179..32a5a6870335d 100644 --- a/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1(target=es5).errors.txt +++ b/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. duplicateIdentifierBindingElementInParameterDeclaration1.ts(1,13): error TS2300: Duplicate identifier 'a'. duplicateIdentifierBindingElementInParameterDeclaration1.ts(1,17): error TS2300: Duplicate identifier 'a'. duplicateIdentifierBindingElementInParameterDeclaration1.ts(1,21): error TS2300: Duplicate identifier 'b'. @@ -21,6 +22,7 @@ duplicateIdentifierBindingElementInParameterDeclaration1.ts(7,14): error TS2300: duplicateIdentifierBindingElementInParameterDeclaration1.ts(7,20): error TS2300: Duplicate identifier 'f'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== duplicateIdentifierBindingElementInParameterDeclaration1.ts (21 errors) ==== function f0(a, [a, [b]], {b}) { } ~ diff --git a/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration2(target=es5).errors.txt b/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration2(target=es5).errors.txt index 5fab1bc40caef..a2e43722ad38d 100644 --- a/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration2(target=es5).errors.txt +++ b/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration2(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. duplicateIdentifierBindingElementInParameterDeclaration2.ts(2,13): error TS2300: Duplicate identifier 'a'. duplicateIdentifierBindingElementInParameterDeclaration2.ts(2,17): error TS2300: Duplicate identifier 'a'. duplicateIdentifierBindingElementInParameterDeclaration2.ts(2,21): error TS2300: Duplicate identifier 'b'. @@ -21,6 +22,7 @@ duplicateIdentifierBindingElementInParameterDeclaration2.ts(8,14): error TS2300: duplicateIdentifierBindingElementInParameterDeclaration2.ts(8,20): error TS2300: Duplicate identifier 'f'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== duplicateIdentifierBindingElementInParameterDeclaration2.ts (21 errors) ==== "use strict" function f0(a, [a, [b]], {b}) { } diff --git a/tests/baselines/reference/duplicateObjectLiteralProperty(target=es5).errors.txt b/tests/baselines/reference/duplicateObjectLiteralProperty(target=es5).errors.txt index f1413963a9b2a..e72bf73f9bb71 100644 --- a/tests/baselines/reference/duplicateObjectLiteralProperty(target=es5).errors.txt +++ b/tests/baselines/reference/duplicateObjectLiteralProperty(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. duplicateObjectLiteralProperty.ts(4,5): error TS1117: An object literal cannot have multiple properties with the same name. duplicateObjectLiteralProperty.ts(5,5): error TS1117: An object literal cannot have multiple properties with the same name. duplicateObjectLiteralProperty.ts(6,5): error TS1117: An object literal cannot have multiple properties with the same name. @@ -8,6 +9,7 @@ duplicateObjectLiteralProperty.ts(16,9): error TS1118: An object literal cannot duplicateObjectLiteralProperty.ts(16,9): error TS2300: Duplicate identifier 'a'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== duplicateObjectLiteralProperty.ts (8 errors) ==== var x = { a: 1, diff --git a/tests/baselines/reference/dynamicImportWithNestedThis_es5(target=es5).errors.txt b/tests/baselines/reference/dynamicImportWithNestedThis_es5(target=es5).errors.txt index dc99f48efb5e0..5f40ff3223262 100644 --- a/tests/baselines/reference/dynamicImportWithNestedThis_es5(target=es5).errors.txt +++ b/tests/baselines/reference/dynamicImportWithNestedThis_es5(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== dynamicImportWithNestedThis_es5.ts (0 errors) ==== // https://github.com/Microsoft/TypeScript/issues/17564 class C { diff --git a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).errors.txt b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).errors.txt new file mode 100644 index 0000000000000..bde1a66053eee --- /dev/null +++ b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.ts (0 errors) ==== + (x) => ({ "1": "one", "2": "two" } as { [key: string]: string })[x]; + (x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x; \ No newline at end of file diff --git a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).types b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).types index a0f0cb11f93f6..d4f7bd06c1da3 100644 --- a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).types +++ b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5(target=es5).types @@ -5,6 +5,7 @@ >(x) => ({ "1": "one", "2": "two" } as { [key: string]: string })[x] : (x: any) => string > : ^ ^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >({ "1": "one", "2": "two" } as { [key: string]: string })[x] : string > : ^^^^^^ >({ "1": "one", "2": "two" } as { [key: string]: string }) : { [key: string]: string; } @@ -24,11 +25,13 @@ >key : string > : ^^^^^^ >x : any +> : ^^^ (x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x; >(x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x : (x: any) => string > : ^ ^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >({ "1": "one", "2": "two" } as { [key: string]: string }).x : string > : ^^^^^^ >({ "1": "one", "2": "two" } as { [key: string]: string }) : { [key: string]: string; } diff --git a/tests/baselines/reference/emitArrowFunction(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..dbd69a33db5e9 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunction(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitArrowFunction.ts (0 errors) ==== + var f1 = () => { } + var f2 = (x: string, y: string) => { } + var f3 = (x: string, y: number, ...rest) => { } + var f4 = (x: string, y: number, z = 10) => { } + function foo(func: () => boolean) { } + foo(() => true); + foo(() => { return false; }); \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).errors.txt new file mode 100644 index 0000000000000..1dd72834aaa0b --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitArrowFunctionAsIs.ts (0 errors) ==== + var arrow1 = a => { }; + var arrow2 = (a) => { }; + + var arrow3 = (a, b) => { }; \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).types b/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).types index 3ce8ec6390b9e..d1dbb4055172b 100644 --- a/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).types +++ b/tests/baselines/reference/emitArrowFunctionAsIs(target=es5).types @@ -7,6 +7,7 @@ var arrow1 = a => { }; >a => { } : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ var arrow2 = (a) => { }; >arrow2 : (a: any) => void @@ -14,6 +15,7 @@ var arrow2 = (a) => { }; >(a) => { } : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ var arrow3 = (a, b) => { }; >arrow3 : (a: any, b: any) => void @@ -21,5 +23,7 @@ var arrow3 = (a, b) => { }; >(a, b) => { } : (a: any, b: any) => void > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >b : any +> : ^^^ diff --git a/tests/baselines/reference/emitArrowFunctionThisCapturing(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionThisCapturing(target=es5).errors.txt index 990064af053a1..5b3e8dedc7506 100644 --- a/tests/baselines/reference/emitArrowFunctionThisCapturing(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionThisCapturing(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionThisCapturing.ts(6,10): error TS2339: Property 'name' does not exist on type 'typeof globalThis'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionThisCapturing.ts (1 errors) ==== var f1 = () => { this.age = 10 diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01(target=es5).errors.txt index 4f3fd70472338..0e37cd18b58b0 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments01.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. emitArrowFunctionWhenUsingArguments01.ts(7,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. emitArrowFunctionWhenUsingArguments01.ts(13,13): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. emitArrowFunctionWhenUsingArguments01.ts(19,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments01.ts (4 errors) ==== var a = () => { var arg = arguments[0]; // error diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02(target=es5).errors.txt index dd2a76eaddb4d..e53eb3c5f3669 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments02.ts(1,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments02.ts (1 errors) ==== var a = () => arguments; ~~~~~~~~~ diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03(target=es5).errors.txt index c9f5526b14ebe..4a1159fbb4881 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments03.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments03.ts (1 errors) ==== var arguments; var a = () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04(target=es5).errors.txt index b962c5453e1bf..71594e8a0aef5 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments04.ts(3,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments04.ts (1 errors) ==== function f() { var arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05(target=es5).errors.txt index 802e88b146761..4362ce0482537 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments05.ts(2,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments05.ts (1 errors) ==== function f(arguments) { var a = () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06(target=es5).errors.txt index 1d17c2669a321..195886af0649c 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments06.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments06.ts (1 errors) ==== function f(arguments) { var a = () => () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07(target=es5).errors.txt index c3037a6e2b559..c26bd59b80865 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments07.ts(2,34): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments07.ts (1 errors) ==== function f(arguments) { var a = (arguments) => () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).errors.txt new file mode 100644 index 0000000000000..2606d8c7f984b --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitArrowFunctionWhenUsingArguments08.ts (0 errors) ==== + function f(arguments) { + var a = () => (arguments) => arguments; + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).types index b47b22daec481..90a6b46b58d41 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08(target=es5).types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var a = () => (arguments) => arguments; >a : () => (arguments: any) => any @@ -14,5 +15,7 @@ function f(arguments) { >(arguments) => arguments : (arguments: any) => any > : ^ ^^^^^^^^^^^^^ >arguments : any +> : ^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09(target=es5).errors.txt index 3cc070dda0a6c..c8405ef467bb9 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments09.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments09.ts (1 errors) ==== function f(_arguments) { var a = () => () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10(target=es5).errors.txt index 2117758380281..cc5ce38b51374 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments10.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments10.ts (1 errors) ==== function f() { var _arguments = 10; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11(target=es5).errors.txt index dcce324a922d3..42d4a3e1f4159 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments11.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments11.ts (1 errors) ==== function f(arguments) { var _arguments = 10; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12(target=es5).errors.txt index 6d2385b2cb7f7..6d6ca855d73a9 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments12.ts(2,7): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode. emitArrowFunctionWhenUsingArguments12.ts(3,23): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments12.ts (2 errors) ==== class C { f(arguments) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).errors.txt new file mode 100644 index 0000000000000..82d3463939e03 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitArrowFunctionWhenUsingArguments13.ts (0 errors) ==== + function f() { + var _arguments = 10; + var a = (arguments) => () => _arguments; + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).types index 6de9462639006..90f2c840dc66c 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13(target=es5).types @@ -17,6 +17,7 @@ function f() { >(arguments) => () => _arguments : (arguments: any) => () => number > : ^ ^^^^^^^^^^^^^^^^^^^^^^ >arguments : any +> : ^^^ >() => _arguments : () => number > : ^^^^^^^^^^^^ >_arguments : number diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14(target=es5).errors.txt index 38491ae7195a5..ffb68d5432770 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments14.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments14.ts (1 errors) ==== function f() { if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15(target=es5).errors.txt index 08a608ae1216d..f0f32a0eb26ab 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments15.ts(5,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments15.ts (1 errors) ==== function f() { var arguments = "hello"; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16(target=es5).errors.txt index f3becb13393c7..80c3f2f710ba3 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments16.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments16.ts (1 errors) ==== function f() { var arguments = "hello"; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17(target=es5).errors.txt index 47a1971378097..ecdecc5686bf3 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments17.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments17.ts (1 errors) ==== function f() { var { arguments } = { arguments: "hello" }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18(target=es5).errors.txt index 69afb2040f137..f563904d87029 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments18.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments18.ts (1 errors) ==== function f() { var { arguments: args } = { arguments }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19(target=es5).errors.txt index 3095afb9eda95..460ca3e964450 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19(target=es5).errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitArrowFunctionWhenUsingArguments19.ts(5,33): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitArrowFunctionWhenUsingArguments19.ts (1 errors) ==== function f() { function g() { diff --git a/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).errors.txt b/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).errors.txt new file mode 100644 index 0000000000000..ab4e7bf715128 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitArrowFunctionsAsIs.ts (0 errors) ==== + var arrow1 = a => { }; + var arrow2 = (a) => { }; + + var arrow3 = (a, b) => { }; \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).types b/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).types index 5678d984ab426..433a1e30eb474 100644 --- a/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).types +++ b/tests/baselines/reference/emitArrowFunctionsAsIs(target=es5).types @@ -7,6 +7,7 @@ var arrow1 = a => { }; >a => { } : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ var arrow2 = (a) => { }; >arrow2 : (a: any) => void @@ -14,6 +15,7 @@ var arrow2 = (a) => { }; >(a) => { } : (a: any) => void > : ^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ var arrow3 = (a, b) => { }; >arrow3 : (a: any, b: any) => void @@ -21,5 +23,7 @@ var arrow3 = (a, b) => { }; >(a, b) => { } : (a: any, b: any) => void > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >b : any +> : ^^^ diff --git a/tests/baselines/reference/emitBundleWithPrologueDirectives1(target=es5).errors.txt b/tests/baselines/reference/emitBundleWithPrologueDirectives1(target=es5).errors.txt index 2b0a50bc548e6..919b5b7344819 100644 --- a/tests/baselines/reference/emitBundleWithPrologueDirectives1(target=es5).errors.txt +++ b/tests/baselines/reference/emitBundleWithPrologueDirectives1(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== /* Detached Comment */ diff --git a/tests/baselines/reference/emitBundleWithShebang1(target=es5).errors.txt b/tests/baselines/reference/emitBundleWithShebang1(target=es5).errors.txt index 01ca1d3ba8974..9a2f062420698 100644 --- a/tests/baselines/reference/emitBundleWithShebang1(target=es5).errors.txt +++ b/tests/baselines/reference/emitBundleWithShebang1(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitBundleWithShebang1.ts (0 errors) ==== #!/usr/bin/env gjs class Doo {} diff --git a/tests/baselines/reference/emitBundleWithShebang2(target=es5).errors.txt b/tests/baselines/reference/emitBundleWithShebang2(target=es5).errors.txt index 11b1812fa3224..1c3b32972d595 100644 --- a/tests/baselines/reference/emitBundleWithShebang2(target=es5).errors.txt +++ b/tests/baselines/reference/emitBundleWithShebang2(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== #!/usr/bin/env gjs class Doo {} diff --git a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1(target=es5).errors.txt b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1(target=es5).errors.txt index 1997915181d7c..c141ac112e999 100644 --- a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1(target=es5).errors.txt +++ b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives1(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== #!/usr/bin/env gjs "use strict" diff --git a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2(target=es5).errors.txt b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2(target=es5).errors.txt index d78e0bd69f794..9f171816dae70 100644 --- a/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2(target=es5).errors.txt +++ b/tests/baselines/reference/emitBundleWithShebangAndPrologueDirectives2(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== #!/usr/bin/env gjs "use strict" diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1(target=es5).errors.txt new file mode 100644 index 0000000000000..2e73363668f0d --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationAssignmentWithIndexingOnLHS1.ts (0 errors) ==== + var array0 = [1, 2, 3] + var i0 = 0; + array0[++i0] **= 2; + + var array1 = [1, 2, 3] + var i1 = 0; + array1[++i1] **= array1[++i1] **= 2; + + var array2 = [1, 2, 3] + var i2 = 0; + array2[++i2] **= array2[++i2] ** 2; + + var array3 = [2, 2, 3]; + var j0 = 0, j1 = 1; + array3[j0++] **= array3[j1++] **= array3[j0++] **= 1; \ No newline at end of file diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2(target=es5).errors.txt new file mode 100644 index 0000000000000..ab913e964645c --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationAssignmentWithIndexingOnLHS2.ts (0 errors) ==== + var globalCounter = 0; + function foo() { + globalCounter += 1; + return { 0: 2 }; + } + foo()[0] **= foo()[0]; + var result_foo1 = foo()[0] **= foo()[0]; + foo()[0] **= foo()[0] **= 2; + var result_foo2 = foo()[0] **= foo()[0] **= 2; + foo()[0] **= foo()[0] ** 2; + var result_foo3 = foo()[0] **= foo()[0] ** 2; \ No newline at end of file diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).errors.txt new file mode 100644 index 0000000000000..fefe571e79200 --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts (0 errors) ==== + var object = { + _0: 2, + get 0() { + return this._0; + }, + set 0(x: number) { + this._0 = x; + }, + } + object[0] **= object[0]; + object[0] **= object[0] **= 2; + object[0] **= object[0] ** 2; \ No newline at end of file diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).types b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).types index 7914ebe5ffb7e..ff335ecb21730 100644 --- a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).types +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3(target=es5).types @@ -19,6 +19,7 @@ var object = { return this._0; >this._0 : any +> : ^^^ >this : any > : ^^^ >_0 : any @@ -35,6 +36,7 @@ var object = { >this._0 = x : number > : ^^^^^^ >this._0 : any +> : ^^^ >this : any > : ^^^ >_0 : any diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4(target=es5).errors.txt new file mode 100644 index 0000000000000..5c010698effb9 --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts (0 errors) ==== + var globalCounter = 0; + function incrementIdx(max: number) { + globalCounter += 1; + let idx = Math.floor(Math.random() * max); + return idx; + } + + var array1 = [1, 2, 3, 4, 5]; + + array1[incrementIdx(array1.length)] **= 3; + + array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= 2; + + array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] ** 2; \ No newline at end of file diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1(target=es5).errors.txt new file mode 100644 index 0000000000000..2eb48a70e25f7 --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.ts (0 errors) ==== + var globalCounter = 0; + function foo() { + globalCounter += 1; + return { prop: 2 }; + } + foo().prop **= 2; + var result0 = foo().prop **= 2; + foo().prop **= foo().prop **= 2; + var result1 = foo().prop **= foo().prop **= 2; + foo().prop **= foo().prop ** 2; + var result2 = foo().prop **= foo().prop ** 2; \ No newline at end of file diff --git a/tests/baselines/reference/emitCompoundExponentiationOperator1(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationOperator1(target=es5).errors.txt new file mode 100644 index 0000000000000..e923812972e71 --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationOperator1(target=es5).errors.txt @@ -0,0 +1,25 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationOperator1.ts (0 errors) ==== + var comp: number; + + comp **= 1; + comp **= comp ** comp; + comp **= comp ** comp ** 2; + comp **= comp ** comp + 2; + comp **= comp ** comp - 2; + comp **= comp ** comp * 2; + comp **= comp ** comp / 2; + comp **= comp ** comp % 2; + comp **= (comp - 2) ** 5; + comp **= (comp + 2) ** 5; + comp **= (comp * 2) ** 5; + comp **= (comp / 2) ** 5; + comp **= (comp % 2) ** 5; + comp **= comp ** (5 + 2); + comp **= comp ** (5 - 2); + comp **= comp ** (5 * 2); + comp **= comp ** (5 / 2); + comp **= comp ** (5 % 2); \ No newline at end of file diff --git a/tests/baselines/reference/emitCompoundExponentiationOperator2(target=es5).errors.txt b/tests/baselines/reference/emitCompoundExponentiationOperator2(target=es5).errors.txt new file mode 100644 index 0000000000000..db1a34ebf619f --- /dev/null +++ b/tests/baselines/reference/emitCompoundExponentiationOperator2(target=es5).errors.txt @@ -0,0 +1,29 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitCompoundExponentiationOperator2.ts (0 errors) ==== + var comp: number; + + comp **= 1; + comp **= comp **= 1; + comp **= comp **= 1 + 2; + comp **= comp **= 1 - 2; + comp **= comp **= 1 * 2; + comp **= comp **= 1 / 2; + + comp **= comp **= (1 + 2); + comp **= comp **= (1 - 2); + comp **= comp **= (1 * 2); + comp **= comp **= (1 / 2); + + comp **= comp **= 1 + 2 ** 3; + comp **= comp **= 1 - 2 ** 4; + comp **= comp **= 1 * 2 ** 5; + comp **= comp **= 1 / 2 ** 6; + + comp **= comp **= (1 + 2) ** 3; + comp **= comp **= (1 - 2) ** 4; + comp **= comp **= (1 * 2) ** 5; + comp **= comp **= (1 / 2) ** 6; + \ No newline at end of file diff --git a/tests/baselines/reference/emitDecoratorMetadata_object(target=es5).errors.txt b/tests/baselines/reference/emitDecoratorMetadata_object(target=es5).errors.txt new file mode 100644 index 0000000000000..4a0d1ba3debb0 --- /dev/null +++ b/tests/baselines/reference/emitDecoratorMetadata_object(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitDecoratorMetadata_object.ts (0 errors) ==== + declare const MyClassDecorator: ClassDecorator; + declare const MyMethodDecorator: MethodDecorator; + + @MyClassDecorator + class A { + constructor(hi: object) {} + @MyMethodDecorator + method(there: object) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitDecoratorMetadata_restArgs(target=es5).errors.txt b/tests/baselines/reference/emitDecoratorMetadata_restArgs(target=es5).errors.txt new file mode 100644 index 0000000000000..a20255e1a7ae4 --- /dev/null +++ b/tests/baselines/reference/emitDecoratorMetadata_restArgs(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitDecoratorMetadata_restArgs.ts (0 errors) ==== + declare const MyClassDecorator: ClassDecorator; + declare const MyMethodDecorator: MethodDecorator; + + @MyClassDecorator + class A { + constructor(...args) {} + @MyMethodDecorator + method(...args) {} + } + + @MyClassDecorator + class B { + constructor(...args: number[]) {} + @MyMethodDecorator + method(this: this, ...args: string[]) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitDefaultParametersFunction(target=es5).errors.txt b/tests/baselines/reference/emitDefaultParametersFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..37fdfdd9cebfd --- /dev/null +++ b/tests/baselines/reference/emitDefaultParametersFunction(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitDefaultParametersFunction.ts (0 errors) ==== + function foo(x: string, y = 10) { } + function baz(x: string, y = 5, ...rest) { } + function bar(y = 10) { } + function bar1(y = 10, ...rest) { } \ No newline at end of file diff --git a/tests/baselines/reference/emitDefaultParametersFunctionExpression(target=es5).errors.txt b/tests/baselines/reference/emitDefaultParametersFunctionExpression(target=es5).errors.txt new file mode 100644 index 0000000000000..38ab15df876db --- /dev/null +++ b/tests/baselines/reference/emitDefaultParametersFunctionExpression(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitDefaultParametersFunctionExpression.ts (0 errors) ==== + var lambda1 = (y = "hello") => { } + var lambda2 = (x: number, y = "hello") => { } + var lambda3 = (x: number, y = "hello", ...rest) => { } + var lambda4 = (y = "hello", ...rest) => { } + + var x = function (str = "hello", ...rest) { } + var y = (function (num = 10, boo = false, ...rest) { })() + var z = (function (num: number, boo = false, ...rest) { })(10) + \ No newline at end of file diff --git a/tests/baselines/reference/emitDefaultParametersFunctionProperty(target=es5).errors.txt b/tests/baselines/reference/emitDefaultParametersFunctionProperty(target=es5).errors.txt new file mode 100644 index 0000000000000..82c0f200b68fe --- /dev/null +++ b/tests/baselines/reference/emitDefaultParametersFunctionProperty(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitDefaultParametersFunctionProperty.ts (0 errors) ==== + var obj2 = { + func1(y = 10, ...rest) { }, + func2(x = "hello") { }, + func3(x: string, z: number, y = "hello") { }, + func4(x: string, z: number, y = "hello", ...rest) { }, + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitDefaultParametersMethod(target=es5).errors.txt b/tests/baselines/reference/emitDefaultParametersMethod(target=es5).errors.txt new file mode 100644 index 0000000000000..67e7200535a59 --- /dev/null +++ b/tests/baselines/reference/emitDefaultParametersMethod(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitDefaultParametersMethod.ts (0 errors) ==== + class C { + constructor(t: boolean, z: string, x: number, y = "hello") { } + + public foo(x: string, t = false) { } + public foo1(x: string, t = false, ...rest) { } + public bar(t = false) { } + public boo(t = false, ...rest) { } + } + + class D { + constructor(y = "hello") { } + } + + class E { + constructor(y = "hello", ...rest) { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperator1(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperator1(target=es5).errors.txt new file mode 100644 index 0000000000000..f6545fbe60489 --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperator1(target=es5).errors.txt @@ -0,0 +1,36 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperator1.ts (0 errors) ==== + 1 ** -2; + 1 ** 2; + (-1) ** 2 + 1 ** 2 ** 3; + 1 ** 2 ** -3; + 1 ** -(2 ** 3); + (-(1 ** 2)) ** 3; + (-(1 ** 2)) ** -3; + + 1 ** 2 + 3; + 1 ** 2 - 3; + 1 ** 2 * 3; + 1 ** 2 / 3; + 1 ** 2 % 3; + + 1 ** -2 + 3; + 1 ** -2 - 3; + 1 ** -2 * 3; + 1 ** -2 / 3; + 1 ** -2 % 3; + + 2 + 3 ** 3; + 2 - 3 ** 3; + 2 * 3 ** 3; + 2 / 3 ** 3; + 2 % 3 ** 3; + + (2 + 3) ** 4; + (2 - 3) ** 4; + (2 * 3) ** 4; + (2 / 3) ** 4; \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperator2(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperator2(target=es5).errors.txt new file mode 100644 index 0000000000000..a34ec7af8c6df --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperator2(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperator2.ts (0 errors) ==== + var temp = 10; + + ++temp ** 3; + --temp ** 3; + temp++ ** 3; + temp-- ** 3; + --temp + temp ** 3; + --temp - temp ** 3; + --temp * temp ** 3; + --temp / temp ** 3; + --temp % temp ** 3; + temp-- ** 3; + temp++ ** 3; + temp-- ** -temp; + temp++ ** +temp; + + temp-- + temp ** 3; + temp-- - temp ** 3; + temp-- * temp ** 3; + temp-- / temp ** 3; + temp-- % temp ** 3; + + --temp + 2 ** 3; + --temp - 2 ** 3; + --temp * 2 ** 3; + --temp / 2 ** 3; + --temp % 2 ** 3; + + ++temp + 2 ** 3; + ++temp - 2 ** 3; + ++temp * 2 ** 3; + ++temp / 2 ** 3; + + 3 ** ++temp; + 3 ** --temp; + 3 ** temp++; + 3 ** temp--; + + 3 ** ++temp ** 2; + 3 ** --temp ** 2; + 3 ** temp++ ** 2; + 3 ** temp-- ** 2; + + 3 ** ++temp + 2; + 3 ** ++temp - 2; + 3 ** ++temp * 2; + 3 ** ++temp / 2; + 3 ** ++temp % 2; + + 3 ** --temp + 2; + 3 ** --temp - 2; + 3 ** --temp * 2; + 3 ** --temp / 2; + 3 ** --temp % 2; \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperator3(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperator3(target=es5).errors.txt new file mode 100644 index 0000000000000..32cdac52e343a --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperator3(target=es5).errors.txt @@ -0,0 +1,44 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperator3.ts (0 errors) ==== + var temp = 10; + + (-++temp) ** 3; + (+--temp) ** 3; + (-temp++) ** 3; + (+temp--) ** 3; + (-(1 ** ++temp)) ** 3; + (-(1 ** --temp)) ** 3; + (-(1 ** temp++)) ** 3; + (-(1 ** temp--)) ** 3; + + (-3) ** temp++; + (-3) ** temp--; + (-3) ** ++temp; + (-3) ** --temp; + (+3) ** temp++; + (+3) ** temp--; + (+3) ** ++temp; + (+3) ** --temp; + (-3) ** temp++ ** 2; + (-3) ** temp-- ** 2; + (-3) ** ++temp ** 2; + (-3) ** --temp ** 2; + (+3) ** temp++ ** 2; + (+3) ** temp-- ** 2; + (+3) ** ++temp ** 2; + (+3) ** --temp ** 2; + + 3 ** -temp++; + 3 ** -temp--; + 3 ** -++temp; + 3 ** +--temp; + 3 ** (-temp++) ** 2; + 3 ** (-temp--) ** 2; + 3 ** (+temp++) ** 2; + 3 ** (+temp--) ** 2; + 3 ** (-++temp) ** 2; + 3 ** (+--temp) ** 2; + \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperator4(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperator4(target=es5).errors.txt index 445e4f01637b7..d07f326079c74 100644 --- a/tests/baselines/reference/emitExponentiationOperator4(target=es5).errors.txt +++ b/tests/baselines/reference/emitExponentiationOperator4(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emitExponentiationOperator4.ts(14,1): error TS2532: Object is possibly 'undefined'. emitExponentiationOperator4.ts(15,1): error TS2532: Object is possibly 'undefined'. emitExponentiationOperator4.ts(16,1): error TS2532: Object is possibly 'undefined'. @@ -10,6 +11,7 @@ emitExponentiationOperator4.ts(24,6): error TS2532: Object is possibly 'undefine emitExponentiationOperator4.ts(25,6): error TS2532: Object is possibly 'undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emitExponentiationOperator4.ts (10 errors) ==== var temp: any; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).errors.txt new file mode 100644 index 0000000000000..7e0c45f20d952 --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperatorInTempalteString4.ts (0 errors) ==== + var t1 = 10; + var t2 = 10; + var s; + + // With TemplateTail + `${t1 ** -t2} world`; + `${(-t1) ** t2 - t1} world`; + `${(-++t1) ** t2 - t1} world`; + `${(-t1++) ** t2 - t1} world`; + `${(~t1) ** t2 ** --t1 } world`; + `${typeof (t1 ** t2 ** t1) } world`; + + // TempateHead & TemplateTail are empt + `${t1 ** -t2} hello world ${t1 ** -t2}`; + `${(-t1) ** t2 - t1} hello world ${(-t1) ** t2 - t1}`; + `${(-++t1) ** t2 - t1} hello world ${t1 ** (-++t1) **- t1}`; + `${(-t1++) ** t2 - t1} hello world ${t2 ** (-t1++) ** - t1}`; + `${(~t1) ** t2 ** --t1 } hello world ${(~t1) ** t2 ** --t1 }`; + `${typeof (t1 ** t2 ** t1)} hello world ${typeof (t1 ** t2 ** t1)}`; + + // With templateHead + `hello ${(-t1) ** t2 - t1}`; + `hello ${(-++t1) ** t2 - t1}`; + `hello ${(-t1++) ** t2 - t1}`; + `hello ${(~t1) ** t2 ** --t1 }`; + `hello ${typeof (t1 ** t2 ** t1)}`; \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).types b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).types index 185654b2bcf0d..8b3db27dd3d78 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).types +++ b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4(target=es5).types @@ -15,6 +15,7 @@ var t2 = 10; var s; >s : any +> : ^^^ // With TemplateTail `${t1 ** -t2} world`; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).errors.txt new file mode 100644 index 0000000000000..81cb637f9551b --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperatorInTemplateString1.ts (0 errors) ==== + var t1 = 10; + var t2 = 10; + var s; + + // TempateHead & TemplateTail are empty + `${t1 ** t2}`; + `${t1 ** t2 ** t1}`; + `${t1 + t2 ** t1}`; + `${t1 ** t2 + t1}`; + `${t1 + t2 ** t2 + t1 }`; + `${typeof (t1 ** t2 ** t1) }`; + `${1 + typeof (t1 ** t2 ** t1) }`; + + `${t1 ** t2}${t1 ** t2}`; + `${t1 ** t2 ** t1}${t1 ** t2 ** t1}`; + `${t1 + t2 ** t1}${t1 + t2 ** t1}`; + `${t1 ** t2 + t1}${t1 ** t2 + t1}`; + `${t1 + t2 ** t2 + t1}${t1 + t2 ** t2 + t1}`; + `${typeof (t1 ** t2 ** t1)}${typeof (t1 ** t2 ** t1)}`; + + `${t1 ** t2} hello world ${t1 ** t2}`; + `${t1 ** t2 ** t1} hello world ${t1 ** t2 ** t1}`; + `${t1 + t2 ** t1} hello world ${t1 + t2 ** t1}`; + `${t1 ** t2 + t1} hello world ${t1 ** t2 + t1}`; + `${t1 + t2 ** t2 + t1} hello world ${t1 + t2 ** t2 + t1}`; + `${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).types b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).types index 53639a2bd03f0..8d6fe0bc60c4f 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).types +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1(target=es5).types @@ -15,6 +15,7 @@ var t2 = 10; var s; >s : any +> : ^^^ // TempateHead & TemplateTail are empty `${t1 ** t2}`; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).errors.txt new file mode 100644 index 0000000000000..24fe27197d450 --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperatorInTemplateString2.ts (0 errors) ==== + var t1 = 10; + var t2 = 10; + var s; + + // With templateHead + `hello ${t1 ** t2}`; + `hello ${t1 ** t2 ** t1}`; + `hello ${t1 + t2 ** t1}`; + `hello ${t1 ** t2 + t1}`; + `hello ${t1 + t2 ** t2 + t1 }`; + `hello ${typeof (t1 ** t2 ** t1) }`; + `hello ${1 + typeof (t1 ** t2 ** t1) }`; + + `hello ${t1 ** t2}${t1 ** t2}`; + `hello ${t1 ** t2 ** t1}${t1 ** t2 ** t1}`; + `hello ${t1 + t2 ** t1}${t1 + t2 ** t1}`; + `hello ${t1 ** t2 + t1}${t1 ** t2 + t1}`; + `hello ${t1 + t2 ** t2 + t1}${t1 + t2 ** t2 + t1}`; + `hello ${typeof (t1 ** t2 ** t1) }${typeof (t1 ** t2 ** t1) }`; + + `hello ${t1 ** t2} hello world ${t1 ** t2}`; + `hello ${t1 ** t2 ** t1} hello world ${t1 ** t2 ** t1}`; + `hello ${t1 + t2 ** t1} hello world ${t1 + t2 ** t1}`; + `hello ${t1 ** t2 + t1} hello world ${t1 ** t2 + t1}`; + `hello ${t1 + t2 ** t2 + t1} hello world ${t1 + t2 ** t2 + t1}`; + `hello ${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).types b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).types index 354b32ac18e63..f769fe48bc394 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).types +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2(target=es5).types @@ -15,6 +15,7 @@ var t2 = 10; var s; >s : any +> : ^^^ // With templateHead `hello ${t1 ** t2}`; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).errors.txt b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).errors.txt new file mode 100644 index 0000000000000..6e254e3d0c47d --- /dev/null +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).errors.txt @@ -0,0 +1,32 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitExponentiationOperatorInTemplateString3.ts (0 errors) ==== + var t1 = 10; + var t2 = 10; + var s; + + // With TemplateTail + `${t1 ** t2} world`; + `${t1 ** t2 ** t1} world`; + `${t1 + t2 ** t1} world`; + `${t1 ** t2 + t1} world`; + `${t1 + t2 ** t2 + t1 } world`; + `${typeof (t1 ** t2 ** t1) } world`; + `${1 + typeof (t1 ** t2 ** t1) } world`; + + `${t1 ** t2}${t1 ** t2} world`; + `${t1 ** t2 ** t1}${t1 ** t2 ** t1} world`; + `${t1 + t2 ** t1}${t1 + t2 ** t1} world`; + `${t1 ** t2 + t1}${t1 ** t2 + t1} world`; + `${t1 + t2 ** t2 + t1}${t1 + t2 ** t2 + t1} world`; + `${typeof (t1 ** t2 ** t1) }${typeof (t1 ** t2 ** t1) } world`; + + `${t1 ** t2} hello world ${t1 ** t2} !!`; + `${t1 ** t2 ** t1} hello world ${t1 ** t2 ** t1} !!`; + `${t1 + t2 ** t1} hello world ${t1 + t2 ** t1} !!`; + `${t1 ** t2 + t1} hello world ${t1 ** t2 + t1} !!`; + `${t1 + t2 ** t2 + t1} hello world ${t1 + t2 ** t2 + t1} !!`; + `${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1)} !!`; + \ No newline at end of file diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).types b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).types index 14a034f787084..21d381b1215aa 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).types +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3(target=es5).types @@ -15,6 +15,7 @@ var t2 = 10; var s; >s : any +> : ^^^ // With TemplateTail `${t1 ** t2} world`; diff --git a/tests/baselines/reference/emitRestParametersFunction(target=es5).errors.txt b/tests/baselines/reference/emitRestParametersFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..389c28ee21f8c --- /dev/null +++ b/tests/baselines/reference/emitRestParametersFunction(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitRestParametersFunction.ts (0 errors) ==== + function bar(...rest) { } + function foo(x: number, y: string, ...rest) { } \ No newline at end of file diff --git a/tests/baselines/reference/emitRestParametersFunctionExpression(target=es5).errors.txt b/tests/baselines/reference/emitRestParametersFunctionExpression(target=es5).errors.txt new file mode 100644 index 0000000000000..8ff9debf0fe87 --- /dev/null +++ b/tests/baselines/reference/emitRestParametersFunctionExpression(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitRestParametersFunctionExpression.ts (0 errors) ==== + var funcExp = (...rest) => { } + var funcExp1 = (X: number, ...rest) => { } + var funcExp2 = function (...rest) { } + var funcExp3 = (function (...rest) { })() + \ No newline at end of file diff --git a/tests/baselines/reference/emitRestParametersFunctionProperty(target=es5).errors.txt b/tests/baselines/reference/emitRestParametersFunctionProperty(target=es5).errors.txt new file mode 100644 index 0000000000000..42d2604644d7c --- /dev/null +++ b/tests/baselines/reference/emitRestParametersFunctionProperty(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitRestParametersFunctionProperty.ts (0 errors) ==== + var obj: { + func1: (...rest) => void + } + + var obj2 = { + func(...rest) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/emitRestParametersMethod(target=es5).errors.txt b/tests/baselines/reference/emitRestParametersMethod(target=es5).errors.txt new file mode 100644 index 0000000000000..426b928c53bae --- /dev/null +++ b/tests/baselines/reference/emitRestParametersMethod(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitRestParametersMethod.ts (0 errors) ==== + class C { + constructor(name: string, ...rest) { } + + public bar(...rest) { } + public foo(x: number, ...rest) { } + } + + class D { + constructor(...rest) { } + + public bar(...rest) { } + public foo(x: number, ...rest) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).errors.txt b/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).errors.txt new file mode 100644 index 0000000000000..318c7802d1993 --- /dev/null +++ b/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emitThisInObjectLiteralGetter.ts (0 errors) ==== + const example = { + get foo() { + return item => this.bar(item); + } + }; + \ No newline at end of file diff --git a/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).types b/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).types index 9b6084af63471..02496f34c9e8f 100644 --- a/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).types +++ b/tests/baselines/reference/emitThisInObjectLiteralGetter(target=es5).types @@ -15,13 +15,17 @@ const example = { >item => this.bar(item) : (item: any) => any > : ^ ^^^^^^^^^^^^^ >item : any +> : ^^^ >this.bar(item) : any +> : ^^^ >this.bar : any +> : ^^^ >this : any > : ^^^ >bar : any > : ^^^ >item : any +> : ^^^ } }; diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).errors.txt b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..4561a2a5040da --- /dev/null +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).errors.txt @@ -0,0 +1,63 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== C1.ts (0 errors) ==== + class C1 { + async * f() { + } + } +==== C2.ts (0 errors) ==== + class C2 { + async * f() { + const x = yield; + } + } +==== C3.ts (0 errors) ==== + class C3 { + async * f() { + const x = yield 1; + } + } +==== C4.ts (0 errors) ==== + class C4 { + async * f() { + const x = yield* [1]; + } + } +==== C5.ts (0 errors) ==== + class C5 { + async * f() { + const x = yield* (async function*() { yield 1; })(); + } + } +==== C6.ts (0 errors) ==== + class C6 { + async * f() { + const x = await 1; + } + } +==== C7.ts (0 errors) ==== + class C7 { + async * f() { + return 1; + } + } +==== C8.ts (0 errors) ==== + class C8 { + g() { + } + async * f() { + this.g(); + } + } +==== C9.ts (0 errors) ==== + class B9 { + g() {} + } + class C9 extends B9 { + async * f() { + super.g(); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).types b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).types index b11c7c75fa475..acc4aeca3e720 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).types +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5(target=es5).types @@ -21,7 +21,9 @@ class C2 { const x = yield; >x : any +> : ^^^ >yield : any +> : ^^^ } } === C3.ts === @@ -35,7 +37,9 @@ class C3 { const x = yield 1; >x : any +> : ^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } @@ -51,7 +55,9 @@ class C4 { const x = yield* [1]; >x : any +> : ^^^ >yield* [1] : any +> : ^^^ >[1] : number[] > : ^^^^^^^^ >1 : 1 @@ -79,6 +85,7 @@ class C5 { >async function*() { yield 1; } : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).errors.txt b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..3cb8f52dfe42a --- /dev/null +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).errors.txt @@ -0,0 +1,32 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== F1.ts (0 errors) ==== + async function * f1() { + } +==== F2.ts (0 errors) ==== + async function * f2() { + const x = yield; + } +==== F3.ts (0 errors) ==== + async function * f3() { + const x = yield 1; + } +==== F4.ts (0 errors) ==== + async function * f4() { + const x = yield* [1]; + } +==== F5.ts (0 errors) ==== + async function * f5() { + const x = yield* (async function*() { yield 1; })(); + } +==== F6.ts (0 errors) ==== + async function * f6() { + const x = await 1; + } +==== F7.ts (0 errors) ==== + async function * f7() { + return 1; + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).types b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).types index 3489a92210c5e..e0e629ab73517 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5(target=es5).types @@ -12,7 +12,9 @@ async function * f2() { const x = yield; >x : any +> : ^^^ >yield : any +> : ^^^ } === F3.ts === async function * f3() { @@ -21,7 +23,9 @@ async function * f3() { const x = yield 1; >x : any +> : ^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } @@ -32,7 +36,9 @@ async function * f4() { const x = yield* [1]; >x : any +> : ^^^ >yield* [1] : any +> : ^^^ >[1] : number[] > : ^^^^^^^^ >1 : 1 @@ -55,6 +61,7 @@ async function * f5() { >async function*() { yield 1; } : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).errors.txt b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..6c68cf2d2cdf6 --- /dev/null +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).errors.txt @@ -0,0 +1,32 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== F1.ts (0 errors) ==== + const f1 = async function * () { + } +==== F2.ts (0 errors) ==== + const f2 = async function * () { + const x = yield; + } +==== F3.ts (0 errors) ==== + const f3 = async function * () { + const x = yield 1; + } +==== F4.ts (0 errors) ==== + const f4 = async function * () { + const x = yield* [1]; + } +==== F5.ts (0 errors) ==== + const f5 = async function * () { + const x = yield* (async function*() { yield 1; })(); + } +==== F6.ts (0 errors) ==== + const f6 = async function * () { + const x = await 1; + } +==== F7.ts (0 errors) ==== + const f7 = async function * () { + return 1; + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).types b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).types index ff2dc953caf2b..c81295be45ff6 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5(target=es5).types @@ -16,7 +16,9 @@ const f2 = async function * () { const x = yield; >x : any +> : ^^^ >yield : any +> : ^^^ } === F3.ts === const f3 = async function * () { @@ -27,7 +29,9 @@ const f3 = async function * () { const x = yield 1; >x : any +> : ^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } @@ -40,7 +44,9 @@ const f4 = async function * () { const x = yield* [1]; >x : any +> : ^^^ >yield* [1] : any +> : ^^^ >[1] : number[] > : ^^^^^^^^ >1 : 1 @@ -65,6 +71,7 @@ const f5 = async function * () { >async function*() { yield 1; } : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).errors.txt b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..552a83b3034f2 --- /dev/null +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).errors.txt @@ -0,0 +1,46 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== O1.ts (0 errors) ==== + const o1 = { + async * f() { + } + } +==== O2.ts (0 errors) ==== + const o2 = { + async * f() { + const x = yield; + } + } +==== O3.ts (0 errors) ==== + const o3 = { + async * f() { + const x = yield 1; + } + } +==== O4.ts (0 errors) ==== + const o4 = { + async * f() { + const x = yield* [1]; + } + } +==== O5.ts (0 errors) ==== + const o5 = { + async * f() { + const x = yield* (async function*() { yield 1; })(); + } + } +==== O6.ts (0 errors) ==== + const o6 = { + async * f() { + const x = await 1; + } + } +==== O7.ts (0 errors) ==== + const o7 = { + async * f() { + return 1; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).types b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).types index 3ffdf9a74569a..1af0aa92d7fc1 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).types +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5(target=es5).types @@ -25,7 +25,9 @@ const o2 = { const x = yield; >x : any +> : ^^^ >yield : any +> : ^^^ } } === O3.ts === @@ -41,7 +43,9 @@ const o3 = { const x = yield 1; >x : any +> : ^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } @@ -59,7 +63,9 @@ const o4 = { const x = yield* [1]; >x : any +> : ^^^ >yield* [1] : any +> : ^^^ >[1] : number[] > : ^^^^^^^^ >1 : 1 @@ -89,6 +95,7 @@ const o5 = { >async function*() { yield 1; } : () => AsyncGenerator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >yield 1 : any +> : ^^^ >1 : 1 > : ^ } diff --git a/tests/baselines/reference/emitter.forAwait(target=es5).errors.txt b/tests/baselines/reference/emitter.forAwait(target=es5).errors.txt new file mode 100644 index 0000000000000..3c219b258747b --- /dev/null +++ b/tests/baselines/reference/emitter.forAwait(target=es5).errors.txt @@ -0,0 +1,53 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file1.ts (0 errors) ==== + async function f1() { + let y: any; + for await (const x of y) { + } + } +==== file2.ts (0 errors) ==== + async function f2() { + let x: any, y: any; + for await (x of y) { + } + } +==== file3.ts (0 errors) ==== + async function* f3() { + let y: any; + for await (const x of y) { + } + } +==== file4.ts (0 errors) ==== + async function* f4() { + let x: any, y: any; + for await (x of y) { + } + } +==== file5.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/21363 + async function f5() { + let y: any; + outer: for await (const x of y) { + continue outer; + } + } +==== file6.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/21363 + async function* f6() { + let y: any; + outer: for await (const x of y) { + continue outer; + } + } +==== file7.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36166 + async function* f7() { + let y: any; + for (;;) { + for await (const x of y) { + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/emitter.forAwait(target=es5).types b/tests/baselines/reference/emitter.forAwait(target=es5).types index 990af56601a94..64e47a9d00e65 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es5).types +++ b/tests/baselines/reference/emitter.forAwait(target=es5).types @@ -7,10 +7,13 @@ async function f1() { let y: any; >y : any +> : ^^^ for await (const x of y) { >x : any +> : ^^^ >y : any +> : ^^^ } } === file2.ts === @@ -20,11 +23,15 @@ async function f2() { let x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ for await (x of y) { >x : any +> : ^^^ >y : any +> : ^^^ } } === file3.ts === @@ -34,10 +41,13 @@ async function* f3() { let y: any; >y : any +> : ^^^ for await (const x of y) { >x : any +> : ^^^ >y : any +> : ^^^ } } === file4.ts === @@ -47,11 +57,15 @@ async function* f4() { let x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ for await (x of y) { >x : any +> : ^^^ >y : any +> : ^^^ } } === file5.ts === @@ -62,12 +76,15 @@ async function f5() { let y: any; >y : any +> : ^^^ outer: for await (const x of y) { >outer : any > : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ continue outer; >outer : any @@ -82,12 +99,15 @@ async function* f6() { let y: any; >y : any +> : ^^^ outer: for await (const x of y) { >outer : any > : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ continue outer; >outer : any @@ -102,11 +122,14 @@ async function* f7() { let y: any; >y : any +> : ^^^ for (;;) { for await (const x of y) { >x : any +> : ^^^ >y : any +> : ^^^ } } } diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..05fdf1b358a8d --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns01_ES5.ts (0 errors) ==== + var a: any; + + ({} = a); + ([] = a); + + var [,] = [1,2]; \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).types index 0d1700916dfcc..3b9b989891a5c 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES5(target=es5).types @@ -3,20 +3,27 @@ === emptyAssignmentPatterns01_ES5.ts === var a: any; >a : any +> : ^^^ ({} = a); >({} = a) : any +> : ^^^ >{} = a : any +> : ^^^ >{} : {} > : ^^ >a : any +> : ^^^ ([] = a); >([] = a) : any +> : ^^^ >[] = a : any +> : ^^^ >[] : [] > : ^^ >a : any +> : ^^^ var [,] = [1,2]; > : undefined diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).errors.txt new file mode 100644 index 0000000000000..3217839fcf2ac --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns01_ES5iterable.ts (0 errors) ==== + var a: any; + + ({} = a); + ([] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).types index d0ab4075e0bb0..9cf5073458c2f 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable(target=es5).types @@ -3,18 +3,25 @@ === emptyAssignmentPatterns01_ES5iterable.ts === var a: any; >a : any +> : ^^^ ({} = a); >({} = a) : any +> : ^^^ >{} = a : any +> : ^^^ >{} : {} > : ^^ >a : any +> : ^^^ ([] = a); >([] = a) : any +> : ^^^ >[] = a : any +> : ^^^ >[] : [] > : ^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..d9170176c70da --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns02_ES5.ts (0 errors) ==== + var a: any; + let x, y, z, a1, a2, a3; + + ({} = { x, y, z } = a); + ([] = [ a1, a2, a3] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).types index c6d4ee7d5d56e..dd01bbc307234 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES5(target=es5).types @@ -3,38 +3,59 @@ === emptyAssignmentPatterns02_ES5.ts === var a: any; >a : any +> : ^^^ let x, y, z, a1, a2, a3; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ ({} = { x, y, z } = a); >({} = { x, y, z } = a) : any +> : ^^^ >{} = { x, y, z } = a : any +> : ^^^ >{} : {} > : ^^ >{ x, y, z } = a : any +> : ^^^ >{ x, y, z } : { x: any; y: any; z: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ ([] = [ a1, a2, a3] = a); >([] = [ a1, a2, a3] = a) : any +> : ^^^ >[] = [ a1, a2, a3] = a : any +> : ^^^ >[] : [] > : ^^ >[ a1, a2, a3] = a : any +> : ^^^ >[ a1, a2, a3] : [any, any, any] > : ^^^^^^^^^^^^^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).errors.txt new file mode 100644 index 0000000000000..b5356bc044dec --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns02_ES5iterable.ts (0 errors) ==== + var a: any; + let x, y, z, a1, a2, a3; + + ({} = { x, y, z } = a); + ([] = [ a1, a2, a3] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).types index 5f60d84bd2010..d45617b53e7ad 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable(target=es5).types @@ -3,38 +3,59 @@ === emptyAssignmentPatterns02_ES5iterable.ts === var a: any; >a : any +> : ^^^ let x, y, z, a1, a2, a3; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ ({} = { x, y, z } = a); >({} = { x, y, z } = a) : any +> : ^^^ >{} = { x, y, z } = a : any +> : ^^^ >{} : {} > : ^^ >{ x, y, z } = a : any +> : ^^^ >{ x, y, z } : { x: any; y: any; z: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ ([] = [ a1, a2, a3] = a); >([] = [ a1, a2, a3] = a) : any +> : ^^^ >[] = [ a1, a2, a3] = a : any +> : ^^^ >[] : [] > : ^^ >[ a1, a2, a3] = a : any +> : ^^^ >[ a1, a2, a3] : [any, any, any] > : ^^^^^^^^^^^^^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..2ba703e669a47 --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns03_ES5.ts (0 errors) ==== + var a: any; + + ({} = {} = a); + ([] = [] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).types index de0db100512bb..a895231507aa6 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES5(target=es5).types @@ -3,24 +3,33 @@ === emptyAssignmentPatterns03_ES5.ts === var a: any; >a : any +> : ^^^ ({} = {} = a); >({} = {} = a) : any +> : ^^^ >{} = {} = a : any +> : ^^^ >{} : {} > : ^^ >{} = a : any +> : ^^^ >{} : {} > : ^^ >a : any +> : ^^^ ([] = [] = a); >([] = [] = a) : any +> : ^^^ >[] = [] = a : any +> : ^^^ >[] : [] > : ^^ >[] = a : any +> : ^^^ >[] : [] > : ^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).errors.txt new file mode 100644 index 0000000000000..3b8bb73163395 --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns03_ES5iterable.ts (0 errors) ==== + var a: any; + + ({} = {} = a); + ([] = [] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).types index 5e179ddffd63a..96ac327a70b5b 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable(target=es5).types @@ -3,24 +3,33 @@ === emptyAssignmentPatterns03_ES5iterable.ts === var a: any; >a : any +> : ^^^ ({} = {} = a); >({} = {} = a) : any +> : ^^^ >{} = {} = a : any +> : ^^^ >{} : {} > : ^^ >{} = a : any +> : ^^^ >{} : {} > : ^^ >a : any +> : ^^^ ([] = [] = a); >([] = [] = a) : any +> : ^^^ >[] = [] = a : any +> : ^^^ >[] : [] > : ^^ >[] = a : any +> : ^^^ >[] : [] > : ^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..728e5457ea40f --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns04_ES5.ts (0 errors) ==== + var a: any; + let x, y, z, a1, a2, a3; + + ({ x, y, z } = {} = a); + ([ a1, a2, a3] = [] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).types index 575356ee42416..d80c9f33a3250 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES5(target=es5).types @@ -3,38 +3,59 @@ === emptyAssignmentPatterns04_ES5.ts === var a: any; >a : any +> : ^^^ let x, y, z, a1, a2, a3; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ ({ x, y, z } = {} = a); >({ x, y, z } = {} = a) : any +> : ^^^ >{ x, y, z } = {} = a : any +> : ^^^ >{ x, y, z } : { x: any; y: any; z: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >{} = a : any +> : ^^^ >{} : {} > : ^^ >a : any +> : ^^^ ([ a1, a2, a3] = [] = a); >([ a1, a2, a3] = [] = a) : any +> : ^^^ >[ a1, a2, a3] = [] = a : any +> : ^^^ >[ a1, a2, a3] : [any, any, any] > : ^^^^^^^^^^^^^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ >[] = a : any +> : ^^^ >[] : [] > : ^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).errors.txt b/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).errors.txt new file mode 100644 index 0000000000000..793df6c799a41 --- /dev/null +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyAssignmentPatterns04_ES5iterable.ts (0 errors) ==== + var a: any; + let x, y, z, a1, a2, a3; + + ({ x, y, z } = {} = a); + ([ a1, a2, a3] = [] = a); \ No newline at end of file diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).types b/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).types index 54f80a5d12806..dd2706117c674 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).types +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable(target=es5).types @@ -3,38 +3,59 @@ === emptyAssignmentPatterns04_ES5iterable.ts === var a: any; >a : any +> : ^^^ let x, y, z, a1, a2, a3; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ ({ x, y, z } = {} = a); >({ x, y, z } = {} = a) : any +> : ^^^ >{ x, y, z } = {} = a : any +> : ^^^ >{ x, y, z } : { x: any; y: any; z: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >{} = a : any +> : ^^^ >{} : {} > : ^^ >a : any +> : ^^^ ([ a1, a2, a3] = [] = a); >([ a1, a2, a3] = [] = a) : any +> : ^^^ >[ a1, a2, a3] = [] = a : any +> : ^^^ >[ a1, a2, a3] : [any, any, any] > : ^^^^^^^^^^^^^^^ >a1 : any +> : ^^^ >a2 : any +> : ^^^ >a3 : any +> : ^^^ >[] = a : any +> : ^^^ >[] : [] > : ^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/emptyFile-declaration(target=es5).errors.txt b/tests/baselines/reference/emptyFile-declaration(target=es5).errors.txt new file mode 100644 index 0000000000000..39add633066bf --- /dev/null +++ b/tests/baselines/reference/emptyFile-declaration(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyFile-declaration.ts (0 errors) ==== + \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile-souremap(target=es5).errors.txt b/tests/baselines/reference/emptyFile-souremap(target=es5).errors.txt new file mode 100644 index 0000000000000..2b7fa9b5bedae --- /dev/null +++ b/tests/baselines/reference/emptyFile-souremap(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyFile-souremap.ts (0 errors) ==== + \ No newline at end of file diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).errors.txt b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..61af9dc3b7b19 --- /dev/null +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).errors.txt @@ -0,0 +1,53 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyVariableDeclarationBindingPatterns01_ES5.ts (0 errors) ==== + (function () { + var a: any; + + var {} = a; + let {} = a; + const {} = a; + + var [] = a; + let [] = a; + const [] = a; + + var {} = a, [] = a; + let {} = a, [] = a; + const {} = a, [] = a; + + var { p1: {}, p2: [] } = a; + let { p1: {}, p2: [] } = a; + const { p1: {}, p2: [] } = a; + + for (var {} = {}, {} = {}; false; void 0) { + } + + function f({} = a, [] = a, { p: {} = a} = a) { + return ({} = a, [] = a, { p: {} = a } = a) => a; + } + })(); + + (function () { + const ns: number[][] = []; + + for (var {} of ns) { + } + + for (let {} of ns) { + } + + for (const {} of ns) { + } + + for (var [] of ns) { + } + + for (let [] of ns) { + } + + for (const [] of ns) { + } + })(); \ No newline at end of file diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).types b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).types index a4bab08e9d589..c13100b114de1 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).types +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5(target=es5).types @@ -11,36 +11,49 @@ var a: any; >a : any +> : ^^^ var {} = a; >a : any +> : ^^^ let {} = a; >a : any +> : ^^^ const {} = a; >a : any +> : ^^^ var [] = a; >a : any +> : ^^^ let [] = a; >a : any +> : ^^^ const [] = a; >a : any +> : ^^^ var {} = a, [] = a; >a : any +> : ^^^ >a : any +> : ^^^ let {} = a, [] = a; >a : any +> : ^^^ >a : any +> : ^^^ const {} = a, [] = a; >a : any +> : ^^^ >a : any +> : ^^^ var { p1: {}, p2: [] } = a; >p1 : any @@ -48,6 +61,7 @@ >p2 : any > : ^^^ >a : any +> : ^^^ let { p1: {}, p2: [] } = a; >p1 : any @@ -55,6 +69,7 @@ >p2 : any > : ^^^ >a : any +> : ^^^ const { p1: {}, p2: [] } = a; >p1 : any @@ -62,6 +77,7 @@ >p2 : any > : ^^^ >a : any +> : ^^^ for (var {} = {}, {} = {}; false; void 0) { >{} : {} @@ -80,24 +96,31 @@ >f : ({}?: any, []?: any, { p: {} }?: any) => ({}?: any, []?: any, { p: {} }?: any) => any > : ^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >a : any +> : ^^^ >p : any > : ^^^ >a : any > : ^^^ >a : any +> : ^^^ return ({} = a, [] = a, { p: {} = a } = a) => a; >({} = a, [] = a, { p: {} = a } = a) => a : ({}?: any, []?: any, { p: {} }?: any) => any > : ^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >a : any +> : ^^^ >p : any > : ^^^ >a : any > : ^^^ >a : any +> : ^^^ >a : any +> : ^^^ } })(); diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).errors.txt b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).errors.txt new file mode 100644 index 0000000000000..807cc51852601 --- /dev/null +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).errors.txt @@ -0,0 +1,53 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== emptyVariableDeclarationBindingPatterns01_ES5iterable.ts (0 errors) ==== + (function () { + var a: any; + + var {} = a; + let {} = a; + const {} = a; + + var [] = a; + let [] = a; + const [] = a; + + var {} = a, [] = a; + let {} = a, [] = a; + const {} = a, [] = a; + + var { p1: {}, p2: [] } = a; + let { p1: {}, p2: [] } = a; + const { p1: {}, p2: [] } = a; + + for (var {} = {}, {} = {}; false; void 0) { + } + + function f({} = a, [] = a, { p: {} = a} = a) { + return ({} = a, [] = a, { p: {} = a } = a) => a; + } + })(); + + (function () { + const ns: number[][] = []; + + for (var {} of ns) { + } + + for (let {} of ns) { + } + + for (const {} of ns) { + } + + for (var [] of ns) { + } + + for (let [] of ns) { + } + + for (const [] of ns) { + } + })(); \ No newline at end of file diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).types b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).types index 1f5357158a96d..c507b17aeaea8 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).types +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable(target=es5).types @@ -11,36 +11,49 @@ var a: any; >a : any +> : ^^^ var {} = a; >a : any +> : ^^^ let {} = a; >a : any +> : ^^^ const {} = a; >a : any +> : ^^^ var [] = a; >a : any +> : ^^^ let [] = a; >a : any +> : ^^^ const [] = a; >a : any +> : ^^^ var {} = a, [] = a; >a : any +> : ^^^ >a : any +> : ^^^ let {} = a, [] = a; >a : any +> : ^^^ >a : any +> : ^^^ const {} = a, [] = a; >a : any +> : ^^^ >a : any +> : ^^^ var { p1: {}, p2: [] } = a; >p1 : any @@ -48,6 +61,7 @@ >p2 : any > : ^^^ >a : any +> : ^^^ let { p1: {}, p2: [] } = a; >p1 : any @@ -55,6 +69,7 @@ >p2 : any > : ^^^ >a : any +> : ^^^ const { p1: {}, p2: [] } = a; >p1 : any @@ -62,6 +77,7 @@ >p2 : any > : ^^^ >a : any +> : ^^^ for (var {} = {}, {} = {}; false; void 0) { >{} : {} @@ -80,24 +96,31 @@ >f : ({}?: any, []?: any, { p: {} }?: any) => ({}?: any, []?: any, { p: {} }?: any) => any > : ^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >a : any +> : ^^^ >p : any > : ^^^ >a : any > : ^^^ >a : any +> : ^^^ return ({} = a, [] = a, { p: {} = a } = a) => a; >({} = a, [] = a, { p: {} = a } = a) => a : ({}?: any, []?: any, { p: {} }?: any) => any > : ^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ >a : any +> : ^^^ >a : any +> : ^^^ >p : any > : ^^^ >a : any > : ^^^ >a : any +> : ^^^ >a : any +> : ^^^ } })(); diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5(target=es5).errors.txt b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5(target=es5).errors.txt index 40e96efa387af..94105269599a9 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emptyVariableDeclarationBindingPatterns02_ES5.ts(2,9): error TS1182: A destructuring declaration must have an initializer. emptyVariableDeclarationBindingPatterns02_ES5.ts(3,9): error TS1182: A destructuring declaration must have an initializer. emptyVariableDeclarationBindingPatterns02_ES5.ts(4,11): error TS1182: A destructuring declaration must have an initializer. @@ -6,6 +7,7 @@ emptyVariableDeclarationBindingPatterns02_ES5.ts(7,9): error TS1182: A destructu emptyVariableDeclarationBindingPatterns02_ES5.ts(8,11): error TS1182: A destructuring declaration must have an initializer. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emptyVariableDeclarationBindingPatterns02_ES5.ts (6 errors) ==== (function () { var {}; diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable(target=es5).errors.txt b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable(target=es5).errors.txt index 2ab84a97c0991..fa976c15cb5b0 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable(target=es5).errors.txt +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. emptyVariableDeclarationBindingPatterns02_ES5iterable.ts(2,9): error TS1182: A destructuring declaration must have an initializer. emptyVariableDeclarationBindingPatterns02_ES5iterable.ts(3,9): error TS1182: A destructuring declaration must have an initializer. emptyVariableDeclarationBindingPatterns02_ES5iterable.ts(4,11): error TS1182: A destructuring declaration must have an initializer. @@ -6,6 +7,7 @@ emptyVariableDeclarationBindingPatterns02_ES5iterable.ts(7,9): error TS1182: A d emptyVariableDeclarationBindingPatterns02_ES5iterable.ts(8,11): error TS1182: A destructuring declaration must have an initializer. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== emptyVariableDeclarationBindingPatterns02_ES5iterable.ts (6 errors) ==== (function () { var {}; diff --git a/tests/baselines/reference/errorOnFunctionReturnType(target=es5).errors.txt b/tests/baselines/reference/errorOnFunctionReturnType(target=es5).errors.txt index 8e43bf8f1d6d1..7b6d2f73c910c 100644 --- a/tests/baselines/reference/errorOnFunctionReturnType(target=es5).errors.txt +++ b/tests/baselines/reference/errorOnFunctionReturnType(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. foo.js(7,10): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. foo.js(13,5): error TS2322: Type 'string' is not assignable to type 'number'. foo.js(16,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. @@ -9,6 +10,7 @@ foo.js(40,56): error TS2534: A function returning 'never' cannot have a reachabl foo.js(45,18): error TS2534: A function returning 'never' cannot have a reachable end point. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== foo.js (9 errors) ==== /** * @callback FunctionReturningPromise diff --git a/tests/baselines/reference/errorSuperPropertyAccess(target=es5).errors.txt b/tests/baselines/reference/errorSuperPropertyAccess(target=es5).errors.txt index 4f9de10df31b5..756ddf2272f06 100644 --- a/tests/baselines/reference/errorSuperPropertyAccess(target=es5).errors.txt +++ b/tests/baselines/reference/errorSuperPropertyAccess(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. errorSuperPropertyAccess.ts(6,17): error TS2335: 'super' can only be referenced in a derived class. errorSuperPropertyAccess.ts(7,17): error TS2335: 'super' can only be referenced in a derived class. errorSuperPropertyAccess.ts(11,17): error TS2335: 'super' can only be referenced in a derived class. @@ -30,6 +31,7 @@ errorSuperPropertyAccess.ts(127,16): error TS2660: 'super' can only be reference errorSuperPropertyAccess.ts(127,30): error TS2660: 'super' can only be referenced in members of derived classes or object literal expressions. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== errorSuperPropertyAccess.ts (30 errors) ==== //super property access in constructor of class with no base type //super property access in instance member function of class with no base type diff --git a/tests/baselines/reference/errorsOnImportedSymbol(target=es5).errors.txt b/tests/baselines/reference/errorsOnImportedSymbol(target=es5).errors.txt index aad16bdae01bd..88770d7402dbd 100644 --- a/tests/baselines/reference/errorsOnImportedSymbol(target=es5).errors.txt +++ b/tests/baselines/reference/errorsOnImportedSymbol(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. errorsOnImportedSymbol_1.ts(2,13): error TS2693: 'Sammy' only refers to a type, but is being used as a value here. errorsOnImportedSymbol_1.ts(3,9): error TS2693: 'Sammy' only refers to a type, but is being used as a value here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== errorsOnImportedSymbol_1.ts (2 errors) ==== import Sammy = require("./errorsOnImportedSymbol_0"); var x = new Sammy.Sammy(); diff --git a/tests/baselines/reference/es5-amd(target=es5).errors.txt b/tests/baselines/reference/es5-amd(target=es5).errors.txt index 894e40177a85b..7fbfe00cdb41e 100644 --- a/tests/baselines/reference/es5-amd(target=es5).errors.txt +++ b/tests/baselines/reference/es5-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-amd.ts (0 errors) ==== class A { diff --git a/tests/baselines/reference/es5-asyncFunction(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..759a7e9b96e4f --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunction(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunction.ts (0 errors) ==== + declare var x; + + async function empty() { + } + + async function singleAwait() { + await x; + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunction(target=es5).types b/tests/baselines/reference/es5-asyncFunction(target=es5).types index 9e2beb2582bd2..63b6e56dcd688 100644 --- a/tests/baselines/reference/es5-asyncFunction(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunction(target=es5).types @@ -3,6 +3,7 @@ === es5-asyncFunction.ts === declare var x; >x : any +> : ^^^ async function empty() { >empty : () => Promise @@ -15,5 +16,7 @@ async function singleAwait() { await x; >await x : any +> : ^^^ >x : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).errors.txt new file mode 100644 index 0000000000000..11e13cb9965d0 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).errors.txt @@ -0,0 +1,38 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionArrayLiterals.ts (0 errors) ==== + declare var x, y, z, a; + + async function arrayLiteral0() { + x = [await y, z]; + } + + async function arrayLiteral1() { + x = [y, await z]; + } + + async function arrayLiteral2() { + x = [...(await y), z]; + } + + async function arrayLiteral3() { + x = [...y, await z]; + } + + async function arrayLiteral4() { + x = [await y, ...z]; + } + + async function arrayLiteral5() { + x = [y, ...(await z)]; + } + + async function arrayLiteral6() { + x = [y, await z, a]; + } + + async function arrayLiteral7() { + x = [await y, z, await a]; + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).types b/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).types index 9ebab0a63a5f4..be65fa0aa263a 100644 --- a/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionArrayLiterals(target=es5).types @@ -3,9 +3,13 @@ === es5-asyncFunctionArrayLiterals.ts === declare var x, y, z, a; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ async function arrayLiteral0() { >arrayLiteral0 : () => Promise @@ -15,11 +19,15 @@ async function arrayLiteral0() { >x = [await y, z] : any[] > : ^^^^^ >x : any +> : ^^^ >[await y, z] : any[] > : ^^^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function arrayLiteral1() { @@ -30,11 +38,15 @@ async function arrayLiteral1() { >x = [y, await z] : any[] > : ^^^^^ >x : any +> : ^^^ >[y, await z] : any[] > : ^^^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function arrayLiteral2() { @@ -45,13 +57,19 @@ async function arrayLiteral2() { >x = [...(await y), z] : any[] > : ^^^^^ >x : any +> : ^^^ >[...(await y), z] : any[] > : ^^^^^ >...(await y) : any +> : ^^^ >(await y) : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function arrayLiteral3() { @@ -62,12 +80,17 @@ async function arrayLiteral3() { >x = [...y, await z] : any[] > : ^^^^^ >x : any +> : ^^^ >[...y, await z] : any[] > : ^^^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function arrayLiteral4() { @@ -78,12 +101,17 @@ async function arrayLiteral4() { >x = [await y, ...z] : any[] > : ^^^^^ >x : any +> : ^^^ >[await y, ...z] : any[] > : ^^^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >...z : any +> : ^^^ >z : any +> : ^^^ } async function arrayLiteral5() { @@ -94,13 +122,19 @@ async function arrayLiteral5() { >x = [y, ...(await z)] : any[] > : ^^^^^ >x : any +> : ^^^ >[y, ...(await z)] : any[] > : ^^^^^ >y : any +> : ^^^ >...(await z) : any +> : ^^^ >(await z) : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function arrayLiteral6() { @@ -111,12 +145,17 @@ async function arrayLiteral6() { >x = [y, await z, a] : any[] > : ^^^^^ >x : any +> : ^^^ >[y, await z, a] : any[] > : ^^^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } async function arrayLiteral7() { @@ -127,11 +166,17 @@ async function arrayLiteral7() { >x = [await y, z, await a] : any[] > : ^^^^^ >x : any +> : ^^^ >[await y, z, await a] : any[] > : ^^^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).errors.txt new file mode 100644 index 0000000000000..15ecc6ddec1ee --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).errors.txt @@ -0,0 +1,127 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionBinaryExpressions.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function binaryPlus0() { + (await x) + y; + } + + async function binaryPlus1() { + x + await y; + } + + async function binaryLogicalAnd0() { + (await x) && y; + } + + async function binaryLogicalAnd1() { + x && await y; + } + + async function binaryAssignment0() { + x = await y; + } + + async function binaryAssignment1() { + x.a = await y; + } + + async function binaryAssignment2() { + x.a.b = await y; + } + + async function binaryAssignment3() { + x[z] = await y; + } + + async function binaryAssignment4() { + x[z].b = await y; + } + + async function binaryAssignment5() { + x.a[z] = await y; + } + + async function binaryAssignment6() { + (await x).a = y; + } + + async function binaryAssignment7() { + (await x.a).b = y; + } + + async function binaryAssignment8() { + (await x)[z] = y; + } + + async function binaryAssignment9() { + x[await z] = y; + } + + async function binaryAssignment10() { + x[await z].b = y; + } + + async function binaryAssignment11() { + (await x[z]).b = y; + } + + async function binaryAssignment12() { + x.a[await z] = y; + } + + async function binaryAssignment13() { + (await x.a)[z] = y; + } + + async function binaryCompoundAssignment0() { + x += await y; + } + + async function binaryCompoundAssignment1() { + x.a += await y; + } + + async function binaryCompoundAssignment2() { + x[a] += await y; + } + + async function binaryCompoundAssignment3() { + (await x).a += y; + } + + async function binaryCompoundAssignment4() { + (await x)[a] += y; + } + + async function binaryCompoundAssignment5() { + x[await a] += y; + } + + async function binaryCompoundAssignment6() { + (await x).a += await y; + } + + async function binaryCompoundAssignment7() { + (await x)[a] += await y; + } + + async function binaryCompoundAssignment8() { + x[await a] += await y; + } + + async function binaryExponentiation() { + (await x) ** y; + x ** await y; + } + + async function binaryComma0() { + return (await x), y; + } + + async function binaryComma1(): Promise { + return x, await y; + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).types b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).types index b21da2df5acf4..26cfac7808974 100644 --- a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionBinaryExpressions.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function binaryPlus0() { >binaryPlus0 : () => Promise @@ -15,10 +21,15 @@ async function binaryPlus0() { (await x) + y; >(await x) + y : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function binaryPlus1() { @@ -27,9 +38,13 @@ async function binaryPlus1() { x + await y; >x + await y : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryLogicalAnd0() { @@ -38,10 +53,15 @@ async function binaryLogicalAnd0() { (await x) && y; >(await x) && y : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function binaryLogicalAnd1() { @@ -50,9 +70,13 @@ async function binaryLogicalAnd1() { x && await y; >x && await y : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment0() { @@ -61,9 +85,13 @@ async function binaryAssignment0() { x = await y; >x = await y : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment1() { @@ -72,13 +100,17 @@ async function binaryAssignment1() { x.a = await y; >x.a = await y : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment2() { @@ -87,7 +119,9 @@ async function binaryAssignment2() { x.a.b = await y; >x.a.b = await y : any +> : ^^^ >x.a.b : any +> : ^^^ >x.a : any > : ^^^ >x : any @@ -97,7 +131,9 @@ async function binaryAssignment2() { >b : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment3() { @@ -106,11 +142,17 @@ async function binaryAssignment3() { x[z] = await y; >x[z] = await y : any +> : ^^^ >x[z] : any +> : ^^^ >x : any +> : ^^^ >z : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment4() { @@ -119,15 +161,21 @@ async function binaryAssignment4() { x[z].b = await y; >x[z].b = await y : any +> : ^^^ >x[z].b : any +> : ^^^ >x[z] : any > : ^^^ >x : any +> : ^^^ >z : any +> : ^^^ >b : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment5() { @@ -136,15 +184,21 @@ async function binaryAssignment5() { x.a[z] = await y; >x.a[z] = await y : any +> : ^^^ >x.a[z] : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >z : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment6() { @@ -153,14 +207,19 @@ async function binaryAssignment6() { (await x).a = y; >(await x).a = y : any +> : ^^^ >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >y : any +> : ^^^ } async function binaryAssignment7() { @@ -169,11 +228,15 @@ async function binaryAssignment7() { (await x.a).b = y; >(await x.a).b = y : any +> : ^^^ >(await x.a).b : any +> : ^^^ >(await x.a) : any > : ^^^ >await x.a : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any @@ -181,6 +244,7 @@ async function binaryAssignment7() { >b : any > : ^^^ >y : any +> : ^^^ } async function binaryAssignment8() { @@ -189,12 +253,19 @@ async function binaryAssignment8() { (await x)[z] = y; >(await x)[z] = y : any +> : ^^^ >(await x)[z] : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >z : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment9() { @@ -203,11 +274,17 @@ async function binaryAssignment9() { x[await z] = y; >x[await z] = y : any +> : ^^^ >x[await z] : any +> : ^^^ >x : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment10() { @@ -216,15 +293,21 @@ async function binaryAssignment10() { x[await z].b = y; >x[await z].b = y : any +> : ^^^ >x[await z].b : any +> : ^^^ >x[await z] : any > : ^^^ >x : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ >b : any > : ^^^ >y : any +> : ^^^ } async function binaryAssignment11() { @@ -233,16 +316,23 @@ async function binaryAssignment11() { (await x[z]).b = y; >(await x[z]).b = y : any +> : ^^^ >(await x[z]).b : any +> : ^^^ >(await x[z]) : any > : ^^^ >await x[z] : any +> : ^^^ >x[z] : any +> : ^^^ >x : any +> : ^^^ >z : any +> : ^^^ >b : any > : ^^^ >y : any +> : ^^^ } async function binaryAssignment12() { @@ -251,15 +341,21 @@ async function binaryAssignment12() { x.a[await z] = y; >x.a[await z] = y : any +> : ^^^ >x.a[await z] : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ >y : any +> : ^^^ } async function binaryAssignment13() { @@ -268,16 +364,23 @@ async function binaryAssignment13() { (await x.a)[z] = y; >(await x.a)[z] = y : any +> : ^^^ >(await x.a)[z] : any +> : ^^^ >(await x.a) : any +> : ^^^ >await x.a : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >z : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment0() { @@ -286,9 +389,13 @@ async function binaryCompoundAssignment0() { x += await y; >x += await y : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment1() { @@ -297,13 +404,17 @@ async function binaryCompoundAssignment1() { x.a += await y; >x.a += await y : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment2() { @@ -312,11 +423,17 @@ async function binaryCompoundAssignment2() { x[a] += await y; >x[a] += await y : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment3() { @@ -325,14 +442,19 @@ async function binaryCompoundAssignment3() { (await x).a += y; >(await x).a += y : any +> : ^^^ >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment4() { @@ -341,12 +463,19 @@ async function binaryCompoundAssignment4() { (await x)[a] += y; >(await x)[a] += y : any +> : ^^^ >(await x)[a] : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment5() { @@ -355,11 +484,17 @@ async function binaryCompoundAssignment5() { x[await a] += y; >x[await a] += y : any +> : ^^^ >x[await a] : any +> : ^^^ >x : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment6() { @@ -368,15 +503,21 @@ async function binaryCompoundAssignment6() { (await x).a += await y; >(await x).a += await y : any +> : ^^^ >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment7() { @@ -385,13 +526,21 @@ async function binaryCompoundAssignment7() { (await x)[a] += await y; >(await x)[a] += await y : any +> : ^^^ >(await x)[a] : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryCompoundAssignment8() { @@ -400,12 +549,19 @@ async function binaryCompoundAssignment8() { x[await a] += await y; >x[await a] += await y : any +> : ^^^ >x[await a] : any +> : ^^^ >x : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryExponentiation() { @@ -416,16 +572,23 @@ async function binaryExponentiation() { >(await x) ** y : number > : ^^^^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ x ** await y; >x ** await y : number > : ^^^^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function binaryComma0() { @@ -434,10 +597,15 @@ async function binaryComma0() { return (await x), y; >(await x), y : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function binaryComma1(): Promise { @@ -446,7 +614,11 @@ async function binaryComma1(): Promise { return x, await y; >x, await y : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).errors.txt new file mode 100644 index 0000000000000..aacb44cc7b09d --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).errors.txt @@ -0,0 +1,91 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionCallExpressions.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function callExpression0() { + await x(y, z); + } + + async function callExpression1() { + (await x)(y, z); + } + + async function callExpression2() { + x(await y, z); + } + + async function callExpression3() { + x(y, await z); + } + + async function callExpression4() { + await x(...y, z); + } + + async function callExpression5() { + (await x)(...y, z); + } + + async function callExpression6() { + x(...(await y), z); + } + + async function callExpression7() { + x(...y, await z); + } + + async function callExpression8() { + x(await y, ...z); + } + + async function callExpression9() { + x(y, ...(await z)); + } + + async function callExpression10() { + await x.a(y, z); + } + + async function callExpression11() { + (await x.a)(y, z); + } + + async function callExpression12() { + (await x).a(y, z); + } + + async function callExpression13() { + x.a(await y, z); + } + + async function callExpression14() { + x.a(y, await z); + } + + async function callExpression15() { + await x[a](y, z); + } + + async function callExpression16() { + (await x[a])(y, z); + } + + async function callExpression17() { + (await x)[a](y, z); + } + + async function callExpression18() { + x[await a](y, z); + } + + async function callExpression19() { + x[a](await y, z); + } + + async function callExpression20() { + x[a](y, await z); + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).types b/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).types index 0d49240591a42..fcf34464f1e54 100644 --- a/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionCallExpressions(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionCallExpressions.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function callExpression0() { >callExpression0 : () => Promise @@ -15,10 +21,15 @@ async function callExpression0() { await x(y, z); >await x(y, z) : any +> : ^^^ >x(y, z) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression1() { @@ -27,11 +38,17 @@ async function callExpression1() { (await x)(y, z); >(await x)(y, z) : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression2() { @@ -40,10 +57,15 @@ async function callExpression2() { x(await y, z); >x(await y, z) : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression3() { @@ -52,10 +74,15 @@ async function callExpression3() { x(y, await z); >x(y, await z) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function callExpression4() { @@ -64,11 +91,17 @@ async function callExpression4() { await x(...y, z); >await x(...y, z) : any +> : ^^^ >x(...y, z) : any +> : ^^^ >x : any +> : ^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression5() { @@ -77,12 +110,19 @@ async function callExpression5() { (await x)(...y, z); >(await x)(...y, z) : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression6() { @@ -91,12 +131,19 @@ async function callExpression6() { x(...(await y), z); >x(...(await y), z) : any +> : ^^^ >x : any +> : ^^^ >...(await y) : any +> : ^^^ >(await y) : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression7() { @@ -105,11 +152,17 @@ async function callExpression7() { x(...y, await z); >x(...y, await z) : any +> : ^^^ >x : any +> : ^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function callExpression8() { @@ -118,11 +171,17 @@ async function callExpression8() { x(await y, ...z); >x(await y, ...z) : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >...z : any +> : ^^^ >z : any +> : ^^^ } async function callExpression9() { @@ -131,12 +190,19 @@ async function callExpression9() { x(y, ...(await z)); >x(y, ...(await z)) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >...(await z) : any +> : ^^^ >(await z) : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function callExpression10() { @@ -145,14 +211,19 @@ async function callExpression10() { await x.a(y, z); >await x.a(y, z) : any +> : ^^^ >x.a(y, z) : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression11() { @@ -161,15 +232,21 @@ async function callExpression11() { (await x.a)(y, z); >(await x.a)(y, z) : any +> : ^^^ >(await x.a) : any +> : ^^^ >await x.a : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression12() { @@ -178,15 +255,21 @@ async function callExpression12() { (await x).a(y, z); >(await x).a(y, z) : any +> : ^^^ >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression13() { @@ -195,14 +278,19 @@ async function callExpression13() { x.a(await y, z); >x.a(await y, z) : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression14() { @@ -211,14 +299,19 @@ async function callExpression14() { x.a(y, await z); >x.a(y, await z) : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function callExpression15() { @@ -227,12 +320,19 @@ async function callExpression15() { await x[a](y, z); >await x[a](y, z) : any +> : ^^^ >x[a](y, z) : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression16() { @@ -241,13 +341,21 @@ async function callExpression16() { (await x[a])(y, z); >(await x[a])(y, z) : any +> : ^^^ >(await x[a]) : any +> : ^^^ >await x[a] : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression17() { @@ -256,13 +364,21 @@ async function callExpression17() { (await x)[a](y, z); >(await x)[a](y, z) : any +> : ^^^ >(await x)[a] : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression18() { @@ -271,12 +387,19 @@ async function callExpression18() { x[await a](y, z); >x[await a](y, z) : any +> : ^^^ >x[await a] : any +> : ^^^ >x : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression19() { @@ -285,12 +408,19 @@ async function callExpression19() { x[a](await y, z); >x[a](await y, z) : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function callExpression20() { @@ -299,11 +429,18 @@ async function callExpression20() { x[a](y, await z); >x[a](y, await z) : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).errors.txt new file mode 100644 index 0000000000000..064d4cb11fb9a --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionConditionals.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function conditional0() { + a = (await x) ? y : z; + } + + async function conditional1() { + a = x ? await y : z; + } + + async function conditional2() { + a = x ? y : await z; + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).types b/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).types index 1c3f14a13f24c..665520355e3a3 100644 --- a/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionConditionals(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionConditionals.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function conditional0() { >conditional0 : () => Promise @@ -15,13 +21,21 @@ async function conditional0() { a = (await x) ? y : z; >a = (await x) ? y : z : any +> : ^^^ >a : any +> : ^^^ >(await x) ? y : z : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function conditional1() { @@ -30,12 +44,19 @@ async function conditional1() { a = x ? await y : z; >a = x ? await y : z : any +> : ^^^ >a : any +> : ^^^ >x ? await y : z : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function conditional2() { @@ -44,10 +65,17 @@ async function conditional2() { a = x ? y : await z; >a = x ? y : await z : any +> : ^^^ >a : any +> : ^^^ >x ? y : await z : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..2b9227624ac14 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).errors.txt @@ -0,0 +1,82 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionDoStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function doStatement0() { + do { x; } while (y); + } + + async function doStatement1() { + do { await x; } while (y); + } + + async function doStatement2() { + do { x; } while (await y); + } + + async function doStatement3() { + do { continue; } while (y); + } + + async function doStatement4() { + do { await x; continue; } while (y); + } + + async function doStatement5() { + do { if (1) continue; await x; } while (y); + } + + async function doStatement6() { + do { continue; } while (await y); + } + + async function doStatement7() { + A: do { continue A; } while (y); + } + + async function doStatement8() { + B: do { await x; continue B; } while (y); + } + + async function doStatement9() { + C: do { if (1) continue C; await x; } while (y); + } + + async function doStatement10() { + D: do { continue D; } while (await y); + } + + async function doStatement11() { + do { break; } while (y); + } + + async function doStatement12() { + do { await x; break; } while (y); + } + + async function doStatement13() { + do { if (1) break; await x; } while (y); + } + + async function doStatement14() { + do { break; } while (await y); + } + + async function doStatement15() { + E: do { break E; } while (y); + } + + async function doStatement16() { + F: do { await x; break F; } while (y); + } + + async function doStatement17() { + G: do { if (1) break G; await x; } while (y); + } + + async function doStatement18() { + H: do { break H; } while (await y); + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).types index b4f3d6abb27c1..aa0226dc9069e 100644 --- a/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionDoStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionDoStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function doStatement0() { >doStatement0 : () => Promise @@ -15,7 +21,9 @@ async function doStatement0() { do { x; } while (y); >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement1() { @@ -24,8 +32,11 @@ async function doStatement1() { do { await x; } while (y); >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement2() { @@ -34,8 +45,11 @@ async function doStatement2() { do { x; } while (await y); >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function doStatement3() { @@ -44,6 +58,7 @@ async function doStatement3() { do { continue; } while (y); >y : any +> : ^^^ } async function doStatement4() { @@ -52,8 +67,11 @@ async function doStatement4() { do { await x; continue; } while (y); >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement5() { @@ -64,8 +82,11 @@ async function doStatement5() { >1 : 1 > : ^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement6() { @@ -74,7 +95,9 @@ async function doStatement6() { do { continue; } while (await y); >await y : any +> : ^^^ >y : any +> : ^^^ } async function doStatement7() { @@ -87,6 +110,7 @@ async function doStatement7() { >A : any > : ^^^ >y : any +> : ^^^ } async function doStatement8() { @@ -97,10 +121,13 @@ async function doStatement8() { >B : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >B : any > : ^^^ >y : any +> : ^^^ } async function doStatement9() { @@ -115,8 +142,11 @@ async function doStatement9() { >C : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement10() { @@ -129,7 +159,9 @@ async function doStatement10() { >D : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function doStatement11() { @@ -138,6 +170,7 @@ async function doStatement11() { do { break; } while (y); >y : any +> : ^^^ } async function doStatement12() { @@ -146,8 +179,11 @@ async function doStatement12() { do { await x; break; } while (y); >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement13() { @@ -158,8 +194,11 @@ async function doStatement13() { >1 : 1 > : ^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement14() { @@ -168,7 +207,9 @@ async function doStatement14() { do { break; } while (await y); >await y : any +> : ^^^ >y : any +> : ^^^ } async function doStatement15() { @@ -181,6 +222,7 @@ async function doStatement15() { >E : any > : ^^^ >y : any +> : ^^^ } async function doStatement16() { @@ -191,10 +233,13 @@ async function doStatement16() { >F : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >F : any > : ^^^ >y : any +> : ^^^ } async function doStatement17() { @@ -209,8 +254,11 @@ async function doStatement17() { >G : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function doStatement18() { @@ -223,5 +271,7 @@ async function doStatement18() { >H : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).errors.txt new file mode 100644 index 0000000000000..5b9bfa35b2115 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionElementAccess.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function elementAccess0() { + z = await x[y]; + } + + async function elementAccess1() { + z = (await x)[y]; + } + + async function elementAccess2() { + z = x[await y]; + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).types b/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).types index f3d3ffae3daa2..dafa257f5668e 100644 --- a/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionElementAccess(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionElementAccess.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function elementAccess0() { >elementAccess0 : () => Promise @@ -15,11 +21,17 @@ async function elementAccess0() { z = await x[y]; >z = await x[y] : any +> : ^^^ >z : any +> : ^^^ >await x[y] : any +> : ^^^ >x[y] : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function elementAccess1() { @@ -28,12 +40,19 @@ async function elementAccess1() { z = (await x)[y]; >z = (await x)[y] : any +> : ^^^ >z : any +> : ^^^ >(await x)[y] : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function elementAccess2() { @@ -42,10 +61,16 @@ async function elementAccess2() { z = x[await y]; >z = x[await y] : any +> : ^^^ >z : any +> : ^^^ >x[await y] : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..75e13e5fee905 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).errors.txt @@ -0,0 +1,42 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionForInStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function forInStatement0() { + for (x in y) { z; } + } + + async function forInStatement1() { + for (x in await y) { z; } + } + + async function forInStatement2() { + for (x in y) { await z; } + } + + async function forInStatement3() { + for ((await x).a in y) { z; } + } + + async function forInStatement4() { + for (x.a in await y) { z; } + } + + async function forInStatement5() { + for (x.a in y) { await z; } + } + + async function forInStatement6() { + for (var a in y) { z; } + } + + async function forInStatement7() { + for (var b in await y) { z; } + } + + async function forInStatement8() { + for (var c in y) { await z; } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).types index 9502f29de7c45..838c1c60a4412 100644 --- a/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionForInStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionForInStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function forInStatement0() { >forInStatement0 : () => Promise @@ -15,8 +21,11 @@ async function forInStatement0() { for (x in y) { z; } >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement1() { @@ -25,9 +34,13 @@ async function forInStatement1() { for (x in await y) { z; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement2() { @@ -36,9 +49,13 @@ async function forInStatement2() { for (x in y) { await z; } >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement3() { @@ -47,14 +64,19 @@ async function forInStatement3() { for ((await x).a in y) { z; } >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement4() { @@ -63,13 +85,17 @@ async function forInStatement4() { for (x.a in await y) { z; } >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement5() { @@ -78,13 +104,17 @@ async function forInStatement5() { for (x.a in y) { await z; } >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement6() { @@ -95,7 +125,9 @@ async function forInStatement6() { >a : string > : ^^^^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement7() { @@ -106,8 +138,11 @@ async function forInStatement7() { >b : string > : ^^^^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forInStatement8() { @@ -118,6 +153,9 @@ async function forInStatement8() { >c : string > : ^^^^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..163dc89d9bf2f --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).errors.txt @@ -0,0 +1,82 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionForOfStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function forOfStatement0() { + for (x of y) { z; } + } + + async function forOfStatement1() { + for (x of await y) { z; } + } + + async function forOfStatement2() { + for (x of y) { await z; } + } + + async function forOfStatement3() { + for ((await x).a of y) { z; } + } + + async function forOfStatement4() { + for (x.a of await y) { z; } + } + + async function forOfStatement5() { + for (x.a of y) { await z; } + } + + async function forOfStatement6() { + for (var b of y) { z; } + } + + async function forOfStatement7() { + for (var c of await y) { z; } + } + + async function forOfStatement8() { + for (var d of y) { await z; } + } + + async function forOfStatement9() { + for ([x] of await y) { z; } + } + + async function forOfStatement10() { + for ([x] of y) { await z; } + } + + async function forOfStatement11() { + for ([x = await a] of y) { z; } + } + + async function forOfStatement12() { + for ([x = a] of await y) { z; } + } + + async function forOfStatement13() { + for ([x = a] of y) { await z; } + } + + async function forOfStatement14() { + for ({ x } of await y) { z; } + } + + async function forOfStatement15() { + for ({ x } of y) { await z; } + } + + async function forOfStatement16() { + for ({ x = await a } of y) { z; } + } + + async function forOfStatement17() { + for ({ x = a } of await y) { z; } + } + + async function forOfStatement18() { + for ({ x = a } of y) { await z; } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).types index 36d5bd8785260..16194b4f83365 100644 --- a/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionForOfStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionForOfStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function forOfStatement0() { >forOfStatement0 : () => Promise @@ -15,8 +21,11 @@ async function forOfStatement0() { for (x of y) { z; } >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement1() { @@ -25,9 +34,13 @@ async function forOfStatement1() { for (x of await y) { z; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement2() { @@ -36,9 +49,13 @@ async function forOfStatement2() { for (x of y) { await z; } >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement3() { @@ -47,14 +64,19 @@ async function forOfStatement3() { for ((await x).a of y) { z; } >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement4() { @@ -63,13 +85,17 @@ async function forOfStatement4() { for (x.a of await y) { z; } >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement5() { @@ -78,13 +104,17 @@ async function forOfStatement5() { for (x.a of y) { await z; } >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement6() { @@ -93,8 +123,11 @@ async function forOfStatement6() { for (var b of y) { z; } >b : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement7() { @@ -103,9 +136,13 @@ async function forOfStatement7() { for (var c of await y) { z; } >c : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement8() { @@ -114,9 +151,13 @@ async function forOfStatement8() { for (var d of y) { await z; } >d : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement9() { @@ -127,9 +168,13 @@ async function forOfStatement9() { >[x] : [any] > : ^^^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement10() { @@ -140,9 +185,13 @@ async function forOfStatement10() { >[x] : [any] > : ^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement11() { @@ -153,11 +202,17 @@ async function forOfStatement11() { >[x = await a] : [any] > : ^^^^^ >x = await a : any +> : ^^^ >x : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement12() { @@ -168,11 +223,17 @@ async function forOfStatement12() { >[x = a] : [any] > : ^^^^^ >x = a : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement13() { @@ -183,11 +244,17 @@ async function forOfStatement13() { >[x = a] : [any] > : ^^^^^ >x = a : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement14() { @@ -198,9 +265,13 @@ async function forOfStatement14() { >{ x } : { x: any; } > : ^^^^^^^^^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement15() { @@ -211,9 +282,13 @@ async function forOfStatement15() { >{ x } : { x: any; } > : ^^^^^^^^^^^ >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement16() { @@ -224,10 +299,15 @@ async function forOfStatement16() { >{ x = await a } : { x?: any; } > : ^^^^^^^^^^^^ >x : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement17() { @@ -238,10 +318,15 @@ async function forOfStatement17() { >{ x = a } : { x?: any; } > : ^^^^^^^^^^^^ >x : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function forOfStatement18() { @@ -252,8 +337,13 @@ async function forOfStatement18() { >{ x = a } : { x?: any; } > : ^^^^^^^^^^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..0d320b409accf --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).errors.txt @@ -0,0 +1,34 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionForStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function forStatement0() { + for (x; y; z) { a; } + } + + async function forStatement1() { + for (await x; y; z) { a; } + } + + async function forStatement2() { + for (x; await y; z) { a; } + } + + async function forStatement3() { + for (x; y; await z) { a; } + } + + async function forStatement4() { + for (x; y; z) { await a; } + } + + async function forStatement5() { + for (var b; y; z) { a; } + } + + async function forStatement6() { + for (var c = x; y; z) { a; } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).types index f6d2f235a6c4e..8ec31cd90f465 100644 --- a/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionForStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionForStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function forStatement0() { >forStatement0 : () => Promise @@ -15,9 +21,13 @@ async function forStatement0() { for (x; y; z) { a; } >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } async function forStatement1() { @@ -26,10 +36,15 @@ async function forStatement1() { for (await x; y; z) { a; } >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } async function forStatement2() { @@ -38,10 +53,15 @@ async function forStatement2() { for (x; await y; z) { a; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } async function forStatement3() { @@ -50,10 +70,15 @@ async function forStatement3() { for (x; y; await z) { a; } >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } async function forStatement4() { @@ -62,10 +87,15 @@ async function forStatement4() { for (x; y; z) { await a; } >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ } async function forStatement5() { @@ -74,9 +104,13 @@ async function forStatement5() { for (var b; y; z) { a; } >b : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } async function forStatement6() { @@ -85,8 +119,13 @@ async function forStatement6() { for (var c = x; y; z) { a; } >c : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).errors.txt new file mode 100644 index 0000000000000..46c7e30584e28 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).errors.txt @@ -0,0 +1,57 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionHoisting.ts (0 errors) ==== + declare var y; + + async function hoisting() { + var a0, a1 = 1; + function z() { + var b0, b1 = 1; + } + + if (true) { + var c0, c1 = 1; + } + + for (var a = 0; y;) { + + } + + for (var b in y) { + + } + + for (var c of y) { + + } + } + + async function hoistingWithAwait() { + var a0, a1 = 1; + + function z() { + var b0, b1 = 1; + } + + await 0; + + if (true) { + var c0, c1 = 1; + } + + for (var a = 0; y;) { + + } + + for (var b in y) { + + } + + for (var c of y) { + + } + } + + \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).types b/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).types index e51f7b65bde28..8b202816f6af4 100644 --- a/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionHoisting(target=es5).types @@ -3,6 +3,7 @@ === es5-asyncFunctionHoisting.ts === declare var y; >y : any +> : ^^^ async function hoisting() { >hoisting : () => Promise @@ -10,6 +11,7 @@ async function hoisting() { var a0, a1 = 1; >a0 : any +> : ^^^ >a1 : number > : ^^^^^^ >1 : 1 @@ -21,6 +23,7 @@ async function hoisting() { var b0, b1 = 1; >b0 : any +> : ^^^ >b1 : number > : ^^^^^^ >1 : 1 @@ -33,6 +36,7 @@ async function hoisting() { var c0, c1 = 1; >c0 : any +> : ^^^ >c1 : number > : ^^^^^^ >1 : 1 @@ -45,6 +49,7 @@ async function hoisting() { >0 : 0 > : ^ >y : any +> : ^^^ } @@ -52,12 +57,15 @@ async function hoisting() { >b : string > : ^^^^^^ >y : any +> : ^^^ } for (var c of y) { >c : any +> : ^^^ >y : any +> : ^^^ } } @@ -68,6 +76,7 @@ async function hoistingWithAwait() { var a0, a1 = 1; >a0 : any +> : ^^^ >a1 : number > : ^^^^^^ >1 : 1 @@ -79,6 +88,7 @@ async function hoistingWithAwait() { var b0, b1 = 1; >b0 : any +> : ^^^ >b1 : number > : ^^^^^^ >1 : 1 @@ -97,6 +107,7 @@ async function hoistingWithAwait() { var c0, c1 = 1; >c0 : any +> : ^^^ >c1 : number > : ^^^^^^ >1 : 1 @@ -109,6 +120,7 @@ async function hoistingWithAwait() { >0 : 0 > : ^ >y : any +> : ^^^ } @@ -116,12 +128,15 @@ async function hoistingWithAwait() { >b : string > : ^^^^^^ >y : any +> : ^^^ } for (var c of y) { >c : any +> : ^^^ >y : any +> : ^^^ } } diff --git a/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..9eb3b1d1f2f5d --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionIfStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function ifStatement1() { + if (await x) { y; } else { z; } + } + + async function ifStatement2() { + if (x) { await y; } else { z; } + } + + async function ifStatement3() { + if (x) { y; } else { await z; } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).types index 0790974d32456..73354b5d09647 100644 --- a/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionIfStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionIfStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function ifStatement1() { >ifStatement1 : () => Promise @@ -15,9 +21,13 @@ async function ifStatement1() { if (await x) { y; } else { z; } >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function ifStatement2() { @@ -26,9 +36,13 @@ async function ifStatement2() { if (x) { await y; } else { z; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function ifStatement3() { @@ -37,7 +51,11 @@ async function ifStatement3() { if (x) { y; } else { await z; } >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral(target=es5).errors.txt new file mode 100644 index 0000000000000..919ba58e7b2b0 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral(target=es5).errors.txt @@ -0,0 +1,32 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionLongObjectLiteral.ts (0 errors) ==== + // the generated code from both should be similar + + const fooShort = async () => { + return { + a: await Promise.resolve(0), + b: await Promise.resolve(1), + c: await Promise.resolve(2), + d: await Promise.resolve(3), + e: await Promise.resolve(4), + }; + } + + const fooLong = async () => { + return { + a: await Promise.resolve(0), + b: await Promise.resolve(1), + c: await Promise.resolve(2), + d: await Promise.resolve(3), + e: await Promise.resolve(4), + f: await Promise.resolve(5), + g: await Promise.resolve(6), + h: await Promise.resolve(7), + i: await Promise.resolve(8), + j: await Promise.resolve(9), + }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).errors.txt new file mode 100644 index 0000000000000..c62f0ba3d244c --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionNestedLoops.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function nestedLoops() { + A: while (x) { + await y; + while (z) { + continue A; + } + while (a) { + continue; + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).types b/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).types index 2aa38df5d1d7c..ddb2ba284207b 100644 --- a/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionNestedLoops(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionNestedLoops.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function nestedLoops() { >nestedLoops : () => Promise @@ -17,13 +23,17 @@ async function nestedLoops() { >A : any > : ^^^ >x : any +> : ^^^ await y; >await y : any +> : ^^^ >y : any +> : ^^^ while (z) { >z : any +> : ^^^ continue A; >A : any @@ -31,6 +41,7 @@ async function nestedLoops() { } while (a) { >a : any +> : ^^^ continue; } diff --git a/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).errors.txt new file mode 100644 index 0000000000000..f69fbdfb60be8 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).errors.txt @@ -0,0 +1,90 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionNewExpressions.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function newExpression0() { + await new x(y, z); + } + + async function newExpression1() { + new (await x)(y, z); + } + + async function newExpression2() { + new x(await y, z); + } + + async function newExpression3() { + new x(y, await z); + } + + async function newExpression4() { + await new x(...y, z); + } + + async function newExpression5() { + new (await x)(...y, z); + } + + async function newExpression6() { + new x(...(await y), z); + } + + async function newExpression7() { + new x(...y, await z); + } + + async function newExpression8() { + new x(await y, ...z); + } + + async function newExpression9() { + new x(y, ...(await z)); + } + + async function newExpression10() { + await new x.a(y, z); + } + + async function newExpression11() { + new (await x.a)(y, z); + } + + async function newExpression12() { + new (await x).a(y, z); + } + + async function newExpression13() { + new x.a(await y, z); + } + + async function newExpression14() { + new x.a(y, await z); + } + + async function newExpression15() { + await new x[a](y, z); + } + + async function newExpression16() { + new (await x[a])(y, z); + } + + async function newExpression17() { + new (await x)[a](y, z); + } + + async function newExpression18() { + new x[await a](y, z); + } + + async function newExpression19() { + new x[a](await y, z); + } + + async function newExpression20() { + new x[a](y, await z); + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).types b/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).types index 5bc8b358a23be..587442f96dcec 100644 --- a/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionNewExpressions(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionNewExpressions.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function newExpression0() { >newExpression0 : () => Promise @@ -15,10 +21,15 @@ async function newExpression0() { await new x(y, z); >await new x(y, z) : any +> : ^^^ >new x(y, z) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression1() { @@ -27,11 +38,17 @@ async function newExpression1() { new (await x)(y, z); >new (await x)(y, z) : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression2() { @@ -40,10 +57,15 @@ async function newExpression2() { new x(await y, z); >new x(await y, z) : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression3() { @@ -52,10 +74,15 @@ async function newExpression3() { new x(y, await z); >new x(y, await z) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function newExpression4() { @@ -64,11 +91,17 @@ async function newExpression4() { await new x(...y, z); >await new x(...y, z) : any +> : ^^^ >new x(...y, z) : any +> : ^^^ >x : any +> : ^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression5() { @@ -77,12 +110,19 @@ async function newExpression5() { new (await x)(...y, z); >new (await x)(...y, z) : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression6() { @@ -91,12 +131,19 @@ async function newExpression6() { new x(...(await y), z); >new x(...(await y), z) : any +> : ^^^ >x : any +> : ^^^ >...(await y) : any +> : ^^^ >(await y) : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression7() { @@ -105,11 +152,17 @@ async function newExpression7() { new x(...y, await z); >new x(...y, await z) : any +> : ^^^ >x : any +> : ^^^ >...y : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function newExpression8() { @@ -118,11 +171,17 @@ async function newExpression8() { new x(await y, ...z); >new x(await y, ...z) : any +> : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >...z : any +> : ^^^ >z : any +> : ^^^ } async function newExpression9() { @@ -131,12 +190,19 @@ async function newExpression9() { new x(y, ...(await z)); >new x(y, ...(await z)) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >...(await z) : any +> : ^^^ >(await z) : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function newExpression10() { @@ -145,14 +211,19 @@ async function newExpression10() { await new x.a(y, z); >await new x.a(y, z) : any +> : ^^^ >new x.a(y, z) : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression11() { @@ -161,15 +232,21 @@ async function newExpression11() { new (await x.a)(y, z); >new (await x.a)(y, z) : any +> : ^^^ >(await x.a) : any +> : ^^^ >await x.a : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression12() { @@ -178,15 +255,21 @@ async function newExpression12() { new (await x).a(y, z); >new (await x).a(y, z) : any +> : ^^^ >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression13() { @@ -195,14 +278,19 @@ async function newExpression13() { new x.a(await y, z); >new x.a(await y, z) : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression14() { @@ -211,14 +299,19 @@ async function newExpression14() { new x.a(y, await z); >new x.a(y, await z) : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any > : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } async function newExpression15() { @@ -227,12 +320,19 @@ async function newExpression15() { await new x[a](y, z); >await new x[a](y, z) : any +> : ^^^ >new x[a](y, z) : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression16() { @@ -241,13 +341,21 @@ async function newExpression16() { new (await x[a])(y, z); >new (await x[a])(y, z) : any +> : ^^^ >(await x[a]) : any +> : ^^^ >await x[a] : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression17() { @@ -256,13 +364,21 @@ async function newExpression17() { new (await x)[a](y, z); >new (await x)[a](y, z) : any +> : ^^^ >(await x)[a] : any +> : ^^^ >(await x) : any +> : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression18() { @@ -271,12 +387,19 @@ async function newExpression18() { new x[await a](y, z); >new x[await a](y, z) : any +> : ^^^ >x[await a] : any +> : ^^^ >x : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression19() { @@ -285,12 +408,19 @@ async function newExpression19() { new x[a](await y, z); >new x[a](await y, z) : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } async function newExpression20() { @@ -299,10 +429,17 @@ async function newExpression20() { new x[a](y, await z); >new x[a](y, await z) : any +> : ^^^ >x[a] : any +> : ^^^ >x : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).errors.txt new file mode 100644 index 0000000000000..59826d33e2ed8 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).errors.txt @@ -0,0 +1,55 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionObjectLiterals.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function objectLiteral0() { + x = { + a: await y, + b: z + }; + } + + async function objectLiteral1() { + x = { + a: y, + b: await z + }; + } + + async function objectLiteral2() { + x = { + [await a]: y, + b: z + }; + } + + async function objectLiteral3() { + x = { + [a]: await y, + b: z + }; + } + + async function objectLiteral4() { + x = { + a: await y, + [b]: z + }; + } + + async function objectLiteral5() { + x = { + a: y, + [await b]: z + }; + } + + async function objectLiteral6() { + x = { + a: y, + [b]: await z + }; + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).types b/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).types index 5440253681124..564f77b1b5c3e 100644 --- a/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionObjectLiterals(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionObjectLiterals.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function objectLiteral0() { >objectLiteral0 : () => Promise @@ -17,17 +23,23 @@ async function objectLiteral0() { >x = { a: await y, b: z } : { a: any; b: any; } > : ^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >{ a: await y, b: z } : { a: any; b: any; } > : ^^^^^^^^^^^^^^^^^^^ a: await y, >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ b: z >b : any +> : ^^^ >z : any +> : ^^^ }; } @@ -40,17 +52,23 @@ async function objectLiteral1() { >x = { a: y, b: await z } : { a: any; b: any; } > : ^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >{ a: y, b: await z } : { a: any; b: any; } > : ^^^^^^^^^^^^^^^^^^^ a: y, >a : any +> : ^^^ >y : any +> : ^^^ b: await z >b : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ }; } @@ -63,18 +81,25 @@ async function objectLiteral2() { >x = { [await a]: y, b: z } : { [x: number]: any; b: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >{ [await a]: y, b: z } : { [x: number]: any; b: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [await a]: y, >[await a] : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ >y : any +> : ^^^ b: z >b : any +> : ^^^ >z : any +> : ^^^ }; } @@ -87,18 +112,25 @@ async function objectLiteral3() { >x = { [a]: await y, b: z } : { [a]: any; b: any; } > : ^^ ^^^ ^^^^^^^^^^ >x : any +> : ^^^ >{ [a]: await y, b: z } : { [a]: any; b: any; } > : ^^ ^^^ ^^^^^^^^^^ [a]: await y, >[a] : any +> : ^^^ >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ b: z >b : any +> : ^^^ >z : any +> : ^^^ }; } @@ -111,18 +143,25 @@ async function objectLiteral4() { >x = { a: await y, [b]: z } : { [b]: any; a: any; } > : ^^ ^^^ ^^^^^^^^^^ >x : any +> : ^^^ >{ a: await y, [b]: z } : { [b]: any; a: any; } > : ^^ ^^^ ^^^^^^^^^^ a: await y, >a : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ [b]: z >[b] : any +> : ^^^ >b : any +> : ^^^ >z : any +> : ^^^ }; } @@ -135,18 +174,25 @@ async function objectLiteral5() { >x = { a: y, [await b]: z } : { [x: number]: any; a: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : any +> : ^^^ >{ a: y, [await b]: z } : { [x: number]: any; a: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ a: y, >a : any +> : ^^^ >y : any +> : ^^^ [await b]: z >[await b] : any +> : ^^^ >await b : any +> : ^^^ >b : any +> : ^^^ >z : any +> : ^^^ }; } @@ -159,18 +205,25 @@ async function objectLiteral6() { >x = { a: y, [b]: await z } : { [b]: any; a: any; } > : ^^ ^^^ ^^^^^^^^^^ >x : any +> : ^^^ >{ a: y, [b]: await z } : { [b]: any; a: any; } > : ^^ ^^^ ^^^^^^^^^^ a: y, >a : any +> : ^^^ >y : any +> : ^^^ [b]: await z >[b] : any +> : ^^^ >b : any +> : ^^^ >await z : any +> : ^^^ >z : any +> : ^^^ }; } diff --git a/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).errors.txt new file mode 100644 index 0000000000000..86b822df135a7 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionPropertyAccess.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function propertyAccess0() { + y = await x.a; + } + + async function propertyAccess1() { + y = (await x).a; + } + + async function callExpression0() { + await x(y, z); + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).types b/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).types index fa213e5ec03b5..d792b1815d5b2 100644 --- a/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionPropertyAccess(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionPropertyAccess.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function propertyAccess0() { >propertyAccess0 : () => Promise @@ -15,9 +21,13 @@ async function propertyAccess0() { y = await x.a; >y = await x.a : any +> : ^^^ >y : any +> : ^^^ >await x.a : any +> : ^^^ >x.a : any +> : ^^^ >x : any > : ^^^ >a : any @@ -30,12 +40,17 @@ async function propertyAccess1() { y = (await x).a; >y = (await x).a : any +> : ^^^ >y : any +> : ^^^ >(await x).a : any +> : ^^^ >(await x) : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >a : any > : ^^^ } @@ -46,8 +61,13 @@ async function callExpression0() { await x(y, z); >await x(y, z) : any +> : ^^^ >x(y, z) : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..f6d6f325d16e5 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionReturnStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function returnStatement0(): Promise { + return; + } + + async function returnStatement1(): Promise { + return x; + } + + async function returnStatement2(): Promise { + return await x; + } + + async function returnStatement3(): Promise { + { return; } + } + + async function returnStatement4(): Promise { + await x; + { return; } + } + + async function returnStatement5(): Promise{ + { return await x; } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).types index 225b01e2688a1..6bdf7d790e3a4 100644 --- a/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionReturnStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionReturnStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function returnStatement0(): Promise { >returnStatement0 : () => Promise @@ -22,6 +28,7 @@ async function returnStatement1(): Promise { return x; >x : any +> : ^^^ } async function returnStatement2(): Promise { @@ -30,7 +37,9 @@ async function returnStatement2(): Promise { return await x; >await x : any +> : ^^^ >x : any +> : ^^^ } async function returnStatement3(): Promise { @@ -46,7 +55,9 @@ async function returnStatement4(): Promise { await x; >await x : any +> : ^^^ >x : any +> : ^^^ { return; } } @@ -57,5 +68,7 @@ async function returnStatement5(): Promise{ { return await x; } >await x : any +> : ^^^ >x : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..b11d703ae3997 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).errors.txt @@ -0,0 +1,72 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionSwitchStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function switchStatement0() { + switch (x) { + case y: a; break; + default: b; break; + } + } + + async function switchStatement1() { + switch (await x) { + case y: a; break; + default: b; break; + } + } + + async function switchStatement2() { + switch (x) { + case await y: a; break; + default: b; break; + } + } + + async function switchStatement3() { + switch (x) { + case y: await a; break; + default: b; break; + } + } + + async function switchStatement4() { + switch (x) { + case y: a; break; + default: await b; break; + } + } + + async function switchStatement5() { + switch (x) { + case y: a; break; + case await z: b; break; + } + } + + async function switchStatement6() { + switch (x) { + default: c; break; + case await y: a; break; + case z: b; break; + } + } + + async function switchStatement7() { + switch (x) { + default: c; break; + case y: a; break; + case await z: b; break; + } + } + + async function switchStatement8() { + switch (x) { + default: c; + case y: a; break; + case await z: b; break; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).types index ddb82e016d8c5..57ab55ae440b7 100644 --- a/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionSwitchStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionSwitchStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function switchStatement0() { >switchStatement0 : () => Promise @@ -15,13 +21,17 @@ async function switchStatement0() { switch (x) { >x : any +> : ^^^ case y: a; break; >y : any +> : ^^^ >a : any +> : ^^^ default: b; break; >b : any +> : ^^^ } } @@ -31,14 +41,19 @@ async function switchStatement1() { switch (await x) { >await x : any +> : ^^^ >x : any +> : ^^^ case y: a; break; >y : any +> : ^^^ >a : any +> : ^^^ default: b; break; >b : any +> : ^^^ } } @@ -48,14 +63,19 @@ async function switchStatement2() { switch (x) { >x : any +> : ^^^ case await y: a; break; >await y : any +> : ^^^ >y : any +> : ^^^ >a : any +> : ^^^ default: b; break; >b : any +> : ^^^ } } @@ -65,14 +85,19 @@ async function switchStatement3() { switch (x) { >x : any +> : ^^^ case y: await a; break; >y : any +> : ^^^ >await a : any +> : ^^^ >a : any +> : ^^^ default: b; break; >b : any +> : ^^^ } } @@ -82,14 +107,19 @@ async function switchStatement4() { switch (x) { >x : any +> : ^^^ case y: a; break; >y : any +> : ^^^ >a : any +> : ^^^ default: await b; break; >await b : any +> : ^^^ >b : any +> : ^^^ } } @@ -99,15 +129,21 @@ async function switchStatement5() { switch (x) { >x : any +> : ^^^ case y: a; break; >y : any +> : ^^^ >a : any +> : ^^^ case await z: b; break; >await z : any +> : ^^^ >z : any +> : ^^^ >b : any +> : ^^^ } } @@ -117,18 +153,25 @@ async function switchStatement6() { switch (x) { >x : any +> : ^^^ default: c; break; >c : any +> : ^^^ case await y: a; break; >await y : any +> : ^^^ >y : any +> : ^^^ >a : any +> : ^^^ case z: b; break; >z : any +> : ^^^ >b : any +> : ^^^ } } @@ -138,18 +181,25 @@ async function switchStatement7() { switch (x) { >x : any +> : ^^^ default: c; break; >c : any +> : ^^^ case y: a; break; >y : any +> : ^^^ >a : any +> : ^^^ case await z: b; break; >await z : any +> : ^^^ >z : any +> : ^^^ >b : any +> : ^^^ } } @@ -159,17 +209,24 @@ async function switchStatement8() { switch (x) { >x : any +> : ^^^ default: c; >c : any +> : ^^^ case y: a; break; >y : any +> : ^^^ >a : any +> : ^^^ case await z: b; break; >await z : any +> : ^^^ >z : any +> : ^^^ >b : any +> : ^^^ } } diff --git a/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..0dc999932a0e9 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).errors.txt @@ -0,0 +1,127 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionTryStatements.ts (0 errors) ==== + declare var x: any, y: any, z: any, a: any, b: any, c: any; + + async function tryCatch0() { + var x: any, y: any; + try { + x; + } + catch (e) { + y; + } + } + + async function tryCatch1() { + var x: any, y: any; + try { + await x; + } + catch (e) { + y; + } + } + + async function tryCatch2() { + var x: any, y: any; + try { + x; + } + catch (e) { + await y; + } + } + + async function tryCatch3(): Promise { + var x: any, y: any; + try { + await x; + } + catch (e) { + return () => e; + } + } + async function tryFinally0() { + var x: any, y: any; + try { + x; + } + finally { + y; + } + } + + async function tryFinally1() { + var x: any, y: any; + try { + await x; + } + finally { + y; + } + } + + async function tryFinally2() { + var x: any, y: any; + try { + x; + } + finally { + await y; + } + } + + async function tryCatchFinally0() { + var x: any, y: any, z: any; + try { + x; + } + catch (e) { + y; + } + finally { + z; + } + } + + async function tryCatchFinally1() { + var x: any, y: any, z: any; + try { + await x; + } + catch (e) { + y; + } + finally { + z; + } + } + + async function tryCatchFinally2() { + var x: any, y: any, z: any; + try { + x; + } + catch (e) { + await y; + } + finally { + z; + } + } + + async function tryCatchFinally3() { + var x: any, y: any, z: any; + try { + x; + } + catch (e) { + y; + } + finally { + await z; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).types index 9a66d6208571d..6aba6a37b08e9 100644 --- a/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionTryStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionTryStatements.ts === declare var x: any, y: any, z: any, a: any, b: any, c: any; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function tryCatch0() { >tryCatch0 : () => Promise @@ -15,17 +21,22 @@ async function tryCatch0() { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { x; >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ y; >y : any +> : ^^^ } } @@ -35,18 +46,24 @@ async function tryCatch1() { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { await x; >await x : any +> : ^^^ >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ y; >y : any +> : ^^^ } } @@ -56,18 +73,24 @@ async function tryCatch2() { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { x; >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ await y; >await y : any +> : ^^^ >y : any +> : ^^^ } } @@ -77,20 +100,26 @@ async function tryCatch3(): Promise { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { await x; >await x : any +> : ^^^ >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ return () => e; >() => e : () => any > : ^^^^^^^^^ >e : any +> : ^^^ } } async function tryFinally0() { @@ -99,15 +128,19 @@ async function tryFinally0() { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { x; >x : any +> : ^^^ } finally { y; >y : any +> : ^^^ } } @@ -117,16 +150,21 @@ async function tryFinally1() { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { await x; >await x : any +> : ^^^ >x : any +> : ^^^ } finally { y; >y : any +> : ^^^ } } @@ -136,16 +174,21 @@ async function tryFinally2() { var x: any, y: any; >x : any +> : ^^^ >y : any +> : ^^^ try { x; >x : any +> : ^^^ } finally { await y; >await y : any +> : ^^^ >y : any +> : ^^^ } } @@ -155,22 +198,29 @@ async function tryCatchFinally0() { var x: any, y: any, z: any; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ try { x; >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ y; >y : any +> : ^^^ } finally { z; >z : any +> : ^^^ } } @@ -180,23 +230,31 @@ async function tryCatchFinally1() { var x: any, y: any, z: any; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ try { await x; >await x : any +> : ^^^ >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ y; >y : any +> : ^^^ } finally { z; >z : any +> : ^^^ } } @@ -206,23 +264,31 @@ async function tryCatchFinally2() { var x: any, y: any, z: any; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ try { x; >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ await y; >await y : any +> : ^^^ >y : any +> : ^^^ } finally { z; >z : any +> : ^^^ } } @@ -232,22 +298,30 @@ async function tryCatchFinally3() { var x: any, y: any, z: any; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ try { x; >x : any +> : ^^^ } catch (e) { >e : any +> : ^^^ y; >y : any +> : ^^^ } finally { await z; >await z : any +> : ^^^ >z : any +> : ^^^ } } diff --git a/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).errors.txt new file mode 100644 index 0000000000000..7b5340688cdc3 --- /dev/null +++ b/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).errors.txt @@ -0,0 +1,82 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-asyncFunctionWhileStatements.ts (0 errors) ==== + declare var x, y, z, a, b, c; + + async function whileStatement0() { + while (x) { y; } + } + + async function whileStatement1() { + while (await x) { y; } + } + + async function whileStatement2() { + while (x) { await y; } + } + + async function whileStatement3() { + while (x) { continue; } + } + + async function whileStatement4() { + while (await x) { continue; } + } + + async function whileStatement5() { + while (x) { await y; continue; } + } + + async function whileStatement6() { + while (x) { if (1) continue; await y; } + } + + async function whileStatement7() { + A: while (x) { continue A; } + } + + async function whileStatement8() { + B: while (await x) { continue B; } + } + + async function whileStatement9() { + C: while (x) { await y; continue C; } + } + + async function whileStatement10() { + D: while (x) { if (1) continue D; await y; } + } + + async function whileStatement11() { + while (x) { break; } + } + + async function whileStatement12() { + while (await x) { break; } + } + + async function whileStatement13() { + while (x) { await y; break; } + } + + async function whileStatement14() { + while (x) { if (1) break; await y; } + } + + async function whileStatement15() { + E: while (x) { break E; } + } + + async function whileStatement16() { + F: while (await x) { break F; } + } + + async function whileStatement17() { + G: while (x) { await y; break G; } + } + + async function whileStatement18() { + H: while (x) { if (1) break H; await y; } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).types b/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).types index 11405662cd6b5..9a3ab5bdf27ac 100644 --- a/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).types +++ b/tests/baselines/reference/es5-asyncFunctionWhileStatements(target=es5).types @@ -3,11 +3,17 @@ === es5-asyncFunctionWhileStatements.ts === declare var x, y, z, a, b, c; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ async function whileStatement0() { >whileStatement0 : () => Promise @@ -15,7 +21,9 @@ async function whileStatement0() { while (x) { y; } >x : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement1() { @@ -24,8 +32,11 @@ async function whileStatement1() { while (await x) { y; } >await x : any +> : ^^^ >x : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement2() { @@ -34,8 +45,11 @@ async function whileStatement2() { while (x) { await y; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement3() { @@ -44,6 +58,7 @@ async function whileStatement3() { while (x) { continue; } >x : any +> : ^^^ } async function whileStatement4() { @@ -52,7 +67,9 @@ async function whileStatement4() { while (await x) { continue; } >await x : any +> : ^^^ >x : any +> : ^^^ } async function whileStatement5() { @@ -61,8 +78,11 @@ async function whileStatement5() { while (x) { await y; continue; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement6() { @@ -71,10 +91,13 @@ async function whileStatement6() { while (x) { if (1) continue; await y; } >x : any +> : ^^^ >1 : 1 > : ^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement7() { @@ -85,6 +108,7 @@ async function whileStatement7() { >A : any > : ^^^ >x : any +> : ^^^ >A : any > : ^^^ } @@ -97,7 +121,9 @@ async function whileStatement8() { >B : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >B : any > : ^^^ } @@ -110,8 +136,11 @@ async function whileStatement9() { >C : any > : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >C : any > : ^^^ } @@ -124,12 +153,15 @@ async function whileStatement10() { >D : any > : ^^^ >x : any +> : ^^^ >1 : 1 > : ^ >D : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement11() { @@ -138,6 +170,7 @@ async function whileStatement11() { while (x) { break; } >x : any +> : ^^^ } async function whileStatement12() { @@ -146,7 +179,9 @@ async function whileStatement12() { while (await x) { break; } >await x : any +> : ^^^ >x : any +> : ^^^ } async function whileStatement13() { @@ -155,8 +190,11 @@ async function whileStatement13() { while (x) { await y; break; } >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement14() { @@ -165,10 +203,13 @@ async function whileStatement14() { while (x) { if (1) break; await y; } >x : any +> : ^^^ >1 : 1 > : ^ >await y : any +> : ^^^ >y : any +> : ^^^ } async function whileStatement15() { @@ -179,6 +220,7 @@ async function whileStatement15() { >E : any > : ^^^ >x : any +> : ^^^ >E : any > : ^^^ } @@ -191,7 +233,9 @@ async function whileStatement16() { >F : any > : ^^^ >await x : any +> : ^^^ >x : any +> : ^^^ >F : any > : ^^^ } @@ -204,8 +248,11 @@ async function whileStatement17() { >G : any > : ^^^ >x : any +> : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ >G : any > : ^^^ } @@ -218,10 +265,13 @@ async function whileStatement18() { >H : any > : ^^^ >x : any +> : ^^^ >1 : 1 > : ^ >H : any > : ^^^ >await y : any +> : ^^^ >y : any +> : ^^^ } diff --git a/tests/baselines/reference/es5-asyncFunctionWithStatements(target=es5).errors.txt b/tests/baselines/reference/es5-asyncFunctionWithStatements(target=es5).errors.txt index b1245d7c46e27..1c4cb6d9c9fed 100644 --- a/tests/baselines/reference/es5-asyncFunctionWithStatements(target=es5).errors.txt +++ b/tests/baselines/reference/es5-asyncFunctionWithStatements(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5-asyncFunctionWithStatements.ts(4,5): error TS1300: 'with' statements are not allowed in an async function block. es5-asyncFunctionWithStatements.ts(4,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. es5-asyncFunctionWithStatements.ts(10,5): error TS1300: 'with' statements are not allowed in an async function block. @@ -8,6 +9,7 @@ es5-asyncFunctionWithStatements.ts(24,5): error TS1300: 'with' statements are no es5-asyncFunctionWithStatements.ts(24,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-asyncFunctionWithStatements.ts (8 errors) ==== declare var x, y, z, a, b, c; diff --git a/tests/baselines/reference/es5-commonjs(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs(target=es5).errors.txt new file mode 100644 index 0000000000000..1960121e38618 --- /dev/null +++ b/tests/baselines/reference/es5-commonjs(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-commonjs.ts (0 errors) ==== + export default class A + { + constructor () + { + + } + + public B() + { + return 42; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5-commonjs2(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs2(target=es5).errors.txt new file mode 100644 index 0000000000000..285845802c9ae --- /dev/null +++ b/tests/baselines/reference/es5-commonjs2(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-commonjs2.ts (0 errors) ==== + export default 1; + \ No newline at end of file diff --git a/tests/baselines/reference/es5-commonjs3(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs3(target=es5).errors.txt index c1033f1d6bd2c..1826f5890d9ef 100644 --- a/tests/baselines/reference/es5-commonjs3(target=es5).errors.txt +++ b/tests/baselines/reference/es5-commonjs3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5-commonjs3.ts(2,12): error TS1216: Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-commonjs3.ts (1 errors) ==== export default "test"; export var __esModule = 1; diff --git a/tests/baselines/reference/es5-commonjs4(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs4(target=es5).errors.txt index d5b48cbb11c81..c24d5c7bac522 100644 --- a/tests/baselines/reference/es5-commonjs4(target=es5).errors.txt +++ b/tests/baselines/reference/es5-commonjs4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5-commonjs4.ts(13,12): error TS1216: Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-commonjs4.ts (1 errors) ==== export default class A { diff --git a/tests/baselines/reference/es5-commonjs5(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs5(target=es5).errors.txt new file mode 100644 index 0000000000000..e9f5205f38867 --- /dev/null +++ b/tests/baselines/reference/es5-commonjs5(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-commonjs5.ts (0 errors) ==== + export default function () { + return "test"; + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5-commonjs6(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs6(target=es5).errors.txt new file mode 100644 index 0000000000000..3807708bc1ac2 --- /dev/null +++ b/tests/baselines/reference/es5-commonjs6(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-commonjs6.ts (0 errors) ==== + export default "test"; + var __esModule = 1; + \ No newline at end of file diff --git a/tests/baselines/reference/es5-commonjs7(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs7(target=es5).errors.txt new file mode 100644 index 0000000000000..7b85b409f7f7c --- /dev/null +++ b/tests/baselines/reference/es5-commonjs7(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== test.d.ts (0 errors) ==== + export default undefined; + export var __esModule; + \ No newline at end of file diff --git a/tests/baselines/reference/es5-commonjs7(target=es5).types b/tests/baselines/reference/es5-commonjs7(target=es5).types index ef1c0b94bb99c..62817ca4d8fa6 100644 --- a/tests/baselines/reference/es5-commonjs7(target=es5).types +++ b/tests/baselines/reference/es5-commonjs7(target=es5).types @@ -7,4 +7,5 @@ export default undefined; export var __esModule; >__esModule : any +> : ^^^ diff --git a/tests/baselines/reference/es5-commonjs8(target=es5).errors.txt b/tests/baselines/reference/es5-commonjs8(target=es5).errors.txt new file mode 100644 index 0000000000000..2747ca24eb77a --- /dev/null +++ b/tests/baselines/reference/es5-commonjs8(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-commonjs8.ts (0 errors) ==== + export default "test"; + export var __esModule = 1; + \ No newline at end of file diff --git a/tests/baselines/reference/es5-declaration-amd(target=es5).errors.txt b/tests/baselines/reference/es5-declaration-amd(target=es5).errors.txt index 3fe9c569c8803..753d67bcfaa02 100644 --- a/tests/baselines/reference/es5-declaration-amd(target=es5).errors.txt +++ b/tests/baselines/reference/es5-declaration-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-declaration-amd.ts (0 errors) ==== class A { diff --git a/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).errors.txt b/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).errors.txt new file mode 100644 index 0000000000000..927cdde2df22c --- /dev/null +++ b/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== external.ts (0 errors) ==== + export async function foo() { + } + +==== script.ts (0 errors) ==== + async function foo() { + } + +==== node_modules/tslib/index.d.ts (0 errors) ==== + export declare function __extends(d: Function, b: Function): void; + export declare function __assign(t: any, ...sources: any[]): any; + export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; + export declare function __param(paramIndex: number, decorator: Function): Function; + export declare function __metadata(metadataKey: any, metadataValue: any): Function; + export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; + export declare function __generator(body: Function): any; \ No newline at end of file diff --git a/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).types b/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).types index 6a5b209059eb6..f1f3d3abf6c2e 100644 --- a/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).types +++ b/tests/baselines/reference/es5-importHelpersAsyncFunctions(target=es5).types @@ -25,6 +25,7 @@ export declare function __assign(t: any, ...sources: any[]): any; >__assign : (t: any, ...sources: any[]) => any > : ^ ^^ ^^^^^ ^^ ^^^^^ >t : any +> : ^^^ >sources : any[] > : ^^^^^ @@ -34,9 +35,11 @@ export declare function __decorate(decorators: Function[], target: any, key?: st >decorators : Function[] > : ^^^^^^^^^^ >target : any +> : ^^^ >key : string | symbol > : ^^^^^^^^^^^^^^^ >desc : any +> : ^^^ export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function @@ -50,13 +53,17 @@ export declare function __metadata(metadataKey: any, metadataValue: any): Functi >__metadata : (metadataKey: any, metadataValue: any) => Function > : ^ ^^ ^^ ^^ ^^^^^ >metadataKey : any +> : ^^^ >metadataValue : any +> : ^^^ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >thisArg : any +> : ^^^ >_arguments : any +> : ^^^ >P : Function > : ^^^^^^^^ >generator : Function diff --git a/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums(target=es5).errors.txt b/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums(target=es5).errors.txt index 116b3b0dc059d..cc0805eadb132 100644 --- a/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums(target=es5).errors.txt +++ b/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5-oldStyleOctalLiteralInEnums.ts(2,7): error TS1121: Octal literals are not allowed. Use the syntax '-0o1'. es5-oldStyleOctalLiteralInEnums.ts(3,7): error TS1121: Octal literals are not allowed. Use the syntax '0o2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-oldStyleOctalLiteralInEnums.ts (2 errors) ==== enum E { x = -01, diff --git a/tests/baselines/reference/es5-souremap-amd(target=es5).errors.txt b/tests/baselines/reference/es5-souremap-amd(target=es5).errors.txt index 93608b3b5a9e3..6e353aa0c3ce8 100644 --- a/tests/baselines/reference/es5-souremap-amd(target=es5).errors.txt +++ b/tests/baselines/reference/es5-souremap-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-souremap-amd.ts (0 errors) ==== class A { diff --git a/tests/baselines/reference/es5-system(target=es5).errors.txt b/tests/baselines/reference/es5-system(target=es5).errors.txt index 06a0b65c67577..db59aec3a9d62 100644 --- a/tests/baselines/reference/es5-system(target=es5).errors.txt +++ b/tests/baselines/reference/es5-system(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-system.ts (0 errors) ==== export default class A { diff --git a/tests/baselines/reference/es5-system2(target=es5).errors.txt b/tests/baselines/reference/es5-system2(target=es5).errors.txt index 83ae01c4962f9..8cb4dc0c6cd20 100644 --- a/tests/baselines/reference/es5-system2(target=es5).errors.txt +++ b/tests/baselines/reference/es5-system2(target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-system2.ts (0 errors) ==== export var __esModule = 1; \ No newline at end of file diff --git a/tests/baselines/reference/es5-umd(target=es5).errors.txt b/tests/baselines/reference/es5-umd(target=es5).errors.txt index be610e68b84f1..d07bb4256a9ce 100644 --- a/tests/baselines/reference/es5-umd(target=es5).errors.txt +++ b/tests/baselines/reference/es5-umd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-umd.ts (0 errors) ==== class A { diff --git a/tests/baselines/reference/es5-umd2(target=es5).errors.txt b/tests/baselines/reference/es5-umd2(target=es5).errors.txt index e4bde504f3a15..7c3490289f709 100644 --- a/tests/baselines/reference/es5-umd2(target=es5).errors.txt +++ b/tests/baselines/reference/es5-umd2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-umd2.ts (0 errors) ==== export class A { diff --git a/tests/baselines/reference/es5-umd3(target=es5).errors.txt b/tests/baselines/reference/es5-umd3(target=es5).errors.txt index ce88775497f94..73b0234186811 100644 --- a/tests/baselines/reference/es5-umd3(target=es5).errors.txt +++ b/tests/baselines/reference/es5-umd3(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-umd3.ts (0 errors) ==== export default class A { diff --git a/tests/baselines/reference/es5-umd4(target=es5).errors.txt b/tests/baselines/reference/es5-umd4(target=es5).errors.txt index 2f87d8562faf1..47c50c5e1c2e6 100644 --- a/tests/baselines/reference/es5-umd4(target=es5).errors.txt +++ b/tests/baselines/reference/es5-umd4(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5-umd4.ts (0 errors) ==== class A { diff --git a/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).errors.txt b/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).errors.txt new file mode 100644 index 0000000000000..6f6c59a93a01a --- /dev/null +++ b/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).errors.txt @@ -0,0 +1,67 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5-yieldFunctionObjectLiterals.ts (0 errors) ==== + // mainly to verify indentation of emitted code + + function g() { return "g"; } + + function* objectLiteral1() { + const x = { + a: 1, + b: yield 2, + c: 3, + } + } + + function* objectLiteral2() { + const x = { + a: 1, + [g()]: yield 2, + c: 3, + } + } + + function* objectLiteral3() { + const x = { + a: 1, + b: yield 2, + [g()]: 3, + c: 4, + } + } + + function* objectLiteral4() { + const x = { + a: 1, + [g()]: 2, + b: yield 3, + c: 4, + } + } + + function* objectLiteral5() { + const x = { + a: 1, + [g()]: yield 2, + c: 4, + } + } + + function* objectLiteral6() { + const x = { + a: 1, + [yield]: 2, + c: 4, + } + } + + function* objectLiteral7() { + const x = { + a: 1, + [yield]: yield 2, + c: 4, + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).types b/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).types index 3194aa1e6c266..f040ca2a2fe2a 100644 --- a/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).types +++ b/tests/baselines/reference/es5-yieldFunctionObjectLiterals(target=es5).types @@ -27,7 +27,9 @@ function* objectLiteral1() { b: yield 2, >b : any +> : ^^^ >yield 2 : any +> : ^^^ >2 : 2 > : ^ @@ -57,11 +59,13 @@ function* objectLiteral2() { [g()]: yield 2, >[g()] : any +> : ^^^ >g() : string > : ^^^^^^ >g : () => string > : ^^^^^^^^^^^^ >yield 2 : any +> : ^^^ >2 : 2 > : ^ @@ -91,7 +95,9 @@ function* objectLiteral3() { b: yield 2, >b : any +> : ^^^ >yield 2 : any +> : ^^^ >2 : 2 > : ^ @@ -141,7 +147,9 @@ function* objectLiteral4() { b: yield 3, >b : any +> : ^^^ >yield 3 : any +> : ^^^ >3 : 3 > : ^ @@ -171,11 +179,13 @@ function* objectLiteral5() { [g()]: yield 2, >[g()] : any +> : ^^^ >g() : string > : ^^^^^^ >g : () => string > : ^^^^^^^^^^^^ >yield 2 : any +> : ^^^ >2 : 2 > : ^ @@ -207,6 +217,7 @@ function* objectLiteral6() { >[yield] : number > : ^^^^^^ >yield : any +> : ^^^ >2 : 2 > : ^ @@ -236,8 +247,11 @@ function* objectLiteral7() { [yield]: yield 2, >[yield] : any +> : ^^^ >yield : any +> : ^^^ >yield 2 : any +> : ^^^ >2 : 2 > : ^ diff --git a/tests/baselines/reference/es5DateAPIs(target=es5).errors.txt b/tests/baselines/reference/es5DateAPIs(target=es5).errors.txt index a0e07eadf3594..781f9c2f92e7c 100644 --- a/tests/baselines/reference/es5DateAPIs(target=es5).errors.txt +++ b/tests/baselines/reference/es5DateAPIs(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5DateAPIs.ts(1,6): error TS2554: Expected 2-7 arguments, but got 1. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5DateAPIs.ts (1 errors) ==== Date.UTC(2017); // should error ~~~ diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultClassDeclaration(target=es5).errors.txt new file mode 100644 index 0000000000000..95032f6a4faf3 --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultClassDeclaration.ts (0 errors) ==== + export default class C { + method() { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration2(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultClassDeclaration2(target=es5).errors.txt new file mode 100644 index 0000000000000..e9e2806659928 --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration2(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultClassDeclaration2.ts (0 errors) ==== + export default class { + method() { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration3(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultClassDeclaration3(target=es5).errors.txt index 142be62f29ec4..cced28e0c7038 100644 --- a/tests/baselines/reference/es5ExportDefaultClassDeclaration3(target=es5).errors.txt +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5ExportDefaultClassDeclaration3.ts(1,21): error TS2449: Class 'C' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5ExportDefaultClassDeclaration3.ts (1 errors) ==== var before: C = new C(); ~ diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration4(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultClassDeclaration4(target=es5).errors.txt new file mode 100644 index 0000000000000..6b2024b77738e --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration4(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultClassDeclaration4.ts (0 errors) ==== + declare module "foo" { + export var before: C; + + export default class C { + method(): C; + } + + export var after: C; + + export var t: typeof C; + } + + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultExpression(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultExpression(target=es5).errors.txt new file mode 100644 index 0000000000000..e8676d842699b --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultExpression(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultExpression.ts (0 errors) ==== + export default (1 + 2); + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration(target=es5).errors.txt new file mode 100644 index 0000000000000..0a7d20ca87e31 --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultFunctionDeclaration.ts (0 errors) ==== + export default function f() { } + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2(target=es5).errors.txt new file mode 100644 index 0000000000000..113715cd6e2a7 --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultFunctionDeclaration2.ts (0 errors) ==== + export default function () { } + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3(target=es5).errors.txt new file mode 100644 index 0000000000000..a348aed2c737e --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultFunctionDeclaration3.ts (0 errors) ==== + var before: typeof func = func(); + + export default function func(): typeof func { + return func; + } + + var after: typeof func = func(); \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4(target=es5).errors.txt new file mode 100644 index 0000000000000..4bdb22007f3b4 --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultFunctionDeclaration4.ts (0 errors) ==== + declare module "bar" { + var before: typeof func; + + export default function func(): typeof func; + + var after: typeof func; + } \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportDefaultIdentifier(target=es5).errors.txt b/tests/baselines/reference/es5ExportDefaultIdentifier(target=es5).errors.txt new file mode 100644 index 0000000000000..15e0cbc561656 --- /dev/null +++ b/tests/baselines/reference/es5ExportDefaultIdentifier(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportDefaultIdentifier.ts (0 errors) ==== + export function f() { } + + export default f; + \ No newline at end of file diff --git a/tests/baselines/reference/es5ExportEquals(target=es5).errors.txt b/tests/baselines/reference/es5ExportEquals(target=es5).errors.txt index c91f31d27c2b1..2cab90e054991 100644 --- a/tests/baselines/reference/es5ExportEquals(target=es5).errors.txt +++ b/tests/baselines/reference/es5ExportEquals(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5ExportEquals.ts(3,1): error TS2309: An export assignment cannot be used in a module with other exported elements. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5ExportEquals.ts (1 errors) ==== export function f() { } diff --git a/tests/baselines/reference/es5ExportEqualsDts(target=es5).errors.txt b/tests/baselines/reference/es5ExportEqualsDts(target=es5).errors.txt new file mode 100644 index 0000000000000..990ba933d8478 --- /dev/null +++ b/tests/baselines/reference/es5ExportEqualsDts(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ExportEqualsDts.ts (0 errors) ==== + class A { + foo() { + var aVal: A.B; + return aVal; + } + } + + namespace A { + export interface B { } + } + + export = A \ No newline at end of file diff --git a/tests/baselines/reference/es5ModuleInternalNamedImports(target=es5).errors.txt b/tests/baselines/reference/es5ModuleInternalNamedImports(target=es5).errors.txt index 869e875cf83cd..05c5eff3ea6b7 100644 --- a/tests/baselines/reference/es5ModuleInternalNamedImports(target=es5).errors.txt +++ b/tests/baselines/reference/es5ModuleInternalNamedImports(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es5ModuleInternalNamedImports.ts(22,5): error TS1194: Export declarations are not permitted in a namespace. es5ModuleInternalNamedImports.ts(23,5): error TS1194: Export declarations are not permitted in a namespace. es5ModuleInternalNamedImports.ts(24,5): error TS1194: Export declarations are not permitted in a namespace. @@ -12,6 +13,7 @@ es5ModuleInternalNamedImports.ts(32,32): error TS1147: Import declarations in a es5ModuleInternalNamedImports.ts(34,16): error TS2307: Cannot find module 'M3' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5ModuleInternalNamedImports.ts (12 errors) ==== export namespace M { // variable diff --git a/tests/baselines/reference/es5ModuleWithModuleGenAmd(target=es5).errors.txt b/tests/baselines/reference/es5ModuleWithModuleGenAmd(target=es5).errors.txt index 3e6978b3c6df0..3b5064e6a457e 100644 --- a/tests/baselines/reference/es5ModuleWithModuleGenAmd(target=es5).errors.txt +++ b/tests/baselines/reference/es5ModuleWithModuleGenAmd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es5ModuleWithModuleGenAmd.ts (0 errors) ==== export class A { diff --git a/tests/baselines/reference/es5ModuleWithModuleGenCommonjs(target=es5).errors.txt b/tests/baselines/reference/es5ModuleWithModuleGenCommonjs(target=es5).errors.txt new file mode 100644 index 0000000000000..d74d58054ece1 --- /dev/null +++ b/tests/baselines/reference/es5ModuleWithModuleGenCommonjs(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ModuleWithModuleGenCommonjs.ts (0 errors) ==== + export class A + { + constructor () + { + } + + public B() + { + return 42; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5ModuleWithoutModuleGenTarget(target=es5).errors.txt b/tests/baselines/reference/es5ModuleWithoutModuleGenTarget(target=es5).errors.txt new file mode 100644 index 0000000000000..caed66f63f52c --- /dev/null +++ b/tests/baselines/reference/es5ModuleWithoutModuleGenTarget(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5ModuleWithoutModuleGenTarget.ts (0 errors) ==== + export class A + { + constructor () + { + } + + public B() + { + return 42; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).errors.txt b/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).errors.txt new file mode 100644 index 0000000000000..c3f8acf0768ce --- /dev/null +++ b/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5SetterparameterDestructuringNotElided.ts (0 errors) ==== + const foo = { + set foo([start, end]: [any, any]) { + void start; + void end; + }, + }; \ No newline at end of file diff --git a/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).types b/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).types index 5558386aff4a6..678313e876033 100644 --- a/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).types +++ b/tests/baselines/reference/es5SetterparameterDestructuringNotElided(target=es5).types @@ -19,11 +19,13 @@ const foo = { >void start : undefined > : ^^^^^^^^^ >start : any +> : ^^^ void end; >void end : undefined > : ^^^^^^^^^ >end : any +> : ^^^ }, }; diff --git a/tests/baselines/reference/es5andes6module(target=es5).errors.txt b/tests/baselines/reference/es5andes6module(target=es5).errors.txt new file mode 100644 index 0000000000000..252d3012cb2fb --- /dev/null +++ b/tests/baselines/reference/es5andes6module(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es5andes6module.ts (0 errors) ==== + export default class A + { + constructor () + { + + } + + public B() + { + return 42; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportAllInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ExportAllInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..82a9b6299a2eb --- /dev/null +++ b/tests/baselines/reference/es6ExportAllInEs5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== server.ts (0 errors) ==== + export class c { + } + export interface i { + } + export namespace m { + export var x = 10; + } + export var x = 10; + export namespace uninstantiated { + } + +==== client.ts (0 errors) ==== + export * from "./server"; \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportClauseInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ExportClauseInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..32abafc358159 --- /dev/null +++ b/tests/baselines/reference/es6ExportClauseInEs5(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== server.ts (0 errors) ==== + class c { + } + interface i { + } + namespace m { + export var x = 10; + } + var x = 10; + namespace uninstantiated { + } + export { c }; + export { c as c2 }; + export { i, m as instantiatedModule }; + export { uninstantiated }; + export { x }; \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportClauseWithAssignmentInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ExportClauseWithAssignmentInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..c1fd65463bd9d --- /dev/null +++ b/tests/baselines/reference/es6ExportClauseWithAssignmentInEs5(target=es5).errors.txt @@ -0,0 +1,21 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== server.ts (0 errors) ==== + var foo = 2; + foo = 3; + + var baz = 3; + baz = 4; + + var buzz = 10; + buzz += 3; + + var bizz = 8; + bizz++; // compiles to exports.bizz = (bizz++, bizz) + bizz--; // similarly + ++bizz; // compiles to exports.bizz = ++bizz + + export { foo, baz, baz as quux, buzz, bizz }; + \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..04ebf9669f8e4 --- /dev/null +++ b/tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== server.ts (0 errors) ==== + export class c { + } + export interface i { + } + export namespace m { + export var x = 10; + } + export var x = 10; + export namespace uninstantiated { + } + +==== client.ts (0 errors) ==== + export { c } from "./server"; + export { c as c2 } from "./server"; + export { i, m as instantiatedModule } from "./server"; + export { uninstantiated } from "./server"; + export { x } from "./server"; \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportDefaultBindingAmd(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingAmd(target=es5).errors.txt index 9ccf2ad6667b6..aba2cafa81df1 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingAmd(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingAmd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportDefaultBindingAmd_0.ts (0 errors) ==== var a = 10; export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingDts(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingDts(target=es5).errors.txt new file mode 100644 index 0000000000000..efb294cc4b2a5 --- /dev/null +++ b/tests/baselines/reference/es6ImportDefaultBindingDts(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== server.ts (0 errors) ==== + class c { } + export default c; + +==== client.ts (0 errors) ==== + import defaultBinding from "./server"; + export var x = new defaultBinding(); + import defaultBinding2 from "./server"; // elide this import since defaultBinding2 is not used + \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1InEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1InEs5(target=es5).errors.txt index e6add639aa461..29fd929618f4f 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1InEs5(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1InEs5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportDefaultBindingFollowedWithNamedImport1InEs5_1.ts(3,27): error TS2614: Module '"./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' has no exported member 'a'. Did you mean to use 'import a from "./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' instead? es6ImportDefaultBindingFollowedWithNamedImport1InEs5_1.ts(5,27): error TS2614: Module '"./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' has no exported member 'a'. Did you mean to use 'import a from "./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' instead? es6ImportDefaultBindingFollowedWithNamedImport1InEs5_1.ts(7,27): error TS2614: Module '"./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' has no exported member 'x'. Did you mean to use 'import x from "./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' instead? @@ -6,6 +7,7 @@ es6ImportDefaultBindingFollowedWithNamedImport1InEs5_1.ts(9,27): error TS2614: M es6ImportDefaultBindingFollowedWithNamedImport1InEs5_1.ts(11,27): error TS2614: Module '"./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' has no exported member 'm'. Did you mean to use 'import m from "./es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0"' instead? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportDefaultBindingFollowedWithNamedImport1InEs5_0.ts (0 errors) ==== var a = 10; export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1WithExport(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1WithExport(target=es5).errors.txt index 2a3a69590565d..82ad2a87dbf56 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1WithExport(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport1WithExport(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. client.ts(1,1): error TS1191: An import declaration cannot have modifiers. client.ts(2,12): error TS2323: Cannot redeclare exported variable 'x1'. client.ts(3,1): error TS1191: An import declaration cannot have modifiers. @@ -18,6 +19,7 @@ client.ts(11,34): error TS2614: Module '"./server"' has no exported member 'm'. client.ts(12,12): error TS2323: Cannot redeclare exported variable 'x1'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== server.ts (0 errors) ==== var a = 10; export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportDts1(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportDts1(target=es5).errors.txt index e3ab9d8099817..cd46cc6e13e12 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportDts1(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportDts1(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. client.ts(3,27): error TS2614: Module '"./server"' has no exported member 'a'. Did you mean to use 'import a from "./server"' instead? client.ts(5,27): error TS2614: Module '"./server"' has no exported member 'a'. Did you mean to use 'import a from "./server"' instead? client.ts(7,27): error TS2614: Module '"./server"' has no exported member 'x'. Did you mean to use 'import x from "./server"' instead? @@ -6,6 +7,7 @@ client.ts(9,27): error TS2614: Module '"./server"' has no exported member 'x'. D client.ts(11,27): error TS2614: Module '"./server"' has no exported member 'm'. Did you mean to use 'import m from "./server"' instead? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== server.ts (0 errors) ==== class a { } export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5(target=es5).errors.txt index 1b19987c9e577..2401a26b407ca 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(1,8): error TS1192: Module '"es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export. es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(2,8): error TS1192: Module '"es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export. es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(4,8): error TS1192: Module '"es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export. @@ -6,6 +7,7 @@ es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(9,8): error TS1192: Mod es6ImportDefaultBindingFollowedWithNamedImportInEs5_1.ts(11,8): error TS1192: Module '"es6ImportDefaultBindingFollowedWithNamedImportInEs5_0"' has no default export. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportDefaultBindingFollowedWithNamedImportInEs5_0.ts (0 errors) ==== export var a = 10; export var x = a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportWithExport(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportWithExport(target=es5).errors.txt index 08261f24e767f..8af32b0fb03f0 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportWithExport(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportWithExport(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. client.ts(1,1): error TS1191: An import declaration cannot have modifiers. client.ts(2,1): error TS1191: An import declaration cannot have modifiers. client.ts(3,12): error TS2323: Cannot redeclare exported variable 'x1'. @@ -12,6 +13,7 @@ client.ts(11,1): error TS1191: An import declaration cannot have modifiers. client.ts(12,12): error TS2323: Cannot redeclare exported variable 'x1'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== server.ts (0 errors) ==== export var a = 10; export var x = a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..2f163a1348c76 --- /dev/null +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts (0 errors) ==== + var a = 10; + export default a; + +==== es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts (0 errors) ==== + import defaultBinding, * as nameSpaceBinding from "./es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"; + var x: number = defaultBinding; \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1WithExport(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1WithExport(target=es5).errors.txt index 2c71ce2555eb4..392d4b36b093b 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1WithExport(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding1WithExport(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. client.ts(1,1): error TS1191: An import declaration cannot have modifiers. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== server.ts (0 errors) ==== var a = 10; export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1(target=es5).errors.txt index 273d72455a1ac..4ef9689afc844 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== server.ts (0 errors) ==== class a { } export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5(target=es5).errors.txt index f3ffd2efcce38..7aee67cab4382 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts(1,8): error TS1192: Module '"es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"' has no default export. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts (0 errors) ==== export var a = 10; diff --git a/tests/baselines/reference/es6ImportDefaultBindingInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..999c31f3bc736 --- /dev/null +++ b/tests/baselines/reference/es6ImportDefaultBindingInEs5(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6ImportDefaultBindingInEs5_0.ts (0 errors) ==== + var a = 10; + export = a; + +==== es6ImportDefaultBindingInEs5_1.ts (0 errors) ==== + import defaultBinding from "./es6ImportDefaultBindingInEs5_0"; \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportDefaultBindingMergeErrors(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingMergeErrors(target=es5).errors.txt index 45134d3cdb552..1c21d8b4bf5b0 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingMergeErrors(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingMergeErrors(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportDefaultBindingMergeErrors_1.ts(5,8): error TS2440: Import declaration conflicts with local declaration of 'defaultBinding2'. es6ImportDefaultBindingMergeErrors_1.ts(7,8): error TS2300: Duplicate identifier 'defaultBinding3'. es6ImportDefaultBindingMergeErrors_1.ts(8,8): error TS2300: Duplicate identifier 'defaultBinding3'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportDefaultBindingMergeErrors_0.ts (0 errors) ==== var a = 10; export default a; diff --git a/tests/baselines/reference/es6ImportDefaultBindingWithExport(target=es5).errors.txt b/tests/baselines/reference/es6ImportDefaultBindingWithExport(target=es5).errors.txt index de33de8cdad2c..6fec6ea023a48 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingWithExport(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportDefaultBindingWithExport(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. client.ts(1,1): error TS1191: An import declaration cannot have modifiers. client.ts(3,1): error TS1191: An import declaration cannot have modifiers. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== server.ts (0 errors) ==== var a = 10; export default a; diff --git a/tests/baselines/reference/es6ImportNameSpaceImportInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportNameSpaceImportInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..170b7b04fa1f4 --- /dev/null +++ b/tests/baselines/reference/es6ImportNameSpaceImportInEs5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6ImportNameSpaceImportInEs5_0.ts (0 errors) ==== + export var a = 10; + +==== es6ImportNameSpaceImportInEs5_1.ts (0 errors) ==== + import * as nameSpaceBinding from "./es6ImportNameSpaceImportInEs5_0"; + var x = nameSpaceBinding.a; + import * as nameSpaceBinding2 from "./es6ImportNameSpaceImportInEs5_0"; // elide this + \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportNameSpaceImportMergeErrors(target=es5).errors.txt b/tests/baselines/reference/es6ImportNameSpaceImportMergeErrors(target=es5).errors.txt index f0993ca019c1c..1e8a4f04deb7b 100644 --- a/tests/baselines/reference/es6ImportNameSpaceImportMergeErrors(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportNameSpaceImportMergeErrors(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportNameSpaceImportMergeErrors_1.ts(4,13): error TS2300: Duplicate identifier 'nameSpaceBinding1'. es6ImportNameSpaceImportMergeErrors_1.ts(5,13): error TS2300: Duplicate identifier 'nameSpaceBinding1'. es6ImportNameSpaceImportMergeErrors_1.ts(7,13): error TS2440: Import declaration conflicts with local declaration of 'nameSpaceBinding3'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportNameSpaceImportMergeErrors_0.ts (0 errors) ==== export var a = 10; diff --git a/tests/baselines/reference/es6ImportNameSpaceImportNoNamedExports(target=es5).errors.txt b/tests/baselines/reference/es6ImportNameSpaceImportNoNamedExports(target=es5).errors.txt new file mode 100644 index 0000000000000..69d96e1ed0d4f --- /dev/null +++ b/tests/baselines/reference/es6ImportNameSpaceImportNoNamedExports(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6ImportNameSpaceImportNoNamedExports_0.ts (0 errors) ==== + var a = 10; + export = a; + +==== es6ImportNameSpaceImportNoNamedExports_1.ts (0 errors) ==== + import * as nameSpaceBinding from "./es6ImportNameSpaceImportNoNamedExports_0"; // error \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportNamedImportInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportNamedImportInEs5(target=es5).errors.txt new file mode 100644 index 0000000000000..dba74234b1ab0 --- /dev/null +++ b/tests/baselines/reference/es6ImportNamedImportInEs5(target=es5).errors.txt @@ -0,0 +1,43 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6ImportNamedImportInEs5_0.ts (0 errors) ==== + export var a = 10; + export var x = a; + export var m = a; + export var a1 = 10; + export var x1 = 10; + export var z1 = 10; + export var z2 = 10; + export var aaaa = 10; + +==== es6ImportNamedImportInEs5_1.ts (0 errors) ==== + import { } from "./es6ImportNamedImportInEs5_0"; + import { a } from "./es6ImportNamedImportInEs5_0"; + var xxxx = a; + import { a as b } from "./es6ImportNamedImportInEs5_0"; + var xxxx = b; + import { x, a as y } from "./es6ImportNamedImportInEs5_0"; + var xxxx = x; + var xxxx = y; + import { x as z, } from "./es6ImportNamedImportInEs5_0"; + var xxxx = z; + import { m, } from "./es6ImportNamedImportInEs5_0"; + var xxxx = m; + import { a1, x1 } from "./es6ImportNamedImportInEs5_0"; + var xxxx = a1; + var xxxx = x1; + import { a1 as a11, x1 as x11 } from "./es6ImportNamedImportInEs5_0"; + var xxxx = a11; + var xxxx = x11; + import { z1 } from "./es6ImportNamedImportInEs5_0"; + var z111 = z1; + import { z2 as z3 } from "./es6ImportNamedImportInEs5_0"; + var z2 = z3; // z2 shouldn't give redeclare error + + // These are elided + import { aaaa } from "./es6ImportNamedImportInEs5_0"; + // These are elided + import { aaaa as bbbb } from "./es6ImportNamedImportInEs5_0"; + \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportNamedImportNoNamedExports(target=es5).errors.txt b/tests/baselines/reference/es6ImportNamedImportNoNamedExports(target=es5).errors.txt index da972d070ea8b..2b042e3782d15 100644 --- a/tests/baselines/reference/es6ImportNamedImportNoNamedExports(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportNamedImportNoNamedExports(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportNamedImportNoNamedExports_1.ts(1,10): error TS2616: 'a' can only be imported by using 'import a = require("./es6ImportNamedImportNoNamedExports_0")' or a default import. es6ImportNamedImportNoNamedExports_1.ts(2,10): error TS2616: 'a' can only be imported by using 'import a = require("./es6ImportNamedImportNoNamedExports_0")' or a default import. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportNamedImportNoNamedExports_0.ts (0 errors) ==== var a = 10; export = a; diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseInEs5(target=es5).errors.txt b/tests/baselines/reference/es6ImportWithoutFromClauseInEs5(target=es5).errors.txt index 18251d4b9c34b..4cab3be85adc5 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseInEs5(target=es5).errors.txt +++ b/tests/baselines/reference/es6ImportWithoutFromClauseInEs5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6ImportWithoutFromClauseInEs5_1.ts(1,8): error TS2882: Cannot find module or type declarations for side-effect import of 'es6ImportWithoutFromClauseInEs5_0'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6ImportWithoutFromClauseInEs5_0.ts (0 errors) ==== export var a = 10; diff --git a/tests/baselines/reference/es6modulekindExportClassNameWithObject(target=es5).errors.txt b/tests/baselines/reference/es6modulekindExportClassNameWithObject(target=es5).errors.txt new file mode 100644 index 0000000000000..ad4e3236fda46 --- /dev/null +++ b/tests/baselines/reference/es6modulekindExportClassNameWithObject(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindExportClassNameWithObject.ts (0 errors) ==== + export class Object {} + \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target(target=es5).errors.txt new file mode 100644 index 0000000000000..ce50bd596f232 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target.ts (0 errors) ==== + export class C { + static s = 0; + p = 1; + method() { } + } + export { C as C2 }; + + declare function foo(...args: any[]): any; + @foo + export class D { + static s = 0; + p = 1; + method() { } + } + export { D as D2 }; + + class E { } + export {E}; + \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target10(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target10(target=es5).errors.txt index 8b45346535972..bf3ec3ea1784f 100644 --- a/tests/baselines/reference/es6modulekindWithES5Target10(target=es5).errors.txt +++ b/tests/baselines/reference/es6modulekindWithES5Target10(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6modulekindWithES5Target10.ts(1,1): error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. es6modulekindWithES5Target10.ts(1,20): error TS2307: Cannot find module 'mod' or its corresponding type declarations. es6modulekindWithES5Target10.ts(6,1): error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6modulekindWithES5Target10.ts (3 errors) ==== import i = require("mod"); // Error; ~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/es6modulekindWithES5Target11(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target11(target=es5).errors.txt new file mode 100644 index 0000000000000..7a44daa7134e5 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target11(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target11.ts (0 errors) ==== + declare function foo(...args: any[]): any; + @foo + export default class C { + static x() { return C.y; } + static y = 1 + p = 1; + method() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target12(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target12(target=es5).errors.txt new file mode 100644 index 0000000000000..ca31236fc5ab5 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target12(target=es5).errors.txt @@ -0,0 +1,41 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target12.ts (0 errors) ==== + export class C { + } + + export namespace C { + export const x = 1; + } + + export enum E { + w = 1 + } + + export enum E { + x = 2 + } + + export namespace E { + export const y = 1; + } + + export namespace E { + export const z = 1; + } + + export namespace N { + } + + export namespace N { + export const x = 1; + } + + export function F() { + } + + export namespace F { + export const x = 1; + } \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target2(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target2(target=es5).errors.txt new file mode 100644 index 0000000000000..a5ca61e7728e7 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target2(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target2.ts (0 errors) ==== + export default class C { + static s = 0; + p = 1; + method() { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target3(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target3(target=es5).errors.txt new file mode 100644 index 0000000000000..1249c5cd99f3c --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target3(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target3.ts (0 errors) ==== + declare function foo(...args: any[]): any; + @foo + export default class D { + static s = 0; + p = 1; + method() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target4(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target4(target=es5).errors.txt new file mode 100644 index 0000000000000..7abc0a98f1266 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target4(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target4.ts (0 errors) ==== + class E { } + export default E; \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target5(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target5(target=es5).errors.txt new file mode 100644 index 0000000000000..ab86ee9df7af3 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target5.ts (0 errors) ==== + export enum E1 { + value1 + } + + export const enum E2 { + value1 + } \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target6(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target6(target=es5).errors.txt new file mode 100644 index 0000000000000..3523e9c10612b --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target6(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target6.ts (0 errors) ==== + export function f1(d = 0) { + } + + export function f2(...arg) { + } + + export default function f3(d = 0) { + } + \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target7(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target7(target=es5).errors.txt new file mode 100644 index 0000000000000..c14ceb2a77a1a --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target7(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target7.ts (0 errors) ==== + export namespace N { + var x = 0; + } + + export namespace N2 { + export interface I { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target8(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target8(target=es5).errors.txt new file mode 100644 index 0000000000000..bd13f3a610154 --- /dev/null +++ b/tests/baselines/reference/es6modulekindWithES5Target8(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== es6modulekindWithES5Target8.ts (0 errors) ==== + export const c = 0; + export let l = 1; \ No newline at end of file diff --git a/tests/baselines/reference/es6modulekindWithES5Target9(target=es5).errors.txt b/tests/baselines/reference/es6modulekindWithES5Target9(target=es5).errors.txt index 7753787618825..b4bd8be33c551 100644 --- a/tests/baselines/reference/es6modulekindWithES5Target9(target=es5).errors.txt +++ b/tests/baselines/reference/es6modulekindWithES5Target9(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. es6modulekindWithES5Target9.ts(1,15): error TS2307: Cannot find module 'mod' or its corresponding type declarations. es6modulekindWithES5Target9.ts(3,17): error TS2307: Cannot find module 'mod' or its corresponding type declarations. es6modulekindWithES5Target9.ts(5,20): error TS2307: Cannot find module 'mod' or its corresponding type declarations. @@ -5,6 +6,7 @@ es6modulekindWithES5Target9.ts(13,15): error TS2307: Cannot find module 'mod' or es6modulekindWithES5Target9.ts(15,17): error TS2307: Cannot find module 'mod' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== es6modulekindWithES5Target9.ts (5 errors) ==== import d from "mod"; ~~~~~ diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).errors.txt new file mode 100644 index 0000000000000..0d5d51bd32472 --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-accessors-nonStatic.ts (0 errors) ==== + declare let dec: any; + + const method3 = "method3"; + + class C { + @dec(11) get method1() { return 0; } + @dec(12) set method1(value) {} + @dec(21) get ["method2"]() { return 0; } + @dec(22) set ["method2"](value) {} + @dec(31) get [method3]() { return 0; } + @dec(32) set [method3](value) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).errors.txt index 78e2e2ad01778..5d900860075ae 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esDecorators-classDeclaration-accessors-nonStaticAbstract.ts(6,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-accessors-nonStaticAbstract.ts(7,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-accessors-nonStaticAbstract.ts(8,5): error TS1206: Decorators are not valid here. @@ -6,6 +7,7 @@ esDecorators-classDeclaration-accessors-nonStaticAbstract.ts(10,5): error TS1206 esDecorators-classDeclaration-accessors-nonStaticAbstract.ts(11,5): error TS1206: Decorators are not valid here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-classDeclaration-accessors-nonStaticAbstract.ts (6 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).errors.txt new file mode 100644 index 0000000000000..e00396f5a0e1c --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-accessors-static.ts (0 errors) ==== + declare let dec: any; + + const method3 = "method3"; + + class C { + @dec(11) static get method1() { return 0; } + @dec(12) static set method1(value) {} + @dec(21) static get ["method2"]() { return 0; } + @dec(22) static set ["method2"](value) {} + @dec(31) static get [method3]() { return 0; } + @dec(32) static set [method3](value) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..96bbb232bce9e --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-classThisReference.es5.ts (0 errors) ==== + declare let dec: any; + + @dec + class C { + static { this; } + static x: any = this; + static m() { this; } + static get g() { return this; } + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).errors.txt new file mode 100644 index 0000000000000..973b8c5844dab --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-fields-nonStatic.ts (0 errors) ==== + declare let dec: any; + + const field3 = "field3"; + + class C { + @dec(1) field1 = 1; + @dec(2) ["field2"] = 2; + @dec(3) [field3] = 3; + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).errors.txt new file mode 100644 index 0000000000000..973b8c5844dab --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-fields-nonStatic.ts (0 errors) ==== + declare let dec: any; + + const field3 = "field3"; + + class C { + @dec(1) field1 = 1; + @dec(2) ["field2"] = 2; + @dec(3) [field3] = 3; + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).errors.txt index 3847f59148596..bebaddda17b07 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esDecorators-classDeclaration-fields-nonStaticAbstract.ts(6,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-fields-nonStaticAbstract.ts(7,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-fields-nonStaticAbstract.ts(8,5): error TS1206: Decorators are not valid here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-classDeclaration-fields-nonStaticAbstract.ts (3 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).errors.txt index c514f4512b795..30b99b5649889 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esDecorators-classDeclaration-fields-nonStaticAmbient.ts(6,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-fields-nonStaticAmbient.ts(7,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-fields-nonStaticAmbient.ts(8,5): error TS1206: Decorators are not valid here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-classDeclaration-fields-nonStaticAmbient.ts (3 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).errors.txt new file mode 100644 index 0000000000000..51f66ed8b591d --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-fields-static.ts (0 errors) ==== + declare let dec: any; + + const field3 = "field3"; + + class C { + @dec(1) static field1 = 1; + @dec(2) static ["field2"] = 2; + @dec(3) static [field3] = 3; + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).errors.txt new file mode 100644 index 0000000000000..51f66ed8b591d --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-fields-static.ts (0 errors) ==== + declare let dec: any; + + const field3 = "field3"; + + class C { + @dec(1) static field1 = 1; + @dec(2) static ["field2"] = 2; + @dec(3) static [field3] = 3; + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).errors.txt index 9f895bc9992bd..e42389d44882f 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esDecorators-classDeclaration-fields-staticAmbient.ts(6,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-fields-staticAmbient.ts(7,5): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-fields-staticAmbient.ts(8,5): error TS1206: Decorators are not valid here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-classDeclaration-fields-staticAmbient.ts (3 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).errors.txt new file mode 100644 index 0000000000000..1857cf9fe3834 --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-methods-nonStatic.ts (0 errors) ==== + declare let dec: any; + + const method3 = "method3"; + + class C { + @dec(1) method1() {} + @dec(2) ["method2"]() {} + @dec(3) [method3]() {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).errors.txt index 7eb6a50813fe0..9b0371bf81a4d 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esDecorators-classDeclaration-methods-nonStaticAbstract.ts(6,5): error TS1249: A decorator can only decorate a method implementation, not an overload. esDecorators-classDeclaration-methods-nonStaticAbstract.ts(7,5): error TS1249: A decorator can only decorate a method implementation, not an overload. esDecorators-classDeclaration-methods-nonStaticAbstract.ts(8,5): error TS1249: A decorator can only decorate a method implementation, not an overload. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-classDeclaration-methods-nonStaticAbstract.ts (3 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).errors.txt new file mode 100644 index 0000000000000..3fc58333cad46 --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-methods-static.ts (0 errors) ==== + declare let dec: any; + + const method3 = "method3"; + + class C { + @dec(1) static method1() {} + @dec(2) static ["method2"]() {} + @dec(3) static [method3]() {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).errors.txt new file mode 100644 index 0000000000000..b427d9b79671e --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-multipleDecorators.ts (0 errors) ==== + declare let dec1: any, dec2: any; + + @dec1 + @dec2 + class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).errors.txt index 46a412495fc20..2fcaa892ffd44 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esDecorators-classDeclaration-parameterDecorators.ts(4,17): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-parameterDecorators.ts(5,12): error TS1206: Decorators are not valid here. esDecorators-classDeclaration-parameterDecorators.ts(6,11): error TS1206: Decorators are not valid here. @@ -10,6 +11,7 @@ esDecorators-classDeclaration-parameterDecorators.ts(15,19): error TS1206: Decor esDecorators-classDeclaration-parameterDecorators.ts(16,18): error TS1206: Decorators are not valid here. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-classDeclaration-parameterDecorators.ts (10 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).errors.txt new file mode 100644 index 0000000000000..06184ce63398a --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-parameterProperties.ts (0 errors) ==== + declare var bound: any; + + class C { + constructor(private message: string) {} + + @bound speak() { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).errors.txt new file mode 100644 index 0000000000000..06184ce63398a --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-parameterProperties.ts (0 errors) ==== + declare var bound: any; + + class C { + constructor(private message: string) {} + + @bound speak() { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-setFunctionName(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-setFunctionName(target=es5).errors.txt new file mode 100644 index 0000000000000..768146cadaae3 --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-setFunctionName(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.ts (0 errors) ==== + declare let dec: any; + + @dec class C {} + + export {} + +==== b.ts (0 errors) ==== + declare let dec: any; + + @dec export class C {} + +==== c.ts (0 errors) ==== + declare let dec: any; + + @dec export default class C {} + +==== c.ts (0 errors) ==== + declare let dec: any; + + @dec export default class {} + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).errors.txt b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).errors.txt new file mode 100644 index 0000000000000..b5d9bd3af0e6c --- /dev/null +++ b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esDecorators-classDeclaration-simpleTransformation.ts (0 errors) ==== + declare let dec: any; + + @dec + class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).errors.txt b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).errors.txt index 34100c7c3b694..db924a8e8d093 100644 --- a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).errors.txt +++ b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5052: Option 'emitDecoratorMetadata' cannot be specified without specifying option 'experimentalDecorators'. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5052: Option 'emitDecoratorMetadata' cannot be specified without specifying option 'experimentalDecorators'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esDecorators-emitDecoratorMetadata.ts (0 errors) ==== declare let dec: any; diff --git a/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).errors.txt b/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).errors.txt new file mode 100644 index 0000000000000..d5f9d5431cff3 --- /dev/null +++ b/tests/baselines/reference/esModuleInteropWithExportStar(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== fs.d.ts (0 errors) ==== + export const x: number; +==== mjts.ts (0 errors) ==== + import * as fs from "./fs"; + + fs; + + export * from "./fs"; + export {x} from "./fs"; + export {x as y} from "./fs"; + \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target(target=es5).errors.txt new file mode 100644 index 0000000000000..3b901008dfd67 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target.ts (0 errors) ==== + export class C { + static s = 0; + p = 1; + method() { } + } + export { C as C2 }; + + declare function foo(...args: any[]): any; + @foo + export class D { + static s = 0; + p = 1; + method() { } + } + export { D as D2 }; + + class E { } + export {E}; + \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target10(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target10(target=es5).errors.txt index 6d6f0ee1c7f09..63e6196fae16a 100644 --- a/tests/baselines/reference/esnextmodulekindWithES5Target10(target=es5).errors.txt +++ b/tests/baselines/reference/esnextmodulekindWithES5Target10(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esnextmodulekindWithES5Target10.ts(1,1): error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. esnextmodulekindWithES5Target10.ts(1,20): error TS2307: Cannot find module 'mod' or its corresponding type declarations. esnextmodulekindWithES5Target10.ts(6,1): error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esnextmodulekindWithES5Target10.ts (3 errors) ==== import i = require("mod"); // Error; ~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target11(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target11(target=es5).errors.txt new file mode 100644 index 0000000000000..a61248852fa23 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target11(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target11.ts (0 errors) ==== + declare function foo(...args: any[]): any; + @foo + export default class C { + static x() { return C.y; } + static y = 1 + p = 1; + method() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target12(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target12(target=es5).errors.txt new file mode 100644 index 0000000000000..7ef202aa7f791 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target12(target=es5).errors.txt @@ -0,0 +1,41 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target12.ts (0 errors) ==== + export class C { + } + + export namespace C { + export const x = 1; + } + + export enum E { + w = 1 + } + + export enum E { + x = 2 + } + + export namespace E { + export const y = 1; + } + + export namespace E { + export const z = 1; + } + + export namespace N { + } + + export namespace N { + export const x = 1; + } + + export function F() { + } + + export namespace F { + export const x = 1; + } \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target2(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target2(target=es5).errors.txt new file mode 100644 index 0000000000000..a3ecd7c5462cf --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target2(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target2.ts (0 errors) ==== + export default class C { + static s = 0; + p = 1; + method() { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target3(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target3(target=es5).errors.txt new file mode 100644 index 0000000000000..eeb39958b2f43 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target3(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target3.ts (0 errors) ==== + declare function foo(...args: any[]): any; + @foo + export default class D { + static s = 0; + p = 1; + method() { } + } \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target4(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target4(target=es5).errors.txt new file mode 100644 index 0000000000000..7f75180336ff6 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target4(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target4.ts (0 errors) ==== + class E { } + export default E; \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target5(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target5(target=es5).errors.txt new file mode 100644 index 0000000000000..eae10d5b03db9 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target5.ts (0 errors) ==== + export enum E1 { + value1 + } + + export const enum E2 { + value1 + } \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target6(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target6(target=es5).errors.txt new file mode 100644 index 0000000000000..d37bcd6f4739c --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target6(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target6.ts (0 errors) ==== + export function f1(d = 0) { + } + + export function f2(...arg) { + } + + export default function f3(d = 0) { + } + \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target7(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target7(target=es5).errors.txt new file mode 100644 index 0000000000000..d5e3a1521efd1 --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target7(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target7.ts (0 errors) ==== + export namespace N { + var x = 0; + } + + export namespace N2 { + export interface I { } + } + \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target8(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target8(target=es5).errors.txt new file mode 100644 index 0000000000000..191176de6e15e --- /dev/null +++ b/tests/baselines/reference/esnextmodulekindWithES5Target8(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== esnextmodulekindWithES5Target8.ts (0 errors) ==== + export const c = 0; + export let l = 1; \ No newline at end of file diff --git a/tests/baselines/reference/esnextmodulekindWithES5Target9(target=es5).errors.txt b/tests/baselines/reference/esnextmodulekindWithES5Target9(target=es5).errors.txt index 191ac8fdf02ea..4e1b07533506a 100644 --- a/tests/baselines/reference/esnextmodulekindWithES5Target9(target=es5).errors.txt +++ b/tests/baselines/reference/esnextmodulekindWithES5Target9(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. esnextmodulekindWithES5Target9.ts(1,15): error TS2307: Cannot find module 'mod' or its corresponding type declarations. esnextmodulekindWithES5Target9.ts(3,17): error TS2307: Cannot find module 'mod' or its corresponding type declarations. esnextmodulekindWithES5Target9.ts(5,20): error TS2307: Cannot find module 'mod' or its corresponding type declarations. @@ -5,6 +6,7 @@ esnextmodulekindWithES5Target9.ts(13,15): error TS2307: Cannot find module 'mod' esnextmodulekindWithES5Target9.ts(15,17): error TS2307: Cannot find module 'mod' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== esnextmodulekindWithES5Target9.ts (5 errors) ==== import d from "mod"; ~~~~~ diff --git a/tests/baselines/reference/exnextmodulekindExportClassNameWithObject(target=es5).errors.txt b/tests/baselines/reference/exnextmodulekindExportClassNameWithObject(target=es5).errors.txt new file mode 100644 index 0000000000000..540fc0ff4af3f --- /dev/null +++ b/tests/baselines/reference/exnextmodulekindExportClassNameWithObject(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exnextmodulekindExportClassNameWithObject.ts (0 errors) ==== + export class Object {} + \ No newline at end of file diff --git a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1(target=es5).errors.txt b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1(target=es5).errors.txt index 42b2be991f19e..142067c7568b7 100644 --- a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1(target=es5).errors.txt +++ b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exponentiationOperatorInTemplateStringWithSyntaxError1.ts(7,8): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. exponentiationOperatorInTemplateStringWithSyntaxError1.ts(7,8): error TS17006: An unary expression with the 'typeof' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorInTemplateStringWithSyntaxError1.ts(8,4): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. @@ -45,6 +46,7 @@ exponentiationOperatorInTemplateStringWithSyntaxError1.ts(26,49): error TS2362: exponentiationOperatorInTemplateStringWithSyntaxError1.ts(26,49): error TS17006: An unary expression with the 'typeof' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exponentiationOperatorInTemplateStringWithSyntaxError1.ts (45 errors) ==== var t1 = 10; var t2 = 10; diff --git a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2(target=es5).errors.txt b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2(target=es5).errors.txt index e00f846604697..c29441aa9d0cb 100644 --- a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2(target=es5).errors.txt +++ b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exponentiationOperatorInTemplateStringWithSyntaxError2.ts(7,10): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorInTemplateStringWithSyntaxError2.ts(8,10): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorInTemplateStringWithSyntaxError2.ts(9,10): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. @@ -45,6 +46,7 @@ exponentiationOperatorInTemplateStringWithSyntaxError2.ts(26,55): error TS2362: exponentiationOperatorInTemplateStringWithSyntaxError2.ts(26,55): error TS17006: An unary expression with the 'typeof' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exponentiationOperatorInTemplateStringWithSyntaxError2.ts (45 errors) ==== var t1 = 10; var t2 = 10; diff --git a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3(target=es5).errors.txt b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3(target=es5).errors.txt index 92204624dc7e1..e69023bb0c307 100644 --- a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3(target=es5).errors.txt +++ b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exponentiationOperatorInTemplateStringWithSyntaxError3.ts(7,4): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorInTemplateStringWithSyntaxError3.ts(8,4): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorInTemplateStringWithSyntaxError3.ts(9,4): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. @@ -45,6 +46,7 @@ exponentiationOperatorInTemplateStringWithSyntaxError3.ts(26,49): error TS2362: exponentiationOperatorInTemplateStringWithSyntaxError3.ts(26,49): error TS17006: An unary expression with the 'typeof' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exponentiationOperatorInTemplateStringWithSyntaxError3.ts (45 errors) ==== var t1 = 10; var t2 = 10; diff --git a/tests/baselines/reference/exponentiationOperatorSyntaxError1(target=es5).errors.txt b/tests/baselines/reference/exponentiationOperatorSyntaxError1(target=es5).errors.txt index 17080ca0099d3..3d07e4a6aca81 100644 --- a/tests/baselines/reference/exponentiationOperatorSyntaxError1(target=es5).errors.txt +++ b/tests/baselines/reference/exponentiationOperatorSyntaxError1(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exponentiationOperatorSyntaxError1.ts(2,1): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorSyntaxError1.ts(3,1): error TS17006: An unary expression with the '+' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorSyntaxError1.ts(4,6): error TS17006: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. @@ -31,6 +32,7 @@ exponentiationOperatorSyntaxError1.ts(34,1): error TS17006: An unary expression exponentiationOperatorSyntaxError1.ts(35,1): error TS17006: An unary expression with the '+' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exponentiationOperatorSyntaxError1.ts (31 errors) ==== // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without () -1 ** 2; diff --git a/tests/baselines/reference/exponentiationOperatorSyntaxError2(target=es5).errors.txt b/tests/baselines/reference/exponentiationOperatorSyntaxError2(target=es5).errors.txt index 2f336cc9eaea7..821d3af1925d2 100644 --- a/tests/baselines/reference/exponentiationOperatorSyntaxError2(target=es5).errors.txt +++ b/tests/baselines/reference/exponentiationOperatorSyntaxError2(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exponentiationOperatorSyntaxError2.ts(4,1): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. exponentiationOperatorSyntaxError2.ts(4,1): error TS17006: An unary expression with the 'delete' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. exponentiationOperatorSyntaxError2.ts(4,8): error TS2703: The operand of a 'delete' operator must be a property reference. @@ -101,6 +102,7 @@ exponentiationOperatorSyntaxError2.ts(66,1): error TS17007: A type assertion exp exponentiationOperatorSyntaxError2.ts(67,1): error TS17007: A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exponentiationOperatorSyntaxError2.ts (101 errors) ==== // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without () var temp: any; diff --git a/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid(target=es5).errors.txt b/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid(target=es5).errors.txt index 03895e02e2c35..fde3d7198e4b1 100644 --- a/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid(target=es5).errors.txt +++ b/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exponentiationOperatorWithTemplateStringInvalid.ts(1,14): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. exponentiationOperatorWithTemplateStringInvalid.ts(2,14): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. exponentiationOperatorWithTemplateStringInvalid.ts(3,14): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. @@ -12,6 +13,7 @@ exponentiationOperatorWithTemplateStringInvalid.ts(13,7): error TS2363: The righ exponentiationOperatorWithTemplateStringInvalid.ts(14,7): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exponentiationOperatorWithTemplateStringInvalid.ts (12 errors) ==== var a = 1 ** `${ 3 }`; ~~~~~~~~ diff --git a/tests/baselines/reference/exportAmbientClassNameWithObject(target=es5).errors.txt b/tests/baselines/reference/exportAmbientClassNameWithObject(target=es5).errors.txt new file mode 100644 index 0000000000000..e6e4ee7e47070 --- /dev/null +++ b/tests/baselines/reference/exportAmbientClassNameWithObject(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportAmbientClassNameWithObject.ts (0 errors) ==== + export declare class Object {} + \ No newline at end of file diff --git a/tests/baselines/reference/exportAndImport-es5(target=es5).errors.txt b/tests/baselines/reference/exportAndImport-es5(target=es5).errors.txt new file mode 100644 index 0000000000000..b344fa63226f6 --- /dev/null +++ b/tests/baselines/reference/exportAndImport-es5(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== m1.ts (0 errors) ==== + export default function f1() { + } + +==== m2.ts (0 errors) ==== + import f1 from "./m1"; + export default function f2() { + f1(); + } + \ No newline at end of file diff --git a/tests/baselines/reference/exportAndImport-es5-amd(target=es5).errors.txt b/tests/baselines/reference/exportAndImport-es5-amd(target=es5).errors.txt index fbd8e108ce86b..2c319beaae619 100644 --- a/tests/baselines/reference/exportAndImport-es5-amd(target=es5).errors.txt +++ b/tests/baselines/reference/exportAndImport-es5-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== export default function f1() { } diff --git a/tests/baselines/reference/exportClassNameWithObjectAMD(target=es5).errors.txt b/tests/baselines/reference/exportClassNameWithObjectAMD(target=es5).errors.txt index d1f275d2c57fe..840b905821640 100644 --- a/tests/baselines/reference/exportClassNameWithObjectAMD(target=es5).errors.txt +++ b/tests/baselines/reference/exportClassNameWithObjectAMD(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportClassNameWithObjectAMD.ts(1,14): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module AMD. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportClassNameWithObjectAMD.ts (1 errors) ==== export class Object {} ~~~~~~ diff --git a/tests/baselines/reference/exportClassNameWithObjectCommonJS(target=es5).errors.txt b/tests/baselines/reference/exportClassNameWithObjectCommonJS(target=es5).errors.txt index 99ab5272a9667..d9119fbd22763 100644 --- a/tests/baselines/reference/exportClassNameWithObjectCommonJS(target=es5).errors.txt +++ b/tests/baselines/reference/exportClassNameWithObjectCommonJS(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportClassNameWithObjectCommonJS.ts(1,14): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module CommonJS. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportClassNameWithObjectCommonJS.ts (1 errors) ==== export class Object {} ~~~~~~ diff --git a/tests/baselines/reference/exportClassNameWithObjectSystem(target=es5).errors.txt b/tests/baselines/reference/exportClassNameWithObjectSystem(target=es5).errors.txt index 1bdf1d731f8dc..6d330bf5e9781 100644 --- a/tests/baselines/reference/exportClassNameWithObjectSystem(target=es5).errors.txt +++ b/tests/baselines/reference/exportClassNameWithObjectSystem(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportClassNameWithObjectSystem.ts(1,14): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module System. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportClassNameWithObjectSystem.ts (1 errors) ==== export class Object {} ~~~~~~ diff --git a/tests/baselines/reference/exportClassNameWithObjectUMD(target=es5).errors.txt b/tests/baselines/reference/exportClassNameWithObjectUMD(target=es5).errors.txt index be409a0a7c40d..9af2d2dd095db 100644 --- a/tests/baselines/reference/exportClassNameWithObjectUMD(target=es5).errors.txt +++ b/tests/baselines/reference/exportClassNameWithObjectUMD(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportClassNameWithObjectUMD.ts(1,14): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module UMD. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportClassNameWithObjectUMD.ts (1 errors) ==== export class Object {} ~~~~~~ diff --git a/tests/baselines/reference/exportDeclarationInInternalModule(target=es5).errors.txt b/tests/baselines/reference/exportDeclarationInInternalModule(target=es5).errors.txt index e1c8e98fa481e..efe05ed8c1a5e 100644 --- a/tests/baselines/reference/exportDeclarationInInternalModule(target=es5).errors.txt +++ b/tests/baselines/reference/exportDeclarationInInternalModule(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportDeclarationInInternalModule.ts(13,19): error TS1141: String literal expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportDeclarationInInternalModule.ts (1 errors) ==== class Bbb { } diff --git a/tests/baselines/reference/exportDefaultClassNameWithObject(target=es5).errors.txt b/tests/baselines/reference/exportDefaultClassNameWithObject(target=es5).errors.txt index e16339e78c171..222dcd78f9715 100644 --- a/tests/baselines/reference/exportDefaultClassNameWithObject(target=es5).errors.txt +++ b/tests/baselines/reference/exportDefaultClassNameWithObject(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportDefaultClassNameWithObject.ts(1,22): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module CommonJS. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportDefaultClassNameWithObject.ts (1 errors) ==== export default class Object {} ~~~~~~ diff --git a/tests/baselines/reference/exportDefaultInJsFile01(target=es5).errors.txt b/tests/baselines/reference/exportDefaultInJsFile01(target=es5).errors.txt index 18c2af26645cd..25bfc8ec4e936 100644 --- a/tests/baselines/reference/exportDefaultInJsFile01(target=es5).errors.txt +++ b/tests/baselines/reference/exportDefaultInJsFile01(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5055: Cannot write file 'myFile01.js' because it would overwrite input file. Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5055: Cannot write file 'myFile01.js' because it would overwrite input file. !!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== myFile01.js (0 errors) ==== export default "hello"; \ No newline at end of file diff --git a/tests/baselines/reference/exportDefaultParenthesize(target=es5).errors.txt b/tests/baselines/reference/exportDefaultParenthesize(target=es5).errors.txt new file mode 100644 index 0000000000000..e56a47faf2834 --- /dev/null +++ b/tests/baselines/reference/exportDefaultParenthesize(target=es5).errors.txt @@ -0,0 +1,39 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== commalist.ts (0 errors) ==== + export default { + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + ['foo'+'']: 42, + }; + +==== comma.ts (0 errors) ==== + export default { + ['foo']: 42 + }; + +==== functionexpression.ts (0 errors) ==== + export default () => 42; + \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=amd,target=es5).errors.txt b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=amd,target=es5).errors.txt index 8d8f3cb86598a..6fcc5edd016c0 100644 --- a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=amd,target=es5).errors.txt +++ b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=amd,target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportEmptyArrayBindingPattern.ts (0 errors) ==== export const [] = []; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..b500f7fb02cec --- /dev/null +++ b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=commonjs,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportEmptyArrayBindingPattern.ts (0 errors) ==== + export const [] = []; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=es2015,target=es5).errors.txt b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=es2015,target=es5).errors.txt new file mode 100644 index 0000000000000..b500f7fb02cec --- /dev/null +++ b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=es2015,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportEmptyArrayBindingPattern.ts (0 errors) ==== + export const [] = []; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=esnext,target=es5).errors.txt b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..b500f7fb02cec --- /dev/null +++ b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=esnext,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportEmptyArrayBindingPattern.ts (0 errors) ==== + export const [] = []; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=system,target=es5).errors.txt b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=system,target=es5).errors.txt index 94c89d6851f79..4a6f721b19953 100644 --- a/tests/baselines/reference/exportEmptyArrayBindingPattern(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/exportEmptyArrayBindingPattern(module=system,target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportEmptyArrayBindingPattern.ts (0 errors) ==== export const [] = []; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=amd,target=es5).errors.txt b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=amd,target=es5).errors.txt index e4c070bf9a248..2b84aded8138a 100644 --- a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=amd,target=es5).errors.txt +++ b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=amd,target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportEmptyObjectBindingPattern.ts (0 errors) ==== export const {} = {}; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..fcb91b3501a6e --- /dev/null +++ b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=commonjs,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportEmptyObjectBindingPattern.ts (0 errors) ==== + export const {} = {}; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=es2015,target=es5).errors.txt b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=es2015,target=es5).errors.txt new file mode 100644 index 0000000000000..fcb91b3501a6e --- /dev/null +++ b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=es2015,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportEmptyObjectBindingPattern.ts (0 errors) ==== + export const {} = {}; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=esnext,target=es5).errors.txt b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..fcb91b3501a6e --- /dev/null +++ b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=esnext,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportEmptyObjectBindingPattern.ts (0 errors) ==== + export const {} = {}; \ No newline at end of file diff --git a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=system,target=es5).errors.txt b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=system,target=es5).errors.txt index 5b1950bd36383..ee75235675d72 100644 --- a/tests/baselines/reference/exportEmptyObjectBindingPattern(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/exportEmptyObjectBindingPattern(module=system,target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportEmptyObjectBindingPattern.ts (0 errors) ==== export const {} = {}; \ No newline at end of file diff --git a/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue(target=es5).errors.txt b/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue(target=es5).errors.txt index 08a44fab214f6..8d1fde6460652 100644 --- a/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue(target=es5).errors.txt +++ b/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportImportCanSubstituteConstEnumForValue.ts (0 errors) ==== namespace MsPortalFx.ViewModels.Dialogs { diff --git a/tests/baselines/reference/exportObjectRest(module=amd,target=es5).errors.txt b/tests/baselines/reference/exportObjectRest(module=amd,target=es5).errors.txt index 0784723ac4eba..1b98190e15180 100644 --- a/tests/baselines/reference/exportObjectRest(module=amd,target=es5).errors.txt +++ b/tests/baselines/reference/exportObjectRest(module=amd,target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportObjectRest.ts (0 errors) ==== export const { x, ...rest } = { x: 'x', y: 'y' }; \ No newline at end of file diff --git a/tests/baselines/reference/exportObjectRest(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/exportObjectRest(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..a9d8bdbfe78d5 --- /dev/null +++ b/tests/baselines/reference/exportObjectRest(module=commonjs,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportObjectRest.ts (0 errors) ==== + export const { x, ...rest } = { x: 'x', y: 'y' }; \ No newline at end of file diff --git a/tests/baselines/reference/exportObjectRest(module=es2015,target=es5).errors.txt b/tests/baselines/reference/exportObjectRest(module=es2015,target=es5).errors.txt new file mode 100644 index 0000000000000..a9d8bdbfe78d5 --- /dev/null +++ b/tests/baselines/reference/exportObjectRest(module=es2015,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportObjectRest.ts (0 errors) ==== + export const { x, ...rest } = { x: 'x', y: 'y' }; \ No newline at end of file diff --git a/tests/baselines/reference/exportObjectRest(module=esnext,target=es5).errors.txt b/tests/baselines/reference/exportObjectRest(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..a9d8bdbfe78d5 --- /dev/null +++ b/tests/baselines/reference/exportObjectRest(module=esnext,target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== exportObjectRest.ts (0 errors) ==== + export const { x, ...rest } = { x: 'x', y: 'y' }; \ No newline at end of file diff --git a/tests/baselines/reference/exportObjectRest(module=system,target=es5).errors.txt b/tests/baselines/reference/exportObjectRest(module=system,target=es5).errors.txt index 853c7607d5bd4..1ef6b3d630e3f 100644 --- a/tests/baselines/reference/exportObjectRest(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/exportObjectRest(module=system,target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportObjectRest.ts (0 errors) ==== export const { x, ...rest } = { x: 'x', y: 'y' }; \ No newline at end of file diff --git a/tests/baselines/reference/exportStar(target=es5).errors.txt b/tests/baselines/reference/exportStar(target=es5).errors.txt index 4402aed8a528c..948ef2354f322 100644 --- a/tests/baselines/reference/exportStar(target=es5).errors.txt +++ b/tests/baselines/reference/exportStar(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,8): error TS1192: Module '"t4"' has no default export. t4.ts(3,1): error TS2308: Module "./t1" has already exported a member named 'x'. Consider explicitly re-exporting to resolve the ambiguity. t4.ts(3,1): error TS2308: Module "./t1" has already exported a member named 'y'. Consider explicitly re-exporting to resolve the ambiguity. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t1.ts (0 errors) ==== export var x = 1; export var y = 2; diff --git a/tests/baselines/reference/exportStar-amd(target=es5).errors.txt b/tests/baselines/reference/exportStar-amd(target=es5).errors.txt index 8748c15b93066..0e68980e44073 100644 --- a/tests/baselines/reference/exportStar-amd(target=es5).errors.txt +++ b/tests/baselines/reference/exportStar-amd(target=es5).errors.txt @@ -1,10 +1,12 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,8): error TS1192: Module '"t4"' has no default export. t4.ts(3,1): error TS2308: Module "./t1" has already exported a member named 'x'. Consider explicitly re-exporting to resolve the ambiguity. t4.ts(3,1): error TS2308: Module "./t1" has already exported a member named 'y'. Consider explicitly re-exporting to resolve the ambiguity. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t1.ts (0 errors) ==== export var x = 1; export var y = 2; diff --git a/tests/baselines/reference/exportStarFromEmptyModule(target=es5).errors.txt b/tests/baselines/reference/exportStarFromEmptyModule(target=es5).errors.txt index e14ded13eaa9c..4814a3537b469 100644 --- a/tests/baselines/reference/exportStarFromEmptyModule(target=es5).errors.txt +++ b/tests/baselines/reference/exportStarFromEmptyModule(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. exportStarFromEmptyModule_module3.ts(1,15): error TS2306: File 'exportStarFromEmptyModule_module2.ts' is not a module. exportStarFromEmptyModule_module4.ts(4,5): error TS2339: Property 'r' does not exist on type 'typeof A'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== exportStarFromEmptyModule_module1.ts (0 errors) ==== export class A { static r; diff --git a/tests/baselines/reference/exportsAndImports1-amd(target=es5).errors.txt b/tests/baselines/reference/exportsAndImports1-amd(target=es5).errors.txt index 0e8bd2772b0ce..f4b0e33fdca80 100644 --- a/tests/baselines/reference/exportsAndImports1-amd(target=es5).errors.txt +++ b/tests/baselines/reference/exportsAndImports1-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t1.ts (0 errors) ==== var v = 1; function f() { } diff --git a/tests/baselines/reference/exportsAndImports2-amd(target=es5).errors.txt b/tests/baselines/reference/exportsAndImports2-amd(target=es5).errors.txt index 63063504aa904..3b990f9999a93 100644 --- a/tests/baselines/reference/exportsAndImports2-amd(target=es5).errors.txt +++ b/tests/baselines/reference/exportsAndImports2-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t1.ts (0 errors) ==== export var x = "x"; export var y = "y"; diff --git a/tests/baselines/reference/exportsAndImports3-amd(target=es5).errors.txt b/tests/baselines/reference/exportsAndImports3-amd(target=es5).errors.txt index 524d3ac67f62d..d1b1d2f4ad5d5 100644 --- a/tests/baselines/reference/exportsAndImports3-amd(target=es5).errors.txt +++ b/tests/baselines/reference/exportsAndImports3-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t1.ts (0 errors) ==== export var v = 1; export function f() { } diff --git a/tests/baselines/reference/exportsAndImports4(target=es5).errors.txt b/tests/baselines/reference/exportsAndImports4(target=es5).errors.txt new file mode 100644 index 0000000000000..0235b4018b429 --- /dev/null +++ b/tests/baselines/reference/exportsAndImports4(target=es5).errors.txt @@ -0,0 +1,41 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== t3.ts (0 errors) ==== + import a = require("./t1"); + a.default; + import b from "./t1"; + b; + import * as c from "./t1"; + c.default; + import { default as d } from "./t1"; + d; + import e1, * as e2 from "./t1"; + e1; + e2.default; + import f1, { default as f2 } from "./t1"; + f1; + f2; + export { a, b, c, d, e1, e2, f1, f2 }; + +==== t1.ts (0 errors) ==== + export default "hello"; + +==== t2.ts (0 errors) ==== + import a = require("./t1"); + a.default; + import b from "./t1"; + b; + import * as c from "./t1"; + c.default; + import { default as d } from "./t1"; + d; + import e1, * as e2 from "./t1"; + e1; + e2.default; + import f1, { default as f2 } from "./t1"; + f1; + f2; + import "./t1"; + \ No newline at end of file diff --git a/tests/baselines/reference/exportsAndImports4-amd(target=es5).errors.txt b/tests/baselines/reference/exportsAndImports4-amd(target=es5).errors.txt index 9551ab300f3e3..0c6c9ff0bb8bf 100644 --- a/tests/baselines/reference/exportsAndImports4-amd(target=es5).errors.txt +++ b/tests/baselines/reference/exportsAndImports4-amd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t3.ts (0 errors) ==== import a = require("./t1"); a.default; diff --git a/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames01(target=es5).errors.txt b/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames01(target=es5).errors.txt index 7cbe0691fbb73..8690292f19e6d 100644 --- a/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames01(target=es5).errors.txt +++ b/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames01(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. t3.ts(1,17): error TS1214: Identifier expected. 'yield' is a reserved word in strict mode. Modules are automatically in strict mode. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== t1.ts (0 errors) ==== let set = { set foo(x: number) { diff --git a/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames02(target=es5).errors.txt b/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames02(target=es5).errors.txt new file mode 100644 index 0000000000000..dddddefcde65f --- /dev/null +++ b/tests/baselines/reference/exportsAndImportsWithContextualKeywordNames02(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== t1.ts (0 errors) ==== + let as = 100; + + export { as as return, as }; + +==== t2.ts (0 errors) ==== + import * as as from "./t1"; + var x = as.as; + var y = as.return; + +==== t3.ts (0 errors) ==== + import { as as as } from "./t1"; + +==== t4.ts (0 errors) ==== + import { as } from "./t1"; \ No newline at end of file diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores1(target=es5).errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores1(target=es5).errors.txt index 7d9f0936433d6..abbbd5e494fd5 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores1(target=es5).errors.txt +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. m1.ts(5,5): error TS1005: ',' expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (1 errors) ==== var R: any export default R = { diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).errors.txt new file mode 100644 index 0000000000000..2efa212a8c1f9 --- /dev/null +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== m1.ts (0 errors) ==== + var R: any + export default R = { + "__esmodule": true, + "__proto__": {} + } + +==== m2.ts (0 errors) ==== + import R from "./m1"; + const { __esmodule, __proto__ } = R; + \ No newline at end of file diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).types b/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).types index 8a9d4c07d2516..ae5166e6f18f5 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).types +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores2(target=es5).types @@ -3,11 +3,13 @@ === m1.ts === var R: any >R : any +> : ^^^ export default R = { >R = { "__esmodule": true, "__proto__": {}} : { __esmodule: boolean; __proto__: {}; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >R : any +> : ^^^ >{ "__esmodule": true, "__proto__": {}} : { __esmodule: boolean; __proto__: {}; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).errors.txt new file mode 100644 index 0000000000000..77d41f42133d1 --- /dev/null +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== m1.ts (0 errors) ==== + var R: any + export default R = { + "___": 30, + "___hello": 21, + "_hi": 40, + } + +==== m2.ts (0 errors) ==== + import R from "./m1"; + const { ___, ___hello, _hi } = R; + \ No newline at end of file diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).types b/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).types index ecdc74bbebd06..974b9cc3612ef 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).types +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores3(target=es5).types @@ -3,11 +3,13 @@ === m1.ts === var R: any >R : any +> : ^^^ export default R = { >R = { "___": 30, "___hello": 21, "_hi": 40,} : { ___: number; ___hello: number; _hi: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >R : any +> : ^^^ >{ "___": 30, "___hello": 21, "_hi": 40,} : { ___: number; ___hello: number; _hi: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).errors.txt b/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).errors.txt new file mode 100644 index 0000000000000..03ed05bf6606f --- /dev/null +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).errors.txt @@ -0,0 +1,36 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== m1.ts (0 errors) ==== + declare var console: any; + export function _() { + console.log("_"); + } + export function __() { + console.log("__"); + } + export function ___() { + console.log("___"); + } + export function _hi() { + console.log("_hi"); + } + export function __proto() { + console.log("__proto"); + } + export function __esmodule() { + console.log("__esmodule"); + } + export function ___hello(){ + console.log("___hello"); + } + +==== m2.ts (0 errors) ==== + import {_, __, ___hello, __esmodule, __proto, _hi} from "./m1"; + _(); + __(); + ___hello(); + __esmodule(); + __proto(); + _hi(); \ No newline at end of file diff --git a/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).types b/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).types index 2ed803b282fe6..daf3125fc0655 100644 --- a/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).types +++ b/tests/baselines/reference/exportsAndImportsWithUnderscores4(target=es5).types @@ -3,6 +3,7 @@ === m1.ts === declare var console: any; >console : any +> : ^^^ export function _() { >_ : () => void @@ -10,7 +11,9 @@ export function _() { console.log("_"); >console.log("_") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any @@ -24,7 +27,9 @@ export function __() { console.log("__"); >console.log("__") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any @@ -38,7 +43,9 @@ export function ___() { console.log("___"); >console.log("___") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any @@ -52,7 +59,9 @@ export function _hi() { console.log("_hi"); >console.log("_hi") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any @@ -66,7 +75,9 @@ export function __proto() { console.log("__proto"); >console.log("__proto") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any @@ -80,7 +91,9 @@ export function __esmodule() { console.log("__esmodule"); >console.log("__esmodule") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any @@ -94,7 +107,9 @@ export function ___hello(){ console.log("___hello"); >console.log("___hello") : any +> : ^^^ >console.log : any +> : ^^^ >console : any > : ^^^ >log : any diff --git a/tests/baselines/reference/for-inStatementsDestructuring(target=es5).errors.txt b/tests/baselines/reference/for-inStatementsDestructuring(target=es5).errors.txt index 22aceaf0b536c..7d031a52a0841 100644 --- a/tests/baselines/reference/for-inStatementsDestructuring(target=es5).errors.txt +++ b/tests/baselines/reference/for-inStatementsDestructuring(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. for-inStatementsDestructuring.ts(1,10): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern. for-inStatementsDestructuring.ts(1,10): error TS2802: Type 'string' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== for-inStatementsDestructuring.ts (2 errors) ==== for (var [a, b] in []) {} ~~~~~~ diff --git a/tests/baselines/reference/forAwaitPerIterationBindingDownlevel(target=es5).errors.txt b/tests/baselines/reference/forAwaitPerIterationBindingDownlevel(target=es5).errors.txt new file mode 100644 index 0000000000000..9bd3b4ee16dc2 --- /dev/null +++ b/tests/baselines/reference/forAwaitPerIterationBindingDownlevel(target=es5).errors.txt @@ -0,0 +1,29 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== forAwaitPerIterationBindingDownlevel.ts (0 errors) ==== + const sleep = (tm: number) => new Promise(resolve => setTimeout(resolve, tm)); + + async function* gen() { + yield 1; + await sleep(1000); + yield 2; + } + + const log = console.log; + + (async () => { + for await (const outer of gen()) { + log(`I'm loop ${outer}`); + (async () => { + const inner = outer; + await sleep(2000); + if (inner === outer) { + log(`I'm loop ${inner} and I know I'm loop ${outer}`); + } else { + log(`I'm loop ${inner}, but I think I'm loop ${outer}`); + } + })(); + } + })(); \ No newline at end of file diff --git a/tests/baselines/reference/forwardDeclaredCommonTypes01(target=es5).errors.txt b/tests/baselines/reference/forwardDeclaredCommonTypes01(target=es5).errors.txt index 9da53c7a55f9f..7d9195667f29f 100644 --- a/tests/baselines/reference/forwardDeclaredCommonTypes01(target=es5).errors.txt +++ b/tests/baselines/reference/forwardDeclaredCommonTypes01(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. forwardDeclaredCommonTypes01.ts(9,9): error TS2585: 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later. forwardDeclaredCommonTypes01.ts(10,9): error TS2585: 'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later. forwardDeclaredCommonTypes01.ts(10,17): error TS2585: 'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later. @@ -7,6 +8,7 @@ forwardDeclaredCommonTypes01.ts(13,9): error TS2585: 'Set' only refers to a type forwardDeclaredCommonTypes01.ts(14,9): error TS2585: 'WeakSet' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== forwardDeclaredCommonTypes01.ts (7 errors) ==== interface Promise {} interface Symbol {} diff --git a/tests/baselines/reference/functionImplementationErrors(target=es5).errors.txt b/tests/baselines/reference/functionImplementationErrors(target=es5).errors.txt index cc073249894d9..7e99aab54a1fc 100644 --- a/tests/baselines/reference/functionImplementationErrors(target=es5).errors.txt +++ b/tests/baselines/reference/functionImplementationErrors(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. functionImplementationErrors.ts(25,16): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. functionImplementationErrors.ts(30,17): error TS2373: Parameter 'n' cannot reference identifier 'm' declared after it. functionImplementationErrors.ts(35,17): error TS2373: Parameter 'n' cannot reference identifier 'm' declared after it. functionImplementationErrors.ts(40,1): error TS2839: This condition will always return 'false' since JavaScript compares objects by reference, not value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== functionImplementationErrors.ts (4 errors) ==== // FunctionExpression with no return type annotation with multiple return statements with unrelated types var f1 = function () { diff --git a/tests/baselines/reference/functionLikeInParameterInitializer(target=es5).errors.txt b/tests/baselines/reference/functionLikeInParameterInitializer(target=es5).errors.txt new file mode 100644 index 0000000000000..08615eeca79b4 --- /dev/null +++ b/tests/baselines/reference/functionLikeInParameterInitializer(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== functionLikeInParameterInitializer.ts (0 errors) ==== + // error + export function bar(func = () => foo) { + let foo = "in"; + } + // error + export function baz1(func = { f() { return foo } }) { + let foo = "in"; + } + + // error + export function baz2(func = function () { return foo }) { + let foo = "in"; + } + + // error + export function baz3(func = class { x = foo }) { + let foo = "in"; + } + \ No newline at end of file diff --git a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions(target=es5).errors.txt b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions(target=es5).errors.txt index 6d2c2e9bad19e..cc88379fad258 100644 --- a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions(target=es5).errors.txt +++ b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. functionsMissingReturnStatementsAndExpressions.ts(1,16): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. functionsMissingReturnStatementsAndExpressions.ts(99,17): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. functionsMissingReturnStatementsAndExpressions.ts(107,17): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value. @@ -10,6 +11,7 @@ functionsMissingReturnStatementsAndExpressions.ts(152,15): error TS18050: The va functionsMissingReturnStatementsAndExpressions.ts(153,5): error TS1003: Identifier expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== functionsMissingReturnStatementsAndExpressions.ts (8 errors) ==== function f1(): string { ~~~~~~ diff --git a/tests/baselines/reference/generatorTransformFinalLabel(target=es5).errors.txt b/tests/baselines/reference/generatorTransformFinalLabel(target=es5).errors.txt new file mode 100644 index 0000000000000..a87ec861ce0e6 --- /dev/null +++ b/tests/baselines/reference/generatorTransformFinalLabel(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== generatorTransformFinalLabel.ts (0 errors) ==== + async function test(skip: boolean) { + if (!skip) { + await 1 + } + else { + throw Error('test') + } + } \ No newline at end of file diff --git a/tests/baselines/reference/getSetAccessorContextualTyping(target=es5).errors.txt b/tests/baselines/reference/getSetAccessorContextualTyping(target=es5).errors.txt index 24885d29dceb6..5016c50ec74fa 100644 --- a/tests/baselines/reference/getSetAccessorContextualTyping(target=es5).errors.txt +++ b/tests/baselines/reference/getSetAccessorContextualTyping(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. getSetAccessorContextualTyping.ts(8,9): error TS2322: Type 'string' is not assignable to type 'number'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== getSetAccessorContextualTyping.ts (1 errors) ==== // In the body of a get accessor with no return type annotation, // if a matching set accessor exists and that set accessor has a parameter type annotation, diff --git a/tests/baselines/reference/getSetEnumerable(target=es5).errors.txt b/tests/baselines/reference/getSetEnumerable(target=es5).errors.txt new file mode 100644 index 0000000000000..f86b805f94786 --- /dev/null +++ b/tests/baselines/reference/getSetEnumerable(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== getSetEnumerable.ts (0 errors) ==== + class GetSetEnumerableClassGet { + get prop() { return true;} + } + + class GetSetEnumerableClassSet { + set prop(value: boolean) { } + } + + class GetSetEnumerableClassGetSet { + get prop() { return true;} + set prop(value: boolean) { } + } + + const GetSetEnumerableObjectGet = { + get prop() { return true; } + }; + + const GetSetEnumerableObjectSet = { + set prop(value: boolean) { } + }; + + const GetSetEnumerableObjectGetSet = { + get prop() { return true; }, + set prop(value: boolean) { } + }; + \ No newline at end of file diff --git a/tests/baselines/reference/getterControlFlowStrictNull(target=es5).errors.txt b/tests/baselines/reference/getterControlFlowStrictNull(target=es5).errors.txt index 4210d31969dc7..05df212587683 100644 --- a/tests/baselines/reference/getterControlFlowStrictNull(target=es5).errors.txt +++ b/tests/baselines/reference/getterControlFlowStrictNull(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. getterControlFlowStrictNull.ts(2,9): error TS2366: Function lacks ending return statement and return type does not include 'undefined'. getterControlFlowStrictNull.ts(11,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'. getterControlFlowStrictNull.ts(20,9): error TS2366: Function lacks ending return statement and return type does not include 'undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== getterControlFlowStrictNull.ts (3 errors) ==== class A { a(): string | null { diff --git a/tests/baselines/reference/implicitAnyFromCircularInference(target=es5).errors.txt b/tests/baselines/reference/implicitAnyFromCircularInference(target=es5).errors.txt index 29986db55f331..598977d217a40 100644 --- a/tests/baselines/reference/implicitAnyFromCircularInference(target=es5).errors.txt +++ b/tests/baselines/reference/implicitAnyFromCircularInference(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. implicitAnyFromCircularInference.ts(2,5): error TS2502: 'a' is referenced directly or indirectly in its own type annotation. implicitAnyFromCircularInference.ts(5,5): error TS2502: 'b' is referenced directly or indirectly in its own type annotation. implicitAnyFromCircularInference.ts(6,5): error TS2502: 'c' is referenced directly or indirectly in its own type annotation. @@ -9,6 +10,7 @@ implicitAnyFromCircularInference.ts(27,14): error TS7023: 'foo' implicitly has r implicitAnyFromCircularInference.ts(44,9): error TS7023: 'x' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== implicitAnyFromCircularInference.ts (9 errors) ==== // Error expected var a: typeof a; diff --git a/tests/baselines/reference/importCallExpressionAsyncES5AMD(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionAsyncES5AMD(target=es5).errors.txt index e9e9f0fcf2e97..6875f5aa65f89 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5AMD(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionAsyncES5AMD(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== export async function fn() { const req = await import('./test') // ONE diff --git a/tests/baselines/reference/importCallExpressionAsyncES5CJS(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionAsyncES5CJS(target=es5).errors.txt new file mode 100644 index 0000000000000..a9134ec4eee89 --- /dev/null +++ b/tests/baselines/reference/importCallExpressionAsyncES5CJS(target=es5).errors.txt @@ -0,0 +1,33 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== test.ts (0 errors) ==== + export async function fn() { + const req = await import('./test') // ONE + } + + export class cl1 { + public async m() { + const req = await import('./test') // TWO + } + } + + export const obj = { + m: async () => { + const req = await import('./test') // THREE + } + } + + export class cl2 { + public p = { + m: async () => { + const req = await import('./test') // FOUR + } + } + } + + export const l = async () => { + const req = await import('./test') // FIVE + } + \ No newline at end of file diff --git a/tests/baselines/reference/importCallExpressionAsyncES5System(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionAsyncES5System(target=es5).errors.txt index 8dd6a353a2554..b4378d45394ea 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5System(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionAsyncES5System(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== export async function fn() { const req = await import('./test') // ONE diff --git a/tests/baselines/reference/importCallExpressionAsyncES5UMD(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionAsyncES5UMD(target=es5).errors.txt index 346e820da515c..29f1ecb62302e 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5UMD(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionAsyncES5UMD(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (0 errors) ==== export async function fn() { const req = await import('./test') // ONE diff --git a/tests/baselines/reference/importCallExpressionES5AMD(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionES5AMD(target=es5).errors.txt index 31f9e39e63788..ed86445473c57 100644 --- a/tests/baselines/reference/importCallExpressionES5AMD(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionES5AMD(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== 0.ts (0 errors) ==== export function foo() { return "foo"; } diff --git a/tests/baselines/reference/importCallExpressionES5CJS(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionES5CJS(target=es5).errors.txt new file mode 100644 index 0000000000000..3d8ad212a4807 --- /dev/null +++ b/tests/baselines/reference/importCallExpressionES5CJS(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== 0.ts (0 errors) ==== + export function foo() { return "foo"; } + +==== 1.ts (0 errors) ==== + import("./0"); + var p1 = import("./0"); + p1.then(zero => { + return zero.foo(); + }); + + export var p2 = import("./0"); + + function foo() { + const p2 = import("./0"); + } + + class C { + method() { + const loadAsync = import ("./0"); + } + } + + export class D { + method() { + const loadAsync = import ("./0"); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/importCallExpressionES5System(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionES5System(target=es5).errors.txt index 0fb7315d37773..226238f9ad34a 100644 --- a/tests/baselines/reference/importCallExpressionES5System(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionES5System(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== 0.ts (0 errors) ==== export function foo() { return "foo"; } diff --git a/tests/baselines/reference/importCallExpressionES5UMD(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionES5UMD(target=es5).errors.txt index ff981b39efa20..13f82213530f9 100644 --- a/tests/baselines/reference/importCallExpressionES5UMD(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionES5UMD(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== 0.ts (0 errors) ==== export function foo() { return "foo"; } diff --git a/tests/baselines/reference/importCallExpressionNestedAMD2(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionNestedAMD2(target=es5).errors.txt index 076931f140681..c5744beacb5f4 100644 --- a/tests/baselines/reference/importCallExpressionNestedAMD2(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionNestedAMD2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== foo.ts (0 errors) ==== export default "./foo"; diff --git a/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).errors.txt new file mode 100644 index 0000000000000..044e1a2dab306 --- /dev/null +++ b/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== foo.ts (0 errors) ==== + export default "./foo"; + +==== index.ts (0 errors) ==== + async function foo() { + return await import((await import("./foo")).default); + } \ No newline at end of file diff --git a/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).types b/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).types index fc8a20cdd5ba4..014828984c3d1 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).types +++ b/tests/baselines/reference/importCallExpressionNestedCJS2(target=es5).types @@ -11,6 +11,7 @@ async function foo() { return await import((await import("./foo")).default); >await import((await import("./foo")).default) : any +> : ^^^ >import((await import("./foo")).default) : Promise > : ^^^^^^^^^^^^ >(await import("./foo")).default : "./foo" diff --git a/tests/baselines/reference/importCallExpressionNestedES20152(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionNestedES20152(target=es5).errors.txt index 122ef7adececc..f6ed2a3ed69f3 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20152(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionNestedES20152(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.ts(2,18): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. index.ts(2,32): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== foo.ts (0 errors) ==== export default "./foo"; diff --git a/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).errors.txt new file mode 100644 index 0000000000000..ac59812b32663 --- /dev/null +++ b/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== foo.ts (0 errors) ==== + export default "./foo"; + +==== index.ts (0 errors) ==== + async function foo() { + return await import((await import("./foo")).default); + } + \ No newline at end of file diff --git a/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).types b/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).types index fab1134dde46f..676ada9c0e698 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).types +++ b/tests/baselines/reference/importCallExpressionNestedES20202(target=es5).types @@ -11,6 +11,7 @@ async function foo() { return await import((await import("./foo")).default); >await import((await import("./foo")).default) : any +> : ^^^ >import((await import("./foo")).default) : Promise > : ^^^^^^^^^^^^ >(await import("./foo")).default : "./foo" diff --git a/tests/baselines/reference/importCallExpressionNestedSystem2(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionNestedSystem2(target=es5).errors.txt index df96a9b44fa78..818b40dda7503 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem2(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionNestedSystem2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== foo.ts (0 errors) ==== export default "./foo"; diff --git a/tests/baselines/reference/importCallExpressionNestedUMD2(target=es5).errors.txt b/tests/baselines/reference/importCallExpressionNestedUMD2(target=es5).errors.txt index 44fd274c9d149..b3866fa76a73e 100644 --- a/tests/baselines/reference/importCallExpressionNestedUMD2(target=es5).errors.txt +++ b/tests/baselines/reference/importCallExpressionNestedUMD2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== foo.ts (0 errors) ==== export default "./foo"; diff --git a/tests/baselines/reference/importHelpers(target=es5).errors.txt b/tests/baselines/reference/importHelpers(target=es5).errors.txt new file mode 100644 index 0000000000000..ee305c7a4b2e5 --- /dev/null +++ b/tests/baselines/reference/importHelpers(target=es5).errors.txt @@ -0,0 +1,49 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== external.ts (0 errors) ==== + export class A { } + export class B extends A { } + + declare var dec: any; + + @dec + class C { + method(@dec x: number) { + } + } + + function id(x: T) { + return x; + } + + export const result = id`hello world`; + +==== script.ts (0 errors) ==== + class A { } + class B extends A { } + + declare var dec: any; + + @dec + class C { + method(@dec x: number) { + } + } + + function id(x: T) { + return x; + } + + const result = id`hello world`; + +==== node_modules/tslib/index.d.ts (0 errors) ==== + export declare function __extends(d: Function, b: Function): void; + export declare function __assign(t: any, ...sources: any[]): any; + export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; + export declare function __param(paramIndex: number, decorator: Function): Function; + export declare function __metadata(metadataKey: any, metadataValue: any): Function; + export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; + export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; + \ No newline at end of file diff --git a/tests/baselines/reference/importHelpers(target=es5).types b/tests/baselines/reference/importHelpers(target=es5).types index 56dbec9860293..25af1762c8bbe 100644 --- a/tests/baselines/reference/importHelpers(target=es5).types +++ b/tests/baselines/reference/importHelpers(target=es5).types @@ -13,9 +13,11 @@ export class B extends A { } declare var dec: any; >dec : any +> : ^^^ @dec >dec : any +> : ^^^ class C { >C : C @@ -25,6 +27,7 @@ class C { >method : (x: number) => void > : ^ ^^ ^^^^^^^^^ >dec : any +> : ^^^ >x : number > : ^^^^^^ } @@ -64,9 +67,11 @@ class B extends A { } declare var dec: any; >dec : any +> : ^^^ @dec >dec : any +> : ^^^ class C { >C : C @@ -76,6 +81,7 @@ class C { >method : (x: number) => void > : ^ ^^ ^^^^^^^^^ >dec : any +> : ^^^ >x : number > : ^^^^^^ } @@ -115,6 +121,7 @@ export declare function __assign(t: any, ...sources: any[]): any; >__assign : (t: any, ...sources: any[]) => any > : ^ ^^ ^^^^^ ^^ ^^^^^ >t : any +> : ^^^ >sources : any[] > : ^^^^^ @@ -124,9 +131,11 @@ export declare function __decorate(decorators: Function[], target: any, key?: st >decorators : Function[] > : ^^^^^^^^^^ >target : any +> : ^^^ >key : string | symbol > : ^^^^^^^^^^^^^^^ >desc : any +> : ^^^ export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function @@ -140,13 +149,17 @@ export declare function __metadata(metadataKey: any, metadataValue: any): Functi >__metadata : (metadataKey: any, metadataValue: any) => Function > : ^ ^^ ^^ ^^ ^^^^^ >metadataKey : any +> : ^^^ >metadataValue : any +> : ^^^ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >thisArg : any +> : ^^^ >_arguments : any +> : ^^^ >P : Function > : ^^^^^^^^ >generator : Function diff --git a/tests/baselines/reference/importHelpersAmd(target=es5).errors.txt b/tests/baselines/reference/importHelpersAmd(target=es5).errors.txt index 81d8ceb204ef4..1730bef55cdbc 100644 --- a/tests/baselines/reference/importHelpersAmd(target=es5).errors.txt +++ b/tests/baselines/reference/importHelpersAmd(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/importHelpersDeclarations(target=es5).errors.txt b/tests/baselines/reference/importHelpersDeclarations(target=es5).errors.txt new file mode 100644 index 0000000000000..bdaea52517281 --- /dev/null +++ b/tests/baselines/reference/importHelpersDeclarations(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== declaration.d.ts (0 errors) ==== + export declare class D { + } + export declare class E extends D { + } \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersInAmbientContext(target=es5).errors.txt b/tests/baselines/reference/importHelpersInAmbientContext(target=es5).errors.txt new file mode 100644 index 0000000000000..09df8e168224a --- /dev/null +++ b/tests/baselines/reference/importHelpersInAmbientContext(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== a.d.ts (0 errors) ==== + export { }; + + // Extends + declare class C { } + declare class D extends C { } + + // Destructuring + interface I { + ({descendants, read}?: { + descendants?: boolean; + read?: any; + }): any; + } + + + // Object Rest + interface Foo { + a: number; b: string; + } + export var { a, ...x } : Foo; + +==== b.ts (0 errors) ==== + export {}; + declare namespace N { + // Extends + class C { } + class D extends C { } + + // Destructuring + interface I { + ({descendants, read}?: { + descendants?: boolean; + read?: any; + }): any; + } + + + // Object Rest + interface Foo { + a: number; b: string; + } + export var { a, ...x } : Foo; + } + +==== tslib.d.ts (0 errors) ==== + export declare function __extends(d: Function, b: Function): void; + export declare function __assign(t: any, ...sources: any[]): any; + export declare function __rest(t: any, propertyNames: string[]): any; + export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; + export declare function __param(paramIndex: number, decorator: Function): Function; + export declare function __metadata(metadataKey: any, metadataValue: any): Function; + export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; + export declare function __generator(thisArg: any, body: Function): any; + export declare function __exportStar(m: any, exports: any): void; \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersInAmbientContext(target=es5).types b/tests/baselines/reference/importHelpersInAmbientContext(target=es5).types index b9085d78a887c..769df58f3793e 100644 --- a/tests/baselines/reference/importHelpersInAmbientContext(target=es5).types +++ b/tests/baselines/reference/importHelpersInAmbientContext(target=es5).types @@ -28,6 +28,7 @@ interface I { read?: any; >read : any +> : ^^^ }): any; } @@ -78,6 +79,7 @@ declare namespace N { read?: any; >read : any +> : ^^^ }): any; } @@ -111,6 +113,7 @@ export declare function __assign(t: any, ...sources: any[]): any; >__assign : (t: any, ...sources: any[]) => any > : ^ ^^ ^^^^^ ^^ ^^^^^ >t : any +> : ^^^ >sources : any[] > : ^^^^^ @@ -118,6 +121,7 @@ export declare function __rest(t: any, propertyNames: string[]): any; >__rest : (t: any, propertyNames: string[]) => any > : ^ ^^ ^^ ^^ ^^^^^ >t : any +> : ^^^ >propertyNames : string[] > : ^^^^^^^^ @@ -127,9 +131,11 @@ export declare function __decorate(decorators: Function[], target: any, key?: st >decorators : Function[] > : ^^^^^^^^^^ >target : any +> : ^^^ >key : string | symbol > : ^^^^^^^^^^^^^^^ >desc : any +> : ^^^ export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function @@ -143,13 +149,17 @@ export declare function __metadata(metadataKey: any, metadataValue: any): Functi >__metadata : (metadataKey: any, metadataValue: any) => Function > : ^ ^^ ^^ ^^ ^^^^^ >metadataKey : any +> : ^^^ >metadataValue : any +> : ^^^ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >thisArg : any +> : ^^^ >_arguments : any +> : ^^^ >P : Function > : ^^^^^^^^ >generator : Function @@ -159,6 +169,7 @@ export declare function __generator(thisArg: any, body: Function): any; >__generator : (thisArg: any, body: Function) => any > : ^ ^^ ^^ ^^ ^^^^^ >thisArg : any +> : ^^^ >body : Function > : ^^^^^^^^ @@ -166,5 +177,7 @@ export declare function __exportStar(m: any, exports: any): void; >__exportStar : (m: any, exports: any) => void > : ^ ^^ ^^ ^^ ^^^^^ >m : any +> : ^^^ >exports : any +> : ^^^ diff --git a/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).errors.txt b/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).errors.txt new file mode 100644 index 0000000000000..b172d6a28137b --- /dev/null +++ b/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).errors.txt @@ -0,0 +1,36 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== external.ts (0 errors) ==== + export class A { } + export class B extends A { } + + declare var dec: any; + + @dec + class C { + method(@dec x: number) { + } + } + +==== script.ts (0 errors) ==== + class A { } + class B extends A { } + + declare var dec: any; + + @dec + class C { + method(@dec x: number) { + } + } + +==== node_modules/tslib/index.d.ts (0 errors) ==== + export declare function __extends(d: Function, b: Function): void; + export declare function __assign(t: any, ...sources: any[]): any; + export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; + export declare function __param(paramIndex: number, decorator: Function): Function; + export declare function __metadata(metadataKey: any, metadataValue: any): Function; + export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; + \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).types b/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).types index bcec951637ca5..33015b2b828b8 100644 --- a/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).types +++ b/tests/baselines/reference/importHelpersInIsolatedModules(target=es5).types @@ -13,9 +13,11 @@ export class B extends A { } declare var dec: any; >dec : any +> : ^^^ @dec >dec : any +> : ^^^ class C { >C : C @@ -25,6 +27,7 @@ class C { >method : (x: number) => void > : ^ ^^ ^^^^^^^^^ >dec : any +> : ^^^ >x : number > : ^^^^^^ } @@ -43,9 +46,11 @@ class B extends A { } declare var dec: any; >dec : any +> : ^^^ @dec >dec : any +> : ^^^ class C { >C : C @@ -55,6 +60,7 @@ class C { >method : (x: number) => void > : ^ ^^ ^^^^^^^^^ >dec : any +> : ^^^ >x : number > : ^^^^^^ } @@ -73,6 +79,7 @@ export declare function __assign(t: any, ...sources: any[]): any; >__assign : (t: any, ...sources: any[]) => any > : ^ ^^ ^^^^^ ^^ ^^^^^ >t : any +> : ^^^ >sources : any[] > : ^^^^^ @@ -82,9 +89,11 @@ export declare function __decorate(decorators: Function[], target: any, key?: st >decorators : Function[] > : ^^^^^^^^^^ >target : any +> : ^^^ >key : string | symbol > : ^^^^^^^^^^^^^^^ >desc : any +> : ^^^ export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function @@ -98,13 +107,17 @@ export declare function __metadata(metadataKey: any, metadataValue: any): Functi >__metadata : (metadataKey: any, metadataValue: any) => Function > : ^ ^^ ^^ ^^ ^^^^^ >metadataKey : any +> : ^^^ >metadataValue : any +> : ^^^ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >thisArg : any +> : ^^^ >_arguments : any +> : ^^^ >P : Function > : ^^^^^^^^ >generator : Function diff --git a/tests/baselines/reference/importHelpersInTsx(target=es5).errors.txt b/tests/baselines/reference/importHelpersInTsx(target=es5).errors.txt new file mode 100644 index 0000000000000..9192f184eaf18 --- /dev/null +++ b/tests/baselines/reference/importHelpersInTsx(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== external.tsx (0 errors) ==== + declare var React: any; + declare var o: any; + export const x = + +==== script.tsx (0 errors) ==== + declare var React: any; + declare var o: any; + const x = + +==== node_modules/tslib/index.d.ts (0 errors) ==== + export declare function __extends(d: Function, b: Function): void; + export declare function __assign(t: any, ...sources: any[]): any; + export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; + export declare function __param(paramIndex: number, decorator: Function): Function; + export declare function __metadata(metadataKey: any, metadataValue: any): Function; + export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; + \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersInTsx(target=es5).types b/tests/baselines/reference/importHelpersInTsx(target=es5).types index b166d5cb97047..3e6269006fa70 100644 --- a/tests/baselines/reference/importHelpersInTsx(target=es5).types +++ b/tests/baselines/reference/importHelpersInTsx(target=es5).types @@ -3,30 +3,40 @@ === external.tsx === declare var React: any; >React : any +> : ^^^ declare var o: any; >o : any +> : ^^^ export const x = ->x : error -> : error +>x : any +> : ^^^ +> : any +> : ^^^ >span : any > : ^^^ >o : any +> : ^^^ === script.tsx === declare var React: any; >React : any +> : ^^^ declare var o: any; >o : any +> : ^^^ const x = ->x : error -> : error +>x : any +> : ^^^ +> : any +> : ^^^ >span : any > : ^^^ >o : any +> : ^^^ === node_modules/tslib/index.d.ts === export declare function __extends(d: Function, b: Function): void; @@ -41,6 +51,7 @@ export declare function __assign(t: any, ...sources: any[]): any; >__assign : (t: any, ...sources: any[]) => any > : ^ ^^ ^^^^^ ^^ ^^^^^ >t : any +> : ^^^ >sources : any[] > : ^^^^^ @@ -50,9 +61,11 @@ export declare function __decorate(decorators: Function[], target: any, key?: st >decorators : Function[] > : ^^^^^^^^^^ >target : any +> : ^^^ >key : string | symbol > : ^^^^^^^^^^^^^^^ >desc : any +> : ^^^ export declare function __param(paramIndex: number, decorator: Function): Function; >__param : (paramIndex: number, decorator: Function) => Function @@ -66,13 +79,17 @@ export declare function __metadata(metadataKey: any, metadataValue: any): Functi >__metadata : (metadataKey: any, metadataValue: any) => Function > : ^ ^^ ^^ ^^ ^^^^^ >metadataKey : any +> : ^^^ >metadataValue : any +> : ^^^ export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; >__awaiter : (thisArg: any, _arguments: any, P: Function, generator: Function) => any > : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ >thisArg : any +> : ^^^ >_arguments : any +> : ^^^ >P : Function > : ^^^^^^^^ >generator : Function diff --git a/tests/baselines/reference/importHelpersNoEmitHelpersExportDefault(target=es5).errors.txt b/tests/baselines/reference/importHelpersNoEmitHelpersExportDefault(target=es5).errors.txt new file mode 100644 index 0000000000000..0ba5d57c866be --- /dev/null +++ b/tests/baselines/reference/importHelpersNoEmitHelpersExportDefault(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== main.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/40328 + export { default as A } from "./other"; + +==== main2.ts (0 errors) ==== + export { default } from "./other"; + +==== other.ts (0 errors) ==== + export default {}; + +==== tslib.d.ts (0 errors) ==== + declare module "tslib" { + function __importDefault(m: any): void; + } \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersNoHelpers(target=es5).errors.txt b/tests/baselines/reference/importHelpersNoHelpers(target=es5).errors.txt index 4c58dcf6c2063..3ded8ecbcd970 100644 --- a/tests/baselines/reference/importHelpersNoHelpers(target=es5).errors.txt +++ b/tests/baselines/reference/importHelpersNoHelpers(target=es5).errors.txt @@ -1,4 +1,5 @@ error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. external.ts(1,1): error TS2343: This syntax requires an imported helper named '__exportStar' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. external.ts(3,16): error TS2343: This syntax requires an imported helper named '__extends' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. external.ts(7,1): error TS2343: This syntax requires an imported helper named '__decorate' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. @@ -9,6 +10,7 @@ external.ts(15,12): error TS2343: This syntax requires an imported helper named !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== external.ts (7 errors) ==== export * from "./other"; ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators(target=es5).errors.txt b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators(target=es5).errors.txt index 652f4ef43c909..6ccbc5c6fd9a6 100644 --- a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators(target=es5).errors.txt +++ b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators(target=es5).errors.txt @@ -1,4 +1,5 @@ error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,25): error TS2343: This syntax requires an imported helper named '__asyncGenerator' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. main.ts(1,25): error TS2343: This syntax requires an imported helper named '__await' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. main.ts(1,25): error TS2343: This syntax requires an imported helper named '__generator' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. @@ -7,6 +8,7 @@ main.ts(4,5): error TS2343: This syntax requires an imported helper named '__asy !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== main.ts (5 errors) ==== export async function * f() { ~ diff --git a/tests/baselines/reference/importHelpersNoModule(target=es5).errors.txt b/tests/baselines/reference/importHelpersNoModule(target=es5).errors.txt index ed5940d20f2e7..2e1cfd6dc9734 100644 --- a/tests/baselines/reference/importHelpersNoModule(target=es5).errors.txt +++ b/tests/baselines/reference/importHelpersNoModule(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. external.ts(2,16): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== external.ts (1 errors) ==== export class A { } export class B extends A { } diff --git a/tests/baselines/reference/importHelpersOutFile(target=es5).errors.txt b/tests/baselines/reference/importHelpersOutFile(target=es5).errors.txt index 2fc7e8ffeabae..debc5941c45a1 100644 --- a/tests/baselines/reference/importHelpersOutFile(target=es5).errors.txt +++ b/tests/baselines/reference/importHelpersOutFile(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/importHelpersSystem(target=es5).errors.txt b/tests/baselines/reference/importHelpersSystem(target=es5).errors.txt index 55667298e5b17..8ecf82dda31be 100644 --- a/tests/baselines/reference/importHelpersSystem(target=es5).errors.txt +++ b/tests/baselines/reference/importHelpersSystem(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt index ded6d98b530e1..2f929727b5da1 100644 --- a/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=commonjs,target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. assignmentTargets.ts(1,32): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', or 'nodenext'. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,51): error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', or 'nodenext'. @@ -21,6 +22,7 @@ scriptLookingFile01.ts(3,15): error TS1343: The 'import.meta' meta-property is o scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== example.ts (3 errors) ==== // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { diff --git a/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt index 6cb04eae554d7..8443f8b429e59 100644 --- a/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=es2020,target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. @@ -8,6 +9,7 @@ scriptLookingFile01.ts(2,22): error TS17012: 'metal' is not a valid meta-propert scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== example.ts (1 errors) ==== // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { diff --git a/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt index 6cb04eae554d7..8443f8b429e59 100644 --- a/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=esnext,target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. @@ -8,6 +9,7 @@ scriptLookingFile01.ts(2,22): error TS17012: 'metal' is not a valid meta-propert scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-property for keyword 'import'. Did you mean 'meta'? +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== example.ts (1 errors) ==== // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { diff --git a/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt b/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt index a45105e6c9bcf..b7cf8e6abc2c0 100644 --- a/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/importMeta(module=system,target=es5).errors.txt @@ -1,4 +1,5 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. assignmentTargets.ts(1,44): error TS2339: Property 'blah' does not exist on type 'ImportMeta'. assignmentTargets.ts(1,63): error TS2339: Property 'blue' does not exist on type 'ImportMeta'. assignmentTargets.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. @@ -10,6 +11,7 @@ scriptLookingFile01.ts(3,22): error TS17012: 'import' is not a valid meta-proper !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== example.ts (1 errors) ==== // Adapted from https://github.com/tc39/proposal-import-meta/tree/c3902a9ffe2e69a7ac42c19d7ea74cbdcea9b7fb#example (async () => { diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod(target=es5).errors.txt b/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod(target=es5).errors.txt index 8add1737d85e5..a2964cecc0281 100644 --- a/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod(target=es5).errors.txt +++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. inheritanceMemberAccessorOverridingMethod.ts(8,9): error TS2423: Class 'a' defines instance member function 'x', but extended class 'b' defines it as instance member accessor. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== inheritanceMemberAccessorOverridingMethod.ts (1 errors) ==== class a { x() { diff --git a/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).errors.txt b/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).errors.txt new file mode 100644 index 0000000000000..fe5cec8213f08 --- /dev/null +++ b/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== initializePropertiesWithRenamedLet.ts (0 errors) ==== + var x0; + if (true) { + let x0; + var obj1 = { x0: x0 }; + var obj2 = { x0 }; + } + + var x, y, z; + if (true) { + let { x: x } = { x: 0 }; + let { y } = { y: 0 }; + let z; + ({ z: z } = { z: 0 }); + ({ z } = { z: 0 }); + } \ No newline at end of file diff --git a/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).types b/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).types index 69ccbd7b702d9..15a25b74a2312 100644 --- a/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).types +++ b/tests/baselines/reference/initializePropertiesWithRenamedLet(target=es5).types @@ -3,6 +3,7 @@ === initializePropertiesWithRenamedLet.ts === var x0; >x0 : any +> : ^^^ if (true) { >true : true @@ -10,6 +11,7 @@ if (true) { let x0; >x0 : any +> : ^^^ var obj1 = { x0: x0 }; >obj1 : { x0: any; } @@ -17,7 +19,9 @@ if (true) { >{ x0: x0 } : { x0: any; } > : ^^^^^^^^^^^^ >x0 : any +> : ^^^ >x0 : any +> : ^^^ var obj2 = { x0 }; >obj2 : { x0: any; } @@ -25,12 +29,16 @@ if (true) { >{ x0 } : { x0: any; } > : ^^^^^^^^^^^^ >x0 : any +> : ^^^ } var x, y, z; >x : any +> : ^^^ >y : any +> : ^^^ >z : any +> : ^^^ if (true) { >true : true @@ -60,6 +68,7 @@ if (true) { let z; >z : any +> : ^^^ ({ z: z } = { z: 0 }); >({ z: z } = { z: 0 }) : { z: number; } @@ -69,7 +78,9 @@ if (true) { >{ z: z } : { z: any; } > : ^^^^^^^^^^^ >z : any +> : ^^^ >z : any +> : ^^^ >{ z: 0 } : { z: number; } > : ^^^^^^^^^^^^^^ >z : number @@ -85,6 +96,7 @@ if (true) { >{ z } : { z: any; } > : ^^^^^^^^^^^ >z : any +> : ^^^ >{ z: 0 } : { z: number; } > : ^^^^^^^^^^^^^^ >z : number diff --git a/tests/baselines/reference/inlineSourceMap(target=es5).errors.txt b/tests/baselines/reference/inlineSourceMap(target=es5).errors.txt new file mode 100644 index 0000000000000..2110b08a6774d --- /dev/null +++ b/tests/baselines/reference/inlineSourceMap(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== inlineSourceMap.ts (0 errors) ==== + var x = 0; + console.log(x); \ No newline at end of file diff --git a/tests/baselines/reference/inlineSourceMap2(target=es5).errors.txt b/tests/baselines/reference/inlineSourceMap2(target=es5).errors.txt index a75327adb984e..5ede51410eef7 100644 --- a/tests/baselines/reference/inlineSourceMap2(target=es5).errors.txt +++ b/tests/baselines/reference/inlineSourceMap2(target=es5).errors.txt @@ -1,11 +1,13 @@ error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'. error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. !!! error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== inlineSourceMap2.ts (0 errors) ==== // configuration errors diff --git a/tests/baselines/reference/inlineSources(target=es5).errors.txt b/tests/baselines/reference/inlineSources(target=es5).errors.txt index 00080a5469031..8a4cba2d0d9de 100644 --- a/tests/baselines/reference/inlineSources(target=es5).errors.txt +++ b/tests/baselines/reference/inlineSources(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== var a = 0; console.log(a); diff --git a/tests/baselines/reference/inlineSources2(target=es5).errors.txt b/tests/baselines/reference/inlineSources2(target=es5).errors.txt index 00080a5469031..8a4cba2d0d9de 100644 --- a/tests/baselines/reference/inlineSources2(target=es5).errors.txt +++ b/tests/baselines/reference/inlineSources2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== var a = 0; console.log(a); diff --git a/tests/baselines/reference/instanceofOperator(target=es5).errors.txt b/tests/baselines/reference/instanceofOperator(target=es5).errors.txt index 126d3dd80f464..0d6543605847a 100644 --- a/tests/baselines/reference/instanceofOperator(target=es5).errors.txt +++ b/tests/baselines/reference/instanceofOperator(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. instanceofOperator.ts(7,11): error TS2725: Class name cannot be 'Object' when targeting ES5 and above with module CommonJS. instanceofOperator.ts(12,5): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. instanceofOperator.ts(15,20): error TS2359: The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method. @@ -6,6 +7,7 @@ instanceofOperator.ts(19,5): error TS2358: The left-hand side of an 'instanceof' instanceofOperator.ts(21,5): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== instanceofOperator.ts (6 errors) ==== // Spec: // The instanceof operator requires the left operand to be of type Any or an object type, and the right diff --git a/tests/baselines/reference/intlNumberFormatES5UseGrouping(target=es5).errors.txt b/tests/baselines/reference/intlNumberFormatES5UseGrouping(target=es5).errors.txt index cd22de47d6941..d40dac0038e76 100644 --- a/tests/baselines/reference/intlNumberFormatES5UseGrouping(target=es5).errors.txt +++ b/tests/baselines/reference/intlNumberFormatES5UseGrouping(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. intlNumberFormatES5UseGrouping.ts(2,34): error TS2322: Type 'string' is not assignable to type 'boolean | undefined'. intlNumberFormatES5UseGrouping.ts(3,34): error TS2322: Type 'string' is not assignable to type 'boolean | undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== intlNumberFormatES5UseGrouping.ts (2 errors) ==== new Intl.NumberFormat('en-GB', { useGrouping: true }); new Intl.NumberFormat('en-GB', { useGrouping: 'true' }); // expect error diff --git a/tests/baselines/reference/invalidNewTarget.es5(target=es5).errors.txt b/tests/baselines/reference/invalidNewTarget.es5(target=es5).errors.txt index f627e1ab3d68c..b48f66785bc64 100644 --- a/tests/baselines/reference/invalidNewTarget.es5(target=es5).errors.txt +++ b/tests/baselines/reference/invalidNewTarget.es5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. invalidNewTarget.es5.ts(1,11): error TS17013: Meta-property 'new.target' is only allowed in the body of a function declaration, function expression, or constructor. invalidNewTarget.es5.ts(2,17): error TS17013: Meta-property 'new.target' is only allowed in the body of a function declaration, function expression, or constructor. invalidNewTarget.es5.ts(5,6): error TS17013: Meta-property 'new.target' is only allowed in the body of a function declaration, function expression, or constructor. @@ -17,6 +18,7 @@ invalidNewTarget.es5.ts(22,20): error TS17013: Meta-property 'new.target' is onl invalidNewTarget.es5.ts(23,8): error TS17013: Meta-property 'new.target' is only allowed in the body of a function declaration, function expression, or constructor. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== invalidNewTarget.es5.ts (17 errors) ==== const a = new.target; ~~~~~~~~~~ diff --git a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences(target=es5).errors.txt b/tests/baselines/reference/invalidTaggedTemplateEscapeSequences(target=es5).errors.txt index 2b8b012e7d601..bc8ab9c710835 100644 --- a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences(target=es5).errors.txt +++ b/tests/baselines/reference/invalidTaggedTemplateEscapeSequences(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. invalidTaggedTemplateEscapeSequences.ts(8,15): error TS1125: Hexadecimal digit expected. invalidTaggedTemplateEscapeSequences.ts(8,33): error TS1125: Hexadecimal digit expected. invalidTaggedTemplateEscapeSequences.ts(8,75): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== invalidTaggedTemplateEscapeSequences.ts (3 errors) ==== function tag (str: any, ...args: any[]): any { return str diff --git a/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).errors.txt b/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).errors.txt new file mode 100644 index 0000000000000..0ede639426610 --- /dev/null +++ b/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).errors.txt @@ -0,0 +1,73 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== isDeclarationVisibleNodeKinds.ts (0 errors) ==== + // Function types + namespace schema { + export function createValidator1(schema: any): (data: T) => T { + return undefined; + } + } + + // Constructor types + namespace schema { + export function createValidator2(schema: any): new (data: T) => T { + return undefined; + } + } + + // union types + namespace schema { + export function createValidator3(schema: any): number | { new (data: T): T; } { + return undefined; + } + } + + // Array types + namespace schema { + export function createValidator4(schema: any): { new (data: T): T; }[] { + return undefined; + } + } + + + // TypeLiterals + namespace schema { + export function createValidator5(schema: any): { new (data: T): T } { + return undefined; + } + } + + // Tuple types + namespace schema { + export function createValidator6(schema: any): [ new (data: T) => T, number] { + return undefined; + } + } + + // Paren Types + namespace schema { + export function createValidator7(schema: any): (new (data: T)=>T )[] { + return undefined; + } + } + + // Type reference + namespace schema { + export function createValidator8(schema: any): Array<{ (data: T) : T}> { + return undefined; + } + } + + + namespace schema { + export class T { + get createValidator9(): (data: T) => T { + return undefined; + } + + set createValidator10(v: (data: T) => T) { + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).types b/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).types index f1be37e0fba0c..41f37fb7b3629 100644 --- a/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).types +++ b/tests/baselines/reference/isDeclarationVisibleNodeKinds(target=es5).types @@ -10,6 +10,7 @@ namespace schema { >createValidator1 : (schema: any) => (data: T) => T > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -28,6 +29,7 @@ namespace schema { >createValidator2 : (schema: any) => new (data: T) => T > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -46,6 +48,7 @@ namespace schema { >createValidator3 : (schema: any) => number | { new (data: T): T; } > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -64,6 +67,7 @@ namespace schema { >createValidator4 : (schema: any) => { new (data: T): T; }[] > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -83,6 +87,7 @@ namespace schema { >createValidator5 : (schema: any) => { new (data: T): T; } > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -101,6 +106,7 @@ namespace schema { >createValidator6 : (schema: any) => [new (data: T) => T, number] > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -119,6 +125,7 @@ namespace schema { >createValidator7 : (schema: any) => (new (data: T) => T)[] > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ @@ -137,6 +144,7 @@ namespace schema { >createValidator8 : (schema: any) => Array<{ (data: T): T; }> > : ^ ^^ ^^^^^ >schema : any +> : ^^^ >data : T > : ^ diff --git a/tests/baselines/reference/isolatedModulesImportExportElision(target=es5).errors.txt b/tests/baselines/reference/isolatedModulesImportExportElision(target=es5).errors.txt index 77a7a49f3d7f6..1d0d5c5d7d4a7 100644 --- a/tests/baselines/reference/isolatedModulesImportExportElision(target=es5).errors.txt +++ b/tests/baselines/reference/isolatedModulesImportExportElision(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. file1.ts(1,17): error TS2307: Cannot find module 'module' or its corresponding type declarations. file1.ts(2,18): error TS2307: Cannot find module 'module' or its corresponding type declarations. file1.ts(3,21): error TS2307: Cannot find module 'module' or its corresponding type declarations. file1.ts(11,18): error TS2307: Cannot find module 'module' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (4 errors) ==== import {c} from "module" ~~~~~~~~ diff --git a/tests/baselines/reference/isolatedModulesPlainFile-AMD(target=es5).errors.txt b/tests/baselines/reference/isolatedModulesPlainFile-AMD(target=es5).errors.txt index 446077b024f6d..dbde9917c3121 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-AMD(target=es5).errors.txt +++ b/tests/baselines/reference/isolatedModulesPlainFile-AMD(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== isolatedModulesPlainFile-AMD.ts (0 errors) ==== declare function run(a: number): void; run(1); diff --git a/tests/baselines/reference/isolatedModulesPlainFile-CommonJS(target=es5).errors.txt b/tests/baselines/reference/isolatedModulesPlainFile-CommonJS(target=es5).errors.txt new file mode 100644 index 0000000000000..fd2b4f7b2f7d5 --- /dev/null +++ b/tests/baselines/reference/isolatedModulesPlainFile-CommonJS(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== isolatedModulesPlainFile-CommonJS.ts (0 errors) ==== + declare function run(a: number): void; + run(1); + \ No newline at end of file diff --git a/tests/baselines/reference/isolatedModulesPlainFile-System(target=es5).errors.txt b/tests/baselines/reference/isolatedModulesPlainFile-System(target=es5).errors.txt index 39a0a212feeda..957c2887be679 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-System(target=es5).errors.txt +++ b/tests/baselines/reference/isolatedModulesPlainFile-System(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== isolatedModulesPlainFile-System.ts (0 errors) ==== declare function run(a: number): void; run(1); diff --git a/tests/baselines/reference/isolatedModulesPlainFile-UMD(target=es5).errors.txt b/tests/baselines/reference/isolatedModulesPlainFile-UMD(target=es5).errors.txt index 4628c31cb408a..6d93343f9e747 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-UMD(target=es5).errors.txt +++ b/tests/baselines/reference/isolatedModulesPlainFile-UMD(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== isolatedModulesPlainFile-UMD.ts (0 errors) ==== declare function run(a: number): void; run(1); diff --git a/tests/baselines/reference/iterableWithNeverAsUnionMember(target=es5).errors.txt b/tests/baselines/reference/iterableWithNeverAsUnionMember(target=es5).errors.txt new file mode 100644 index 0000000000000..ff6d035b56461 --- /dev/null +++ b/tests/baselines/reference/iterableWithNeverAsUnionMember(target=es5).errors.txt @@ -0,0 +1,34 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== iterableWithNeverAsUnionMember.ts (0 errors) ==== + declare const o1: { a: "foo" } & { a: "bar" }; + const [el1] = o1; // error + + // https://github.com/microsoft/TypeScript/issues/62462 + declare var x: number[] | ({ t: "a" } & { t: "b" }); + let [el2] = x; // ok + + for (const elem of x) { // ok + elem.toFixed(); + } + + type Shape = + | { kind: "circle"; radius: number } + | { kind: "rectangle"; width: number; height: number }; + + type Circle = Shape & { kind: "circle" }; + + function doStuffWithCircle(arg: Circle | [Circle, (newValue: Circle) => void]) { + if (Array.isArray(arg)) { + let [value, setValue] = arg; // ok + } + } + + function f1(x: T) { + let [y] = x; // error + } + + declare const o2: ({ a: "foo" } & { a: "bar" }) | ({ b: "qwe" } & { b: "rty" }); + const [el3] = o2; // error \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).errors.txt new file mode 100644 index 0000000000000..35139fc0cda05 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== cls.js (0 errors) ==== + const Bar = require("./bar"); + const Strings = { + a: "A", + b: "B" + }; + class Foo extends Bar {} + module.exports = Foo; + module.exports.Strings = Strings; +==== bar.js (0 errors) ==== + class Bar {} + module.exports = Bar; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).types b/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).types index 7918a8b36b49b..9264fb8fd52b1 100644 --- a/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsClassExtendsVisibility(target=es5).types @@ -7,6 +7,7 @@ const Bar = require("./bar"); >require("./bar") : typeof Bar > : ^^^^^^^^^^ >require : any +> : ^^^ >"./bar" : "./bar" > : ^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization(target=es5).errors.txt new file mode 100644 index 0000000000000..a1c5a63f961b4 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsClassImplementsGenericsSerialization(target=es5).errors.txt @@ -0,0 +1,27 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== interface.ts (0 errors) ==== + export interface Encoder { + encode(value: T): Uint8Array + } +==== lib.js (0 errors) ==== + /** + * @template T + * @implements {IEncoder} + */ + export class Encoder { + /** + * @param {T} value + */ + encode(value) { + return new Uint8Array(0) + } + } + + + /** + * @template T + * @typedef {import('./interface').Encoder} IEncoder + */ \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).errors.txt new file mode 100644 index 0000000000000..5213e80122393 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== bar.js (0 errors) ==== + export class Z { + f(x = 1, y) { + return [x, y]; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).types b/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).types index 5777db1925c90..6bc8c31b81146 100644 --- a/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsClassLeadingOptional(target=es5).types @@ -13,6 +13,7 @@ export class Z { >1 : 1 > : ^ >y : any +> : ^^^ return [x, y]; >[x, y] : any[] @@ -20,5 +21,6 @@ export class Z { >x : number > : ^^^^^^ >y : any +> : ^^^ } } diff --git a/tests/baselines/reference/jsDeclarationsClassLikeHeuristic(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassLikeHeuristic(target=es5).errors.txt index ba131b816fda2..0d496f8970ba2 100644 --- a/tests/baselines/reference/jsDeclarationsClassLikeHeuristic(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsClassLikeHeuristic(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.js(4,3): error TS2339: Property 'prototype' does not exist on type '{}'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.js (1 errors) ==== // https://github.com/microsoft/TypeScript/issues/35801 let A; diff --git a/tests/baselines/reference/jsDeclarationsClassStatic(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassStatic(target=es5).errors.txt new file mode 100644 index 0000000000000..b7b82d5b58506 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsClassStatic(target=es5).errors.txt @@ -0,0 +1,28 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + class Handler { + static get OPTIONS() { + return 1; + } + + process() { + } + } + Handler.statische = function() { } + const Strings = { + a: "A", + b: "B" + } + + module.exports = Handler; + module.exports.Strings = Strings + + /** + * @typedef {Object} HandlerOptions + * @property {String} name + * Should be able to export a type alias at the same time. + */ + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClassStaticMethodAugmentation(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassStaticMethodAugmentation(target=es5).errors.txt new file mode 100644 index 0000000000000..de5fa0a9fc6db --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsClassStaticMethodAugmentation(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + export class Clazz { + static method() { } + } + + Clazz.method.prop = 5; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClasses(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClasses(target=es5).errors.txt new file mode 100644 index 0000000000000..a19efd86de4be --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsClasses(target=es5).errors.txt @@ -0,0 +1,199 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + export class A {} + + export class B { + static cat = "cat"; + } + + export class C { + static Cls = class {} + } + + export class D { + /** + * @param {number} a + * @param {number} b + */ + constructor(a, b) {} + } + + /** + * @template T,U + */ + export class E { + /** + * @type {T & U} + */ + field; + + // @readonly is currently unsupported, it seems - included here just in case that changes + /** + * @type {T & U} + * @readonly + */ + readonlyField; + + initializedField = 12; + + /** + * @return {U} + */ + get f1() { return /** @type {*} */(null); } + + /** + * @param {U} _p + */ + set f1(_p) {} + + /** + * @return {U} + */ + get f2() { return /** @type {*} */(null); } + + /** + * @param {U} _p + */ + set f3(_p) {} + + /** + * @param {T} a + * @param {U} b + */ + constructor(a, b) {} + + + /** + * @type {string} + */ + static staticField; + + // @readonly is currently unsupported, it seems - included here just in case that changes + /** + * @type {string} + * @readonly + */ + static staticReadonlyField; + + static staticInitializedField = 12; + + /** + * @return {string} + */ + static get s1() { return ""; } + + /** + * @param {string} _p + */ + static set s1(_p) {} + + /** + * @return {string} + */ + static get s2() { return ""; } + + /** + * @param {string} _p + */ + static set s3(_p) {} + } + + /** + * @template T,U + */ + export class F { + /** + * @type {T & U} + */ + field; + /** + * @param {T} a + * @param {U} b + */ + constructor(a, b) {} + + /** + * @template A,B + * @param {A} a + * @param {B} b + */ + static create(a, b) { return new F(a, b); } + } + + class G {} + + export { G }; + + class HH {} + + export { HH as H }; + + export class I {} + export { I as II }; + + export { J as JJ }; + export class J {} + + + export class K { + constructor() { + this.p1 = 12; + this.p2 = "ok"; + } + + method() { + return this.p1; + } + } + + export class L extends K {} + + export class M extends null { + constructor() { + this.prop = 12; + } + } + + + /** + * @template T + */ + export class N extends L { + /** + * @param {T} param + */ + constructor(param) { + super(); + this.another = param; + } + } + + /** + * @template U + * @extends {N} + */ + export class O extends N { + /** + * @param {U} param + */ + constructor(param) { + super(param); + this.another2 = param; + } + } + + var x = /** @type {*} */(null); + + export class VariableBase extends x {} + + export class HasStatics { + static staticMethod() {} + } + + export class ExtendsStatics extends HasStatics { + static also() {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsClasses(target=es5).types b/tests/baselines/reference/jsDeclarationsClasses(target=es5).types index 02d06cb9a3656..784c2fc617e75 100644 --- a/tests/baselines/reference/jsDeclarationsClasses(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsClasses(target=es5).types @@ -78,6 +78,7 @@ export class E { >f1 : U > : ^ >(null) : any +> : ^^^ /** * @param {U} _p @@ -95,6 +96,7 @@ export class E { >f2 : U > : ^ >(null) : any +> : ^^^ /** * @param {U} _p @@ -269,6 +271,7 @@ export class K { >this.p1 = 12 : 12 > : ^^ >this.p1 : any +> : ^^^ >this : this > : ^^^^ >p1 : any @@ -280,6 +283,7 @@ export class K { >this.p2 = "ok" : "ok" > : ^^^^ >this.p2 : any +> : ^^^ >this : this > : ^^^^ >p2 : any @@ -317,6 +321,7 @@ export class M extends null { >this.prop = 12 : 12 > : ^^ >this.prop : any +> : ^^^ >this : this > : ^^^^ >prop : any @@ -353,6 +358,7 @@ export class N extends L { >this.another = param : T > : ^ >this.another : any +> : ^^^ >this : this > : ^^^^ >another : any @@ -391,6 +397,7 @@ export class O extends N { >this.another2 = param : U > : ^ >this.another2 : any +> : ^^^ >this : this > : ^^^^ >another2 : any @@ -402,12 +409,15 @@ export class O extends N { var x = /** @type {*} */(null); >x : any +> : ^^^ >(null) : any +> : ^^^ export class VariableBase extends x {} >VariableBase : VariableBase > : ^^^^^^^^^^^^ >x : any +> : ^^^ export class HasStatics { >HasStatics : HasStatics diff --git a/tests/baselines/reference/jsDeclarationsClassesErr(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsClassesErr(target=es5).errors.txt index 548135e903adc..50b2c4f2fce63 100644 --- a/tests/baselines/reference/jsDeclarationsClassesErr(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsClassesErr(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.js(4,16): error TS8004: Type parameter declarations can only be used in TypeScript files. index.js(5,12): error TS8010: Type annotations can only be used in TypeScript files. index.js(8,16): error TS8004: Type parameter declarations can only be used in TypeScript files. @@ -21,6 +22,7 @@ index.js(67,11): error TS8010: Type annotations can only be used in TypeScript f index.js(68,11): error TS8010: Type annotations can only be used in TypeScript files. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.js (21 errors) ==== // Pretty much all of this should be an error, (since index signatures and generics are forbidden in js), // but we should be able to synthesize declarations from the symbols regardless diff --git a/tests/baselines/reference/jsDeclarationsComputedNames(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsComputedNames(target=es5).errors.txt new file mode 100644 index 0000000000000..a81421aadea07 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsComputedNames(target=es5).errors.txt @@ -0,0 +1,31 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + const TopLevelSym = Symbol(); + const InnerSym = Symbol(); + module.exports = { + [TopLevelSym](x = 12) { + return x; + }, + items: { + [InnerSym]: (arg = {x: 12}) => arg.x + } + } + +==== index2.js (0 errors) ==== + const TopLevelSym = Symbol(); + const InnerSym = Symbol(); + + export class MyClass { + static [TopLevelSym] = 12; + [InnerSym] = "ok"; + /** + * @param {typeof TopLevelSym | typeof InnerSym} _p + */ + constructor(_p = InnerSym) { + // switch on _p + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsCrossfileMerge(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsCrossfileMerge(target=es5).errors.txt index 8880526df413f..def659d3f2be3 100644 --- a/tests/baselines/reference/jsDeclarationsCrossfileMerge(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsCrossfileMerge(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.js(4,1): error TS6232: Declaration augments declaration in another file. This cannot be serialized. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.js (1 errors) ==== const m = require("./exporter"); diff --git a/tests/baselines/reference/jsDeclarationsDefault(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsDefault(target=es5).errors.txt new file mode 100644 index 0000000000000..aa36abfbbafef --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsDefault(target=es5).errors.txt @@ -0,0 +1,42 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index1.js (0 errors) ==== + export default 12; + +==== index2.js (0 errors) ==== + export default function foo() { + return foo; + } + export const x = foo; + export { foo as bar }; + +==== index3.js (0 errors) ==== + export default class Foo { + a = /** @type {Foo} */(null); + }; + export const X = Foo; + export { Foo as Bar }; + +==== index4.js (0 errors) ==== + import Fab from "./index3"; + class Bar extends Fab { + x = /** @type {Bar} */(null); + } + export default Bar; + +==== index5.js (0 errors) ==== + // merge type alias and const (OK) + export default 12; + /** + * @typedef {string | number} default + */ + +==== index6.js (0 errors) ==== + // merge type alias and function (OK) + export default function func() {}; + /** + * @typedef {string | number} default + */ + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsDefaultsErr(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsDefaultsErr(target=es5).errors.txt index 72961c4893549..3fedf22f954d0 100644 --- a/tests/baselines/reference/jsDeclarationsDefaultsErr(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsDefaultsErr(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index2.js(2,22): error TS2300: Duplicate identifier 'C'. index2.js(4,31): error TS2300: Duplicate identifier 'default'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index1.js (0 errors) ==== // merge type alias and alias (should error, see #32367) class Cls { diff --git a/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).errors.txt new file mode 100644 index 0000000000000..e20d8c7751181 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index1.js (0 errors) ==== + /** + * const doc comment + */ + const x = (a) => { + return ''; + }; + + /** + * function doc comment + */ + function b() { + return 0; + } + + module.exports = {x, b} \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).types b/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).types index b03c01ecfe21a..da48b07cb199f 100644 --- a/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts(target=es5).types @@ -10,6 +10,7 @@ const x = (a) => { >(a) => { return '';} : (a: any) => string > : ^ ^^^^^^^^^^^^^^^^ >a : any +> : ^^^ return ''; >'' : "" diff --git a/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).errors.txt new file mode 100644 index 0000000000000..5deb00c23fa54 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).errors.txt @@ -0,0 +1,53 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + /** @enum {string} */ + export const Target = { + START: "start", + MIDDLE: "middle", + END: "end", + /** @type {number} */ + OK_I_GUESS: 2 + } + /** @enum number */ + export const Second = { + OK: 1, + /** @type {number} */ + FINE: 2, + } + /** @enum {function(number): number} */ + export const Fs = { + ADD1: n => n + 1, + ID: n => n, + SUB1: n => n - 1 + } + + /** + * @param {Target} t + * @param {Second} s + * @param {Fs} f + */ + export function consume(t,s,f) { + /** @type {string} */ + var str = t + /** @type {number} */ + var num = s + /** @type {(n: number) => number} */ + var fun = f + /** @type {Target} */ + var v = Target.START + v = 'something else' // allowed, like Typescript's classic enums and unlike its string enums + } + /** @param {string} s */ + export function ff(s) { + // element access with arbitrary string is an error only with noImplicitAny + if (!Target[s]) { + return null + } + else { + return Target[s] + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).types b/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).types index 0a15e726709b9..0e32be209fc8b 100644 --- a/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsEnumTag(target=es5).types @@ -66,8 +66,11 @@ export const Fs = { >n => n + 1 : (n: any) => any > : ^ ^^^^^^^^^^^^^ >n : any +> : ^^^ >n + 1 : any +> : ^^^ >n : any +> : ^^^ >1 : 1 > : ^ @@ -77,7 +80,9 @@ export const Fs = { >n => n : (n: any) => any > : ^ ^^^^^^^^^^^^^ >n : any +> : ^^^ >n : any +> : ^^^ SUB1: n => n - 1 >SUB1 : (n: any) => number @@ -85,9 +90,11 @@ export const Fs = { >n => n - 1 : (n: any) => number > : ^ ^^^^^^^^^^^^^^^^ >n : any +> : ^^^ >n - 1 : number > : ^^^^^^ >n : any +> : ^^^ >1 : 1 > : ^ } @@ -158,7 +165,8 @@ export function ff(s) { if (!Target[s]) { >!Target[s] : boolean > : ^^^^^^^ ->Target[s] : error +>Target[s] : any +> : ^^^ >Target : { START: string; MIDDLE: string; END: string; OK_I_GUESS: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >s : string @@ -168,7 +176,8 @@ export function ff(s) { } else { return Target[s] ->Target[s] : error +>Target[s] : any +> : ^^^ >Target : { START: string; MIDDLE: string; END: string; OK_I_GUESS: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >s : string diff --git a/tests/baselines/reference/jsDeclarationsEnums(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsEnums(target=es5).errors.txt index 05318558ddaf4..90d7d53bae37d 100644 --- a/tests/baselines/reference/jsDeclarationsEnums(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsEnums(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.js(4,13): error TS8006: 'enum' declarations can only be used in TypeScript files. index.js(6,13): error TS8006: 'enum' declarations can only be used in TypeScript files. index.js(10,6): error TS8006: 'enum' declarations can only be used in TypeScript files. @@ -12,6 +13,7 @@ index.js(47,13): error TS8006: 'enum' declarations can only be used in TypeScrip index.js(55,19): error TS8006: 'enum' declarations can only be used in TypeScript files. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.js (12 errors) ==== // Pretty much all of this should be an error, (since enums are forbidden in js), // but we should be able to synthesize declarations from the symbols regardless diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).errors.txt new file mode 100644 index 0000000000000..cb9070faee72c --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + module.exports = class Thing { + /** + * @param {number} p + */ + constructor(p) { + this.t = 12 + p; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).types b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).types index b878f2037345e..a91ac3e1c1e5b 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression(target=es5).types @@ -26,6 +26,7 @@ module.exports = class Thing { >this.t = 12 + p : number > : ^^^^^^ >this.t : any +> : ^^^ >this : this > : ^^^^ >t : any diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).errors.txt new file mode 100644 index 0000000000000..137d7a0da5f95 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + module.exports = class { + /** + * @param {number} p + */ + constructor(p) { + this.t = 12 + p; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).types b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).types index cc92214a279ca..8730791aa75e8 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous(target=es5).types @@ -24,6 +24,7 @@ module.exports = class { >this.t = 12 + p : number > : ^^^^^^ >this.t : any +> : ^^^ >this : this > : ^^^^ >t : any diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).errors.txt new file mode 100644 index 0000000000000..d36ec38a2b631 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + module.exports = class { + /** + * @param {number} p + */ + constructor(p) { + this.t = 12 + p; + } + } + module.exports.Sub = class { + constructor() { + this.instance = new module.exports(10); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).types b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).types index d68c87dca2197..cda702257cabf 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub(target=es5).types @@ -24,6 +24,7 @@ module.exports = class { >this.t = 12 + p : number > : ^^^^^^ >this.t : any +> : ^^^ >this : this > : ^^^^ >t : any @@ -57,6 +58,7 @@ module.exports.Sub = class { >this.instance = new module.exports(10) : import("index") > : ^^^^^^^^^^^^^^^ >this.instance : any +> : ^^^ >this : this > : ^^^^ >instance : any diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).errors.txt new file mode 100644 index 0000000000000..0f3e115144596 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + class A { + member = new Q(); + } + class Q { + x = 42; + } + module.exports = class Q { + constructor() { + this.x = new A(); + } + } + module.exports.Another = Q; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).types b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).types index 2533b4e1c4463..37c782079942f 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing(target=es5).types @@ -42,6 +42,7 @@ module.exports = class Q { >this.x = new A() : A > : ^ >this.x : any +> : ^^^ >this : this > : ^^^^ >x : any diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1(target=es5).errors.txt new file mode 100644 index 0000000000000..ad8fc221bc6a3 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + class Foo {} + + module.exports = new Foo(); \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2(target=es5).errors.txt new file mode 100644 index 0000000000000..aa310f37a0db0 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + class Foo { + static stat = 10; + member = 10; + } + + module.exports = new Foo(); \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3(target=es5).errors.txt new file mode 100644 index 0000000000000..acbfe57a3a629 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + class Foo { + static stat = 10; + member = 10; + } + + module.exports = new Foo(); + + module.exports.additional = 20; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..a72003ead0193 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== jsDeclarationsExportAssignedConstructorFunction.js (0 errors) ==== + /** @constructor */ + module.exports.MyClass = function() { + this.x = 1 + } + module.exports.MyClass.prototype = { + a: function() { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).types b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).types index 6e80092726ba8..e2446e496a1e6 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction(target=es5).types @@ -22,6 +22,7 @@ module.exports.MyClass = function() { >this.x = 1 : 1 > : ^ >this.x : any +> : ^^^ >this : this > : ^^^^ >x : any diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es5).errors.txt index bb3b678582382..8fbd6fe8e5782 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. jsDeclarationsExportAssignedConstructorFunctionWithSub.js(4,1): error TS9005: Declaration emit for this file requires using private name 'Sub'. An explicit type annotation may unblock declaration emit. jsDeclarationsExportAssignedConstructorFunctionWithSub.js(4,1): error TS9005: Declaration emit for this file requires using private name 'exports'. An explicit type annotation may unblock declaration emit. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== jsDeclarationsExportAssignedConstructorFunctionWithSub.js (2 errors) ==== /** * @param {number} p diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).errors.txt new file mode 100644 index 0000000000000..d1c7e15171f58 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + const Obj = require("./obj"); + + class Container { + constructor() { + this.usage = new Obj(); + } + } + + module.exports = Container; +==== obj.js (0 errors) ==== + module.exports = class Obj { + constructor() { + this.x = 12; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).types b/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).types index ec3ec831d58f5..21e7630b78f36 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportAssignedVisibility(target=es5).types @@ -7,6 +7,7 @@ const Obj = require("./obj"); >require("./obj") : typeof Obj > : ^^^^^^^^^^ >require : any +> : ^^^ >"./obj" : "./obj" > : ^^^^^^^ @@ -19,6 +20,7 @@ class Container { >this.usage = new Obj() : Obj > : ^^^ >this.usage : any +> : ^^^ >this : this > : ^^^^ >usage : any @@ -62,6 +64,7 @@ module.exports = class Obj { >this.x = 12 : 12 > : ^^ >this.x : any +> : ^^^ >this : this > : ^^^^ >x : any diff --git a/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary(target=es5).errors.txt new file mode 100644 index 0000000000000..e3243e4fa6e1a --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + const Strings = { + a: "A", + b: "B" + }; + module.exports = { + thing: "ok", + also: "ok", + desc: { + item: "ok" + } + }; + module.exports.Strings = Strings; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName(target=es5).errors.txt new file mode 100644 index 0000000000000..d48f312c0153e --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + var x = 12; + module.exports = { + extends: 'base', + more: { + others: ['strs'] + }, + x + }; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportForms(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportForms(target=es5).errors.txt new file mode 100644 index 0000000000000..4f831769073f0 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportForms(target=es5).errors.txt @@ -0,0 +1,61 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== cls.js (0 errors) ==== + export class Foo {} + +==== func.js (0 errors) ==== + export function func() {} + +==== bar.js (0 errors) ==== + export * from "./cls"; + +==== bar2.js (0 errors) ==== + export * from "./func"; + export * from "./cls"; + +==== baz.js (0 errors) ==== + import {Foo} from "./cls"; + export {Foo}; + +==== bat.js (0 errors) ==== + import * as ns from "./cls"; + export default ns; + +==== ban.js (0 errors) ==== + import * as ns from "./cls"; + export {ns}; + +==== bol.js (0 errors) ==== + import * as ns from "./cls"; + export { ns as classContainer }; + +==== cjs.js (0 errors) ==== + const ns = require("./cls"); + module.exports = { ns }; + +==== cjs2.js (0 errors) ==== + const ns = require("./cls"); + module.exports = ns; + +==== cjs3.js (0 errors) ==== + const ns = require("./cls"); + module.exports.ns = ns; + +==== cjs4.js (0 errors) ==== + const ns = require("./cls"); + module.exports.names = ns; + +==== includeAll.js (0 errors) ==== + import "./cjs4"; + import "./cjs3"; + import "./cjs2"; + import "./cjs"; + import "./bol"; + import "./ban"; + import "./bat"; + import "./baz"; + import "./bar"; + import "./bar2"; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportForms(target=es5).types b/tests/baselines/reference/jsDeclarationsExportForms(target=es5).types index 46be34d410a20..af17a9f082cca 100644 --- a/tests/baselines/reference/jsDeclarationsExportForms(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsExportForms(target=es5).types @@ -64,6 +64,7 @@ const ns = require("./cls"); >require("./cls") : typeof ns > : ^^^^^^^^^ >require : any +> : ^^^ >"./cls" : "./cls" > : ^^^^^^^ @@ -88,6 +89,7 @@ const ns = require("./cls"); >require("./cls") : typeof ns > : ^^^^^^^^^ >require : any +> : ^^^ >"./cls" : "./cls" > : ^^^^^^^ @@ -110,6 +112,7 @@ const ns = require("./cls"); >require("./cls") : typeof ns > : ^^^^^^^^^ >require : any +> : ^^^ >"./cls" : "./cls" > : ^^^^^^^ @@ -136,6 +139,7 @@ const ns = require("./cls"); >require("./cls") : typeof ns > : ^^^^^^^^^ >require : any +> : ^^^ >"./cls" : "./cls" > : ^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsExportFormsErr(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportFormsErr(target=es5).errors.txt index b2959017f78cd..cc41d5963c95b 100644 --- a/tests/baselines/reference/jsDeclarationsExportFormsErr(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsExportFormsErr(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. bar.js(1,1): error TS8002: 'import ... =' can only be used in TypeScript files. bar.js(2,1): error TS8003: 'export =' can only be used in TypeScript files. bin.js(2,1): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. globalNs.js(2,1): error TS1315: Global module exports may only appear in declaration files. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== cls.js (0 errors) ==== export class Foo {} diff --git a/tests/baselines/reference/jsDeclarationsExportSpecifierNonlocal(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportSpecifierNonlocal(target=es5).errors.txt new file mode 100644 index 0000000000000..5e9007f53d18c --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportSpecifierNonlocal(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + export class Thing {} + export class OtherThing {} +==== index.js (0 errors) ==== + export { Thing, OtherThing as default } from "./source"; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsExportSubAssignments(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsExportSubAssignments(target=es5).errors.txt new file mode 100644 index 0000000000000..048c8bfbc7e21 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsExportSubAssignments(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== cls.js (0 errors) ==== + const Strings = { + a: "A", + b: "B" + }; + class Foo {} + module.exports = Foo; + module.exports.Strings = Strings; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).errors.txt new file mode 100644 index 0000000000000..e2f188febb4af --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).errors.txt @@ -0,0 +1,74 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== timer.js (0 errors) ==== + /** + * @param {number} timeout + */ + function Timer(timeout) { + this.timeout = timeout; + } + module.exports = Timer; +==== hook.js (0 errors) ==== + /** + * @typedef {(arg: import("./context")) => void} HookHandler + */ + /** + * @param {HookHandler} handle + */ + function Hook(handle) { + this.handle = handle; + } + module.exports = Hook; + +==== context.js (0 errors) ==== + /** + * Imports + * + * @typedef {import("./timer")} Timer + * @typedef {import("./hook")} Hook + * @typedef {import("./hook").HookHandler} HookHandler + */ + + /** + * Input type definition + * + * @typedef {Object} Input + * @prop {Timer} timer + * @prop {Hook} hook + */ + + /** + * State type definition + * + * @typedef {Object} State + * @prop {Timer} timer + * @prop {Hook} hook + */ + + /** + * New `Context` + * + * @class + * @param {Input} input + */ + + function Context(input) { + if (!(this instanceof Context)) { + return new Context(input) + } + this.state = this.construct(input); + } + Context.prototype = { + /** + * @param {Input} input + * @param {HookHandler=} handle + * @returns {State} + */ + construct(input, handle = () => void 0) { + return input; + } + } + module.exports = Context; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).types b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).types index 28662824db2f9..37efd699ea4c7 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment(target=es5).types @@ -14,6 +14,7 @@ function Timer(timeout) { >this.timeout = timeout : number > : ^^^^^^ >this.timeout : any +> : ^^^ >this : this > : ^^^^ >timeout : any @@ -50,6 +51,7 @@ function Hook(handle) { >this.handle = handle : HookHandler > : ^^^^^^^^^^^ >this.handle : any +> : ^^^ >this : this > : ^^^^ >handle : any @@ -131,6 +133,7 @@ function Context(input) { >this.state = this.construct(input) : State > : ^^^^^ >this.state : any +> : ^^^ >this : this & { construct(input: Input, handle?: HookHandler | undefined): State; } > : ^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^ ^^^ >state : any diff --git a/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).errors.txt new file mode 100644 index 0000000000000..5cd4d710363b8 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).errors.txt @@ -0,0 +1,40 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + /** + * Foos a bar together using an `a` and a `b` + * @param {number} a + * @param {string} b + */ + export function foo(a, b) {} + + /** + * Legacy - DO NOT USE + */ + export class Aleph { + /** + * Impossible to construct. + * @param {Aleph} a + * @param {null} b + */ + constructor(a, b) { + /** + * Field is always null + */ + this.field = b; + } + + /** + * Doesn't actually do anything + * @returns {void} + */ + doIt() {} + } + + /** + * Not the speed of light + */ + export const c = 12; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).types b/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).types index 49ae96d4bc906..db2bdd8bf0723 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsFunctionJSDoc(target=es5).types @@ -39,6 +39,7 @@ export class Aleph { >this.field = b : null > : ^^^^ >this.field : any +> : ^^^ >this : this > : ^^^^ >field : any diff --git a/tests/baselines/reference/jsDeclarationsFunctionKeywordProp(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionKeywordProp(target=es5).errors.txt new file mode 100644 index 0000000000000..5843a260af5ae --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionKeywordProp(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + function foo() {} + foo.null = true; + + function bar() {} + bar.async = true; + bar.normal = false; + + function baz() {} + baz.class = true; + baz.normal = false; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive(target=es5).errors.txt new file mode 100644 index 0000000000000..705373d5dd409 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive(target=es5).errors.txt @@ -0,0 +1,87 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + function foo() {} + // properties + foo.x = 1; + foo.y = 1; + + // keywords + foo.break = 1; + foo.case = 1; + foo.catch = 1; + foo.class = 1; + foo.const = 1; + foo.continue = 1; + foo.debugger = 1; + foo.default = 1; + foo.delete = 1; + foo.do = 1; + foo.else = 1; + foo.enum = 1; + foo.export = 1; + foo.extends = 1; + foo.false = 1; + foo.finally = 1; + foo.for = 1; + foo.function = 1; + foo.if = 1; + foo.import = 1; + foo.in = 1; + foo.instanceof = 1; + foo.new = 1; + foo.null = 1; + foo.return = 1; + foo.super = 1; + foo.switch = 1; + foo.this = 1; + foo.throw = 1; + foo.true = 1; + foo.try = 1; + foo.typeof = 1; + foo.var = 1; + foo.void = 1; + foo.while = 1; + foo.with = 1; + foo.implements = 1; + foo.interface = 1; + foo.let = 1; + foo.package = 1; + foo.private = 1; + foo.protected = 1; + foo.public = 1; + foo.static = 1; + foo.yield = 1; + foo.abstract = 1; + foo.as = 1; + foo.asserts = 1; + foo.any = 1; + foo.async = 1; + foo.await = 1; + foo.boolean = 1; + foo.constructor = 1; + foo.declare = 1; + foo.get = 1; + foo.infer = 1; + foo.is = 1; + foo.keyof = 1; + foo.module = 1; + foo.namespace = 1; + foo.never = 1; + foo.readonly = 1; + foo.require = 1; + foo.number = 1; + foo.object = 1; + foo.set = 1; + foo.string = 1; + foo.symbol = 1; + foo.type = 1; + foo.undefined = 1; + foo.unique = 1; + foo.unknown = 1; + foo.from = 1; + foo.global = 1; + foo.bigint = 1; + foo.of = 1; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).errors.txt new file mode 100644 index 0000000000000..77eedaff17f26 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).errors.txt @@ -0,0 +1,27 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + /** + * @param {number} x + * @param {number} y + */ + export function Point(x, y) { + if (!(this instanceof Point)) { + return new Point(x, y); + } + this.x = x; + this.y = y; + } + +==== referencer.js (0 errors) ==== + import {Point} from "./source"; + + /** + * @param {Point} p + */ + export function magnitude(p) { + return Math.sqrt(p.x ** 2 + p.y ** 2); + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).types b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).types index 829a80b75be55..6f0d12ff1b486 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses(target=es5).types @@ -39,6 +39,7 @@ export function Point(x, y) { >this.x = x : number > : ^^^^^^ >this.x : any +> : ^^^ >this : this > : ^^^^ >x : any @@ -50,6 +51,7 @@ export function Point(x, y) { >this.y = y : number > : ^^^^^^ >this.y : any +> : ^^^ >this : this > : ^^^^ >y : any diff --git a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).errors.txt new file mode 100644 index 0000000000000..5922942141153 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).errors.txt @@ -0,0 +1,79 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + /** + * @param {number} len + */ + export function Vec(len) { + /** + * @type {number[]} + */ + this.storage = new Array(len); + } + + Vec.prototype = { + /** + * @param {Vec} other + */ + dot(other) { + if (other.storage.length !== this.storage.length) { + throw new Error(`Dot product only applicable for vectors of equal length`); + } + let sum = 0; + for (let i = 0; i < this.storage.length; i++) { + sum += (this.storage[i] * other.storage[i]); + } + return sum; + }, + magnitude() { + let sum = 0; + for (let i = 0; i < this.storage.length; i++) { + sum += (this.storage[i] ** 2); + } + return Math.sqrt(sum); + } + } + + /** + * @param {number} x + * @param {number} y + */ + export function Point2D(x, y) { + if (!(this instanceof Point2D)) { + return new Point2D(x, y); + } + Vec.call(this, 2); + this.x = x; + this.y = y; + } + + Point2D.prototype = { + __proto__: Vec, + get x() { + return this.storage[0]; + }, + /** + * @param {number} x + */ + set x(x) { + this.storage[0] = x; + }, + get y() { + return this.storage[1]; + }, + /** + * @param {number} y + */ + set y(y) { + this.storage[1] = y; + } + }; + +==== referencer.js (0 errors) ==== + import {Point2D} from "./source"; + + export const origin = new Point2D(0, 0); + // export const res = Point2D(2, 3).dot(origin); // TODO: when __proto__ works, validate this + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).types b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).types index 983f02834dc46..e221010412a42 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsFunctionLikeClasses2(target=es5).types @@ -254,6 +254,7 @@ export function Point2D(x, y) { } Vec.call(this, 2); >Vec.call(this, 2) : any +> : ^^^ >Vec.call : (this: Function, thisArg: any, ...argArray: any[]) => any > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ >Vec : typeof Vec @@ -314,7 +315,9 @@ Point2D.prototype = { return this.storage[0]; >this.storage[0] : any +> : ^^^ >this.storage : any +> : ^^^ >this : { __proto__: typeof Vec; get x(): number; set x(x: number); get y(): number; set y(y: number); } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ >storage : any @@ -336,7 +339,9 @@ Point2D.prototype = { >this.storage[0] = x : number > : ^^^^^^ >this.storage[0] : any +> : ^^^ >this.storage : any +> : ^^^ >this : { __proto__: typeof Vec; get x(): number; set x(x: number); get y(): number; set y(y: number); } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ >storage : any @@ -353,7 +358,9 @@ Point2D.prototype = { return this.storage[1]; >this.storage[1] : any +> : ^^^ >this.storage : any +> : ^^^ >this : { __proto__: typeof Vec; get x(): number; set x(x: number); get y(): number; set y(y: number); } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ >storage : any @@ -375,7 +382,9 @@ Point2D.prototype = { >this.storage[1] = y : number > : ^^^^^^ >this.storage[1] : any +> : ^^^ >this.storage : any +> : ^^^ >this : { __proto__: typeof Vec; get x(): number; set x(x: number); get y(): number; set y(y: number); } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ >storage : any diff --git a/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).errors.txt new file mode 100644 index 0000000000000..ab7861dca9648 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== source.js (0 errors) ==== + module.exports = MyClass; + + function MyClass() {} + MyClass.staticMethod = function() {} + MyClass.prototype.method = function() {} + MyClass.staticProperty = 123; + + /** + * Callback to be invoked when test execution is complete. + * + * @callback DoneCB + * @param {number} failures - Number of failures that occurred. + */ \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).types b/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).types index fea3d97e638a1..af27c23b8d80b 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic(target=es5).types @@ -33,6 +33,7 @@ MyClass.prototype.method = function() {} >MyClass.prototype.method = function() {} : () => void > : ^^^^^^^^^^ >MyClass.prototype.method : any +> : ^^^ >MyClass.prototype : any > : ^^^ >MyClass : typeof MyClass diff --git a/tests/baselines/reference/jsDeclarationsInterfaces(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsInterfaces(target=es5).errors.txt index d7892e33958e3..f4f97672dddc4 100644 --- a/tests/baselines/reference/jsDeclarationsInterfaces(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsInterfaces(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.js(4,18): error TS8006: 'interface' declarations can only be used in TypeScript files. index.js(6,18): error TS8006: 'interface' declarations can only be used in TypeScript files. index.js(10,18): error TS8006: 'interface' declarations can only be used in TypeScript files. @@ -30,6 +31,7 @@ index.js(111,18): error TS8006: 'interface' declarations can only be used in Typ index.js(115,18): error TS8006: 'interface' declarations can only be used in TypeScript files. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.js (30 errors) ==== // Pretty much all of this should be an error, (since interfaces are forbidden in js), // but we should be able to synthesize declarations from the symbols regardless diff --git a/tests/baselines/reference/jsDeclarationsJson(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsJson(target=es5).errors.txt new file mode 100644 index 0000000000000..fb1d20b1e7d09 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsJson(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + const j = require("./obj.json"); + module.exports = j; +==== obj.json (0 errors) ==== + { + "x": 12, + "y": 12, + "obj": { + "items": [{"x": 12}, {"x": 12, "y": 12}, {"x": 0}, {"x": -1, "err": true}] + } + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsJson(target=es5).types b/tests/baselines/reference/jsDeclarationsJson(target=es5).types index e2c8ac22f59ed..e02517aaf723f 100644 --- a/tests/baselines/reference/jsDeclarationsJson(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsJson(target=es5).types @@ -7,6 +7,7 @@ const j = require("./obj.json"); >require("./obj.json") : { x: number; y: number; obj: { items: ({ x: number; y?: undefined; err?: undefined; } | { x: number; y: number; err?: undefined; } | { x: number; err: boolean; y?: undefined; })[]; }; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >require : any +> : ^^^ >"./obj.json" : "./obj.json" > : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsMissingGenerics(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsMissingGenerics(target=es5).errors.txt new file mode 100644 index 0000000000000..d4889a2e3ac3c --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsMissingGenerics(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.js (0 errors) ==== + /** + * @param {Array} x + */ + function x(x) {} + /** + * @param {Promise} x + */ + function y(x) {} \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsMissingTypeParameters(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsMissingTypeParameters(target=es5).errors.txt new file mode 100644 index 0000000000000..6e748402cc3dc --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsMissingTypeParameters(target=es5).errors.txt @@ -0,0 +1,25 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.js (0 errors) ==== + /** + * @param {Array=} y desc + */ + function x(y) { } + + // @ts-ignore + /** @param {function (Array)} func Invoked + */ + function y(func) { return; } + + /** + * @return {(Array.<> | null)} list of devices + */ + function z() { return null ;} + + /** + * + * @return {?Promise} A promise + */ + function w() { return null; } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).errors.txt new file mode 100644 index 0000000000000..b48e41f64c345 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + /** + * @module A + */ + class A {} + + + /** + * Target element + * @type {module:A} + */ + export let el = null; + + export default A; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).types b/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).types index cd6a06a4aecc2..21153ca1ff7ee 100644 --- a/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsModuleReferenceHasEmit(target=es5).types @@ -14,7 +14,8 @@ class A {} * @type {module:A} */ export let el = null; ->el : error +>el : any +> : ^^^ export default A; >A : A diff --git a/tests/baselines/reference/jsDeclarationsMultipleExportFromMerge(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsMultipleExportFromMerge(target=es5).errors.txt new file mode 100644 index 0000000000000..71cb94395ae9d --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsMultipleExportFromMerge(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== items.js (0 errors) ==== + export const a = 1; + export const b = 2; + export const c = 3; + +==== justone.js (0 errors) ==== + export { a, b, c } from "./items"; + +==== two.js (0 errors) ==== + export { a } from "./items"; + export { b, c } from "./items"; + +==== multiple.js (0 errors) ==== + export {a, b} from "./items"; + export {a as aa} from "./two"; + export {b as bb} from "./two"; + export {c} from "./two" + export {c as cc} from "./items"; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).errors.txt new file mode 100644 index 0000000000000..b50aeac4f934b --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).errors.txt @@ -0,0 +1,40 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + const j = require("./package.json"); + module.exports = j; +==== package.json (0 errors) ==== + { + "name": "pkg", + "version": "0.1.0", + "description": "A package", + "main": "./dist/index.js", + "bin": { + "cli": "./bin/cli.js", + }, + "engines": { + "node": ">=0" + }, + "scripts": { + "scriptname": "run && run again", + }, + "devDependencies": { + "@ns/dep": "0.1.2", + }, + "dependencies": { + "dep": "1.2.3", + }, + "repository": "microsoft/TypeScript", + "keywords": [ + "kw" + ], + "author": "Auth", + "license": "See Licensce", + "homepage": "https://site", + "config": { + "o": ["a"] + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).types b/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).types index 7526c3545daa3..eb7a99f930fd0 100644 --- a/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsPackageJson(target=es5).types @@ -7,6 +7,7 @@ const j = require("./package.json"); >require("./package.json") : { name: string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node: string; }; scripts: { scriptname: string; }; devDependencies: { "@ns/dep": string; }; dependencies: { dep: string; }; repository: string; keywords: string[]; author: string; license: string; homepage: string; config: { o: string[]; }; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >require : any +> : ^^^ >"./package.json" : "./package.json" > : ^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsReactComponents(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsReactComponents(target=es5).errors.txt new file mode 100644 index 0000000000000..e9781d8fbde06 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsReactComponents(target=es5).errors.txt @@ -0,0 +1,98 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== jsDeclarationsReactComponents1.jsx (0 errors) ==== + /// + import React from "react"; + import PropTypes from "prop-types" + + const TabbedShowLayout = ({ + }) => { + return ( +
+ ); + }; + + TabbedShowLayout.propTypes = { + version: PropTypes.number, + + }; + + TabbedShowLayout.defaultProps = { + tabs: undefined + }; + + export default TabbedShowLayout; + +==== jsDeclarationsReactComponents2.jsx (0 errors) ==== + import React from "react"; + /** + * @type {React.SFC} + */ + const TabbedShowLayout = () => { + return ( +
+ ok +
+ ); + }; + + TabbedShowLayout.defaultProps = { + tabs: "default value" + }; + + export default TabbedShowLayout; + +==== jsDeclarationsReactComponents3.jsx (0 errors) ==== + import React from "react"; + /** + * @type {{defaultProps: {tabs: string}} & ((props?: {elem: string}) => JSX.Element)} + */ + const TabbedShowLayout = () => { + return ( +
+ ok +
+ ); + }; + + TabbedShowLayout.defaultProps = { + tabs: "default value" + }; + + export default TabbedShowLayout; + +==== jsDeclarationsReactComponents4.jsx (0 errors) ==== + import React from "react"; + const TabbedShowLayout = (/** @type {{className: string}}*/prop) => { + return ( +
+ ok +
+ ); + }; + + TabbedShowLayout.defaultProps = { + tabs: "default value" + }; + + export default TabbedShowLayout; +==== jsDeclarationsReactComponents5.jsx (0 errors) ==== + import React from 'react'; + import PropTypes from 'prop-types'; + + function Tree({ allowDropOnRoot }) { + return
+ } + + Tree.propTypes = { + classes: PropTypes.object, + }; + + Tree.defaultProps = { + classes: {}, + parentSource: 'parent_id', + }; + + export default Tree; \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsReexportAliases(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsReexportAliases(target=es5).errors.txt new file mode 100644 index 0000000000000..d1e828343fb98 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsReexportAliases(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== cls.js (0 errors) ==== + export default class Foo {} + +==== usage.js (0 errors) ==== + import {default as Fooa} from "./cls"; + + export const x = new Fooa(); + + export {default as Foob} from "./cls"; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop(target=es5).errors.txt new file mode 100644 index 0000000000000..0bcc6d57e68f3 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== cls.js (0 errors) ==== + class Foo {} + module.exports = Foo; + +==== usage.js (0 errors) ==== + import {default as Fooa} from "./cls"; + + export const x = new Fooa(); + + export {default as Foob} from "./cls"; + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).errors.txt new file mode 100644 index 0000000000000..0c0b824ee8321 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).errors.txt @@ -0,0 +1,29 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== main.js (0 errors) ==== + const { SomeClass, SomeClass: Another } = require('./lib'); + + module.exports = { + SomeClass, + Another + } +==== lib.js (0 errors) ==== + /** + * @param {string} a + */ + function bar(a) { + return a + a; + } + + class SomeClass { + a() { + return 1; + } + } + + module.exports = { + bar, + SomeClass + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).types b/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).types index af9850461c3af..1d6bddf962570 100644 --- a/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsReexportedCjsAlias(target=es5).types @@ -11,6 +11,7 @@ const { SomeClass, SomeClass: Another } = require('./lib'); >require('./lib') : typeof import("lib") > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ >require : any +> : ^^^ >'./lib' : "./lib" > : ^^^^^^^ diff --git a/tests/baselines/reference/jsDeclarationsRestArgsWithThisTypeInJSDocFunction(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsRestArgsWithThisTypeInJSDocFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..f1f3f81913c6e --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsRestArgsWithThisTypeInJSDocFunction(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== bug38550.js (0 errors) ==== + export class Clazz { + /** + * @param {function(this:Object, ...*):*} functionDeclaration + */ + method(functionDeclaration) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).errors.txt new file mode 100644 index 0000000000000..a0fb9c4438dfe --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + /// + + const Something = require("fs").Something; + + const thing = new Something(); + + module.exports = { + thing + }; + +==== node_modules/@types/node/index.d.ts (0 errors) ==== + declare module "fs" { + export class Something {} + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).types b/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).types index a84e80b9a606a..83387f64634f1 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsTypeReferences(target=es5).types @@ -11,6 +11,7 @@ const Something = require("fs").Something; >require("fs") : typeof import("fs") > : ^^^^^^^^^^^^^^^^^^^ >require : any +> : ^^^ >"fs" : "fs" > : ^^^^ >Something : typeof Something diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).errors.txt new file mode 100644 index 0000000000000..81eb2ea1600d6 --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + const{ a, m } = require("./something").o; + + const thing = a + m + + module.exports = { + thing + }; + +==== something.ts (0 errors) ==== + export const o = { + a: 1, + m: 1 + } + \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).types b/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).types index 23afcdeaf3368..d3cd83780b16f 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsTypeReferences2(target=es5).types @@ -11,6 +11,7 @@ const{ a, m } = require("./something").o; >require("./something") : typeof import("something") > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >require : any +> : ^^^ >"./something" : "./something" > : ^^^^^^^^^^^^^ >o : { a: number; m: number; } diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).errors.txt new file mode 100644 index 0000000000000..2d46dd61b1a8d --- /dev/null +++ b/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + /// + + const Something = require("fs").Something; + module.exports.A = {} + module.exports.A.B = { + thing: new Something() + } + +==== node_modules/@types/node/index.d.ts (0 errors) ==== + declare module "fs" { + export class Something {} + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).types b/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).types index 4baf39f5d8800..ea0cab02bf757 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).types +++ b/tests/baselines/reference/jsDeclarationsTypeReferences3(target=es5).types @@ -11,6 +11,7 @@ const Something = require("fs").Something; >require("fs") : typeof import("fs") > : ^^^^^^^^^^^^^^^^^^^ >require : any +> : ^^^ >"fs" : "fs" > : ^^^^ >Something : typeof Something diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences4(target=es5).errors.txt b/tests/baselines/reference/jsDeclarationsTypeReferences4(target=es5).errors.txt index 146844daa3a11..546896c7a25c8 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences4(target=es5).errors.txt +++ b/tests/baselines/reference/jsDeclarationsTypeReferences4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.js(4,18): error TS8006: 'namespace' declarations can only be used in TypeScript files. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.js (1 errors) ==== /// export const Something = 2; // to show conflict that can occur diff --git a/tests/baselines/reference/jsxChildrenArrayWrongType(target=es5).errors.txt b/tests/baselines/reference/jsxChildrenArrayWrongType(target=es5).errors.txt index 7ea707efe4d6d..0f507ffc5edde 100644 --- a/tests/baselines/reference/jsxChildrenArrayWrongType(target=es5).errors.txt +++ b/tests/baselines/reference/jsxChildrenArrayWrongType(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.tsx(11,6): error TS2769: No overload matches this call. Overload 2 of 2, '(props: PropsType, context: any): Foo', gave the following error. Type 'unknown' is not assignable to type 'string | boolean'. @@ -5,6 +6,7 @@ index.tsx(11,6): error TS2769: No overload matches this call. Type 'string' is not assignable to type 'number | boolean'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.tsx (1 errors) ==== /// /// diff --git a/tests/baselines/reference/jsxFactoryQualifiedNameWithEs5(target=es5).errors.txt b/tests/baselines/reference/jsxFactoryQualifiedNameWithEs5(target=es5).errors.txt index e4aa4945f358e..33fe715e756e8 100644 --- a/tests/baselines/reference/jsxFactoryQualifiedNameWithEs5(target=es5).errors.txt +++ b/tests/baselines/reference/jsxFactoryQualifiedNameWithEs5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. index.tsx(1,8): error TS2882: Cannot find module or type declarations for side-effect import of './jsx'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.tsx (1 errors) ==== import "./jsx"; ~~~~~~~ diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1(target=es5).errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1(target=es5).errors.txt index 35cdc3ccea052..04a6490d03caf 100644 --- a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1(target=es5).errors.txt +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. labeledStatementDeclarationListInLoopNoCrash1.ts(3,11): error TS1123: Variable declaration list cannot be empty. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== labeledStatementDeclarationListInLoopNoCrash1.ts (1 errors) ==== for (let x of []) { var v0 = x; diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2(target=es5).errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2(target=es5).errors.txt new file mode 100644 index 0000000000000..52b7ea2895c83 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== labeledStatementDeclarationListInLoopNoCrash2.ts (0 errors) ==== + for (let x of []) { + var v0 = x; + foo: var y; + (function() { return x + v0}); + } + \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3(target=es5).errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3(target=es5).errors.txt index 075f135a3b8fa..4c88934f41ab3 100644 --- a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3(target=es5).errors.txt +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. labeledStatementDeclarationListInLoopNoCrash3.ts(9,12): error TS2339: Property 'classFormat' does not exist on type 'ParseThemeData'. labeledStatementDeclarationListInLoopNoCrash3.ts(15,12): error TS1005: ',' expected. labeledStatementDeclarationListInLoopNoCrash3.ts(15,12): error TS2304: Cannot find name 'font'. @@ -17,6 +18,7 @@ labeledStatementDeclarationListInLoopNoCrash3.ts(16,56): error TS1005: ';' expec labeledStatementDeclarationListInLoopNoCrash3.ts(22,1): error TS1160: Unterminated template literal. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== labeledStatementDeclarationListInLoopNoCrash3.ts (17 errors) ==== // https://github.com/microsoft/TypeScript/issues/59345 diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4(target=es5).errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4(target=es5).errors.txt index 8d20a6b2ac1f5..9eeab52b04da5 100644 --- a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4(target=es5).errors.txt +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. labeledStatementDeclarationListInLoopNoCrash4.ts(7,12): error TS2339: Property 'classFormat' does not exist on type 'ParseThemeData'. labeledStatementDeclarationListInLoopNoCrash4.ts(13,12): error TS1005: ',' expected. labeledStatementDeclarationListInLoopNoCrash4.ts(13,12): error TS2304: Cannot find name 'font'. @@ -14,6 +15,7 @@ labeledStatementDeclarationListInLoopNoCrash4.ts(20,1): error TS1005: '}' expect labeledStatementDeclarationListInLoopNoCrash4.ts(20,1): error TS1160: Unterminated template literal. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== labeledStatementDeclarationListInLoopNoCrash4.ts (14 errors) ==== export class ParseThemeData { parseButton(button: any) { diff --git a/tests/baselines/reference/letConstInCaseClauses(target=es5).errors.txt b/tests/baselines/reference/letConstInCaseClauses(target=es5).errors.txt index dfec32f10ec58..0bd7047aadf5f 100644 --- a/tests/baselines/reference/letConstInCaseClauses(target=es5).errors.txt +++ b/tests/baselines/reference/letConstInCaseClauses(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. letConstInCaseClauses.ts(22,14): error TS2678: Type '10' is not comparable to type '1'. letConstInCaseClauses.ts(26,14): error TS2678: Type '10' is not comparable to type '2'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== letConstInCaseClauses.ts (2 errors) ==== var x = 10; var y = 20; diff --git a/tests/baselines/reference/letConstMatchingParameterNames(target=es5).errors.txt b/tests/baselines/reference/letConstMatchingParameterNames(target=es5).errors.txt new file mode 100644 index 0000000000000..adcdc4b93a897 --- /dev/null +++ b/tests/baselines/reference/letConstMatchingParameterNames(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== letConstMatchingParameterNames.ts (0 errors) ==== + let parent = true; + const parent2 = true; + declare function use(a: any); + + function a() { + + let parent = 1; + const parent2 = 2; + + function b(parent: string, parent2: number) { + use(parent); + use(parent2); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/letConstMatchingParameterNames(target=es5).types b/tests/baselines/reference/letConstMatchingParameterNames(target=es5).types index 94e8e8f917b42..27d1a0d8d5c94 100644 --- a/tests/baselines/reference/letConstMatchingParameterNames(target=es5).types +++ b/tests/baselines/reference/letConstMatchingParameterNames(target=es5).types @@ -17,6 +17,7 @@ declare function use(a: any); >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >a : any +> : ^^^ function a() { >a : () => void @@ -44,6 +45,7 @@ function a() { use(parent); >use(parent) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >parent : string @@ -51,6 +53,7 @@ function a() { use(parent2); >use(parent2) : any +> : ^^^ >use : (a: any) => any > : ^ ^^ ^^^^^^^^ >parent2 : number diff --git a/tests/baselines/reference/letDeclarations-es5(target=es5).errors.txt b/tests/baselines/reference/letDeclarations-es5(target=es5).errors.txt new file mode 100644 index 0000000000000..7a1858cdeca9a --- /dev/null +++ b/tests/baselines/reference/letDeclarations-es5(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== letDeclarations-es5.ts (0 errors) ==== + let l1; + let l2: number; + let l3, l4, l5 :string, l6; + + let l7 = false; + let l8: number = 23; + let l9 = 0, l10 :string = "", l11 = null; + + for(let l11 in {}) { } + + for(let l12 = 0; l12 < 9; l12++) { } + \ No newline at end of file diff --git a/tests/baselines/reference/letDeclarations-es5(target=es5).types b/tests/baselines/reference/letDeclarations-es5(target=es5).types index f7e902488ae8e..ba9363f6992d4 100644 --- a/tests/baselines/reference/letDeclarations-es5(target=es5).types +++ b/tests/baselines/reference/letDeclarations-es5(target=es5).types @@ -3,6 +3,7 @@ === letDeclarations-es5.ts === let l1; >l1 : any +> : ^^^ let l2: number; >l2 : number @@ -10,10 +11,13 @@ let l2: number; let l3, l4, l5 :string, l6; >l3 : any +> : ^^^ >l4 : any +> : ^^^ >l5 : string > : ^^^^^^ >l6 : any +> : ^^^ let l7 = false; >l7 : boolean @@ -37,6 +41,7 @@ let l9 = 0, l10 :string = "", l11 = null; >"" : "" > : ^^ >l11 : any +> : ^^^ for(let l11 in {}) { } >l11 : string diff --git a/tests/baselines/reference/letDeclarations-es5-1(target=es5).errors.txt b/tests/baselines/reference/letDeclarations-es5-1(target=es5).errors.txt new file mode 100644 index 0000000000000..ea913799970d0 --- /dev/null +++ b/tests/baselines/reference/letDeclarations-es5-1(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== letDeclarations-es5-1.ts (0 errors) ==== + let l1; + let l2: number; + let l3, l4, l5 :string, l6; + let l7 = false; + let l8: number = 23; + let l9 = 0, l10 :string = "", l11 = null; \ No newline at end of file diff --git a/tests/baselines/reference/letDeclarations-es5-1(target=es5).types b/tests/baselines/reference/letDeclarations-es5-1(target=es5).types index cde05165b263a..bbde7f1cbd7e5 100644 --- a/tests/baselines/reference/letDeclarations-es5-1(target=es5).types +++ b/tests/baselines/reference/letDeclarations-es5-1(target=es5).types @@ -3,6 +3,7 @@ === letDeclarations-es5-1.ts === let l1; >l1 : any +> : ^^^ let l2: number; >l2 : number @@ -10,10 +11,13 @@ let l3, l4, l5 :string, l6; >l3 : any +> : ^^^ >l4 : any +> : ^^^ >l5 : string > : ^^^^^^ >l6 : any +> : ^^^ let l7 = false; >l7 : boolean @@ -37,4 +41,5 @@ >"" : "" > : ^^ >l11 : any +> : ^^^ diff --git a/tests/baselines/reference/letInConstDeclarations_ES5(target=es5).errors.txt b/tests/baselines/reference/letInConstDeclarations_ES5(target=es5).errors.txt index a0637a1b9d0ba..aff9eefacc711 100644 --- a/tests/baselines/reference/letInConstDeclarations_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/letInConstDeclarations_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. letInConstDeclarations_ES5.ts(2,15): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. letInConstDeclarations_ES5.ts(5,19): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== letInConstDeclarations_ES5.ts (2 errors) ==== // All use of let in const declaration should be an error const x = 50, let = 5; diff --git a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5(target=es5).errors.txt b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5(target=es5).errors.txt index 0bb7d4e38b242..a06c2f1e893b7 100644 --- a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. letInLetConstDeclOfForOfAndForIn_ES5.ts(2,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. letInLetConstDeclOfForOfAndForIn_ES5.ts(4,12): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. letInLetConstDeclOfForOfAndForIn_ES5.ts(6,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. @@ -8,6 +9,7 @@ letInLetConstDeclOfForOfAndForIn_ES5.ts(15,11): error TS2480: 'let' is not allow letInLetConstDeclOfForOfAndForIn_ES5.ts(17,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== letInLetConstDeclOfForOfAndForIn_ES5.ts (8 errors) ==== // Should be an error for (let let of [1,2,3]) {} diff --git a/tests/baselines/reference/letInLetDeclarations_ES5(target=es5).errors.txt b/tests/baselines/reference/letInLetDeclarations_ES5(target=es5).errors.txt index 72c96cb1ab856..c52449e66315a 100644 --- a/tests/baselines/reference/letInLetDeclarations_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/letInLetDeclarations_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. letInLetDeclarations_ES5.ts(2,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. letInLetDeclarations_ES5.ts(5,17): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== letInLetDeclarations_ES5.ts (2 errors) ==== // All use of let in const declaration should be an error let x = 50, let = 5; diff --git a/tests/baselines/reference/letInVarDeclOfForIn_ES5(target=es5).errors.txt b/tests/baselines/reference/letInVarDeclOfForIn_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..73a2f9c8a6b50 --- /dev/null +++ b/tests/baselines/reference/letInVarDeclOfForIn_ES5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== letInVarDeclOfForIn_ES5.ts (0 errors) ==== + // should not be an error + for (var let in [1,2,3]) {} + + { + for (var let in [1,2,3]) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/letInVarDeclOfForOf_ES5(target=es5).errors.txt b/tests/baselines/reference/letInVarDeclOfForOf_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..76a4c585cc895 --- /dev/null +++ b/tests/baselines/reference/letInVarDeclOfForOf_ES5(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== letInVarDeclOfForOf_ES5.ts (0 errors) ==== + // should not be an error + for (var let of [1,2,3]) {} + + { + for (var let of [1,2,3]) {} + } + \ No newline at end of file diff --git a/tests/baselines/reference/literals(target=es5).errors.txt b/tests/baselines/reference/literals(target=es5).errors.txt index d7aca78aaad54..4b3e62c7c83f9 100644 --- a/tests/baselines/reference/literals(target=es5).errors.txt +++ b/tests/baselines/reference/literals(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. literals.ts(8,10): error TS18050: The value 'null' cannot be used here. literals.ts(8,17): error TS18050: The value 'null' cannot be used here. literals.ts(9,9): error TS18050: The value 'undefined' cannot be used here. @@ -6,6 +7,7 @@ literals.ts(19,9): error TS1121: Octal literals are not allowed. Use the syntax literals.ts(24,9): error TS1121: Octal literals are not allowed. Use the syntax '-0o3'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== literals.ts (6 errors) ==== //typeof null is Null //typeof true is Boolean diff --git a/tests/baselines/reference/localTypes1(target=es5).errors.txt b/tests/baselines/reference/localTypes1(target=es5).errors.txt new file mode 100644 index 0000000000000..cd7a2dcdb5266 --- /dev/null +++ b/tests/baselines/reference/localTypes1(target=es5).errors.txt @@ -0,0 +1,145 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== localTypes1.ts (0 errors) ==== + function f1() { + enum E { + A, B, C + } + class C { + x: E; + } + interface I { + x: E; + } + type A = I[]; + let a: A = [new C()]; + a[0].x = E.B; + return a; + } + + function f2() { + function g() { + enum E { + A, B, C + } + class C { + x: E; + } + interface I { + x: E; + } + type A = I[]; + let a: A = [new C()]; + a[0].x = E.B; + return a; + } + return g(); + } + + function f3(b: boolean) { + if (true) { + enum E { + A, B, C + } + if (b) { + class C { + x: E; + } + interface I { + x: E; + } + type A = I[]; + let a: A = [new C()]; + a[0].x = E.B; + return a; + } + else { + class A { + x: E; + } + interface J { + x: E; + } + type C = J[]; + let c: C = [new A()]; + c[0].x = E.B; + return c; + } + } + } + + function f5() { + var z1 = function () { + enum E { + A, B, C + } + class C { + x: E; + } + return new C(); + } + var z2 = () => { + enum E { + A, B, C + } + class C { + x: E; + } + return new C(); + } + } + + class A { + constructor() { + enum E { + A, B, C + } + class C { + x: E; + } + } + m() { + enum E { + A, B, C + } + class C { + x: E; + } + return new C(); + } + get p() { + enum E { + A, B, C + } + class C { + x: E; + } + return new C(); + } + } + + function f6() { + class A { + a: string; + } + function g() { + class B extends A { + b: string; + } + function h() { + class C extends B { + c: string; + } + var x = new C(); + x.a = "a"; + x.b = "b"; + x.c = "c"; + return x; + } + return h(); + } + return g(); + } + \ No newline at end of file diff --git a/tests/baselines/reference/manyConstExports(target=es5).errors.txt b/tests/baselines/reference/manyConstExports(target=es5).errors.txt new file mode 100644 index 0000000000000..f3120bff344d6 --- /dev/null +++ b/tests/baselines/reference/manyConstExports(target=es5).errors.txt @@ -0,0 +1,5006 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== manyConstExports.ts (0 errors) ==== + export const exp0 = "test"; + export const exp1 = "test"; + export const exp2 = "test"; + export const exp3 = "test"; + export const exp4 = "test"; + export const exp5 = "test"; + export const exp6 = "test"; + export const exp7 = "test"; + export const exp8 = "test"; + export const exp9 = "test"; + export const exp10 = "test"; + export const exp11 = "test"; + export const exp12 = "test"; + export const exp13 = "test"; + export const exp14 = "test"; + export const exp15 = "test"; + export const exp16 = "test"; + export const exp17 = "test"; + export const exp18 = "test"; + export const exp19 = "test"; + export const exp20 = "test"; + export const exp21 = "test"; + export const exp22 = "test"; + export const exp23 = "test"; + export const exp24 = "test"; + export const exp25 = "test"; + export const exp26 = "test"; + export const exp27 = "test"; + export const exp28 = "test"; + export const exp29 = "test"; + export const exp30 = "test"; + export const exp31 = "test"; + export const exp32 = "test"; + export const exp33 = "test"; + export const exp34 = "test"; + export const exp35 = "test"; + export const exp36 = "test"; + export const exp37 = "test"; + export const exp38 = "test"; + export const exp39 = "test"; + export const exp40 = "test"; + export const exp41 = "test"; + export const exp42 = "test"; + export const exp43 = "test"; + export const exp44 = "test"; + export const exp45 = "test"; + export const exp46 = "test"; + export const exp47 = "test"; + export const exp48 = "test"; + export const exp49 = "test"; + export const exp50 = "test"; + export const exp51 = "test"; + export const exp52 = "test"; + export const exp53 = "test"; + export const exp54 = "test"; + export const exp55 = "test"; + export const exp56 = "test"; + export const exp57 = "test"; + export const exp58 = "test"; + export const exp59 = "test"; + export const exp60 = "test"; + export const exp61 = "test"; + export const exp62 = "test"; + export const exp63 = "test"; + export const exp64 = "test"; + export const exp65 = "test"; + export const exp66 = "test"; + export const exp67 = "test"; + export const exp68 = "test"; + export const exp69 = "test"; + export const exp70 = "test"; + export const exp71 = "test"; + export const exp72 = "test"; + export const exp73 = "test"; + export const exp74 = "test"; + export const exp75 = "test"; + export const exp76 = "test"; + export const exp77 = "test"; + export const exp78 = "test"; + export const exp79 = "test"; + export const exp80 = "test"; + export const exp81 = "test"; + export const exp82 = "test"; + export const exp83 = "test"; + export const exp84 = "test"; + export const exp85 = "test"; + export const exp86 = "test"; + export const exp87 = "test"; + export const exp88 = "test"; + export const exp89 = "test"; + export const exp90 = "test"; + export const exp91 = "test"; + export const exp92 = "test"; + export const exp93 = "test"; + export const exp94 = "test"; + export const exp95 = "test"; + export const exp96 = "test"; + export const exp97 = "test"; + export const exp98 = "test"; + export const exp99 = "test"; + export const exp100 = "test"; + export const exp101 = "test"; + export const exp102 = "test"; + export const exp103 = "test"; + export const exp104 = "test"; + export const exp105 = "test"; + export const exp106 = "test"; + export const exp107 = "test"; + export const exp108 = "test"; + export const exp109 = "test"; + export const exp110 = "test"; + export const exp111 = "test"; + export const exp112 = "test"; + export const exp113 = "test"; + export const exp114 = "test"; + export const exp115 = "test"; + export const exp116 = "test"; + export const exp117 = "test"; + export const exp118 = "test"; + export const exp119 = "test"; + export const exp120 = "test"; + export const exp121 = "test"; + export const exp122 = "test"; + export const exp123 = "test"; + export const exp124 = "test"; + export const exp125 = "test"; + export const exp126 = "test"; + export const exp127 = "test"; + export const exp128 = "test"; + export const exp129 = "test"; + export const exp130 = "test"; + export const exp131 = "test"; + export const exp132 = "test"; + export const exp133 = "test"; + export const exp134 = "test"; + export const exp135 = "test"; + export const exp136 = "test"; + export const exp137 = "test"; + export const exp138 = "test"; + export const exp139 = "test"; + export const exp140 = "test"; + export const exp141 = "test"; + export const exp142 = "test"; + export const exp143 = "test"; + export const exp144 = "test"; + export const exp145 = "test"; + export const exp146 = "test"; + export const exp147 = "test"; + export const exp148 = "test"; + export const exp149 = "test"; + export const exp150 = "test"; + export const exp151 = "test"; + export const exp152 = "test"; + export const exp153 = "test"; + export const exp154 = "test"; + export const exp155 = "test"; + export const exp156 = "test"; + export const exp157 = "test"; + export const exp158 = "test"; + export const exp159 = "test"; + export const exp160 = "test"; + export const exp161 = "test"; + export const exp162 = "test"; + export const exp163 = "test"; + export const exp164 = "test"; + export const exp165 = "test"; + export const exp166 = "test"; + export const exp167 = "test"; + export const exp168 = "test"; + export const exp169 = "test"; + export const exp170 = "test"; + export const exp171 = "test"; + export const exp172 = "test"; + export const exp173 = "test"; + export const exp174 = "test"; + export const exp175 = "test"; + export const exp176 = "test"; + export const exp177 = "test"; + export const exp178 = "test"; + export const exp179 = "test"; + export const exp180 = "test"; + export const exp181 = "test"; + export const exp182 = "test"; + export const exp183 = "test"; + export const exp184 = "test"; + export const exp185 = "test"; + export const exp186 = "test"; + export const exp187 = "test"; + export const exp188 = "test"; + export const exp189 = "test"; + export const exp190 = "test"; + export const exp191 = "test"; + export const exp192 = "test"; + export const exp193 = "test"; + export const exp194 = "test"; + export const exp195 = "test"; + export const exp196 = "test"; + export const exp197 = "test"; + export const exp198 = "test"; + export const exp199 = "test"; + export const exp200 = "test"; + export const exp201 = "test"; + export const exp202 = "test"; + export const exp203 = "test"; + export const exp204 = "test"; + export const exp205 = "test"; + export const exp206 = "test"; + export const exp207 = "test"; + export const exp208 = "test"; + export const exp209 = "test"; + export const exp210 = "test"; + export const exp211 = "test"; + export const exp212 = "test"; + export const exp213 = "test"; + export const exp214 = "test"; + export const exp215 = "test"; + export const exp216 = "test"; + export const exp217 = "test"; + export const exp218 = "test"; + export const exp219 = "test"; + export const exp220 = "test"; + export const exp221 = "test"; + export const exp222 = "test"; + export const exp223 = "test"; + export const exp224 = "test"; + export const exp225 = "test"; + export const exp226 = "test"; + export const exp227 = "test"; + export const exp228 = "test"; + export const exp229 = "test"; + export const exp230 = "test"; + export const exp231 = "test"; + export const exp232 = "test"; + export const exp233 = "test"; + export const exp234 = "test"; + export const exp235 = "test"; + export const exp236 = "test"; + export const exp237 = "test"; + export const exp238 = "test"; + export const exp239 = "test"; + export const exp240 = "test"; + export const exp241 = "test"; + export const exp242 = "test"; + export const exp243 = "test"; + export const exp244 = "test"; + export const exp245 = "test"; + export const exp246 = "test"; + export const exp247 = "test"; + export const exp248 = "test"; + export const exp249 = "test"; + export const exp250 = "test"; + export const exp251 = "test"; + export const exp252 = "test"; + export const exp253 = "test"; + export const exp254 = "test"; + export const exp255 = "test"; + export const exp256 = "test"; + export const exp257 = "test"; + export const exp258 = "test"; + export const exp259 = "test"; + export const exp260 = "test"; + export const exp261 = "test"; + export const exp262 = "test"; + export const exp263 = "test"; + export const exp264 = "test"; + export const exp265 = "test"; + export const exp266 = "test"; + export const exp267 = "test"; + export const exp268 = "test"; + export const exp269 = "test"; + export const exp270 = "test"; + export const exp271 = "test"; + export const exp272 = "test"; + export const exp273 = "test"; + export const exp274 = "test"; + export const exp275 = "test"; + export const exp276 = "test"; + export const exp277 = "test"; + export const exp278 = "test"; + export const exp279 = "test"; + export const exp280 = "test"; + export const exp281 = "test"; + export const exp282 = "test"; + export const exp283 = "test"; + export const exp284 = "test"; + export const exp285 = "test"; + export const exp286 = "test"; + export const exp287 = "test"; + export const exp288 = "test"; + export const exp289 = "test"; + export const exp290 = "test"; + export const exp291 = "test"; + export const exp292 = "test"; + export const exp293 = "test"; + export const exp294 = "test"; + export const exp295 = "test"; + export const exp296 = "test"; + export const exp297 = "test"; + export const exp298 = "test"; + export const exp299 = "test"; + export const exp300 = "test"; + export const exp301 = "test"; + export const exp302 = "test"; + export const exp303 = "test"; + export const exp304 = "test"; + export const exp305 = "test"; + export const exp306 = "test"; + export const exp307 = "test"; + export const exp308 = "test"; + export const exp309 = "test"; + export const exp310 = "test"; + export const exp311 = "test"; + export const exp312 = "test"; + export const exp313 = "test"; + export const exp314 = "test"; + export const exp315 = "test"; + export const exp316 = "test"; + export const exp317 = "test"; + export const exp318 = "test"; + export const exp319 = "test"; + export const exp320 = "test"; + export const exp321 = "test"; + export const exp322 = "test"; + export const exp323 = "test"; + export const exp324 = "test"; + export const exp325 = "test"; + export const exp326 = "test"; + export const exp327 = "test"; + export const exp328 = "test"; + export const exp329 = "test"; + export const exp330 = "test"; + export const exp331 = "test"; + export const exp332 = "test"; + export const exp333 = "test"; + export const exp334 = "test"; + export const exp335 = "test"; + export const exp336 = "test"; + export const exp337 = "test"; + export const exp338 = "test"; + export const exp339 = "test"; + export const exp340 = "test"; + export const exp341 = "test"; + export const exp342 = "test"; + export const exp343 = "test"; + export const exp344 = "test"; + export const exp345 = "test"; + export const exp346 = "test"; + export const exp347 = "test"; + export const exp348 = "test"; + export const exp349 = "test"; + export const exp350 = "test"; + export const exp351 = "test"; + export const exp352 = "test"; + export const exp353 = "test"; + export const exp354 = "test"; + export const exp355 = "test"; + export const exp356 = "test"; + export const exp357 = "test"; + export const exp358 = "test"; + export const exp359 = "test"; + export const exp360 = "test"; + export const exp361 = "test"; + export const exp362 = "test"; + export const exp363 = "test"; + export const exp364 = "test"; + export const exp365 = "test"; + export const exp366 = "test"; + export const exp367 = "test"; + export const exp368 = "test"; + export const exp369 = "test"; + export const exp370 = "test"; + export const exp371 = "test"; + export const exp372 = "test"; + export const exp373 = "test"; + export const exp374 = "test"; + export const exp375 = "test"; + export const exp376 = "test"; + export const exp377 = "test"; + export const exp378 = "test"; + export const exp379 = "test"; + export const exp380 = "test"; + export const exp381 = "test"; + export const exp382 = "test"; + export const exp383 = "test"; + export const exp384 = "test"; + export const exp385 = "test"; + export const exp386 = "test"; + export const exp387 = "test"; + export const exp388 = "test"; + export const exp389 = "test"; + export const exp390 = "test"; + export const exp391 = "test"; + export const exp392 = "test"; + export const exp393 = "test"; + export const exp394 = "test"; + export const exp395 = "test"; + export const exp396 = "test"; + export const exp397 = "test"; + export const exp398 = "test"; + export const exp399 = "test"; + export const exp400 = "test"; + export const exp401 = "test"; + export const exp402 = "test"; + export const exp403 = "test"; + export const exp404 = "test"; + export const exp405 = "test"; + export const exp406 = "test"; + export const exp407 = "test"; + export const exp408 = "test"; + export const exp409 = "test"; + export const exp410 = "test"; + export const exp411 = "test"; + export const exp412 = "test"; + export const exp413 = "test"; + export const exp414 = "test"; + export const exp415 = "test"; + export const exp416 = "test"; + export const exp417 = "test"; + export const exp418 = "test"; + export const exp419 = "test"; + export const exp420 = "test"; + export const exp421 = "test"; + export const exp422 = "test"; + export const exp423 = "test"; + export const exp424 = "test"; + export const exp425 = "test"; + export const exp426 = "test"; + export const exp427 = "test"; + export const exp428 = "test"; + export const exp429 = "test"; + export const exp430 = "test"; + export const exp431 = "test"; + export const exp432 = "test"; + export const exp433 = "test"; + export const exp434 = "test"; + export const exp435 = "test"; + export const exp436 = "test"; + export const exp437 = "test"; + export const exp438 = "test"; + export const exp439 = "test"; + export const exp440 = "test"; + export const exp441 = "test"; + export const exp442 = "test"; + export const exp443 = "test"; + export const exp444 = "test"; + export const exp445 = "test"; + export const exp446 = "test"; + export const exp447 = "test"; + export const exp448 = "test"; + export const exp449 = "test"; + export const exp450 = "test"; + export const exp451 = "test"; + export const exp452 = "test"; + export const exp453 = "test"; + export const exp454 = "test"; + export const exp455 = "test"; + export const exp456 = "test"; + export const exp457 = "test"; + export const exp458 = "test"; + export const exp459 = "test"; + export const exp460 = "test"; + export const exp461 = "test"; + export const exp462 = "test"; + export const exp463 = "test"; + export const exp464 = "test"; + export const exp465 = "test"; + export const exp466 = "test"; + export const exp467 = "test"; + export const exp468 = "test"; + export const exp469 = "test"; + export const exp470 = "test"; + export const exp471 = "test"; + export const exp472 = "test"; + export const exp473 = "test"; + export const exp474 = "test"; + export const exp475 = "test"; + export const exp476 = "test"; + export const exp477 = "test"; + export const exp478 = "test"; + export const exp479 = "test"; + export const exp480 = "test"; + export const exp481 = "test"; + export const exp482 = "test"; + export const exp483 = "test"; + export const exp484 = "test"; + export const exp485 = "test"; + export const exp486 = "test"; + export const exp487 = "test"; + export const exp488 = "test"; + export const exp489 = "test"; + export const exp490 = "test"; + export const exp491 = "test"; + export const exp492 = "test"; + export const exp493 = "test"; + export const exp494 = "test"; + export const exp495 = "test"; + export const exp496 = "test"; + export const exp497 = "test"; + export const exp498 = "test"; + export const exp499 = "test"; + export const exp500 = "test"; + export const exp501 = "test"; + export const exp502 = "test"; + export const exp503 = "test"; + export const exp504 = "test"; + export const exp505 = "test"; + export const exp506 = "test"; + export const exp507 = "test"; + export const exp508 = "test"; + export const exp509 = "test"; + export const exp510 = "test"; + export const exp511 = "test"; + export const exp512 = "test"; + export const exp513 = "test"; + export const exp514 = "test"; + export const exp515 = "test"; + export const exp516 = "test"; + export const exp517 = "test"; + export const exp518 = "test"; + export const exp519 = "test"; + export const exp520 = "test"; + export const exp521 = "test"; + export const exp522 = "test"; + export const exp523 = "test"; + export const exp524 = "test"; + export const exp525 = "test"; + export const exp526 = "test"; + export const exp527 = "test"; + export const exp528 = "test"; + export const exp529 = "test"; + export const exp530 = "test"; + export const exp531 = "test"; + export const exp532 = "test"; + export const exp533 = "test"; + export const exp534 = "test"; + export const exp535 = "test"; + export const exp536 = "test"; + export const exp537 = "test"; + export const exp538 = "test"; + export const exp539 = "test"; + export const exp540 = "test"; + export const exp541 = "test"; + export const exp542 = "test"; + export const exp543 = "test"; + export const exp544 = "test"; + export const exp545 = "test"; + export const exp546 = "test"; + export const exp547 = "test"; + export const exp548 = "test"; + export const exp549 = "test"; + export const exp550 = "test"; + export const exp551 = "test"; + export const exp552 = "test"; + export const exp553 = "test"; + export const exp554 = "test"; + export const exp555 = "test"; + export const exp556 = "test"; + export const exp557 = "test"; + export const exp558 = "test"; + export const exp559 = "test"; + export const exp560 = "test"; + export const exp561 = "test"; + export const exp562 = "test"; + export const exp563 = "test"; + export const exp564 = "test"; + export const exp565 = "test"; + export const exp566 = "test"; + export const exp567 = "test"; + export const exp568 = "test"; + export const exp569 = "test"; + export const exp570 = "test"; + export const exp571 = "test"; + export const exp572 = "test"; + export const exp573 = "test"; + export const exp574 = "test"; + export const exp575 = "test"; + export const exp576 = "test"; + export const exp577 = "test"; + export const exp578 = "test"; + export const exp579 = "test"; + export const exp580 = "test"; + export const exp581 = "test"; + export const exp582 = "test"; + export const exp583 = "test"; + export const exp584 = "test"; + export const exp585 = "test"; + export const exp586 = "test"; + export const exp587 = "test"; + export const exp588 = "test"; + export const exp589 = "test"; + export const exp590 = "test"; + export const exp591 = "test"; + export const exp592 = "test"; + export const exp593 = "test"; + export const exp594 = "test"; + export const exp595 = "test"; + export const exp596 = "test"; + export const exp597 = "test"; + export const exp598 = "test"; + export const exp599 = "test"; + export const exp600 = "test"; + export const exp601 = "test"; + export const exp602 = "test"; + export const exp603 = "test"; + export const exp604 = "test"; + export const exp605 = "test"; + export const exp606 = "test"; + export const exp607 = "test"; + export const exp608 = "test"; + export const exp609 = "test"; + export const exp610 = "test"; + export const exp611 = "test"; + export const exp612 = "test"; + export const exp613 = "test"; + export const exp614 = "test"; + export const exp615 = "test"; + export const exp616 = "test"; + export const exp617 = "test"; + export const exp618 = "test"; + export const exp619 = "test"; + export const exp620 = "test"; + export const exp621 = "test"; + export const exp622 = "test"; + export const exp623 = "test"; + export const exp624 = "test"; + export const exp625 = "test"; + export const exp626 = "test"; + export const exp627 = "test"; + export const exp628 = "test"; + export const exp629 = "test"; + export const exp630 = "test"; + export const exp631 = "test"; + export const exp632 = "test"; + export const exp633 = "test"; + export const exp634 = "test"; + export const exp635 = "test"; + export const exp636 = "test"; + export const exp637 = "test"; + export const exp638 = "test"; + export const exp639 = "test"; + export const exp640 = "test"; + export const exp641 = "test"; + export const exp642 = "test"; + export const exp643 = "test"; + export const exp644 = "test"; + export const exp645 = "test"; + export const exp646 = "test"; + export const exp647 = "test"; + export const exp648 = "test"; + export const exp649 = "test"; + export const exp650 = "test"; + export const exp651 = "test"; + export const exp652 = "test"; + export const exp653 = "test"; + export const exp654 = "test"; + export const exp655 = "test"; + export const exp656 = "test"; + export const exp657 = "test"; + export const exp658 = "test"; + export const exp659 = "test"; + export const exp660 = "test"; + export const exp661 = "test"; + export const exp662 = "test"; + export const exp663 = "test"; + export const exp664 = "test"; + export const exp665 = "test"; + export const exp666 = "test"; + export const exp667 = "test"; + export const exp668 = "test"; + export const exp669 = "test"; + export const exp670 = "test"; + export const exp671 = "test"; + export const exp672 = "test"; + export const exp673 = "test"; + export const exp674 = "test"; + export const exp675 = "test"; + export const exp676 = "test"; + export const exp677 = "test"; + export const exp678 = "test"; + export const exp679 = "test"; + export const exp680 = "test"; + export const exp681 = "test"; + export const exp682 = "test"; + export const exp683 = "test"; + export const exp684 = "test"; + export const exp685 = "test"; + export const exp686 = "test"; + export const exp687 = "test"; + export const exp688 = "test"; + export const exp689 = "test"; + export const exp690 = "test"; + export const exp691 = "test"; + export const exp692 = "test"; + export const exp693 = "test"; + export const exp694 = "test"; + export const exp695 = "test"; + export const exp696 = "test"; + export const exp697 = "test"; + export const exp698 = "test"; + export const exp699 = "test"; + export const exp700 = "test"; + export const exp701 = "test"; + export const exp702 = "test"; + export const exp703 = "test"; + export const exp704 = "test"; + export const exp705 = "test"; + export const exp706 = "test"; + export const exp707 = "test"; + export const exp708 = "test"; + export const exp709 = "test"; + export const exp710 = "test"; + export const exp711 = "test"; + export const exp712 = "test"; + export const exp713 = "test"; + export const exp714 = "test"; + export const exp715 = "test"; + export const exp716 = "test"; + export const exp717 = "test"; + export const exp718 = "test"; + export const exp719 = "test"; + export const exp720 = "test"; + export const exp721 = "test"; + export const exp722 = "test"; + export const exp723 = "test"; + export const exp724 = "test"; + export const exp725 = "test"; + export const exp726 = "test"; + export const exp727 = "test"; + export const exp728 = "test"; + export const exp729 = "test"; + export const exp730 = "test"; + export const exp731 = "test"; + export const exp732 = "test"; + export const exp733 = "test"; + export const exp734 = "test"; + export const exp735 = "test"; + export const exp736 = "test"; + export const exp737 = "test"; + export const exp738 = "test"; + export const exp739 = "test"; + export const exp740 = "test"; + export const exp741 = "test"; + export const exp742 = "test"; + export const exp743 = "test"; + export const exp744 = "test"; + export const exp745 = "test"; + export const exp746 = "test"; + export const exp747 = "test"; + export const exp748 = "test"; + export const exp749 = "test"; + export const exp750 = "test"; + export const exp751 = "test"; + export const exp752 = "test"; + export const exp753 = "test"; + export const exp754 = "test"; + export const exp755 = "test"; + export const exp756 = "test"; + export const exp757 = "test"; + export const exp758 = "test"; + export const exp759 = "test"; + export const exp760 = "test"; + export const exp761 = "test"; + export const exp762 = "test"; + export const exp763 = "test"; + export const exp764 = "test"; + export const exp765 = "test"; + export const exp766 = "test"; + export const exp767 = "test"; + export const exp768 = "test"; + export const exp769 = "test"; + export const exp770 = "test"; + export const exp771 = "test"; + export const exp772 = "test"; + export const exp773 = "test"; + export const exp774 = "test"; + export const exp775 = "test"; + export const exp776 = "test"; + export const exp777 = "test"; + export const exp778 = "test"; + export const exp779 = "test"; + export const exp780 = "test"; + export const exp781 = "test"; + export const exp782 = "test"; + export const exp783 = "test"; + export const exp784 = "test"; + export const exp785 = "test"; + export const exp786 = "test"; + export const exp787 = "test"; + export const exp788 = "test"; + export const exp789 = "test"; + export const exp790 = "test"; + export const exp791 = "test"; + export const exp792 = "test"; + export const exp793 = "test"; + export const exp794 = "test"; + export const exp795 = "test"; + export const exp796 = "test"; + export const exp797 = "test"; + export const exp798 = "test"; + export const exp799 = "test"; + export const exp800 = "test"; + export const exp801 = "test"; + export const exp802 = "test"; + export const exp803 = "test"; + export const exp804 = "test"; + export const exp805 = "test"; + export const exp806 = "test"; + export const exp807 = "test"; + export const exp808 = "test"; + export const exp809 = "test"; + export const exp810 = "test"; + export const exp811 = "test"; + export const exp812 = "test"; + export const exp813 = "test"; + export const exp814 = "test"; + export const exp815 = "test"; + export const exp816 = "test"; + export const exp817 = "test"; + export const exp818 = "test"; + export const exp819 = "test"; + export const exp820 = "test"; + export const exp821 = "test"; + export const exp822 = "test"; + export const exp823 = "test"; + export const exp824 = "test"; + export const exp825 = "test"; + export const exp826 = "test"; + export const exp827 = "test"; + export const exp828 = "test"; + export const exp829 = "test"; + export const exp830 = "test"; + export const exp831 = "test"; + export const exp832 = "test"; + export const exp833 = "test"; + export const exp834 = "test"; + export const exp835 = "test"; + export const exp836 = "test"; + export const exp837 = "test"; + export const exp838 = "test"; + export const exp839 = "test"; + export const exp840 = "test"; + export const exp841 = "test"; + export const exp842 = "test"; + export const exp843 = "test"; + export const exp844 = "test"; + export const exp845 = "test"; + export const exp846 = "test"; + export const exp847 = "test"; + export const exp848 = "test"; + export const exp849 = "test"; + export const exp850 = "test"; + export const exp851 = "test"; + export const exp852 = "test"; + export const exp853 = "test"; + export const exp854 = "test"; + export const exp855 = "test"; + export const exp856 = "test"; + export const exp857 = "test"; + export const exp858 = "test"; + export const exp859 = "test"; + export const exp860 = "test"; + export const exp861 = "test"; + export const exp862 = "test"; + export const exp863 = "test"; + export const exp864 = "test"; + export const exp865 = "test"; + export const exp866 = "test"; + export const exp867 = "test"; + export const exp868 = "test"; + export const exp869 = "test"; + export const exp870 = "test"; + export const exp871 = "test"; + export const exp872 = "test"; + export const exp873 = "test"; + export const exp874 = "test"; + export const exp875 = "test"; + export const exp876 = "test"; + export const exp877 = "test"; + export const exp878 = "test"; + export const exp879 = "test"; + export const exp880 = "test"; + export const exp881 = "test"; + export const exp882 = "test"; + export const exp883 = "test"; + export const exp884 = "test"; + export const exp885 = "test"; + export const exp886 = "test"; + export const exp887 = "test"; + export const exp888 = "test"; + export const exp889 = "test"; + export const exp890 = "test"; + export const exp891 = "test"; + export const exp892 = "test"; + export const exp893 = "test"; + export const exp894 = "test"; + export const exp895 = "test"; + export const exp896 = "test"; + export const exp897 = "test"; + export const exp898 = "test"; + export const exp899 = "test"; + export const exp900 = "test"; + export const exp901 = "test"; + export const exp902 = "test"; + export const exp903 = "test"; + export const exp904 = "test"; + export const exp905 = "test"; + export const exp906 = "test"; + export const exp907 = "test"; + export const exp908 = "test"; + export const exp909 = "test"; + export const exp910 = "test"; + export const exp911 = "test"; + export const exp912 = "test"; + export const exp913 = "test"; + export const exp914 = "test"; + export const exp915 = "test"; + export const exp916 = "test"; + export const exp917 = "test"; + export const exp918 = "test"; + export const exp919 = "test"; + export const exp920 = "test"; + export const exp921 = "test"; + export const exp922 = "test"; + export const exp923 = "test"; + export const exp924 = "test"; + export const exp925 = "test"; + export const exp926 = "test"; + export const exp927 = "test"; + export const exp928 = "test"; + export const exp929 = "test"; + export const exp930 = "test"; + export const exp931 = "test"; + export const exp932 = "test"; + export const exp933 = "test"; + export const exp934 = "test"; + export const exp935 = "test"; + export const exp936 = "test"; + export const exp937 = "test"; + export const exp938 = "test"; + export const exp939 = "test"; + export const exp940 = "test"; + export const exp941 = "test"; + export const exp942 = "test"; + export const exp943 = "test"; + export const exp944 = "test"; + export const exp945 = "test"; + export const exp946 = "test"; + export const exp947 = "test"; + export const exp948 = "test"; + export const exp949 = "test"; + export const exp950 = "test"; + export const exp951 = "test"; + export const exp952 = "test"; + export const exp953 = "test"; + export const exp954 = "test"; + export const exp955 = "test"; + export const exp956 = "test"; + export const exp957 = "test"; + export const exp958 = "test"; + export const exp959 = "test"; + export const exp960 = "test"; + export const exp961 = "test"; + export const exp962 = "test"; + export const exp963 = "test"; + export const exp964 = "test"; + export const exp965 = "test"; + export const exp966 = "test"; + export const exp967 = "test"; + export const exp968 = "test"; + export const exp969 = "test"; + export const exp970 = "test"; + export const exp971 = "test"; + export const exp972 = "test"; + export const exp973 = "test"; + export const exp974 = "test"; + export const exp975 = "test"; + export const exp976 = "test"; + export const exp977 = "test"; + export const exp978 = "test"; + export const exp979 = "test"; + export const exp980 = "test"; + export const exp981 = "test"; + export const exp982 = "test"; + export const exp983 = "test"; + export const exp984 = "test"; + export const exp985 = "test"; + export const exp986 = "test"; + export const exp987 = "test"; + export const exp988 = "test"; + export const exp989 = "test"; + export const exp990 = "test"; + export const exp991 = "test"; + export const exp992 = "test"; + export const exp993 = "test"; + export const exp994 = "test"; + export const exp995 = "test"; + export const exp996 = "test"; + export const exp997 = "test"; + export const exp998 = "test"; + export const exp999 = "test"; + export const exp1000 = "test"; + export const exp1001 = "test"; + export const exp1002 = "test"; + export const exp1003 = "test"; + export const exp1004 = "test"; + export const exp1005 = "test"; + export const exp1006 = "test"; + export const exp1007 = "test"; + export const exp1008 = "test"; + export const exp1009 = "test"; + export const exp1010 = "test"; + export const exp1011 = "test"; + export const exp1012 = "test"; + export const exp1013 = "test"; + export const exp1014 = "test"; + export const exp1015 = "test"; + export const exp1016 = "test"; + export const exp1017 = "test"; + export const exp1018 = "test"; + export const exp1019 = "test"; + export const exp1020 = "test"; + export const exp1021 = "test"; + export const exp1022 = "test"; + export const exp1023 = "test"; + export const exp1024 = "test"; + export const exp1025 = "test"; + export const exp1026 = "test"; + export const exp1027 = "test"; + export const exp1028 = "test"; + export const exp1029 = "test"; + export const exp1030 = "test"; + export const exp1031 = "test"; + export const exp1032 = "test"; + export const exp1033 = "test"; + export const exp1034 = "test"; + export const exp1035 = "test"; + export const exp1036 = "test"; + export const exp1037 = "test"; + export const exp1038 = "test"; + export const exp1039 = "test"; + export const exp1040 = "test"; + export const exp1041 = "test"; + export const exp1042 = "test"; + export const exp1043 = "test"; + export const exp1044 = "test"; + export const exp1045 = "test"; + export const exp1046 = "test"; + export const exp1047 = "test"; + export const exp1048 = "test"; + export const exp1049 = "test"; + export const exp1050 = "test"; + export const exp1051 = "test"; + export const exp1052 = "test"; + export const exp1053 = "test"; + export const exp1054 = "test"; + export const exp1055 = "test"; + export const exp1056 = "test"; + export const exp1057 = "test"; + export const exp1058 = "test"; + export const exp1059 = "test"; + export const exp1060 = "test"; + export const exp1061 = "test"; + export const exp1062 = "test"; + export const exp1063 = "test"; + export const exp1064 = "test"; + export const exp1065 = "test"; + export const exp1066 = "test"; + export const exp1067 = "test"; + export const exp1068 = "test"; + export const exp1069 = "test"; + export const exp1070 = "test"; + export const exp1071 = "test"; + export const exp1072 = "test"; + export const exp1073 = "test"; + export const exp1074 = "test"; + export const exp1075 = "test"; + export const exp1076 = "test"; + export const exp1077 = "test"; + export const exp1078 = "test"; + export const exp1079 = "test"; + export const exp1080 = "test"; + export const exp1081 = "test"; + export const exp1082 = "test"; + export const exp1083 = "test"; + export const exp1084 = "test"; + export const exp1085 = "test"; + export const exp1086 = "test"; + export const exp1087 = "test"; + export const exp1088 = "test"; + export const exp1089 = "test"; + export const exp1090 = "test"; + export const exp1091 = "test"; + export const exp1092 = "test"; + export const exp1093 = "test"; + export const exp1094 = "test"; + export const exp1095 = "test"; + export const exp1096 = "test"; + export const exp1097 = "test"; + export const exp1098 = "test"; + export const exp1099 = "test"; + export const exp1100 = "test"; + export const exp1101 = "test"; + export const exp1102 = "test"; + export const exp1103 = "test"; + export const exp1104 = "test"; + export const exp1105 = "test"; + export const exp1106 = "test"; + export const exp1107 = "test"; + export const exp1108 = "test"; + export const exp1109 = "test"; + export const exp1110 = "test"; + export const exp1111 = "test"; + export const exp1112 = "test"; + export const exp1113 = "test"; + export const exp1114 = "test"; + export const exp1115 = "test"; + export const exp1116 = "test"; + export const exp1117 = "test"; + export const exp1118 = "test"; + export const exp1119 = "test"; + export const exp1120 = "test"; + export const exp1121 = "test"; + export const exp1122 = "test"; + export const exp1123 = "test"; + export const exp1124 = "test"; + export const exp1125 = "test"; + export const exp1126 = "test"; + export const exp1127 = "test"; + export const exp1128 = "test"; + export const exp1129 = "test"; + export const exp1130 = "test"; + export const exp1131 = "test"; + export const exp1132 = "test"; + export const exp1133 = "test"; + export const exp1134 = "test"; + export const exp1135 = "test"; + export const exp1136 = "test"; + export const exp1137 = "test"; + export const exp1138 = "test"; + export const exp1139 = "test"; + export const exp1140 = "test"; + export const exp1141 = "test"; + export const exp1142 = "test"; + export const exp1143 = "test"; + export const exp1144 = "test"; + export const exp1145 = "test"; + export const exp1146 = "test"; + export const exp1147 = "test"; + export const exp1148 = "test"; + export const exp1149 = "test"; + export const exp1150 = "test"; + export const exp1151 = "test"; + export const exp1152 = "test"; + export const exp1153 = "test"; + export const exp1154 = "test"; + export const exp1155 = "test"; + export const exp1156 = "test"; + export const exp1157 = "test"; + export const exp1158 = "test"; + export const exp1159 = "test"; + export const exp1160 = "test"; + export const exp1161 = "test"; + export const exp1162 = "test"; + export const exp1163 = "test"; + export const exp1164 = "test"; + export const exp1165 = "test"; + export const exp1166 = "test"; + export const exp1167 = "test"; + export const exp1168 = "test"; + export const exp1169 = "test"; + export const exp1170 = "test"; + export const exp1171 = "test"; + export const exp1172 = "test"; + export const exp1173 = "test"; + export const exp1174 = "test"; + export const exp1175 = "test"; + export const exp1176 = "test"; + export const exp1177 = "test"; + export const exp1178 = "test"; + export const exp1179 = "test"; + export const exp1180 = "test"; + export const exp1181 = "test"; + export const exp1182 = "test"; + export const exp1183 = "test"; + export const exp1184 = "test"; + export const exp1185 = "test"; + export const exp1186 = "test"; + export const exp1187 = "test"; + export const exp1188 = "test"; + export const exp1189 = "test"; + export const exp1190 = "test"; + export const exp1191 = "test"; + export const exp1192 = "test"; + export const exp1193 = "test"; + export const exp1194 = "test"; + export const exp1195 = "test"; + export const exp1196 = "test"; + export const exp1197 = "test"; + export const exp1198 = "test"; + export const exp1199 = "test"; + export const exp1200 = "test"; + export const exp1201 = "test"; + export const exp1202 = "test"; + export const exp1203 = "test"; + export const exp1204 = "test"; + export const exp1205 = "test"; + export const exp1206 = "test"; + export const exp1207 = "test"; + export const exp1208 = "test"; + export const exp1209 = "test"; + export const exp1210 = "test"; + export const exp1211 = "test"; + export const exp1212 = "test"; + export const exp1213 = "test"; + export const exp1214 = "test"; + export const exp1215 = "test"; + export const exp1216 = "test"; + export const exp1217 = "test"; + export const exp1218 = "test"; + export const exp1219 = "test"; + export const exp1220 = "test"; + export const exp1221 = "test"; + export const exp1222 = "test"; + export const exp1223 = "test"; + export const exp1224 = "test"; + export const exp1225 = "test"; + export const exp1226 = "test"; + export const exp1227 = "test"; + export const exp1228 = "test"; + export const exp1229 = "test"; + export const exp1230 = "test"; + export const exp1231 = "test"; + export const exp1232 = "test"; + export const exp1233 = "test"; + export const exp1234 = "test"; + export const exp1235 = "test"; + export const exp1236 = "test"; + export const exp1237 = "test"; + export const exp1238 = "test"; + export const exp1239 = "test"; + export const exp1240 = "test"; + export const exp1241 = "test"; + export const exp1242 = "test"; + export const exp1243 = "test"; + export const exp1244 = "test"; + export const exp1245 = "test"; + export const exp1246 = "test"; + export const exp1247 = "test"; + export const exp1248 = "test"; + export const exp1249 = "test"; + export const exp1250 = "test"; + export const exp1251 = "test"; + export const exp1252 = "test"; + export const exp1253 = "test"; + export const exp1254 = "test"; + export const exp1255 = "test"; + export const exp1256 = "test"; + export const exp1257 = "test"; + export const exp1258 = "test"; + export const exp1259 = "test"; + export const exp1260 = "test"; + export const exp1261 = "test"; + export const exp1262 = "test"; + export const exp1263 = "test"; + export const exp1264 = "test"; + export const exp1265 = "test"; + export const exp1266 = "test"; + export const exp1267 = "test"; + export const exp1268 = "test"; + export const exp1269 = "test"; + export const exp1270 = "test"; + export const exp1271 = "test"; + export const exp1272 = "test"; + export const exp1273 = "test"; + export const exp1274 = "test"; + export const exp1275 = "test"; + export const exp1276 = "test"; + export const exp1277 = "test"; + export const exp1278 = "test"; + export const exp1279 = "test"; + export const exp1280 = "test"; + export const exp1281 = "test"; + export const exp1282 = "test"; + export const exp1283 = "test"; + export const exp1284 = "test"; + export const exp1285 = "test"; + export const exp1286 = "test"; + export const exp1287 = "test"; + export const exp1288 = "test"; + export const exp1289 = "test"; + export const exp1290 = "test"; + export const exp1291 = "test"; + export const exp1292 = "test"; + export const exp1293 = "test"; + export const exp1294 = "test"; + export const exp1295 = "test"; + export const exp1296 = "test"; + export const exp1297 = "test"; + export const exp1298 = "test"; + export const exp1299 = "test"; + export const exp1300 = "test"; + export const exp1301 = "test"; + export const exp1302 = "test"; + export const exp1303 = "test"; + export const exp1304 = "test"; + export const exp1305 = "test"; + export const exp1306 = "test"; + export const exp1307 = "test"; + export const exp1308 = "test"; + export const exp1309 = "test"; + export const exp1310 = "test"; + export const exp1311 = "test"; + export const exp1312 = "test"; + export const exp1313 = "test"; + export const exp1314 = "test"; + export const exp1315 = "test"; + export const exp1316 = "test"; + export const exp1317 = "test"; + export const exp1318 = "test"; + export const exp1319 = "test"; + export const exp1320 = "test"; + export const exp1321 = "test"; + export const exp1322 = "test"; + export const exp1323 = "test"; + export const exp1324 = "test"; + export const exp1325 = "test"; + export const exp1326 = "test"; + export const exp1327 = "test"; + export const exp1328 = "test"; + export const exp1329 = "test"; + export const exp1330 = "test"; + export const exp1331 = "test"; + export const exp1332 = "test"; + export const exp1333 = "test"; + export const exp1334 = "test"; + export const exp1335 = "test"; + export const exp1336 = "test"; + export const exp1337 = "test"; + export const exp1338 = "test"; + export const exp1339 = "test"; + export const exp1340 = "test"; + export const exp1341 = "test"; + export const exp1342 = "test"; + export const exp1343 = "test"; + export const exp1344 = "test"; + export const exp1345 = "test"; + export const exp1346 = "test"; + export const exp1347 = "test"; + export const exp1348 = "test"; + export const exp1349 = "test"; + export const exp1350 = "test"; + export const exp1351 = "test"; + export const exp1352 = "test"; + export const exp1353 = "test"; + export const exp1354 = "test"; + export const exp1355 = "test"; + export const exp1356 = "test"; + export const exp1357 = "test"; + export const exp1358 = "test"; + export const exp1359 = "test"; + export const exp1360 = "test"; + export const exp1361 = "test"; + export const exp1362 = "test"; + export const exp1363 = "test"; + export const exp1364 = "test"; + export const exp1365 = "test"; + export const exp1366 = "test"; + export const exp1367 = "test"; + export const exp1368 = "test"; + export const exp1369 = "test"; + export const exp1370 = "test"; + export const exp1371 = "test"; + export const exp1372 = "test"; + export const exp1373 = "test"; + export const exp1374 = "test"; + export const exp1375 = "test"; + export const exp1376 = "test"; + export const exp1377 = "test"; + export const exp1378 = "test"; + export const exp1379 = "test"; + export const exp1380 = "test"; + export const exp1381 = "test"; + export const exp1382 = "test"; + export const exp1383 = "test"; + export const exp1384 = "test"; + export const exp1385 = "test"; + export const exp1386 = "test"; + export const exp1387 = "test"; + export const exp1388 = "test"; + export const exp1389 = "test"; + export const exp1390 = "test"; + export const exp1391 = "test"; + export const exp1392 = "test"; + export const exp1393 = "test"; + export const exp1394 = "test"; + export const exp1395 = "test"; + export const exp1396 = "test"; + export const exp1397 = "test"; + export const exp1398 = "test"; + export const exp1399 = "test"; + export const exp1400 = "test"; + export const exp1401 = "test"; + export const exp1402 = "test"; + export const exp1403 = "test"; + export const exp1404 = "test"; + export const exp1405 = "test"; + export const exp1406 = "test"; + export const exp1407 = "test"; + export const exp1408 = "test"; + export const exp1409 = "test"; + export const exp1410 = "test"; + export const exp1411 = "test"; + export const exp1412 = "test"; + export const exp1413 = "test"; + export const exp1414 = "test"; + export const exp1415 = "test"; + export const exp1416 = "test"; + export const exp1417 = "test"; + export const exp1418 = "test"; + export const exp1419 = "test"; + export const exp1420 = "test"; + export const exp1421 = "test"; + export const exp1422 = "test"; + export const exp1423 = "test"; + export const exp1424 = "test"; + export const exp1425 = "test"; + export const exp1426 = "test"; + export const exp1427 = "test"; + export const exp1428 = "test"; + export const exp1429 = "test"; + export const exp1430 = "test"; + export const exp1431 = "test"; + export const exp1432 = "test"; + export const exp1433 = "test"; + export const exp1434 = "test"; + export const exp1435 = "test"; + export const exp1436 = "test"; + export const exp1437 = "test"; + export const exp1438 = "test"; + export const exp1439 = "test"; + export const exp1440 = "test"; + export const exp1441 = "test"; + export const exp1442 = "test"; + export const exp1443 = "test"; + export const exp1444 = "test"; + export const exp1445 = "test"; + export const exp1446 = "test"; + export const exp1447 = "test"; + export const exp1448 = "test"; + export const exp1449 = "test"; + export const exp1450 = "test"; + export const exp1451 = "test"; + export const exp1452 = "test"; + export const exp1453 = "test"; + export const exp1454 = "test"; + export const exp1455 = "test"; + export const exp1456 = "test"; + export const exp1457 = "test"; + export const exp1458 = "test"; + export const exp1459 = "test"; + export const exp1460 = "test"; + export const exp1461 = "test"; + export const exp1462 = "test"; + export const exp1463 = "test"; + export const exp1464 = "test"; + export const exp1465 = "test"; + export const exp1466 = "test"; + export const exp1467 = "test"; + export const exp1468 = "test"; + export const exp1469 = "test"; + export const exp1470 = "test"; + export const exp1471 = "test"; + export const exp1472 = "test"; + export const exp1473 = "test"; + export const exp1474 = "test"; + export const exp1475 = "test"; + export const exp1476 = "test"; + export const exp1477 = "test"; + export const exp1478 = "test"; + export const exp1479 = "test"; + export const exp1480 = "test"; + export const exp1481 = "test"; + export const exp1482 = "test"; + export const exp1483 = "test"; + export const exp1484 = "test"; + export const exp1485 = "test"; + export const exp1486 = "test"; + export const exp1487 = "test"; + export const exp1488 = "test"; + export const exp1489 = "test"; + export const exp1490 = "test"; + export const exp1491 = "test"; + export const exp1492 = "test"; + export const exp1493 = "test"; + export const exp1494 = "test"; + export const exp1495 = "test"; + export const exp1496 = "test"; + export const exp1497 = "test"; + export const exp1498 = "test"; + export const exp1499 = "test"; + export const exp1500 = "test"; + export const exp1501 = "test"; + export const exp1502 = "test"; + export const exp1503 = "test"; + export const exp1504 = "test"; + export const exp1505 = "test"; + export const exp1506 = "test"; + export const exp1507 = "test"; + export const exp1508 = "test"; + export const exp1509 = "test"; + export const exp1510 = "test"; + export const exp1511 = "test"; + export const exp1512 = "test"; + export const exp1513 = "test"; + export const exp1514 = "test"; + export const exp1515 = "test"; + export const exp1516 = "test"; + export const exp1517 = "test"; + export const exp1518 = "test"; + export const exp1519 = "test"; + export const exp1520 = "test"; + export const exp1521 = "test"; + export const exp1522 = "test"; + export const exp1523 = "test"; + export const exp1524 = "test"; + export const exp1525 = "test"; + export const exp1526 = "test"; + export const exp1527 = "test"; + export const exp1528 = "test"; + export const exp1529 = "test"; + export const exp1530 = "test"; + export const exp1531 = "test"; + export const exp1532 = "test"; + export const exp1533 = "test"; + export const exp1534 = "test"; + export const exp1535 = "test"; + export const exp1536 = "test"; + export const exp1537 = "test"; + export const exp1538 = "test"; + export const exp1539 = "test"; + export const exp1540 = "test"; + export const exp1541 = "test"; + export const exp1542 = "test"; + export const exp1543 = "test"; + export const exp1544 = "test"; + export const exp1545 = "test"; + export const exp1546 = "test"; + export const exp1547 = "test"; + export const exp1548 = "test"; + export const exp1549 = "test"; + export const exp1550 = "test"; + export const exp1551 = "test"; + export const exp1552 = "test"; + export const exp1553 = "test"; + export const exp1554 = "test"; + export const exp1555 = "test"; + export const exp1556 = "test"; + export const exp1557 = "test"; + export const exp1558 = "test"; + export const exp1559 = "test"; + export const exp1560 = "test"; + export const exp1561 = "test"; + export const exp1562 = "test"; + export const exp1563 = "test"; + export const exp1564 = "test"; + export const exp1565 = "test"; + export const exp1566 = "test"; + export const exp1567 = "test"; + export const exp1568 = "test"; + export const exp1569 = "test"; + export const exp1570 = "test"; + export const exp1571 = "test"; + export const exp1572 = "test"; + export const exp1573 = "test"; + export const exp1574 = "test"; + export const exp1575 = "test"; + export const exp1576 = "test"; + export const exp1577 = "test"; + export const exp1578 = "test"; + export const exp1579 = "test"; + export const exp1580 = "test"; + export const exp1581 = "test"; + export const exp1582 = "test"; + export const exp1583 = "test"; + export const exp1584 = "test"; + export const exp1585 = "test"; + export const exp1586 = "test"; + export const exp1587 = "test"; + export const exp1588 = "test"; + export const exp1589 = "test"; + export const exp1590 = "test"; + export const exp1591 = "test"; + export const exp1592 = "test"; + export const exp1593 = "test"; + export const exp1594 = "test"; + export const exp1595 = "test"; + export const exp1596 = "test"; + export const exp1597 = "test"; + export const exp1598 = "test"; + export const exp1599 = "test"; + export const exp1600 = "test"; + export const exp1601 = "test"; + export const exp1602 = "test"; + export const exp1603 = "test"; + export const exp1604 = "test"; + export const exp1605 = "test"; + export const exp1606 = "test"; + export const exp1607 = "test"; + export const exp1608 = "test"; + export const exp1609 = "test"; + export const exp1610 = "test"; + export const exp1611 = "test"; + export const exp1612 = "test"; + export const exp1613 = "test"; + export const exp1614 = "test"; + export const exp1615 = "test"; + export const exp1616 = "test"; + export const exp1617 = "test"; + export const exp1618 = "test"; + export const exp1619 = "test"; + export const exp1620 = "test"; + export const exp1621 = "test"; + export const exp1622 = "test"; + export const exp1623 = "test"; + export const exp1624 = "test"; + export const exp1625 = "test"; + export const exp1626 = "test"; + export const exp1627 = "test"; + export const exp1628 = "test"; + export const exp1629 = "test"; + export const exp1630 = "test"; + export const exp1631 = "test"; + export const exp1632 = "test"; + export const exp1633 = "test"; + export const exp1634 = "test"; + export const exp1635 = "test"; + export const exp1636 = "test"; + export const exp1637 = "test"; + export const exp1638 = "test"; + export const exp1639 = "test"; + export const exp1640 = "test"; + export const exp1641 = "test"; + export const exp1642 = "test"; + export const exp1643 = "test"; + export const exp1644 = "test"; + export const exp1645 = "test"; + export const exp1646 = "test"; + export const exp1647 = "test"; + export const exp1648 = "test"; + export const exp1649 = "test"; + export const exp1650 = "test"; + export const exp1651 = "test"; + export const exp1652 = "test"; + export const exp1653 = "test"; + export const exp1654 = "test"; + export const exp1655 = "test"; + export const exp1656 = "test"; + export const exp1657 = "test"; + export const exp1658 = "test"; + export const exp1659 = "test"; + export const exp1660 = "test"; + export const exp1661 = "test"; + export const exp1662 = "test"; + export const exp1663 = "test"; + export const exp1664 = "test"; + export const exp1665 = "test"; + export const exp1666 = "test"; + export const exp1667 = "test"; + export const exp1668 = "test"; + export const exp1669 = "test"; + export const exp1670 = "test"; + export const exp1671 = "test"; + export const exp1672 = "test"; + export const exp1673 = "test"; + export const exp1674 = "test"; + export const exp1675 = "test"; + export const exp1676 = "test"; + export const exp1677 = "test"; + export const exp1678 = "test"; + export const exp1679 = "test"; + export const exp1680 = "test"; + export const exp1681 = "test"; + export const exp1682 = "test"; + export const exp1683 = "test"; + export const exp1684 = "test"; + export const exp1685 = "test"; + export const exp1686 = "test"; + export const exp1687 = "test"; + export const exp1688 = "test"; + export const exp1689 = "test"; + export const exp1690 = "test"; + export const exp1691 = "test"; + export const exp1692 = "test"; + export const exp1693 = "test"; + export const exp1694 = "test"; + export const exp1695 = "test"; + export const exp1696 = "test"; + export const exp1697 = "test"; + export const exp1698 = "test"; + export const exp1699 = "test"; + export const exp1700 = "test"; + export const exp1701 = "test"; + export const exp1702 = "test"; + export const exp1703 = "test"; + export const exp1704 = "test"; + export const exp1705 = "test"; + export const exp1706 = "test"; + export const exp1707 = "test"; + export const exp1708 = "test"; + export const exp1709 = "test"; + export const exp1710 = "test"; + export const exp1711 = "test"; + export const exp1712 = "test"; + export const exp1713 = "test"; + export const exp1714 = "test"; + export const exp1715 = "test"; + export const exp1716 = "test"; + export const exp1717 = "test"; + export const exp1718 = "test"; + export const exp1719 = "test"; + export const exp1720 = "test"; + export const exp1721 = "test"; + export const exp1722 = "test"; + export const exp1723 = "test"; + export const exp1724 = "test"; + export const exp1725 = "test"; + export const exp1726 = "test"; + export const exp1727 = "test"; + export const exp1728 = "test"; + export const exp1729 = "test"; + export const exp1730 = "test"; + export const exp1731 = "test"; + export const exp1732 = "test"; + export const exp1733 = "test"; + export const exp1734 = "test"; + export const exp1735 = "test"; + export const exp1736 = "test"; + export const exp1737 = "test"; + export const exp1738 = "test"; + export const exp1739 = "test"; + export const exp1740 = "test"; + export const exp1741 = "test"; + export const exp1742 = "test"; + export const exp1743 = "test"; + export const exp1744 = "test"; + export const exp1745 = "test"; + export const exp1746 = "test"; + export const exp1747 = "test"; + export const exp1748 = "test"; + export const exp1749 = "test"; + export const exp1750 = "test"; + export const exp1751 = "test"; + export const exp1752 = "test"; + export const exp1753 = "test"; + export const exp1754 = "test"; + export const exp1755 = "test"; + export const exp1756 = "test"; + export const exp1757 = "test"; + export const exp1758 = "test"; + export const exp1759 = "test"; + export const exp1760 = "test"; + export const exp1761 = "test"; + export const exp1762 = "test"; + export const exp1763 = "test"; + export const exp1764 = "test"; + export const exp1765 = "test"; + export const exp1766 = "test"; + export const exp1767 = "test"; + export const exp1768 = "test"; + export const exp1769 = "test"; + export const exp1770 = "test"; + export const exp1771 = "test"; + export const exp1772 = "test"; + export const exp1773 = "test"; + export const exp1774 = "test"; + export const exp1775 = "test"; + export const exp1776 = "test"; + export const exp1777 = "test"; + export const exp1778 = "test"; + export const exp1779 = "test"; + export const exp1780 = "test"; + export const exp1781 = "test"; + export const exp1782 = "test"; + export const exp1783 = "test"; + export const exp1784 = "test"; + export const exp1785 = "test"; + export const exp1786 = "test"; + export const exp1787 = "test"; + export const exp1788 = "test"; + export const exp1789 = "test"; + export const exp1790 = "test"; + export const exp1791 = "test"; + export const exp1792 = "test"; + export const exp1793 = "test"; + export const exp1794 = "test"; + export const exp1795 = "test"; + export const exp1796 = "test"; + export const exp1797 = "test"; + export const exp1798 = "test"; + export const exp1799 = "test"; + export const exp1800 = "test"; + export const exp1801 = "test"; + export const exp1802 = "test"; + export const exp1803 = "test"; + export const exp1804 = "test"; + export const exp1805 = "test"; + export const exp1806 = "test"; + export const exp1807 = "test"; + export const exp1808 = "test"; + export const exp1809 = "test"; + export const exp1810 = "test"; + export const exp1811 = "test"; + export const exp1812 = "test"; + export const exp1813 = "test"; + export const exp1814 = "test"; + export const exp1815 = "test"; + export const exp1816 = "test"; + export const exp1817 = "test"; + export const exp1818 = "test"; + export const exp1819 = "test"; + export const exp1820 = "test"; + export const exp1821 = "test"; + export const exp1822 = "test"; + export const exp1823 = "test"; + export const exp1824 = "test"; + export const exp1825 = "test"; + export const exp1826 = "test"; + export const exp1827 = "test"; + export const exp1828 = "test"; + export const exp1829 = "test"; + export const exp1830 = "test"; + export const exp1831 = "test"; + export const exp1832 = "test"; + export const exp1833 = "test"; + export const exp1834 = "test"; + export const exp1835 = "test"; + export const exp1836 = "test"; + export const exp1837 = "test"; + export const exp1838 = "test"; + export const exp1839 = "test"; + export const exp1840 = "test"; + export const exp1841 = "test"; + export const exp1842 = "test"; + export const exp1843 = "test"; + export const exp1844 = "test"; + export const exp1845 = "test"; + export const exp1846 = "test"; + export const exp1847 = "test"; + export const exp1848 = "test"; + export const exp1849 = "test"; + export const exp1850 = "test"; + export const exp1851 = "test"; + export const exp1852 = "test"; + export const exp1853 = "test"; + export const exp1854 = "test"; + export const exp1855 = "test"; + export const exp1856 = "test"; + export const exp1857 = "test"; + export const exp1858 = "test"; + export const exp1859 = "test"; + export const exp1860 = "test"; + export const exp1861 = "test"; + export const exp1862 = "test"; + export const exp1863 = "test"; + export const exp1864 = "test"; + export const exp1865 = "test"; + export const exp1866 = "test"; + export const exp1867 = "test"; + export const exp1868 = "test"; + export const exp1869 = "test"; + export const exp1870 = "test"; + export const exp1871 = "test"; + export const exp1872 = "test"; + export const exp1873 = "test"; + export const exp1874 = "test"; + export const exp1875 = "test"; + export const exp1876 = "test"; + export const exp1877 = "test"; + export const exp1878 = "test"; + export const exp1879 = "test"; + export const exp1880 = "test"; + export const exp1881 = "test"; + export const exp1882 = "test"; + export const exp1883 = "test"; + export const exp1884 = "test"; + export const exp1885 = "test"; + export const exp1886 = "test"; + export const exp1887 = "test"; + export const exp1888 = "test"; + export const exp1889 = "test"; + export const exp1890 = "test"; + export const exp1891 = "test"; + export const exp1892 = "test"; + export const exp1893 = "test"; + export const exp1894 = "test"; + export const exp1895 = "test"; + export const exp1896 = "test"; + export const exp1897 = "test"; + export const exp1898 = "test"; + export const exp1899 = "test"; + export const exp1900 = "test"; + export const exp1901 = "test"; + export const exp1902 = "test"; + export const exp1903 = "test"; + export const exp1904 = "test"; + export const exp1905 = "test"; + export const exp1906 = "test"; + export const exp1907 = "test"; + export const exp1908 = "test"; + export const exp1909 = "test"; + export const exp1910 = "test"; + export const exp1911 = "test"; + export const exp1912 = "test"; + export const exp1913 = "test"; + export const exp1914 = "test"; + export const exp1915 = "test"; + export const exp1916 = "test"; + export const exp1917 = "test"; + export const exp1918 = "test"; + export const exp1919 = "test"; + export const exp1920 = "test"; + export const exp1921 = "test"; + export const exp1922 = "test"; + export const exp1923 = "test"; + export const exp1924 = "test"; + export const exp1925 = "test"; + export const exp1926 = "test"; + export const exp1927 = "test"; + export const exp1928 = "test"; + export const exp1929 = "test"; + export const exp1930 = "test"; + export const exp1931 = "test"; + export const exp1932 = "test"; + export const exp1933 = "test"; + export const exp1934 = "test"; + export const exp1935 = "test"; + export const exp1936 = "test"; + export const exp1937 = "test"; + export const exp1938 = "test"; + export const exp1939 = "test"; + export const exp1940 = "test"; + export const exp1941 = "test"; + export const exp1942 = "test"; + export const exp1943 = "test"; + export const exp1944 = "test"; + export const exp1945 = "test"; + export const exp1946 = "test"; + export const exp1947 = "test"; + export const exp1948 = "test"; + export const exp1949 = "test"; + export const exp1950 = "test"; + export const exp1951 = "test"; + export const exp1952 = "test"; + export const exp1953 = "test"; + export const exp1954 = "test"; + export const exp1955 = "test"; + export const exp1956 = "test"; + export const exp1957 = "test"; + export const exp1958 = "test"; + export const exp1959 = "test"; + export const exp1960 = "test"; + export const exp1961 = "test"; + export const exp1962 = "test"; + export const exp1963 = "test"; + export const exp1964 = "test"; + export const exp1965 = "test"; + export const exp1966 = "test"; + export const exp1967 = "test"; + export const exp1968 = "test"; + export const exp1969 = "test"; + export const exp1970 = "test"; + export const exp1971 = "test"; + export const exp1972 = "test"; + export const exp1973 = "test"; + export const exp1974 = "test"; + export const exp1975 = "test"; + export const exp1976 = "test"; + export const exp1977 = "test"; + export const exp1978 = "test"; + export const exp1979 = "test"; + export const exp1980 = "test"; + export const exp1981 = "test"; + export const exp1982 = "test"; + export const exp1983 = "test"; + export const exp1984 = "test"; + export const exp1985 = "test"; + export const exp1986 = "test"; + export const exp1987 = "test"; + export const exp1988 = "test"; + export const exp1989 = "test"; + export const exp1990 = "test"; + export const exp1991 = "test"; + export const exp1992 = "test"; + export const exp1993 = "test"; + export const exp1994 = "test"; + export const exp1995 = "test"; + export const exp1996 = "test"; + export const exp1997 = "test"; + export const exp1998 = "test"; + export const exp1999 = "test"; + export const exp2000 = "test"; + export const exp2001 = "test"; + export const exp2002 = "test"; + export const exp2003 = "test"; + export const exp2004 = "test"; + export const exp2005 = "test"; + export const exp2006 = "test"; + export const exp2007 = "test"; + export const exp2008 = "test"; + export const exp2009 = "test"; + export const exp2010 = "test"; + export const exp2011 = "test"; + export const exp2012 = "test"; + export const exp2013 = "test"; + export const exp2014 = "test"; + export const exp2015 = "test"; + export const exp2016 = "test"; + export const exp2017 = "test"; + export const exp2018 = "test"; + export const exp2019 = "test"; + export const exp2020 = "test"; + export const exp2021 = "test"; + export const exp2022 = "test"; + export const exp2023 = "test"; + export const exp2024 = "test"; + export const exp2025 = "test"; + export const exp2026 = "test"; + export const exp2027 = "test"; + export const exp2028 = "test"; + export const exp2029 = "test"; + export const exp2030 = "test"; + export const exp2031 = "test"; + export const exp2032 = "test"; + export const exp2033 = "test"; + export const exp2034 = "test"; + export const exp2035 = "test"; + export const exp2036 = "test"; + export const exp2037 = "test"; + export const exp2038 = "test"; + export const exp2039 = "test"; + export const exp2040 = "test"; + export const exp2041 = "test"; + export const exp2042 = "test"; + export const exp2043 = "test"; + export const exp2044 = "test"; + export const exp2045 = "test"; + export const exp2046 = "test"; + export const exp2047 = "test"; + export const exp2048 = "test"; + export const exp2049 = "test"; + export const exp2050 = "test"; + export const exp2051 = "test"; + export const exp2052 = "test"; + export const exp2053 = "test"; + export const exp2054 = "test"; + export const exp2055 = "test"; + export const exp2056 = "test"; + export const exp2057 = "test"; + export const exp2058 = "test"; + export const exp2059 = "test"; + export const exp2060 = "test"; + export const exp2061 = "test"; + export const exp2062 = "test"; + export const exp2063 = "test"; + export const exp2064 = "test"; + export const exp2065 = "test"; + export const exp2066 = "test"; + export const exp2067 = "test"; + export const exp2068 = "test"; + export const exp2069 = "test"; + export const exp2070 = "test"; + export const exp2071 = "test"; + export const exp2072 = "test"; + export const exp2073 = "test"; + export const exp2074 = "test"; + export const exp2075 = "test"; + export const exp2076 = "test"; + export const exp2077 = "test"; + export const exp2078 = "test"; + export const exp2079 = "test"; + export const exp2080 = "test"; + export const exp2081 = "test"; + export const exp2082 = "test"; + export const exp2083 = "test"; + export const exp2084 = "test"; + export const exp2085 = "test"; + export const exp2086 = "test"; + export const exp2087 = "test"; + export const exp2088 = "test"; + export const exp2089 = "test"; + export const exp2090 = "test"; + export const exp2091 = "test"; + export const exp2092 = "test"; + export const exp2093 = "test"; + export const exp2094 = "test"; + export const exp2095 = "test"; + export const exp2096 = "test"; + export const exp2097 = "test"; + export const exp2098 = "test"; + export const exp2099 = "test"; + export const exp2100 = "test"; + export const exp2101 = "test"; + export const exp2102 = "test"; + export const exp2103 = "test"; + export const exp2104 = "test"; + export const exp2105 = "test"; + export const exp2106 = "test"; + export const exp2107 = "test"; + export const exp2108 = "test"; + export const exp2109 = "test"; + export const exp2110 = "test"; + export const exp2111 = "test"; + export const exp2112 = "test"; + export const exp2113 = "test"; + export const exp2114 = "test"; + export const exp2115 = "test"; + export const exp2116 = "test"; + export const exp2117 = "test"; + export const exp2118 = "test"; + export const exp2119 = "test"; + export const exp2120 = "test"; + export const exp2121 = "test"; + export const exp2122 = "test"; + export const exp2123 = "test"; + export const exp2124 = "test"; + export const exp2125 = "test"; + export const exp2126 = "test"; + export const exp2127 = "test"; + export const exp2128 = "test"; + export const exp2129 = "test"; + export const exp2130 = "test"; + export const exp2131 = "test"; + export const exp2132 = "test"; + export const exp2133 = "test"; + export const exp2134 = "test"; + export const exp2135 = "test"; + export const exp2136 = "test"; + export const exp2137 = "test"; + export const exp2138 = "test"; + export const exp2139 = "test"; + export const exp2140 = "test"; + export const exp2141 = "test"; + export const exp2142 = "test"; + export const exp2143 = "test"; + export const exp2144 = "test"; + export const exp2145 = "test"; + export const exp2146 = "test"; + export const exp2147 = "test"; + export const exp2148 = "test"; + export const exp2149 = "test"; + export const exp2150 = "test"; + export const exp2151 = "test"; + export const exp2152 = "test"; + export const exp2153 = "test"; + export const exp2154 = "test"; + export const exp2155 = "test"; + export const exp2156 = "test"; + export const exp2157 = "test"; + export const exp2158 = "test"; + export const exp2159 = "test"; + export const exp2160 = "test"; + export const exp2161 = "test"; + export const exp2162 = "test"; + export const exp2163 = "test"; + export const exp2164 = "test"; + export const exp2165 = "test"; + export const exp2166 = "test"; + export const exp2167 = "test"; + export const exp2168 = "test"; + export const exp2169 = "test"; + export const exp2170 = "test"; + export const exp2171 = "test"; + export const exp2172 = "test"; + export const exp2173 = "test"; + export const exp2174 = "test"; + export const exp2175 = "test"; + export const exp2176 = "test"; + export const exp2177 = "test"; + export const exp2178 = "test"; + export const exp2179 = "test"; + export const exp2180 = "test"; + export const exp2181 = "test"; + export const exp2182 = "test"; + export const exp2183 = "test"; + export const exp2184 = "test"; + export const exp2185 = "test"; + export const exp2186 = "test"; + export const exp2187 = "test"; + export const exp2188 = "test"; + export const exp2189 = "test"; + export const exp2190 = "test"; + export const exp2191 = "test"; + export const exp2192 = "test"; + export const exp2193 = "test"; + export const exp2194 = "test"; + export const exp2195 = "test"; + export const exp2196 = "test"; + export const exp2197 = "test"; + export const exp2198 = "test"; + export const exp2199 = "test"; + export const exp2200 = "test"; + export const exp2201 = "test"; + export const exp2202 = "test"; + export const exp2203 = "test"; + export const exp2204 = "test"; + export const exp2205 = "test"; + export const exp2206 = "test"; + export const exp2207 = "test"; + export const exp2208 = "test"; + export const exp2209 = "test"; + export const exp2210 = "test"; + export const exp2211 = "test"; + export const exp2212 = "test"; + export const exp2213 = "test"; + export const exp2214 = "test"; + export const exp2215 = "test"; + export const exp2216 = "test"; + export const exp2217 = "test"; + export const exp2218 = "test"; + export const exp2219 = "test"; + export const exp2220 = "test"; + export const exp2221 = "test"; + export const exp2222 = "test"; + export const exp2223 = "test"; + export const exp2224 = "test"; + export const exp2225 = "test"; + export const exp2226 = "test"; + export const exp2227 = "test"; + export const exp2228 = "test"; + export const exp2229 = "test"; + export const exp2230 = "test"; + export const exp2231 = "test"; + export const exp2232 = "test"; + export const exp2233 = "test"; + export const exp2234 = "test"; + export const exp2235 = "test"; + export const exp2236 = "test"; + export const exp2237 = "test"; + export const exp2238 = "test"; + export const exp2239 = "test"; + export const exp2240 = "test"; + export const exp2241 = "test"; + export const exp2242 = "test"; + export const exp2243 = "test"; + export const exp2244 = "test"; + export const exp2245 = "test"; + export const exp2246 = "test"; + export const exp2247 = "test"; + export const exp2248 = "test"; + export const exp2249 = "test"; + export const exp2250 = "test"; + export const exp2251 = "test"; + export const exp2252 = "test"; + export const exp2253 = "test"; + export const exp2254 = "test"; + export const exp2255 = "test"; + export const exp2256 = "test"; + export const exp2257 = "test"; + export const exp2258 = "test"; + export const exp2259 = "test"; + export const exp2260 = "test"; + export const exp2261 = "test"; + export const exp2262 = "test"; + export const exp2263 = "test"; + export const exp2264 = "test"; + export const exp2265 = "test"; + export const exp2266 = "test"; + export const exp2267 = "test"; + export const exp2268 = "test"; + export const exp2269 = "test"; + export const exp2270 = "test"; + export const exp2271 = "test"; + export const exp2272 = "test"; + export const exp2273 = "test"; + export const exp2274 = "test"; + export const exp2275 = "test"; + export const exp2276 = "test"; + export const exp2277 = "test"; + export const exp2278 = "test"; + export const exp2279 = "test"; + export const exp2280 = "test"; + export const exp2281 = "test"; + export const exp2282 = "test"; + export const exp2283 = "test"; + export const exp2284 = "test"; + export const exp2285 = "test"; + export const exp2286 = "test"; + export const exp2287 = "test"; + export const exp2288 = "test"; + export const exp2289 = "test"; + export const exp2290 = "test"; + export const exp2291 = "test"; + export const exp2292 = "test"; + export const exp2293 = "test"; + export const exp2294 = "test"; + export const exp2295 = "test"; + export const exp2296 = "test"; + export const exp2297 = "test"; + export const exp2298 = "test"; + export const exp2299 = "test"; + export const exp2300 = "test"; + export const exp2301 = "test"; + export const exp2302 = "test"; + export const exp2303 = "test"; + export const exp2304 = "test"; + export const exp2305 = "test"; + export const exp2306 = "test"; + export const exp2307 = "test"; + export const exp2308 = "test"; + export const exp2309 = "test"; + export const exp2310 = "test"; + export const exp2311 = "test"; + export const exp2312 = "test"; + export const exp2313 = "test"; + export const exp2314 = "test"; + export const exp2315 = "test"; + export const exp2316 = "test"; + export const exp2317 = "test"; + export const exp2318 = "test"; + export const exp2319 = "test"; + export const exp2320 = "test"; + export const exp2321 = "test"; + export const exp2322 = "test"; + export const exp2323 = "test"; + export const exp2324 = "test"; + export const exp2325 = "test"; + export const exp2326 = "test"; + export const exp2327 = "test"; + export const exp2328 = "test"; + export const exp2329 = "test"; + export const exp2330 = "test"; + export const exp2331 = "test"; + export const exp2332 = "test"; + export const exp2333 = "test"; + export const exp2334 = "test"; + export const exp2335 = "test"; + export const exp2336 = "test"; + export const exp2337 = "test"; + export const exp2338 = "test"; + export const exp2339 = "test"; + export const exp2340 = "test"; + export const exp2341 = "test"; + export const exp2342 = "test"; + export const exp2343 = "test"; + export const exp2344 = "test"; + export const exp2345 = "test"; + export const exp2346 = "test"; + export const exp2347 = "test"; + export const exp2348 = "test"; + export const exp2349 = "test"; + export const exp2350 = "test"; + export const exp2351 = "test"; + export const exp2352 = "test"; + export const exp2353 = "test"; + export const exp2354 = "test"; + export const exp2355 = "test"; + export const exp2356 = "test"; + export const exp2357 = "test"; + export const exp2358 = "test"; + export const exp2359 = "test"; + export const exp2360 = "test"; + export const exp2361 = "test"; + export const exp2362 = "test"; + export const exp2363 = "test"; + export const exp2364 = "test"; + export const exp2365 = "test"; + export const exp2366 = "test"; + export const exp2367 = "test"; + export const exp2368 = "test"; + export const exp2369 = "test"; + export const exp2370 = "test"; + export const exp2371 = "test"; + export const exp2372 = "test"; + export const exp2373 = "test"; + export const exp2374 = "test"; + export const exp2375 = "test"; + export const exp2376 = "test"; + export const exp2377 = "test"; + export const exp2378 = "test"; + export const exp2379 = "test"; + export const exp2380 = "test"; + export const exp2381 = "test"; + export const exp2382 = "test"; + export const exp2383 = "test"; + export const exp2384 = "test"; + export const exp2385 = "test"; + export const exp2386 = "test"; + export const exp2387 = "test"; + export const exp2388 = "test"; + export const exp2389 = "test"; + export const exp2390 = "test"; + export const exp2391 = "test"; + export const exp2392 = "test"; + export const exp2393 = "test"; + export const exp2394 = "test"; + export const exp2395 = "test"; + export const exp2396 = "test"; + export const exp2397 = "test"; + export const exp2398 = "test"; + export const exp2399 = "test"; + export const exp2400 = "test"; + export const exp2401 = "test"; + export const exp2402 = "test"; + export const exp2403 = "test"; + export const exp2404 = "test"; + export const exp2405 = "test"; + export const exp2406 = "test"; + export const exp2407 = "test"; + export const exp2408 = "test"; + export const exp2409 = "test"; + export const exp2410 = "test"; + export const exp2411 = "test"; + export const exp2412 = "test"; + export const exp2413 = "test"; + export const exp2414 = "test"; + export const exp2415 = "test"; + export const exp2416 = "test"; + export const exp2417 = "test"; + export const exp2418 = "test"; + export const exp2419 = "test"; + export const exp2420 = "test"; + export const exp2421 = "test"; + export const exp2422 = "test"; + export const exp2423 = "test"; + export const exp2424 = "test"; + export const exp2425 = "test"; + export const exp2426 = "test"; + export const exp2427 = "test"; + export const exp2428 = "test"; + export const exp2429 = "test"; + export const exp2430 = "test"; + export const exp2431 = "test"; + export const exp2432 = "test"; + export const exp2433 = "test"; + export const exp2434 = "test"; + export const exp2435 = "test"; + export const exp2436 = "test"; + export const exp2437 = "test"; + export const exp2438 = "test"; + export const exp2439 = "test"; + export const exp2440 = "test"; + export const exp2441 = "test"; + export const exp2442 = "test"; + export const exp2443 = "test"; + export const exp2444 = "test"; + export const exp2445 = "test"; + export const exp2446 = "test"; + export const exp2447 = "test"; + export const exp2448 = "test"; + export const exp2449 = "test"; + export const exp2450 = "test"; + export const exp2451 = "test"; + export const exp2452 = "test"; + export const exp2453 = "test"; + export const exp2454 = "test"; + export const exp2455 = "test"; + export const exp2456 = "test"; + export const exp2457 = "test"; + export const exp2458 = "test"; + export const exp2459 = "test"; + export const exp2460 = "test"; + export const exp2461 = "test"; + export const exp2462 = "test"; + export const exp2463 = "test"; + export const exp2464 = "test"; + export const exp2465 = "test"; + export const exp2466 = "test"; + export const exp2467 = "test"; + export const exp2468 = "test"; + export const exp2469 = "test"; + export const exp2470 = "test"; + export const exp2471 = "test"; + export const exp2472 = "test"; + export const exp2473 = "test"; + export const exp2474 = "test"; + export const exp2475 = "test"; + export const exp2476 = "test"; + export const exp2477 = "test"; + export const exp2478 = "test"; + export const exp2479 = "test"; + export const exp2480 = "test"; + export const exp2481 = "test"; + export const exp2482 = "test"; + export const exp2483 = "test"; + export const exp2484 = "test"; + export const exp2485 = "test"; + export const exp2486 = "test"; + export const exp2487 = "test"; + export const exp2488 = "test"; + export const exp2489 = "test"; + export const exp2490 = "test"; + export const exp2491 = "test"; + export const exp2492 = "test"; + export const exp2493 = "test"; + export const exp2494 = "test"; + export const exp2495 = "test"; + export const exp2496 = "test"; + export const exp2497 = "test"; + export const exp2498 = "test"; + export const exp2499 = "test"; + export const exp2500 = "test"; + export const exp2501 = "test"; + export const exp2502 = "test"; + export const exp2503 = "test"; + export const exp2504 = "test"; + export const exp2505 = "test"; + export const exp2506 = "test"; + export const exp2507 = "test"; + export const exp2508 = "test"; + export const exp2509 = "test"; + export const exp2510 = "test"; + export const exp2511 = "test"; + export const exp2512 = "test"; + export const exp2513 = "test"; + export const exp2514 = "test"; + export const exp2515 = "test"; + export const exp2516 = "test"; + export const exp2517 = "test"; + export const exp2518 = "test"; + export const exp2519 = "test"; + export const exp2520 = "test"; + export const exp2521 = "test"; + export const exp2522 = "test"; + export const exp2523 = "test"; + export const exp2524 = "test"; + export const exp2525 = "test"; + export const exp2526 = "test"; + export const exp2527 = "test"; + export const exp2528 = "test"; + export const exp2529 = "test"; + export const exp2530 = "test"; + export const exp2531 = "test"; + export const exp2532 = "test"; + export const exp2533 = "test"; + export const exp2534 = "test"; + export const exp2535 = "test"; + export const exp2536 = "test"; + export const exp2537 = "test"; + export const exp2538 = "test"; + export const exp2539 = "test"; + export const exp2540 = "test"; + export const exp2541 = "test"; + export const exp2542 = "test"; + export const exp2543 = "test"; + export const exp2544 = "test"; + export const exp2545 = "test"; + export const exp2546 = "test"; + export const exp2547 = "test"; + export const exp2548 = "test"; + export const exp2549 = "test"; + export const exp2550 = "test"; + export const exp2551 = "test"; + export const exp2552 = "test"; + export const exp2553 = "test"; + export const exp2554 = "test"; + export const exp2555 = "test"; + export const exp2556 = "test"; + export const exp2557 = "test"; + export const exp2558 = "test"; + export const exp2559 = "test"; + export const exp2560 = "test"; + export const exp2561 = "test"; + export const exp2562 = "test"; + export const exp2563 = "test"; + export const exp2564 = "test"; + export const exp2565 = "test"; + export const exp2566 = "test"; + export const exp2567 = "test"; + export const exp2568 = "test"; + export const exp2569 = "test"; + export const exp2570 = "test"; + export const exp2571 = "test"; + export const exp2572 = "test"; + export const exp2573 = "test"; + export const exp2574 = "test"; + export const exp2575 = "test"; + export const exp2576 = "test"; + export const exp2577 = "test"; + export const exp2578 = "test"; + export const exp2579 = "test"; + export const exp2580 = "test"; + export const exp2581 = "test"; + export const exp2582 = "test"; + export const exp2583 = "test"; + export const exp2584 = "test"; + export const exp2585 = "test"; + export const exp2586 = "test"; + export const exp2587 = "test"; + export const exp2588 = "test"; + export const exp2589 = "test"; + export const exp2590 = "test"; + export const exp2591 = "test"; + export const exp2592 = "test"; + export const exp2593 = "test"; + export const exp2594 = "test"; + export const exp2595 = "test"; + export const exp2596 = "test"; + export const exp2597 = "test"; + export const exp2598 = "test"; + export const exp2599 = "test"; + export const exp2600 = "test"; + export const exp2601 = "test"; + export const exp2602 = "test"; + export const exp2603 = "test"; + export const exp2604 = "test"; + export const exp2605 = "test"; + export const exp2606 = "test"; + export const exp2607 = "test"; + export const exp2608 = "test"; + export const exp2609 = "test"; + export const exp2610 = "test"; + export const exp2611 = "test"; + export const exp2612 = "test"; + export const exp2613 = "test"; + export const exp2614 = "test"; + export const exp2615 = "test"; + export const exp2616 = "test"; + export const exp2617 = "test"; + export const exp2618 = "test"; + export const exp2619 = "test"; + export const exp2620 = "test"; + export const exp2621 = "test"; + export const exp2622 = "test"; + export const exp2623 = "test"; + export const exp2624 = "test"; + export const exp2625 = "test"; + export const exp2626 = "test"; + export const exp2627 = "test"; + export const exp2628 = "test"; + export const exp2629 = "test"; + export const exp2630 = "test"; + export const exp2631 = "test"; + export const exp2632 = "test"; + export const exp2633 = "test"; + export const exp2634 = "test"; + export const exp2635 = "test"; + export const exp2636 = "test"; + export const exp2637 = "test"; + export const exp2638 = "test"; + export const exp2639 = "test"; + export const exp2640 = "test"; + export const exp2641 = "test"; + export const exp2642 = "test"; + export const exp2643 = "test"; + export const exp2644 = "test"; + export const exp2645 = "test"; + export const exp2646 = "test"; + export const exp2647 = "test"; + export const exp2648 = "test"; + export const exp2649 = "test"; + export const exp2650 = "test"; + export const exp2651 = "test"; + export const exp2652 = "test"; + export const exp2653 = "test"; + export const exp2654 = "test"; + export const exp2655 = "test"; + export const exp2656 = "test"; + export const exp2657 = "test"; + export const exp2658 = "test"; + export const exp2659 = "test"; + export const exp2660 = "test"; + export const exp2661 = "test"; + export const exp2662 = "test"; + export const exp2663 = "test"; + export const exp2664 = "test"; + export const exp2665 = "test"; + export const exp2666 = "test"; + export const exp2667 = "test"; + export const exp2668 = "test"; + export const exp2669 = "test"; + export const exp2670 = "test"; + export const exp2671 = "test"; + export const exp2672 = "test"; + export const exp2673 = "test"; + export const exp2674 = "test"; + export const exp2675 = "test"; + export const exp2676 = "test"; + export const exp2677 = "test"; + export const exp2678 = "test"; + export const exp2679 = "test"; + export const exp2680 = "test"; + export const exp2681 = "test"; + export const exp2682 = "test"; + export const exp2683 = "test"; + export const exp2684 = "test"; + export const exp2685 = "test"; + export const exp2686 = "test"; + export const exp2687 = "test"; + export const exp2688 = "test"; + export const exp2689 = "test"; + export const exp2690 = "test"; + export const exp2691 = "test"; + export const exp2692 = "test"; + export const exp2693 = "test"; + export const exp2694 = "test"; + export const exp2695 = "test"; + export const exp2696 = "test"; + export const exp2697 = "test"; + export const exp2698 = "test"; + export const exp2699 = "test"; + export const exp2700 = "test"; + export const exp2701 = "test"; + export const exp2702 = "test"; + export const exp2703 = "test"; + export const exp2704 = "test"; + export const exp2705 = "test"; + export const exp2706 = "test"; + export const exp2707 = "test"; + export const exp2708 = "test"; + export const exp2709 = "test"; + export const exp2710 = "test"; + export const exp2711 = "test"; + export const exp2712 = "test"; + export const exp2713 = "test"; + export const exp2714 = "test"; + export const exp2715 = "test"; + export const exp2716 = "test"; + export const exp2717 = "test"; + export const exp2718 = "test"; + export const exp2719 = "test"; + export const exp2720 = "test"; + export const exp2721 = "test"; + export const exp2722 = "test"; + export const exp2723 = "test"; + export const exp2724 = "test"; + export const exp2725 = "test"; + export const exp2726 = "test"; + export const exp2727 = "test"; + export const exp2728 = "test"; + export const exp2729 = "test"; + export const exp2730 = "test"; + export const exp2731 = "test"; + export const exp2732 = "test"; + export const exp2733 = "test"; + export const exp2734 = "test"; + export const exp2735 = "test"; + export const exp2736 = "test"; + export const exp2737 = "test"; + export const exp2738 = "test"; + export const exp2739 = "test"; + export const exp2740 = "test"; + export const exp2741 = "test"; + export const exp2742 = "test"; + export const exp2743 = "test"; + export const exp2744 = "test"; + export const exp2745 = "test"; + export const exp2746 = "test"; + export const exp2747 = "test"; + export const exp2748 = "test"; + export const exp2749 = "test"; + export const exp2750 = "test"; + export const exp2751 = "test"; + export const exp2752 = "test"; + export const exp2753 = "test"; + export const exp2754 = "test"; + export const exp2755 = "test"; + export const exp2756 = "test"; + export const exp2757 = "test"; + export const exp2758 = "test"; + export const exp2759 = "test"; + export const exp2760 = "test"; + export const exp2761 = "test"; + export const exp2762 = "test"; + export const exp2763 = "test"; + export const exp2764 = "test"; + export const exp2765 = "test"; + export const exp2766 = "test"; + export const exp2767 = "test"; + export const exp2768 = "test"; + export const exp2769 = "test"; + export const exp2770 = "test"; + export const exp2771 = "test"; + export const exp2772 = "test"; + export const exp2773 = "test"; + export const exp2774 = "test"; + export const exp2775 = "test"; + export const exp2776 = "test"; + export const exp2777 = "test"; + export const exp2778 = "test"; + export const exp2779 = "test"; + export const exp2780 = "test"; + export const exp2781 = "test"; + export const exp2782 = "test"; + export const exp2783 = "test"; + export const exp2784 = "test"; + export const exp2785 = "test"; + export const exp2786 = "test"; + export const exp2787 = "test"; + export const exp2788 = "test"; + export const exp2789 = "test"; + export const exp2790 = "test"; + export const exp2791 = "test"; + export const exp2792 = "test"; + export const exp2793 = "test"; + export const exp2794 = "test"; + export const exp2795 = "test"; + export const exp2796 = "test"; + export const exp2797 = "test"; + export const exp2798 = "test"; + export const exp2799 = "test"; + export const exp2800 = "test"; + export const exp2801 = "test"; + export const exp2802 = "test"; + export const exp2803 = "test"; + export const exp2804 = "test"; + export const exp2805 = "test"; + export const exp2806 = "test"; + export const exp2807 = "test"; + export const exp2808 = "test"; + export const exp2809 = "test"; + export const exp2810 = "test"; + export const exp2811 = "test"; + export const exp2812 = "test"; + export const exp2813 = "test"; + export const exp2814 = "test"; + export const exp2815 = "test"; + export const exp2816 = "test"; + export const exp2817 = "test"; + export const exp2818 = "test"; + export const exp2819 = "test"; + export const exp2820 = "test"; + export const exp2821 = "test"; + export const exp2822 = "test"; + export const exp2823 = "test"; + export const exp2824 = "test"; + export const exp2825 = "test"; + export const exp2826 = "test"; + export const exp2827 = "test"; + export const exp2828 = "test"; + export const exp2829 = "test"; + export const exp2830 = "test"; + export const exp2831 = "test"; + export const exp2832 = "test"; + export const exp2833 = "test"; + export const exp2834 = "test"; + export const exp2835 = "test"; + export const exp2836 = "test"; + export const exp2837 = "test"; + export const exp2838 = "test"; + export const exp2839 = "test"; + export const exp2840 = "test"; + export const exp2841 = "test"; + export const exp2842 = "test"; + export const exp2843 = "test"; + export const exp2844 = "test"; + export const exp2845 = "test"; + export const exp2846 = "test"; + export const exp2847 = "test"; + export const exp2848 = "test"; + export const exp2849 = "test"; + export const exp2850 = "test"; + export const exp2851 = "test"; + export const exp2852 = "test"; + export const exp2853 = "test"; + export const exp2854 = "test"; + export const exp2855 = "test"; + export const exp2856 = "test"; + export const exp2857 = "test"; + export const exp2858 = "test"; + export const exp2859 = "test"; + export const exp2860 = "test"; + export const exp2861 = "test"; + export const exp2862 = "test"; + export const exp2863 = "test"; + export const exp2864 = "test"; + export const exp2865 = "test"; + export const exp2866 = "test"; + export const exp2867 = "test"; + export const exp2868 = "test"; + export const exp2869 = "test"; + export const exp2870 = "test"; + export const exp2871 = "test"; + export const exp2872 = "test"; + export const exp2873 = "test"; + export const exp2874 = "test"; + export const exp2875 = "test"; + export const exp2876 = "test"; + export const exp2877 = "test"; + export const exp2878 = "test"; + export const exp2879 = "test"; + export const exp2880 = "test"; + export const exp2881 = "test"; + export const exp2882 = "test"; + export const exp2883 = "test"; + export const exp2884 = "test"; + export const exp2885 = "test"; + export const exp2886 = "test"; + export const exp2887 = "test"; + export const exp2888 = "test"; + export const exp2889 = "test"; + export const exp2890 = "test"; + export const exp2891 = "test"; + export const exp2892 = "test"; + export const exp2893 = "test"; + export const exp2894 = "test"; + export const exp2895 = "test"; + export const exp2896 = "test"; + export const exp2897 = "test"; + export const exp2898 = "test"; + export const exp2899 = "test"; + export const exp2900 = "test"; + export const exp2901 = "test"; + export const exp2902 = "test"; + export const exp2903 = "test"; + export const exp2904 = "test"; + export const exp2905 = "test"; + export const exp2906 = "test"; + export const exp2907 = "test"; + export const exp2908 = "test"; + export const exp2909 = "test"; + export const exp2910 = "test"; + export const exp2911 = "test"; + export const exp2912 = "test"; + export const exp2913 = "test"; + export const exp2914 = "test"; + export const exp2915 = "test"; + export const exp2916 = "test"; + export const exp2917 = "test"; + export const exp2918 = "test"; + export const exp2919 = "test"; + export const exp2920 = "test"; + export const exp2921 = "test"; + export const exp2922 = "test"; + export const exp2923 = "test"; + export const exp2924 = "test"; + export const exp2925 = "test"; + export const exp2926 = "test"; + export const exp2927 = "test"; + export const exp2928 = "test"; + export const exp2929 = "test"; + export const exp2930 = "test"; + export const exp2931 = "test"; + export const exp2932 = "test"; + export const exp2933 = "test"; + export const exp2934 = "test"; + export const exp2935 = "test"; + export const exp2936 = "test"; + export const exp2937 = "test"; + export const exp2938 = "test"; + export const exp2939 = "test"; + export const exp2940 = "test"; + export const exp2941 = "test"; + export const exp2942 = "test"; + export const exp2943 = "test"; + export const exp2944 = "test"; + export const exp2945 = "test"; + export const exp2946 = "test"; + export const exp2947 = "test"; + export const exp2948 = "test"; + export const exp2949 = "test"; + export const exp2950 = "test"; + export const exp2951 = "test"; + export const exp2952 = "test"; + export const exp2953 = "test"; + export const exp2954 = "test"; + export const exp2955 = "test"; + export const exp2956 = "test"; + export const exp2957 = "test"; + export const exp2958 = "test"; + export const exp2959 = "test"; + export const exp2960 = "test"; + export const exp2961 = "test"; + export const exp2962 = "test"; + export const exp2963 = "test"; + export const exp2964 = "test"; + export const exp2965 = "test"; + export const exp2966 = "test"; + export const exp2967 = "test"; + export const exp2968 = "test"; + export const exp2969 = "test"; + export const exp2970 = "test"; + export const exp2971 = "test"; + export const exp2972 = "test"; + export const exp2973 = "test"; + export const exp2974 = "test"; + export const exp2975 = "test"; + export const exp2976 = "test"; + export const exp2977 = "test"; + export const exp2978 = "test"; + export const exp2979 = "test"; + export const exp2980 = "test"; + export const exp2981 = "test"; + export const exp2982 = "test"; + export const exp2983 = "test"; + export const exp2984 = "test"; + export const exp2985 = "test"; + export const exp2986 = "test"; + export const exp2987 = "test"; + export const exp2988 = "test"; + export const exp2989 = "test"; + export const exp2990 = "test"; + export const exp2991 = "test"; + export const exp2992 = "test"; + export const exp2993 = "test"; + export const exp2994 = "test"; + export const exp2995 = "test"; + export const exp2996 = "test"; + export const exp2997 = "test"; + export const exp2998 = "test"; + export const exp2999 = "test"; + export const exp3000 = "test"; + export const exp3001 = "test"; + export const exp3002 = "test"; + export const exp3003 = "test"; + export const exp3004 = "test"; + export const exp3005 = "test"; + export const exp3006 = "test"; + export const exp3007 = "test"; + export const exp3008 = "test"; + export const exp3009 = "test"; + export const exp3010 = "test"; + export const exp3011 = "test"; + export const exp3012 = "test"; + export const exp3013 = "test"; + export const exp3014 = "test"; + export const exp3015 = "test"; + export const exp3016 = "test"; + export const exp3017 = "test"; + export const exp3018 = "test"; + export const exp3019 = "test"; + export const exp3020 = "test"; + export const exp3021 = "test"; + export const exp3022 = "test"; + export const exp3023 = "test"; + export const exp3024 = "test"; + export const exp3025 = "test"; + export const exp3026 = "test"; + export const exp3027 = "test"; + export const exp3028 = "test"; + export const exp3029 = "test"; + export const exp3030 = "test"; + export const exp3031 = "test"; + export const exp3032 = "test"; + export const exp3033 = "test"; + export const exp3034 = "test"; + export const exp3035 = "test"; + export const exp3036 = "test"; + export const exp3037 = "test"; + export const exp3038 = "test"; + export const exp3039 = "test"; + export const exp3040 = "test"; + export const exp3041 = "test"; + export const exp3042 = "test"; + export const exp3043 = "test"; + export const exp3044 = "test"; + export const exp3045 = "test"; + export const exp3046 = "test"; + export const exp3047 = "test"; + export const exp3048 = "test"; + export const exp3049 = "test"; + export const exp3050 = "test"; + export const exp3051 = "test"; + export const exp3052 = "test"; + export const exp3053 = "test"; + export const exp3054 = "test"; + export const exp3055 = "test"; + export const exp3056 = "test"; + export const exp3057 = "test"; + export const exp3058 = "test"; + export const exp3059 = "test"; + export const exp3060 = "test"; + export const exp3061 = "test"; + export const exp3062 = "test"; + export const exp3063 = "test"; + export const exp3064 = "test"; + export const exp3065 = "test"; + export const exp3066 = "test"; + export const exp3067 = "test"; + export const exp3068 = "test"; + export const exp3069 = "test"; + export const exp3070 = "test"; + export const exp3071 = "test"; + export const exp3072 = "test"; + export const exp3073 = "test"; + export const exp3074 = "test"; + export const exp3075 = "test"; + export const exp3076 = "test"; + export const exp3077 = "test"; + export const exp3078 = "test"; + export const exp3079 = "test"; + export const exp3080 = "test"; + export const exp3081 = "test"; + export const exp3082 = "test"; + export const exp3083 = "test"; + export const exp3084 = "test"; + export const exp3085 = "test"; + export const exp3086 = "test"; + export const exp3087 = "test"; + export const exp3088 = "test"; + export const exp3089 = "test"; + export const exp3090 = "test"; + export const exp3091 = "test"; + export const exp3092 = "test"; + export const exp3093 = "test"; + export const exp3094 = "test"; + export const exp3095 = "test"; + export const exp3096 = "test"; + export const exp3097 = "test"; + export const exp3098 = "test"; + export const exp3099 = "test"; + export const exp3100 = "test"; + export const exp3101 = "test"; + export const exp3102 = "test"; + export const exp3103 = "test"; + export const exp3104 = "test"; + export const exp3105 = "test"; + export const exp3106 = "test"; + export const exp3107 = "test"; + export const exp3108 = "test"; + export const exp3109 = "test"; + export const exp3110 = "test"; + export const exp3111 = "test"; + export const exp3112 = "test"; + export const exp3113 = "test"; + export const exp3114 = "test"; + export const exp3115 = "test"; + export const exp3116 = "test"; + export const exp3117 = "test"; + export const exp3118 = "test"; + export const exp3119 = "test"; + export const exp3120 = "test"; + export const exp3121 = "test"; + export const exp3122 = "test"; + export const exp3123 = "test"; + export const exp3124 = "test"; + export const exp3125 = "test"; + export const exp3126 = "test"; + export const exp3127 = "test"; + export const exp3128 = "test"; + export const exp3129 = "test"; + export const exp3130 = "test"; + export const exp3131 = "test"; + export const exp3132 = "test"; + export const exp3133 = "test"; + export const exp3134 = "test"; + export const exp3135 = "test"; + export const exp3136 = "test"; + export const exp3137 = "test"; + export const exp3138 = "test"; + export const exp3139 = "test"; + export const exp3140 = "test"; + export const exp3141 = "test"; + export const exp3142 = "test"; + export const exp3143 = "test"; + export const exp3144 = "test"; + export const exp3145 = "test"; + export const exp3146 = "test"; + export const exp3147 = "test"; + export const exp3148 = "test"; + export const exp3149 = "test"; + export const exp3150 = "test"; + export const exp3151 = "test"; + export const exp3152 = "test"; + export const exp3153 = "test"; + export const exp3154 = "test"; + export const exp3155 = "test"; + export const exp3156 = "test"; + export const exp3157 = "test"; + export const exp3158 = "test"; + export const exp3159 = "test"; + export const exp3160 = "test"; + export const exp3161 = "test"; + export const exp3162 = "test"; + export const exp3163 = "test"; + export const exp3164 = "test"; + export const exp3165 = "test"; + export const exp3166 = "test"; + export const exp3167 = "test"; + export const exp3168 = "test"; + export const exp3169 = "test"; + export const exp3170 = "test"; + export const exp3171 = "test"; + export const exp3172 = "test"; + export const exp3173 = "test"; + export const exp3174 = "test"; + export const exp3175 = "test"; + export const exp3176 = "test"; + export const exp3177 = "test"; + export const exp3178 = "test"; + export const exp3179 = "test"; + export const exp3180 = "test"; + export const exp3181 = "test"; + export const exp3182 = "test"; + export const exp3183 = "test"; + export const exp3184 = "test"; + export const exp3185 = "test"; + export const exp3186 = "test"; + export const exp3187 = "test"; + export const exp3188 = "test"; + export const exp3189 = "test"; + export const exp3190 = "test"; + export const exp3191 = "test"; + export const exp3192 = "test"; + export const exp3193 = "test"; + export const exp3194 = "test"; + export const exp3195 = "test"; + export const exp3196 = "test"; + export const exp3197 = "test"; + export const exp3198 = "test"; + export const exp3199 = "test"; + export const exp3200 = "test"; + export const exp3201 = "test"; + export const exp3202 = "test"; + export const exp3203 = "test"; + export const exp3204 = "test"; + export const exp3205 = "test"; + export const exp3206 = "test"; + export const exp3207 = "test"; + export const exp3208 = "test"; + export const exp3209 = "test"; + export const exp3210 = "test"; + export const exp3211 = "test"; + export const exp3212 = "test"; + export const exp3213 = "test"; + export const exp3214 = "test"; + export const exp3215 = "test"; + export const exp3216 = "test"; + export const exp3217 = "test"; + export const exp3218 = "test"; + export const exp3219 = "test"; + export const exp3220 = "test"; + export const exp3221 = "test"; + export const exp3222 = "test"; + export const exp3223 = "test"; + export const exp3224 = "test"; + export const exp3225 = "test"; + export const exp3226 = "test"; + export const exp3227 = "test"; + export const exp3228 = "test"; + export const exp3229 = "test"; + export const exp3230 = "test"; + export const exp3231 = "test"; + export const exp3232 = "test"; + export const exp3233 = "test"; + export const exp3234 = "test"; + export const exp3235 = "test"; + export const exp3236 = "test"; + export const exp3237 = "test"; + export const exp3238 = "test"; + export const exp3239 = "test"; + export const exp3240 = "test"; + export const exp3241 = "test"; + export const exp3242 = "test"; + export const exp3243 = "test"; + export const exp3244 = "test"; + export const exp3245 = "test"; + export const exp3246 = "test"; + export const exp3247 = "test"; + export const exp3248 = "test"; + export const exp3249 = "test"; + export const exp3250 = "test"; + export const exp3251 = "test"; + export const exp3252 = "test"; + export const exp3253 = "test"; + export const exp3254 = "test"; + export const exp3255 = "test"; + export const exp3256 = "test"; + export const exp3257 = "test"; + export const exp3258 = "test"; + export const exp3259 = "test"; + export const exp3260 = "test"; + export const exp3261 = "test"; + export const exp3262 = "test"; + export const exp3263 = "test"; + export const exp3264 = "test"; + export const exp3265 = "test"; + export const exp3266 = "test"; + export const exp3267 = "test"; + export const exp3268 = "test"; + export const exp3269 = "test"; + export const exp3270 = "test"; + export const exp3271 = "test"; + export const exp3272 = "test"; + export const exp3273 = "test"; + export const exp3274 = "test"; + export const exp3275 = "test"; + export const exp3276 = "test"; + export const exp3277 = "test"; + export const exp3278 = "test"; + export const exp3279 = "test"; + export const exp3280 = "test"; + export const exp3281 = "test"; + export const exp3282 = "test"; + export const exp3283 = "test"; + export const exp3284 = "test"; + export const exp3285 = "test"; + export const exp3286 = "test"; + export const exp3287 = "test"; + export const exp3288 = "test"; + export const exp3289 = "test"; + export const exp3290 = "test"; + export const exp3291 = "test"; + export const exp3292 = "test"; + export const exp3293 = "test"; + export const exp3294 = "test"; + export const exp3295 = "test"; + export const exp3296 = "test"; + export const exp3297 = "test"; + export const exp3298 = "test"; + export const exp3299 = "test"; + export const exp3300 = "test"; + export const exp3301 = "test"; + export const exp3302 = "test"; + export const exp3303 = "test"; + export const exp3304 = "test"; + export const exp3305 = "test"; + export const exp3306 = "test"; + export const exp3307 = "test"; + export const exp3308 = "test"; + export const exp3309 = "test"; + export const exp3310 = "test"; + export const exp3311 = "test"; + export const exp3312 = "test"; + export const exp3313 = "test"; + export const exp3314 = "test"; + export const exp3315 = "test"; + export const exp3316 = "test"; + export const exp3317 = "test"; + export const exp3318 = "test"; + export const exp3319 = "test"; + export const exp3320 = "test"; + export const exp3321 = "test"; + export const exp3322 = "test"; + export const exp3323 = "test"; + export const exp3324 = "test"; + export const exp3325 = "test"; + export const exp3326 = "test"; + export const exp3327 = "test"; + export const exp3328 = "test"; + export const exp3329 = "test"; + export const exp3330 = "test"; + export const exp3331 = "test"; + export const exp3332 = "test"; + export const exp3333 = "test"; + export const exp3334 = "test"; + export const exp3335 = "test"; + export const exp3336 = "test"; + export const exp3337 = "test"; + export const exp3338 = "test"; + export const exp3339 = "test"; + export const exp3340 = "test"; + export const exp3341 = "test"; + export const exp3342 = "test"; + export const exp3343 = "test"; + export const exp3344 = "test"; + export const exp3345 = "test"; + export const exp3346 = "test"; + export const exp3347 = "test"; + export const exp3348 = "test"; + export const exp3349 = "test"; + export const exp3350 = "test"; + export const exp3351 = "test"; + export const exp3352 = "test"; + export const exp3353 = "test"; + export const exp3354 = "test"; + export const exp3355 = "test"; + export const exp3356 = "test"; + export const exp3357 = "test"; + export const exp3358 = "test"; + export const exp3359 = "test"; + export const exp3360 = "test"; + export const exp3361 = "test"; + export const exp3362 = "test"; + export const exp3363 = "test"; + export const exp3364 = "test"; + export const exp3365 = "test"; + export const exp3366 = "test"; + export const exp3367 = "test"; + export const exp3368 = "test"; + export const exp3369 = "test"; + export const exp3370 = "test"; + export const exp3371 = "test"; + export const exp3372 = "test"; + export const exp3373 = "test"; + export const exp3374 = "test"; + export const exp3375 = "test"; + export const exp3376 = "test"; + export const exp3377 = "test"; + export const exp3378 = "test"; + export const exp3379 = "test"; + export const exp3380 = "test"; + export const exp3381 = "test"; + export const exp3382 = "test"; + export const exp3383 = "test"; + export const exp3384 = "test"; + export const exp3385 = "test"; + export const exp3386 = "test"; + export const exp3387 = "test"; + export const exp3388 = "test"; + export const exp3389 = "test"; + export const exp3390 = "test"; + export const exp3391 = "test"; + export const exp3392 = "test"; + export const exp3393 = "test"; + export const exp3394 = "test"; + export const exp3395 = "test"; + export const exp3396 = "test"; + export const exp3397 = "test"; + export const exp3398 = "test"; + export const exp3399 = "test"; + export const exp3400 = "test"; + export const exp3401 = "test"; + export const exp3402 = "test"; + export const exp3403 = "test"; + export const exp3404 = "test"; + export const exp3405 = "test"; + export const exp3406 = "test"; + export const exp3407 = "test"; + export const exp3408 = "test"; + export const exp3409 = "test"; + export const exp3410 = "test"; + export const exp3411 = "test"; + export const exp3412 = "test"; + export const exp3413 = "test"; + export const exp3414 = "test"; + export const exp3415 = "test"; + export const exp3416 = "test"; + export const exp3417 = "test"; + export const exp3418 = "test"; + export const exp3419 = "test"; + export const exp3420 = "test"; + export const exp3421 = "test"; + export const exp3422 = "test"; + export const exp3423 = "test"; + export const exp3424 = "test"; + export const exp3425 = "test"; + export const exp3426 = "test"; + export const exp3427 = "test"; + export const exp3428 = "test"; + export const exp3429 = "test"; + export const exp3430 = "test"; + export const exp3431 = "test"; + export const exp3432 = "test"; + export const exp3433 = "test"; + export const exp3434 = "test"; + export const exp3435 = "test"; + export const exp3436 = "test"; + export const exp3437 = "test"; + export const exp3438 = "test"; + export const exp3439 = "test"; + export const exp3440 = "test"; + export const exp3441 = "test"; + export const exp3442 = "test"; + export const exp3443 = "test"; + export const exp3444 = "test"; + export const exp3445 = "test"; + export const exp3446 = "test"; + export const exp3447 = "test"; + export const exp3448 = "test"; + export const exp3449 = "test"; + export const exp3450 = "test"; + export const exp3451 = "test"; + export const exp3452 = "test"; + export const exp3453 = "test"; + export const exp3454 = "test"; + export const exp3455 = "test"; + export const exp3456 = "test"; + export const exp3457 = "test"; + export const exp3458 = "test"; + export const exp3459 = "test"; + export const exp3460 = "test"; + export const exp3461 = "test"; + export const exp3462 = "test"; + export const exp3463 = "test"; + export const exp3464 = "test"; + export const exp3465 = "test"; + export const exp3466 = "test"; + export const exp3467 = "test"; + export const exp3468 = "test"; + export const exp3469 = "test"; + export const exp3470 = "test"; + export const exp3471 = "test"; + export const exp3472 = "test"; + export const exp3473 = "test"; + export const exp3474 = "test"; + export const exp3475 = "test"; + export const exp3476 = "test"; + export const exp3477 = "test"; + export const exp3478 = "test"; + export const exp3479 = "test"; + export const exp3480 = "test"; + export const exp3481 = "test"; + export const exp3482 = "test"; + export const exp3483 = "test"; + export const exp3484 = "test"; + export const exp3485 = "test"; + export const exp3486 = "test"; + export const exp3487 = "test"; + export const exp3488 = "test"; + export const exp3489 = "test"; + export const exp3490 = "test"; + export const exp3491 = "test"; + export const exp3492 = "test"; + export const exp3493 = "test"; + export const exp3494 = "test"; + export const exp3495 = "test"; + export const exp3496 = "test"; + export const exp3497 = "test"; + export const exp3498 = "test"; + export const exp3499 = "test"; + export const exp3500 = "test"; + export const exp3501 = "test"; + export const exp3502 = "test"; + export const exp3503 = "test"; + export const exp3504 = "test"; + export const exp3505 = "test"; + export const exp3506 = "test"; + export const exp3507 = "test"; + export const exp3508 = "test"; + export const exp3509 = "test"; + export const exp3510 = "test"; + export const exp3511 = "test"; + export const exp3512 = "test"; + export const exp3513 = "test"; + export const exp3514 = "test"; + export const exp3515 = "test"; + export const exp3516 = "test"; + export const exp3517 = "test"; + export const exp3518 = "test"; + export const exp3519 = "test"; + export const exp3520 = "test"; + export const exp3521 = "test"; + export const exp3522 = "test"; + export const exp3523 = "test"; + export const exp3524 = "test"; + export const exp3525 = "test"; + export const exp3526 = "test"; + export const exp3527 = "test"; + export const exp3528 = "test"; + export const exp3529 = "test"; + export const exp3530 = "test"; + export const exp3531 = "test"; + export const exp3532 = "test"; + export const exp3533 = "test"; + export const exp3534 = "test"; + export const exp3535 = "test"; + export const exp3536 = "test"; + export const exp3537 = "test"; + export const exp3538 = "test"; + export const exp3539 = "test"; + export const exp3540 = "test"; + export const exp3541 = "test"; + export const exp3542 = "test"; + export const exp3543 = "test"; + export const exp3544 = "test"; + export const exp3545 = "test"; + export const exp3546 = "test"; + export const exp3547 = "test"; + export const exp3548 = "test"; + export const exp3549 = "test"; + export const exp3550 = "test"; + export const exp3551 = "test"; + export const exp3552 = "test"; + export const exp3553 = "test"; + export const exp3554 = "test"; + export const exp3555 = "test"; + export const exp3556 = "test"; + export const exp3557 = "test"; + export const exp3558 = "test"; + export const exp3559 = "test"; + export const exp3560 = "test"; + export const exp3561 = "test"; + export const exp3562 = "test"; + export const exp3563 = "test"; + export const exp3564 = "test"; + export const exp3565 = "test"; + export const exp3566 = "test"; + export const exp3567 = "test"; + export const exp3568 = "test"; + export const exp3569 = "test"; + export const exp3570 = "test"; + export const exp3571 = "test"; + export const exp3572 = "test"; + export const exp3573 = "test"; + export const exp3574 = "test"; + export const exp3575 = "test"; + export const exp3576 = "test"; + export const exp3577 = "test"; + export const exp3578 = "test"; + export const exp3579 = "test"; + export const exp3580 = "test"; + export const exp3581 = "test"; + export const exp3582 = "test"; + export const exp3583 = "test"; + export const exp3584 = "test"; + export const exp3585 = "test"; + export const exp3586 = "test"; + export const exp3587 = "test"; + export const exp3588 = "test"; + export const exp3589 = "test"; + export const exp3590 = "test"; + export const exp3591 = "test"; + export const exp3592 = "test"; + export const exp3593 = "test"; + export const exp3594 = "test"; + export const exp3595 = "test"; + export const exp3596 = "test"; + export const exp3597 = "test"; + export const exp3598 = "test"; + export const exp3599 = "test"; + export const exp3600 = "test"; + export const exp3601 = "test"; + export const exp3602 = "test"; + export const exp3603 = "test"; + export const exp3604 = "test"; + export const exp3605 = "test"; + export const exp3606 = "test"; + export const exp3607 = "test"; + export const exp3608 = "test"; + export const exp3609 = "test"; + export const exp3610 = "test"; + export const exp3611 = "test"; + export const exp3612 = "test"; + export const exp3613 = "test"; + export const exp3614 = "test"; + export const exp3615 = "test"; + export const exp3616 = "test"; + export const exp3617 = "test"; + export const exp3618 = "test"; + export const exp3619 = "test"; + export const exp3620 = "test"; + export const exp3621 = "test"; + export const exp3622 = "test"; + export const exp3623 = "test"; + export const exp3624 = "test"; + export const exp3625 = "test"; + export const exp3626 = "test"; + export const exp3627 = "test"; + export const exp3628 = "test"; + export const exp3629 = "test"; + export const exp3630 = "test"; + export const exp3631 = "test"; + export const exp3632 = "test"; + export const exp3633 = "test"; + export const exp3634 = "test"; + export const exp3635 = "test"; + export const exp3636 = "test"; + export const exp3637 = "test"; + export const exp3638 = "test"; + export const exp3639 = "test"; + export const exp3640 = "test"; + export const exp3641 = "test"; + export const exp3642 = "test"; + export const exp3643 = "test"; + export const exp3644 = "test"; + export const exp3645 = "test"; + export const exp3646 = "test"; + export const exp3647 = "test"; + export const exp3648 = "test"; + export const exp3649 = "test"; + export const exp3650 = "test"; + export const exp3651 = "test"; + export const exp3652 = "test"; + export const exp3653 = "test"; + export const exp3654 = "test"; + export const exp3655 = "test"; + export const exp3656 = "test"; + export const exp3657 = "test"; + export const exp3658 = "test"; + export const exp3659 = "test"; + export const exp3660 = "test"; + export const exp3661 = "test"; + export const exp3662 = "test"; + export const exp3663 = "test"; + export const exp3664 = "test"; + export const exp3665 = "test"; + export const exp3666 = "test"; + export const exp3667 = "test"; + export const exp3668 = "test"; + export const exp3669 = "test"; + export const exp3670 = "test"; + export const exp3671 = "test"; + export const exp3672 = "test"; + export const exp3673 = "test"; + export const exp3674 = "test"; + export const exp3675 = "test"; + export const exp3676 = "test"; + export const exp3677 = "test"; + export const exp3678 = "test"; + export const exp3679 = "test"; + export const exp3680 = "test"; + export const exp3681 = "test"; + export const exp3682 = "test"; + export const exp3683 = "test"; + export const exp3684 = "test"; + export const exp3685 = "test"; + export const exp3686 = "test"; + export const exp3687 = "test"; + export const exp3688 = "test"; + export const exp3689 = "test"; + export const exp3690 = "test"; + export const exp3691 = "test"; + export const exp3692 = "test"; + export const exp3693 = "test"; + export const exp3694 = "test"; + export const exp3695 = "test"; + export const exp3696 = "test"; + export const exp3697 = "test"; + export const exp3698 = "test"; + export const exp3699 = "test"; + export const exp3700 = "test"; + export const exp3701 = "test"; + export const exp3702 = "test"; + export const exp3703 = "test"; + export const exp3704 = "test"; + export const exp3705 = "test"; + export const exp3706 = "test"; + export const exp3707 = "test"; + export const exp3708 = "test"; + export const exp3709 = "test"; + export const exp3710 = "test"; + export const exp3711 = "test"; + export const exp3712 = "test"; + export const exp3713 = "test"; + export const exp3714 = "test"; + export const exp3715 = "test"; + export const exp3716 = "test"; + export const exp3717 = "test"; + export const exp3718 = "test"; + export const exp3719 = "test"; + export const exp3720 = "test"; + export const exp3721 = "test"; + export const exp3722 = "test"; + export const exp3723 = "test"; + export const exp3724 = "test"; + export const exp3725 = "test"; + export const exp3726 = "test"; + export const exp3727 = "test"; + export const exp3728 = "test"; + export const exp3729 = "test"; + export const exp3730 = "test"; + export const exp3731 = "test"; + export const exp3732 = "test"; + export const exp3733 = "test"; + export const exp3734 = "test"; + export const exp3735 = "test"; + export const exp3736 = "test"; + export const exp3737 = "test"; + export const exp3738 = "test"; + export const exp3739 = "test"; + export const exp3740 = "test"; + export const exp3741 = "test"; + export const exp3742 = "test"; + export const exp3743 = "test"; + export const exp3744 = "test"; + export const exp3745 = "test"; + export const exp3746 = "test"; + export const exp3747 = "test"; + export const exp3748 = "test"; + export const exp3749 = "test"; + export const exp3750 = "test"; + export const exp3751 = "test"; + export const exp3752 = "test"; + export const exp3753 = "test"; + export const exp3754 = "test"; + export const exp3755 = "test"; + export const exp3756 = "test"; + export const exp3757 = "test"; + export const exp3758 = "test"; + export const exp3759 = "test"; + export const exp3760 = "test"; + export const exp3761 = "test"; + export const exp3762 = "test"; + export const exp3763 = "test"; + export const exp3764 = "test"; + export const exp3765 = "test"; + export const exp3766 = "test"; + export const exp3767 = "test"; + export const exp3768 = "test"; + export const exp3769 = "test"; + export const exp3770 = "test"; + export const exp3771 = "test"; + export const exp3772 = "test"; + export const exp3773 = "test"; + export const exp3774 = "test"; + export const exp3775 = "test"; + export const exp3776 = "test"; + export const exp3777 = "test"; + export const exp3778 = "test"; + export const exp3779 = "test"; + export const exp3780 = "test"; + export const exp3781 = "test"; + export const exp3782 = "test"; + export const exp3783 = "test"; + export const exp3784 = "test"; + export const exp3785 = "test"; + export const exp3786 = "test"; + export const exp3787 = "test"; + export const exp3788 = "test"; + export const exp3789 = "test"; + export const exp3790 = "test"; + export const exp3791 = "test"; + export const exp3792 = "test"; + export const exp3793 = "test"; + export const exp3794 = "test"; + export const exp3795 = "test"; + export const exp3796 = "test"; + export const exp3797 = "test"; + export const exp3798 = "test"; + export const exp3799 = "test"; + export const exp3800 = "test"; + export const exp3801 = "test"; + export const exp3802 = "test"; + export const exp3803 = "test"; + export const exp3804 = "test"; + export const exp3805 = "test"; + export const exp3806 = "test"; + export const exp3807 = "test"; + export const exp3808 = "test"; + export const exp3809 = "test"; + export const exp3810 = "test"; + export const exp3811 = "test"; + export const exp3812 = "test"; + export const exp3813 = "test"; + export const exp3814 = "test"; + export const exp3815 = "test"; + export const exp3816 = "test"; + export const exp3817 = "test"; + export const exp3818 = "test"; + export const exp3819 = "test"; + export const exp3820 = "test"; + export const exp3821 = "test"; + export const exp3822 = "test"; + export const exp3823 = "test"; + export const exp3824 = "test"; + export const exp3825 = "test"; + export const exp3826 = "test"; + export const exp3827 = "test"; + export const exp3828 = "test"; + export const exp3829 = "test"; + export const exp3830 = "test"; + export const exp3831 = "test"; + export const exp3832 = "test"; + export const exp3833 = "test"; + export const exp3834 = "test"; + export const exp3835 = "test"; + export const exp3836 = "test"; + export const exp3837 = "test"; + export const exp3838 = "test"; + export const exp3839 = "test"; + export const exp3840 = "test"; + export const exp3841 = "test"; + export const exp3842 = "test"; + export const exp3843 = "test"; + export const exp3844 = "test"; + export const exp3845 = "test"; + export const exp3846 = "test"; + export const exp3847 = "test"; + export const exp3848 = "test"; + export const exp3849 = "test"; + export const exp3850 = "test"; + export const exp3851 = "test"; + export const exp3852 = "test"; + export const exp3853 = "test"; + export const exp3854 = "test"; + export const exp3855 = "test"; + export const exp3856 = "test"; + export const exp3857 = "test"; + export const exp3858 = "test"; + export const exp3859 = "test"; + export const exp3860 = "test"; + export const exp3861 = "test"; + export const exp3862 = "test"; + export const exp3863 = "test"; + export const exp3864 = "test"; + export const exp3865 = "test"; + export const exp3866 = "test"; + export const exp3867 = "test"; + export const exp3868 = "test"; + export const exp3869 = "test"; + export const exp3870 = "test"; + export const exp3871 = "test"; + export const exp3872 = "test"; + export const exp3873 = "test"; + export const exp3874 = "test"; + export const exp3875 = "test"; + export const exp3876 = "test"; + export const exp3877 = "test"; + export const exp3878 = "test"; + export const exp3879 = "test"; + export const exp3880 = "test"; + export const exp3881 = "test"; + export const exp3882 = "test"; + export const exp3883 = "test"; + export const exp3884 = "test"; + export const exp3885 = "test"; + export const exp3886 = "test"; + export const exp3887 = "test"; + export const exp3888 = "test"; + export const exp3889 = "test"; + export const exp3890 = "test"; + export const exp3891 = "test"; + export const exp3892 = "test"; + export const exp3893 = "test"; + export const exp3894 = "test"; + export const exp3895 = "test"; + export const exp3896 = "test"; + export const exp3897 = "test"; + export const exp3898 = "test"; + export const exp3899 = "test"; + export const exp3900 = "test"; + export const exp3901 = "test"; + export const exp3902 = "test"; + export const exp3903 = "test"; + export const exp3904 = "test"; + export const exp3905 = "test"; + export const exp3906 = "test"; + export const exp3907 = "test"; + export const exp3908 = "test"; + export const exp3909 = "test"; + export const exp3910 = "test"; + export const exp3911 = "test"; + export const exp3912 = "test"; + export const exp3913 = "test"; + export const exp3914 = "test"; + export const exp3915 = "test"; + export const exp3916 = "test"; + export const exp3917 = "test"; + export const exp3918 = "test"; + export const exp3919 = "test"; + export const exp3920 = "test"; + export const exp3921 = "test"; + export const exp3922 = "test"; + export const exp3923 = "test"; + export const exp3924 = "test"; + export const exp3925 = "test"; + export const exp3926 = "test"; + export const exp3927 = "test"; + export const exp3928 = "test"; + export const exp3929 = "test"; + export const exp3930 = "test"; + export const exp3931 = "test"; + export const exp3932 = "test"; + export const exp3933 = "test"; + export const exp3934 = "test"; + export const exp3935 = "test"; + export const exp3936 = "test"; + export const exp3937 = "test"; + export const exp3938 = "test"; + export const exp3939 = "test"; + export const exp3940 = "test"; + export const exp3941 = "test"; + export const exp3942 = "test"; + export const exp3943 = "test"; + export const exp3944 = "test"; + export const exp3945 = "test"; + export const exp3946 = "test"; + export const exp3947 = "test"; + export const exp3948 = "test"; + export const exp3949 = "test"; + export const exp3950 = "test"; + export const exp3951 = "test"; + export const exp3952 = "test"; + export const exp3953 = "test"; + export const exp3954 = "test"; + export const exp3955 = "test"; + export const exp3956 = "test"; + export const exp3957 = "test"; + export const exp3958 = "test"; + export const exp3959 = "test"; + export const exp3960 = "test"; + export const exp3961 = "test"; + export const exp3962 = "test"; + export const exp3963 = "test"; + export const exp3964 = "test"; + export const exp3965 = "test"; + export const exp3966 = "test"; + export const exp3967 = "test"; + export const exp3968 = "test"; + export const exp3969 = "test"; + export const exp3970 = "test"; + export const exp3971 = "test"; + export const exp3972 = "test"; + export const exp3973 = "test"; + export const exp3974 = "test"; + export const exp3975 = "test"; + export const exp3976 = "test"; + export const exp3977 = "test"; + export const exp3978 = "test"; + export const exp3979 = "test"; + export const exp3980 = "test"; + export const exp3981 = "test"; + export const exp3982 = "test"; + export const exp3983 = "test"; + export const exp3984 = "test"; + export const exp3985 = "test"; + export const exp3986 = "test"; + export const exp3987 = "test"; + export const exp3988 = "test"; + export const exp3989 = "test"; + export const exp3990 = "test"; + export const exp3991 = "test"; + export const exp3992 = "test"; + export const exp3993 = "test"; + export const exp3994 = "test"; + export const exp3995 = "test"; + export const exp3996 = "test"; + export const exp3997 = "test"; + export const exp3998 = "test"; + export const exp3999 = "test"; + export const exp4000 = "test"; + export const exp4001 = "test"; + export const exp4002 = "test"; + export const exp4003 = "test"; + export const exp4004 = "test"; + export const exp4005 = "test"; + export const exp4006 = "test"; + export const exp4007 = "test"; + export const exp4008 = "test"; + export const exp4009 = "test"; + export const exp4010 = "test"; + export const exp4011 = "test"; + export const exp4012 = "test"; + export const exp4013 = "test"; + export const exp4014 = "test"; + export const exp4015 = "test"; + export const exp4016 = "test"; + export const exp4017 = "test"; + export const exp4018 = "test"; + export const exp4019 = "test"; + export const exp4020 = "test"; + export const exp4021 = "test"; + export const exp4022 = "test"; + export const exp4023 = "test"; + export const exp4024 = "test"; + export const exp4025 = "test"; + export const exp4026 = "test"; + export const exp4027 = "test"; + export const exp4028 = "test"; + export const exp4029 = "test"; + export const exp4030 = "test"; + export const exp4031 = "test"; + export const exp4032 = "test"; + export const exp4033 = "test"; + export const exp4034 = "test"; + export const exp4035 = "test"; + export const exp4036 = "test"; + export const exp4037 = "test"; + export const exp4038 = "test"; + export const exp4039 = "test"; + export const exp4040 = "test"; + export const exp4041 = "test"; + export const exp4042 = "test"; + export const exp4043 = "test"; + export const exp4044 = "test"; + export const exp4045 = "test"; + export const exp4046 = "test"; + export const exp4047 = "test"; + export const exp4048 = "test"; + export const exp4049 = "test"; + export const exp4050 = "test"; + export const exp4051 = "test"; + export const exp4052 = "test"; + export const exp4053 = "test"; + export const exp4054 = "test"; + export const exp4055 = "test"; + export const exp4056 = "test"; + export const exp4057 = "test"; + export const exp4058 = "test"; + export const exp4059 = "test"; + export const exp4060 = "test"; + export const exp4061 = "test"; + export const exp4062 = "test"; + export const exp4063 = "test"; + export const exp4064 = "test"; + export const exp4065 = "test"; + export const exp4066 = "test"; + export const exp4067 = "test"; + export const exp4068 = "test"; + export const exp4069 = "test"; + export const exp4070 = "test"; + export const exp4071 = "test"; + export const exp4072 = "test"; + export const exp4073 = "test"; + export const exp4074 = "test"; + export const exp4075 = "test"; + export const exp4076 = "test"; + export const exp4077 = "test"; + export const exp4078 = "test"; + export const exp4079 = "test"; + export const exp4080 = "test"; + export const exp4081 = "test"; + export const exp4082 = "test"; + export const exp4083 = "test"; + export const exp4084 = "test"; + export const exp4085 = "test"; + export const exp4086 = "test"; + export const exp4087 = "test"; + export const exp4088 = "test"; + export const exp4089 = "test"; + export const exp4090 = "test"; + export const exp4091 = "test"; + export const exp4092 = "test"; + export const exp4093 = "test"; + export const exp4094 = "test"; + export const exp4095 = "test"; + export const exp4096 = "test"; + export const exp4097 = "test"; + export const exp4098 = "test"; + export const exp4099 = "test"; + export const exp4100 = "test"; + export const exp4101 = "test"; + export const exp4102 = "test"; + export const exp4103 = "test"; + export const exp4104 = "test"; + export const exp4105 = "test"; + export const exp4106 = "test"; + export const exp4107 = "test"; + export const exp4108 = "test"; + export const exp4109 = "test"; + export const exp4110 = "test"; + export const exp4111 = "test"; + export const exp4112 = "test"; + export const exp4113 = "test"; + export const exp4114 = "test"; + export const exp4115 = "test"; + export const exp4116 = "test"; + export const exp4117 = "test"; + export const exp4118 = "test"; + export const exp4119 = "test"; + export const exp4120 = "test"; + export const exp4121 = "test"; + export const exp4122 = "test"; + export const exp4123 = "test"; + export const exp4124 = "test"; + export const exp4125 = "test"; + export const exp4126 = "test"; + export const exp4127 = "test"; + export const exp4128 = "test"; + export const exp4129 = "test"; + export const exp4130 = "test"; + export const exp4131 = "test"; + export const exp4132 = "test"; + export const exp4133 = "test"; + export const exp4134 = "test"; + export const exp4135 = "test"; + export const exp4136 = "test"; + export const exp4137 = "test"; + export const exp4138 = "test"; + export const exp4139 = "test"; + export const exp4140 = "test"; + export const exp4141 = "test"; + export const exp4142 = "test"; + export const exp4143 = "test"; + export const exp4144 = "test"; + export const exp4145 = "test"; + export const exp4146 = "test"; + export const exp4147 = "test"; + export const exp4148 = "test"; + export const exp4149 = "test"; + export const exp4150 = "test"; + export const exp4151 = "test"; + export const exp4152 = "test"; + export const exp4153 = "test"; + export const exp4154 = "test"; + export const exp4155 = "test"; + export const exp4156 = "test"; + export const exp4157 = "test"; + export const exp4158 = "test"; + export const exp4159 = "test"; + export const exp4160 = "test"; + export const exp4161 = "test"; + export const exp4162 = "test"; + export const exp4163 = "test"; + export const exp4164 = "test"; + export const exp4165 = "test"; + export const exp4166 = "test"; + export const exp4167 = "test"; + export const exp4168 = "test"; + export const exp4169 = "test"; + export const exp4170 = "test"; + export const exp4171 = "test"; + export const exp4172 = "test"; + export const exp4173 = "test"; + export const exp4174 = "test"; + export const exp4175 = "test"; + export const exp4176 = "test"; + export const exp4177 = "test"; + export const exp4178 = "test"; + export const exp4179 = "test"; + export const exp4180 = "test"; + export const exp4181 = "test"; + export const exp4182 = "test"; + export const exp4183 = "test"; + export const exp4184 = "test"; + export const exp4185 = "test"; + export const exp4186 = "test"; + export const exp4187 = "test"; + export const exp4188 = "test"; + export const exp4189 = "test"; + export const exp4190 = "test"; + export const exp4191 = "test"; + export const exp4192 = "test"; + export const exp4193 = "test"; + export const exp4194 = "test"; + export const exp4195 = "test"; + export const exp4196 = "test"; + export const exp4197 = "test"; + export const exp4198 = "test"; + export const exp4199 = "test"; + export const exp4200 = "test"; + export const exp4201 = "test"; + export const exp4202 = "test"; + export const exp4203 = "test"; + export const exp4204 = "test"; + export const exp4205 = "test"; + export const exp4206 = "test"; + export const exp4207 = "test"; + export const exp4208 = "test"; + export const exp4209 = "test"; + export const exp4210 = "test"; + export const exp4211 = "test"; + export const exp4212 = "test"; + export const exp4213 = "test"; + export const exp4214 = "test"; + export const exp4215 = "test"; + export const exp4216 = "test"; + export const exp4217 = "test"; + export const exp4218 = "test"; + export const exp4219 = "test"; + export const exp4220 = "test"; + export const exp4221 = "test"; + export const exp4222 = "test"; + export const exp4223 = "test"; + export const exp4224 = "test"; + export const exp4225 = "test"; + export const exp4226 = "test"; + export const exp4227 = "test"; + export const exp4228 = "test"; + export const exp4229 = "test"; + export const exp4230 = "test"; + export const exp4231 = "test"; + export const exp4232 = "test"; + export const exp4233 = "test"; + export const exp4234 = "test"; + export const exp4235 = "test"; + export const exp4236 = "test"; + export const exp4237 = "test"; + export const exp4238 = "test"; + export const exp4239 = "test"; + export const exp4240 = "test"; + export const exp4241 = "test"; + export const exp4242 = "test"; + export const exp4243 = "test"; + export const exp4244 = "test"; + export const exp4245 = "test"; + export const exp4246 = "test"; + export const exp4247 = "test"; + export const exp4248 = "test"; + export const exp4249 = "test"; + export const exp4250 = "test"; + export const exp4251 = "test"; + export const exp4252 = "test"; + export const exp4253 = "test"; + export const exp4254 = "test"; + export const exp4255 = "test"; + export const exp4256 = "test"; + export const exp4257 = "test"; + export const exp4258 = "test"; + export const exp4259 = "test"; + export const exp4260 = "test"; + export const exp4261 = "test"; + export const exp4262 = "test"; + export const exp4263 = "test"; + export const exp4264 = "test"; + export const exp4265 = "test"; + export const exp4266 = "test"; + export const exp4267 = "test"; + export const exp4268 = "test"; + export const exp4269 = "test"; + export const exp4270 = "test"; + export const exp4271 = "test"; + export const exp4272 = "test"; + export const exp4273 = "test"; + export const exp4274 = "test"; + export const exp4275 = "test"; + export const exp4276 = "test"; + export const exp4277 = "test"; + export const exp4278 = "test"; + export const exp4279 = "test"; + export const exp4280 = "test"; + export const exp4281 = "test"; + export const exp4282 = "test"; + export const exp4283 = "test"; + export const exp4284 = "test"; + export const exp4285 = "test"; + export const exp4286 = "test"; + export const exp4287 = "test"; + export const exp4288 = "test"; + export const exp4289 = "test"; + export const exp4290 = "test"; + export const exp4291 = "test"; + export const exp4292 = "test"; + export const exp4293 = "test"; + export const exp4294 = "test"; + export const exp4295 = "test"; + export const exp4296 = "test"; + export const exp4297 = "test"; + export const exp4298 = "test"; + export const exp4299 = "test"; + export const exp4300 = "test"; + export const exp4301 = "test"; + export const exp4302 = "test"; + export const exp4303 = "test"; + export const exp4304 = "test"; + export const exp4305 = "test"; + export const exp4306 = "test"; + export const exp4307 = "test"; + export const exp4308 = "test"; + export const exp4309 = "test"; + export const exp4310 = "test"; + export const exp4311 = "test"; + export const exp4312 = "test"; + export const exp4313 = "test"; + export const exp4314 = "test"; + export const exp4315 = "test"; + export const exp4316 = "test"; + export const exp4317 = "test"; + export const exp4318 = "test"; + export const exp4319 = "test"; + export const exp4320 = "test"; + export const exp4321 = "test"; + export const exp4322 = "test"; + export const exp4323 = "test"; + export const exp4324 = "test"; + export const exp4325 = "test"; + export const exp4326 = "test"; + export const exp4327 = "test"; + export const exp4328 = "test"; + export const exp4329 = "test"; + export const exp4330 = "test"; + export const exp4331 = "test"; + export const exp4332 = "test"; + export const exp4333 = "test"; + export const exp4334 = "test"; + export const exp4335 = "test"; + export const exp4336 = "test"; + export const exp4337 = "test"; + export const exp4338 = "test"; + export const exp4339 = "test"; + export const exp4340 = "test"; + export const exp4341 = "test"; + export const exp4342 = "test"; + export const exp4343 = "test"; + export const exp4344 = "test"; + export const exp4345 = "test"; + export const exp4346 = "test"; + export const exp4347 = "test"; + export const exp4348 = "test"; + export const exp4349 = "test"; + export const exp4350 = "test"; + export const exp4351 = "test"; + export const exp4352 = "test"; + export const exp4353 = "test"; + export const exp4354 = "test"; + export const exp4355 = "test"; + export const exp4356 = "test"; + export const exp4357 = "test"; + export const exp4358 = "test"; + export const exp4359 = "test"; + export const exp4360 = "test"; + export const exp4361 = "test"; + export const exp4362 = "test"; + export const exp4363 = "test"; + export const exp4364 = "test"; + export const exp4365 = "test"; + export const exp4366 = "test"; + export const exp4367 = "test"; + export const exp4368 = "test"; + export const exp4369 = "test"; + export const exp4370 = "test"; + export const exp4371 = "test"; + export const exp4372 = "test"; + export const exp4373 = "test"; + export const exp4374 = "test"; + export const exp4375 = "test"; + export const exp4376 = "test"; + export const exp4377 = "test"; + export const exp4378 = "test"; + export const exp4379 = "test"; + export const exp4380 = "test"; + export const exp4381 = "test"; + export const exp4382 = "test"; + export const exp4383 = "test"; + export const exp4384 = "test"; + export const exp4385 = "test"; + export const exp4386 = "test"; + export const exp4387 = "test"; + export const exp4388 = "test"; + export const exp4389 = "test"; + export const exp4390 = "test"; + export const exp4391 = "test"; + export const exp4392 = "test"; + export const exp4393 = "test"; + export const exp4394 = "test"; + export const exp4395 = "test"; + export const exp4396 = "test"; + export const exp4397 = "test"; + export const exp4398 = "test"; + export const exp4399 = "test"; + export const exp4400 = "test"; + export const exp4401 = "test"; + export const exp4402 = "test"; + export const exp4403 = "test"; + export const exp4404 = "test"; + export const exp4405 = "test"; + export const exp4406 = "test"; + export const exp4407 = "test"; + export const exp4408 = "test"; + export const exp4409 = "test"; + export const exp4410 = "test"; + export const exp4411 = "test"; + export const exp4412 = "test"; + export const exp4413 = "test"; + export const exp4414 = "test"; + export const exp4415 = "test"; + export const exp4416 = "test"; + export const exp4417 = "test"; + export const exp4418 = "test"; + export const exp4419 = "test"; + export const exp4420 = "test"; + export const exp4421 = "test"; + export const exp4422 = "test"; + export const exp4423 = "test"; + export const exp4424 = "test"; + export const exp4425 = "test"; + export const exp4426 = "test"; + export const exp4427 = "test"; + export const exp4428 = "test"; + export const exp4429 = "test"; + export const exp4430 = "test"; + export const exp4431 = "test"; + export const exp4432 = "test"; + export const exp4433 = "test"; + export const exp4434 = "test"; + export const exp4435 = "test"; + export const exp4436 = "test"; + export const exp4437 = "test"; + export const exp4438 = "test"; + export const exp4439 = "test"; + export const exp4440 = "test"; + export const exp4441 = "test"; + export const exp4442 = "test"; + export const exp4443 = "test"; + export const exp4444 = "test"; + export const exp4445 = "test"; + export const exp4446 = "test"; + export const exp4447 = "test"; + export const exp4448 = "test"; + export const exp4449 = "test"; + export const exp4450 = "test"; + export const exp4451 = "test"; + export const exp4452 = "test"; + export const exp4453 = "test"; + export const exp4454 = "test"; + export const exp4455 = "test"; + export const exp4456 = "test"; + export const exp4457 = "test"; + export const exp4458 = "test"; + export const exp4459 = "test"; + export const exp4460 = "test"; + export const exp4461 = "test"; + export const exp4462 = "test"; + export const exp4463 = "test"; + export const exp4464 = "test"; + export const exp4465 = "test"; + export const exp4466 = "test"; + export const exp4467 = "test"; + export const exp4468 = "test"; + export const exp4469 = "test"; + export const exp4470 = "test"; + export const exp4471 = "test"; + export const exp4472 = "test"; + export const exp4473 = "test"; + export const exp4474 = "test"; + export const exp4475 = "test"; + export const exp4476 = "test"; + export const exp4477 = "test"; + export const exp4478 = "test"; + export const exp4479 = "test"; + export const exp4480 = "test"; + export const exp4481 = "test"; + export const exp4482 = "test"; + export const exp4483 = "test"; + export const exp4484 = "test"; + export const exp4485 = "test"; + export const exp4486 = "test"; + export const exp4487 = "test"; + export const exp4488 = "test"; + export const exp4489 = "test"; + export const exp4490 = "test"; + export const exp4491 = "test"; + export const exp4492 = "test"; + export const exp4493 = "test"; + export const exp4494 = "test"; + export const exp4495 = "test"; + export const exp4496 = "test"; + export const exp4497 = "test"; + export const exp4498 = "test"; + export const exp4499 = "test"; + export const exp4500 = "test"; + export const exp4501 = "test"; + export const exp4502 = "test"; + export const exp4503 = "test"; + export const exp4504 = "test"; + export const exp4505 = "test"; + export const exp4506 = "test"; + export const exp4507 = "test"; + export const exp4508 = "test"; + export const exp4509 = "test"; + export const exp4510 = "test"; + export const exp4511 = "test"; + export const exp4512 = "test"; + export const exp4513 = "test"; + export const exp4514 = "test"; + export const exp4515 = "test"; + export const exp4516 = "test"; + export const exp4517 = "test"; + export const exp4518 = "test"; + export const exp4519 = "test"; + export const exp4520 = "test"; + export const exp4521 = "test"; + export const exp4522 = "test"; + export const exp4523 = "test"; + export const exp4524 = "test"; + export const exp4525 = "test"; + export const exp4526 = "test"; + export const exp4527 = "test"; + export const exp4528 = "test"; + export const exp4529 = "test"; + export const exp4530 = "test"; + export const exp4531 = "test"; + export const exp4532 = "test"; + export const exp4533 = "test"; + export const exp4534 = "test"; + export const exp4535 = "test"; + export const exp4536 = "test"; + export const exp4537 = "test"; + export const exp4538 = "test"; + export const exp4539 = "test"; + export const exp4540 = "test"; + export const exp4541 = "test"; + export const exp4542 = "test"; + export const exp4543 = "test"; + export const exp4544 = "test"; + export const exp4545 = "test"; + export const exp4546 = "test"; + export const exp4547 = "test"; + export const exp4548 = "test"; + export const exp4549 = "test"; + export const exp4550 = "test"; + export const exp4551 = "test"; + export const exp4552 = "test"; + export const exp4553 = "test"; + export const exp4554 = "test"; + export const exp4555 = "test"; + export const exp4556 = "test"; + export const exp4557 = "test"; + export const exp4558 = "test"; + export const exp4559 = "test"; + export const exp4560 = "test"; + export const exp4561 = "test"; + export const exp4562 = "test"; + export const exp4563 = "test"; + export const exp4564 = "test"; + export const exp4565 = "test"; + export const exp4566 = "test"; + export const exp4567 = "test"; + export const exp4568 = "test"; + export const exp4569 = "test"; + export const exp4570 = "test"; + export const exp4571 = "test"; + export const exp4572 = "test"; + export const exp4573 = "test"; + export const exp4574 = "test"; + export const exp4575 = "test"; + export const exp4576 = "test"; + export const exp4577 = "test"; + export const exp4578 = "test"; + export const exp4579 = "test"; + export const exp4580 = "test"; + export const exp4581 = "test"; + export const exp4582 = "test"; + export const exp4583 = "test"; + export const exp4584 = "test"; + export const exp4585 = "test"; + export const exp4586 = "test"; + export const exp4587 = "test"; + export const exp4588 = "test"; + export const exp4589 = "test"; + export const exp4590 = "test"; + export const exp4591 = "test"; + export const exp4592 = "test"; + export const exp4593 = "test"; + export const exp4594 = "test"; + export const exp4595 = "test"; + export const exp4596 = "test"; + export const exp4597 = "test"; + export const exp4598 = "test"; + export const exp4599 = "test"; + export const exp4600 = "test"; + export const exp4601 = "test"; + export const exp4602 = "test"; + export const exp4603 = "test"; + export const exp4604 = "test"; + export const exp4605 = "test"; + export const exp4606 = "test"; + export const exp4607 = "test"; + export const exp4608 = "test"; + export const exp4609 = "test"; + export const exp4610 = "test"; + export const exp4611 = "test"; + export const exp4612 = "test"; + export const exp4613 = "test"; + export const exp4614 = "test"; + export const exp4615 = "test"; + export const exp4616 = "test"; + export const exp4617 = "test"; + export const exp4618 = "test"; + export const exp4619 = "test"; + export const exp4620 = "test"; + export const exp4621 = "test"; + export const exp4622 = "test"; + export const exp4623 = "test"; + export const exp4624 = "test"; + export const exp4625 = "test"; + export const exp4626 = "test"; + export const exp4627 = "test"; + export const exp4628 = "test"; + export const exp4629 = "test"; + export const exp4630 = "test"; + export const exp4631 = "test"; + export const exp4632 = "test"; + export const exp4633 = "test"; + export const exp4634 = "test"; + export const exp4635 = "test"; + export const exp4636 = "test"; + export const exp4637 = "test"; + export const exp4638 = "test"; + export const exp4639 = "test"; + export const exp4640 = "test"; + export const exp4641 = "test"; + export const exp4642 = "test"; + export const exp4643 = "test"; + export const exp4644 = "test"; + export const exp4645 = "test"; + export const exp4646 = "test"; + export const exp4647 = "test"; + export const exp4648 = "test"; + export const exp4649 = "test"; + export const exp4650 = "test"; + export const exp4651 = "test"; + export const exp4652 = "test"; + export const exp4653 = "test"; + export const exp4654 = "test"; + export const exp4655 = "test"; + export const exp4656 = "test"; + export const exp4657 = "test"; + export const exp4658 = "test"; + export const exp4659 = "test"; + export const exp4660 = "test"; + export const exp4661 = "test"; + export const exp4662 = "test"; + export const exp4663 = "test"; + export const exp4664 = "test"; + export const exp4665 = "test"; + export const exp4666 = "test"; + export const exp4667 = "test"; + export const exp4668 = "test"; + export const exp4669 = "test"; + export const exp4670 = "test"; + export const exp4671 = "test"; + export const exp4672 = "test"; + export const exp4673 = "test"; + export const exp4674 = "test"; + export const exp4675 = "test"; + export const exp4676 = "test"; + export const exp4677 = "test"; + export const exp4678 = "test"; + export const exp4679 = "test"; + export const exp4680 = "test"; + export const exp4681 = "test"; + export const exp4682 = "test"; + export const exp4683 = "test"; + export const exp4684 = "test"; + export const exp4685 = "test"; + export const exp4686 = "test"; + export const exp4687 = "test"; + export const exp4688 = "test"; + export const exp4689 = "test"; + export const exp4690 = "test"; + export const exp4691 = "test"; + export const exp4692 = "test"; + export const exp4693 = "test"; + export const exp4694 = "test"; + export const exp4695 = "test"; + export const exp4696 = "test"; + export const exp4697 = "test"; + export const exp4698 = "test"; + export const exp4699 = "test"; + export const exp4700 = "test"; + export const exp4701 = "test"; + export const exp4702 = "test"; + export const exp4703 = "test"; + export const exp4704 = "test"; + export const exp4705 = "test"; + export const exp4706 = "test"; + export const exp4707 = "test"; + export const exp4708 = "test"; + export const exp4709 = "test"; + export const exp4710 = "test"; + export const exp4711 = "test"; + export const exp4712 = "test"; + export const exp4713 = "test"; + export const exp4714 = "test"; + export const exp4715 = "test"; + export const exp4716 = "test"; + export const exp4717 = "test"; + export const exp4718 = "test"; + export const exp4719 = "test"; + export const exp4720 = "test"; + export const exp4721 = "test"; + export const exp4722 = "test"; + export const exp4723 = "test"; + export const exp4724 = "test"; + export const exp4725 = "test"; + export const exp4726 = "test"; + export const exp4727 = "test"; + export const exp4728 = "test"; + export const exp4729 = "test"; + export const exp4730 = "test"; + export const exp4731 = "test"; + export const exp4732 = "test"; + export const exp4733 = "test"; + export const exp4734 = "test"; + export const exp4735 = "test"; + export const exp4736 = "test"; + export const exp4737 = "test"; + export const exp4738 = "test"; + export const exp4739 = "test"; + export const exp4740 = "test"; + export const exp4741 = "test"; + export const exp4742 = "test"; + export const exp4743 = "test"; + export const exp4744 = "test"; + export const exp4745 = "test"; + export const exp4746 = "test"; + export const exp4747 = "test"; + export const exp4748 = "test"; + export const exp4749 = "test"; + export const exp4750 = "test"; + export const exp4751 = "test"; + export const exp4752 = "test"; + export const exp4753 = "test"; + export const exp4754 = "test"; + export const exp4755 = "test"; + export const exp4756 = "test"; + export const exp4757 = "test"; + export const exp4758 = "test"; + export const exp4759 = "test"; + export const exp4760 = "test"; + export const exp4761 = "test"; + export const exp4762 = "test"; + export const exp4763 = "test"; + export const exp4764 = "test"; + export const exp4765 = "test"; + export const exp4766 = "test"; + export const exp4767 = "test"; + export const exp4768 = "test"; + export const exp4769 = "test"; + export const exp4770 = "test"; + export const exp4771 = "test"; + export const exp4772 = "test"; + export const exp4773 = "test"; + export const exp4774 = "test"; + export const exp4775 = "test"; + export const exp4776 = "test"; + export const exp4777 = "test"; + export const exp4778 = "test"; + export const exp4779 = "test"; + export const exp4780 = "test"; + export const exp4781 = "test"; + export const exp4782 = "test"; + export const exp4783 = "test"; + export const exp4784 = "test"; + export const exp4785 = "test"; + export const exp4786 = "test"; + export const exp4787 = "test"; + export const exp4788 = "test"; + export const exp4789 = "test"; + export const exp4790 = "test"; + export const exp4791 = "test"; + export const exp4792 = "test"; + export const exp4793 = "test"; + export const exp4794 = "test"; + export const exp4795 = "test"; + export const exp4796 = "test"; + export const exp4797 = "test"; + export const exp4798 = "test"; + export const exp4799 = "test"; + export const exp4800 = "test"; + export const exp4801 = "test"; + export const exp4802 = "test"; + export const exp4803 = "test"; + export const exp4804 = "test"; + export const exp4805 = "test"; + export const exp4806 = "test"; + export const exp4807 = "test"; + export const exp4808 = "test"; + export const exp4809 = "test"; + export const exp4810 = "test"; + export const exp4811 = "test"; + export const exp4812 = "test"; + export const exp4813 = "test"; + export const exp4814 = "test"; + export const exp4815 = "test"; + export const exp4816 = "test"; + export const exp4817 = "test"; + export const exp4818 = "test"; + export const exp4819 = "test"; + export const exp4820 = "test"; + export const exp4821 = "test"; + export const exp4822 = "test"; + export const exp4823 = "test"; + export const exp4824 = "test"; + export const exp4825 = "test"; + export const exp4826 = "test"; + export const exp4827 = "test"; + export const exp4828 = "test"; + export const exp4829 = "test"; + export const exp4830 = "test"; + export const exp4831 = "test"; + export const exp4832 = "test"; + export const exp4833 = "test"; + export const exp4834 = "test"; + export const exp4835 = "test"; + export const exp4836 = "test"; + export const exp4837 = "test"; + export const exp4838 = "test"; + export const exp4839 = "test"; + export const exp4840 = "test"; + export const exp4841 = "test"; + export const exp4842 = "test"; + export const exp4843 = "test"; + export const exp4844 = "test"; + export const exp4845 = "test"; + export const exp4846 = "test"; + export const exp4847 = "test"; + export const exp4848 = "test"; + export const exp4849 = "test"; + export const exp4850 = "test"; + export const exp4851 = "test"; + export const exp4852 = "test"; + export const exp4853 = "test"; + export const exp4854 = "test"; + export const exp4855 = "test"; + export const exp4856 = "test"; + export const exp4857 = "test"; + export const exp4858 = "test"; + export const exp4859 = "test"; + export const exp4860 = "test"; + export const exp4861 = "test"; + export const exp4862 = "test"; + export const exp4863 = "test"; + export const exp4864 = "test"; + export const exp4865 = "test"; + export const exp4866 = "test"; + export const exp4867 = "test"; + export const exp4868 = "test"; + export const exp4869 = "test"; + export const exp4870 = "test"; + export const exp4871 = "test"; + export const exp4872 = "test"; + export const exp4873 = "test"; + export const exp4874 = "test"; + export const exp4875 = "test"; + export const exp4876 = "test"; + export const exp4877 = "test"; + export const exp4878 = "test"; + export const exp4879 = "test"; + export const exp4880 = "test"; + export const exp4881 = "test"; + export const exp4882 = "test"; + export const exp4883 = "test"; + export const exp4884 = "test"; + export const exp4885 = "test"; + export const exp4886 = "test"; + export const exp4887 = "test"; + export const exp4888 = "test"; + export const exp4889 = "test"; + export const exp4890 = "test"; + export const exp4891 = "test"; + export const exp4892 = "test"; + export const exp4893 = "test"; + export const exp4894 = "test"; + export const exp4895 = "test"; + export const exp4896 = "test"; + export const exp4897 = "test"; + export const exp4898 = "test"; + export const exp4899 = "test"; + export const exp4900 = "test"; + export const exp4901 = "test"; + export const exp4902 = "test"; + export const exp4903 = "test"; + export const exp4904 = "test"; + export const exp4905 = "test"; + export const exp4906 = "test"; + export const exp4907 = "test"; + export const exp4908 = "test"; + export const exp4909 = "test"; + export const exp4910 = "test"; + export const exp4911 = "test"; + export const exp4912 = "test"; + export const exp4913 = "test"; + export const exp4914 = "test"; + export const exp4915 = "test"; + export const exp4916 = "test"; + export const exp4917 = "test"; + export const exp4918 = "test"; + export const exp4919 = "test"; + export const exp4920 = "test"; + export const exp4921 = "test"; + export const exp4922 = "test"; + export const exp4923 = "test"; + export const exp4924 = "test"; + export const exp4925 = "test"; + export const exp4926 = "test"; + export const exp4927 = "test"; + export const exp4928 = "test"; + export const exp4929 = "test"; + export const exp4930 = "test"; + export const exp4931 = "test"; + export const exp4932 = "test"; + export const exp4933 = "test"; + export const exp4934 = "test"; + export const exp4935 = "test"; + export const exp4936 = "test"; + export const exp4937 = "test"; + export const exp4938 = "test"; + export const exp4939 = "test"; + export const exp4940 = "test"; + export const exp4941 = "test"; + export const exp4942 = "test"; + export const exp4943 = "test"; + export const exp4944 = "test"; + export const exp4945 = "test"; + export const exp4946 = "test"; + export const exp4947 = "test"; + export const exp4948 = "test"; + export const exp4949 = "test"; + export const exp4950 = "test"; + export const exp4951 = "test"; + export const exp4952 = "test"; + export const exp4953 = "test"; + export const exp4954 = "test"; + export const exp4955 = "test"; + export const exp4956 = "test"; + export const exp4957 = "test"; + export const exp4958 = "test"; + export const exp4959 = "test"; + export const exp4960 = "test"; + export const exp4961 = "test"; + export const exp4962 = "test"; + export const exp4963 = "test"; + export const exp4964 = "test"; + export const exp4965 = "test"; + export const exp4966 = "test"; + export const exp4967 = "test"; + export const exp4968 = "test"; + export const exp4969 = "test"; + export const exp4970 = "test"; + export const exp4971 = "test"; + export const exp4972 = "test"; + export const exp4973 = "test"; + export const exp4974 = "test"; + export const exp4975 = "test"; + export const exp4976 = "test"; + export const exp4977 = "test"; + export const exp4978 = "test"; + export const exp4979 = "test"; + export const exp4980 = "test"; + export const exp4981 = "test"; + export const exp4982 = "test"; + export const exp4983 = "test"; + export const exp4984 = "test"; + export const exp4985 = "test"; + export const exp4986 = "test"; + export const exp4987 = "test"; + export const exp4988 = "test"; + export const exp4989 = "test"; + export const exp4990 = "test"; + export const exp4991 = "test"; + export const exp4992 = "test"; + export const exp4993 = "test"; + export const exp4994 = "test"; + export const exp4995 = "test"; + export const exp4996 = "test"; + export const exp4997 = "test"; + export const exp4998 = "test"; + export const exp4999 = "test"; + \ No newline at end of file diff --git a/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).errors.txt b/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).errors.txt new file mode 100644 index 0000000000000..7268f22e48581 --- /dev/null +++ b/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== auxiliary.ts (0 errors) ==== + export class SomeClass { + field: string; + } + +==== testA.ts (0 errors) ==== + import { SomeClass } from './auxiliary'; + function annotation(): PropertyDecorator { + return (target: any): void => { }; + } + export class ClassA { + @annotation() aaa: SomeClass; + } + +==== testB.ts (0 errors) ==== + import { SomeClass } from './auxiliary'; + function annotation(): PropertyDecorator { + return (target: any): void => { }; + } + export class ClassB { + @annotation() bbb: SomeClass | null; + } \ No newline at end of file diff --git a/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).types b/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).types index 70c6e5161ba23..7e4966a61475e 100644 --- a/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).types +++ b/tests/baselines/reference/metadataOfClassFromAlias(strict=false,target=es5).types @@ -23,6 +23,7 @@ function annotation(): PropertyDecorator { >(target: any): void => { } : (target: any) => void > : ^ ^^ ^^^^^ >target : any +> : ^^^ } export class ClassA { >ClassA : ClassA @@ -50,6 +51,7 @@ function annotation(): PropertyDecorator { >(target: any): void => { } : (target: any) => void > : ^ ^^ ^^^^^ >target : any +> : ^^^ } export class ClassB { >ClassB : ClassB diff --git a/tests/baselines/reference/metadataOfClassFromAlias(strict=true,target=es5).errors.txt b/tests/baselines/reference/metadataOfClassFromAlias(strict=true,target=es5).errors.txt index fa2ac7a8d184a..480931bbe242e 100644 --- a/tests/baselines/reference/metadataOfClassFromAlias(strict=true,target=es5).errors.txt +++ b/tests/baselines/reference/metadataOfClassFromAlias(strict=true,target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. auxiliary.ts(2,5): error TS2564: Property 'field' has no initializer and is not definitely assigned in the constructor. testA.ts(6,19): error TS2564: Property 'aaa' has no initializer and is not definitely assigned in the constructor. testB.ts(6,19): error TS2564: Property 'bbb' has no initializer and is not definitely assigned in the constructor. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== auxiliary.ts (1 errors) ==== export class SomeClass { field: string; diff --git a/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).errors.txt b/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).errors.txt new file mode 100644 index 0000000000000..a2e14b5c11830 --- /dev/null +++ b/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== auxiliry.ts (0 errors) ==== + export class SomeClass { + field: string; + } + +==== test.ts (0 errors) ==== + import { SomeClass } from './auxiliry'; + function annotation(): PropertyDecorator { + return (target: any): void => { }; + } + export class ClassA { + @annotation() array: SomeClass | null | string; + } \ No newline at end of file diff --git a/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).types b/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).types index cdffa195252bc..3e0e644a15a15 100644 --- a/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).types +++ b/tests/baselines/reference/metadataOfClassFromAlias2(target=es5).types @@ -23,6 +23,7 @@ function annotation(): PropertyDecorator { >(target: any): void => { } : (target: any) => void > : ^ ^^ ^^^^^ >target : any +> : ^^^ } export class ClassA { >ClassA : ClassA diff --git a/tests/baselines/reference/metadataOfClassFromModule(target=es5).errors.txt b/tests/baselines/reference/metadataOfClassFromModule(target=es5).errors.txt new file mode 100644 index 0000000000000..d7479179839d7 --- /dev/null +++ b/tests/baselines/reference/metadataOfClassFromModule(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== metadataOfClassFromModule.ts (0 errors) ==== + namespace MyModule { + + export function inject(target: any, key: string): void { } + + export class Leg { } + + export class Person { + @inject leftLeg: Leg; + } + + } \ No newline at end of file diff --git a/tests/baselines/reference/metadataOfClassFromModule(target=es5).types b/tests/baselines/reference/metadataOfClassFromModule(target=es5).types index 99224772ae2c2..069abe2be0889 100644 --- a/tests/baselines/reference/metadataOfClassFromModule(target=es5).types +++ b/tests/baselines/reference/metadataOfClassFromModule(target=es5).types @@ -9,6 +9,7 @@ namespace MyModule { >inject : (target: any, key: string) => void > : ^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >key : string > : ^^^^^^ diff --git a/tests/baselines/reference/metadataOfEventAlias(target=es5).errors.txt b/tests/baselines/reference/metadataOfEventAlias(target=es5).errors.txt new file mode 100644 index 0000000000000..cff6c8f6b5644 --- /dev/null +++ b/tests/baselines/reference/metadataOfEventAlias(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== event.ts (0 errors) ==== + export interface Event { title: string }; + +==== test.ts (0 errors) ==== + import { Event } from './event'; + function Input(target: any, key: string): void { } + export class SomeClass { + @Input event: Event; + } \ No newline at end of file diff --git a/tests/baselines/reference/metadataOfEventAlias(target=es5).types b/tests/baselines/reference/metadataOfEventAlias(target=es5).types index 2c6af74915eb6..fd57d67630b01 100644 --- a/tests/baselines/reference/metadataOfEventAlias(target=es5).types +++ b/tests/baselines/reference/metadataOfEventAlias(target=es5).types @@ -14,6 +14,7 @@ function Input(target: any, key: string): void { } >Input : (target: any, key: string) => void > : ^ ^^ ^^ ^^ ^^^^^ >target : any +> : ^^^ >key : string > : ^^^^^^ diff --git a/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).errors.txt b/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).errors.txt new file mode 100644 index 0000000000000..251224a432d01 --- /dev/null +++ b/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== Class1.ts (0 errors) ==== + export class Class1 { + } +==== Class2.ts (0 errors) ==== + import { Class1 } from './Class1'; + + function decorate(target: any, propertyKey: string) { + } + + export class Class2 { + @decorate + get maybeProp(): Class1 | undefined { + return undefined; + } + @decorate + get prop(): Class1 { + return undefined; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).types b/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).types index 5a596676a3f05..12c6c1f4e995a 100644 --- a/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).types +++ b/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=false,target=es5).types @@ -14,6 +14,7 @@ function decorate(target: any, propertyKey: string) { >decorate : (target: any, propertyKey: string) => void > : ^ ^^ ^^ ^^ ^^^^^^^^^ >target : any +> : ^^^ >propertyKey : string > : ^^^^^^ } diff --git a/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=true,target=es5).errors.txt b/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=true,target=es5).errors.txt index 4e39e852206b1..72a485f5af8a2 100644 --- a/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=true,target=es5).errors.txt +++ b/tests/baselines/reference/metadataReferencedWithinFilteredUnion(strictnullchecks=true,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Class2.ts(13,9): error TS2322: Type 'undefined' is not assignable to type 'Class1'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== Class1.ts (0 errors) ==== export class Class1 { } diff --git a/tests/baselines/reference/methodContainingLocalFunction(target=es5).errors.txt b/tests/baselines/reference/methodContainingLocalFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..6b52484789425 --- /dev/null +++ b/tests/baselines/reference/methodContainingLocalFunction(target=es5).errors.txt @@ -0,0 +1,55 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== methodContainingLocalFunction.ts (0 errors) ==== + // The first case here (BugExhibition) caused a crash. Try with different permutations of features. + class BugExhibition { + public exhibitBug() { + function localFunction() { } + var x: { (): void; }; + x = localFunction; + } + } + + class BugExhibition2 { + private static get exhibitBug() { + function localFunction() { } + var x: { (): void; }; + x = localFunction; + return null; + } + } + + class BugExhibition3 { + public exhibitBug() { + function localGenericFunction(u?: U) { } + var x: { (): void; }; + x = localGenericFunction; + } + } + + class C { + exhibit() { + var funcExpr = (u?: U) => { }; + var x: { (): void; }; + x = funcExpr; + } + } + + namespace M { + export function exhibitBug() { + function localFunction() { } + var x: { (): void; }; + x = localFunction; + } + } + + enum E { + A = (() => { + function localFunction() { } + var x: { (): void; }; + x = localFunction; + return 0; + })() + } \ No newline at end of file diff --git a/tests/baselines/reference/methodContainingLocalFunction(target=es5).types b/tests/baselines/reference/methodContainingLocalFunction(target=es5).types index 4b964d817d05e..62c84d7492b91 100644 --- a/tests/baselines/reference/methodContainingLocalFunction(target=es5).types +++ b/tests/baselines/reference/methodContainingLocalFunction(target=es5).types @@ -34,6 +34,7 @@ class BugExhibition2 { private static get exhibitBug() { >exhibitBug : any +> : ^^^ function localFunction() { } >localFunction : () => void diff --git a/tests/baselines/reference/missingDecoratorType(target=es5).errors.txt b/tests/baselines/reference/missingDecoratorType(target=es5).errors.txt index 85cb3b7db8f22..ac4a89f6f61de 100644 --- a/tests/baselines/reference/missingDecoratorType(target=es5).errors.txt +++ b/tests/baselines/reference/missingDecoratorType(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS2318: Cannot find global type 'TypedPropertyDescriptor'. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS2318: Cannot find global type 'TypedPropertyDescriptor'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== interface Object { } interface Array { } diff --git a/tests/baselines/reference/modifierParenCast(target=es5).errors.txt b/tests/baselines/reference/modifierParenCast(target=es5).errors.txt new file mode 100644 index 0000000000000..440bbc1e75847 --- /dev/null +++ b/tests/baselines/reference/modifierParenCast(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== modifierParenCast.ts (0 errors) ==== + let readonly: any = undefined; + let override: any = undefined; + let out: any = undefined; + let declare: any = undefined; + + export const a = (readonly as number); + export const b = (override as number); + export const c = (out as number); + export const d = (declare as number); \ No newline at end of file diff --git a/tests/baselines/reference/modifierParenCast(target=es5).types b/tests/baselines/reference/modifierParenCast(target=es5).types index 7e3555464015b..9554682cebdb3 100644 --- a/tests/baselines/reference/modifierParenCast(target=es5).types +++ b/tests/baselines/reference/modifierParenCast(target=es5).types @@ -3,21 +3,25 @@ === modifierParenCast.ts === let readonly: any = undefined; >readonly : any +> : ^^^ >undefined : undefined > : ^^^^^^^^^ let override: any = undefined; >override : any +> : ^^^ >undefined : undefined > : ^^^^^^^^^ let out: any = undefined; >out : any +> : ^^^ >undefined : undefined > : ^^^^^^^^^ let declare: any = undefined; >declare : any +> : ^^^ >undefined : undefined > : ^^^^^^^^^ @@ -29,6 +33,7 @@ export const a = (readonly as number); >readonly as number : number > : ^^^^^^ >readonly : any +> : ^^^ export const b = (override as number); >b : number @@ -38,6 +43,7 @@ export const b = (override as number); >override as number : number > : ^^^^^^ >override : any +> : ^^^ export const c = (out as number); >c : number @@ -47,6 +53,7 @@ export const c = (out as number); >out as number : number > : ^^^^^^ >out : any +> : ^^^ export const d = (declare as number); >d : number @@ -56,4 +63,5 @@ export const d = (declare as number); >declare as number : number > : ^^^^^^ >declare : any +> : ^^^ diff --git a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib(target=es5).errors.txt b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib(target=es5).errors.txt index 3eeefbff8eae6..c18189a8c07dd 100644 --- a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib(target=es5).errors.txt +++ b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib(target=es5).errors.txt @@ -2,6 +2,7 @@ error TS2318: Cannot find global type 'Boolean'. error TS2318: Cannot find global type 'IArguments'. error TS2318: Cannot find global type 'Number'. error TS2318: Cannot find global type 'Object'. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.ts(3,12): error TS2693: 'Array' only refers to a type, but is being used as a value here. @@ -9,6 +10,7 @@ modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.ts(3,12): error TS26 !!! error TS2318: Cannot find global type 'IArguments'. !!! error TS2318: Cannot find global type 'Number'. !!! error TS2318: Cannot find global type 'Object'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.ts (1 errors) ==== // Error missing basic JavaScript objects function f(x: number, y: number, z: number) { diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib(target=es5).errors.txt b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib(target=es5).errors.txt new file mode 100644 index 0000000000000..b9bd772fa5003 --- /dev/null +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== modularizeLibrary_UsingES5LibAndES6ArrayLib.ts (0 errors) ==== + // No error + function f(x: number, y: number, z: number) { + return Array.from(arguments); + } + + f(1, 2, 3); \ No newline at end of file diff --git a/tests/baselines/reference/moduleAugmentationGlobal8(target=es5).errors.txt b/tests/baselines/reference/moduleAugmentationGlobal8(target=es5).errors.txt index 5baaa2e211ab1..03b9852daa2b3 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal8(target=es5).errors.txt +++ b/tests/baselines/reference/moduleAugmentationGlobal8(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. moduleAugmentationGlobal8.ts(2,13): error TS2669: Augmentations for the global scope can only be directly nested in external modules or ambient module declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== moduleAugmentationGlobal8.ts (1 errors) ==== namespace A { declare global { diff --git a/tests/baselines/reference/moduleAugmentationGlobal8_1(target=es5).errors.txt b/tests/baselines/reference/moduleAugmentationGlobal8_1(target=es5).errors.txt index 603a7a8196932..59d34a66e73d2 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal8_1(target=es5).errors.txt +++ b/tests/baselines/reference/moduleAugmentationGlobal8_1(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. moduleAugmentationGlobal8_1.ts(2,5): error TS2669: Augmentations for the global scope can only be directly nested in external modules or ambient module declarations. moduleAugmentationGlobal8_1.ts(2,5): error TS2670: Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== moduleAugmentationGlobal8_1.ts (2 errors) ==== namespace A { global { diff --git a/tests/baselines/reference/moduleAugmentationsBundledOutput1(target=es5).errors.txt b/tests/baselines/reference/moduleAugmentationsBundledOutput1(target=es5).errors.txt index 5e87069549d3c..23b2c37d42deb 100644 --- a/tests/baselines/reference/moduleAugmentationsBundledOutput1(target=es5).errors.txt +++ b/tests/baselines/reference/moduleAugmentationsBundledOutput1(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (0 errors) ==== export class Cls { } diff --git a/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).errors.txt b/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).errors.txt new file mode 100644 index 0000000000000..9815e42cfbb08 --- /dev/null +++ b/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.ts (0 errors) ==== + /// + // This should emit a call to createRequire(import.meta.url) + import foo = require("foo"); + foo; +==== package.json (0 errors) ==== + { + "type": "module" + } +==== mod.d.ts (0 errors) ==== + declare module "foo"; \ No newline at end of file diff --git a/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).types b/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).types index b1732440e9fbf..1793b934bc713 100644 --- a/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).types +++ b/tests/baselines/reference/moduleNodeImportRequireEmit(target=es5).types @@ -9,8 +9,10 @@ import foo = require("foo"); foo; >foo : any +> : ^^^ === mod.d.ts === declare module "foo"; >"foo" : any +> : ^^^ diff --git a/tests/baselines/reference/moduleNoneErrors(target=es5).errors.txt b/tests/baselines/reference/moduleNoneErrors(target=es5).errors.txt index 7ff5b8706838c..0a93da73f8d1d 100644 --- a/tests/baselines/reference/moduleNoneErrors(target=es5).errors.txt +++ b/tests/baselines/reference/moduleNoneErrors(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(1,14): error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== export class Foo { ~~~ diff --git a/tests/baselines/reference/moduledecl(target=es5).errors.txt b/tests/baselines/reference/moduledecl(target=es5).errors.txt new file mode 100644 index 0000000000000..f421bef81031c --- /dev/null +++ b/tests/baselines/reference/moduledecl(target=es5).errors.txt @@ -0,0 +1,237 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== moduledecl.ts (0 errors) ==== + namespace a { + } + + namespace b.a { + } + + namespace c.a.b { + import ma = a; + } + + namespace mImport { + import d = a; + import e = b.a; + import d1 = a; + import e1 = b.a; + } + + namespace m0 { + function f1() { + } + + function f2(s: string); + function f2(n: number); + function f2(ns: any) { + } + + class c1 { + public a : ()=>string; + private b: ()=>number; + private static s1; + public static s2; + } + + interface i1 { + () : Object; + [n: number]: c1; + } + + import m2 = a; + import m3 = b; + import m4 = b.a; + import m5 = c; + import m6 = c.a; + import m7 = c.a.b; + } + + namespace m1 { + export function f1() { + } + + export function f2(s: string); + export function f2(n: number); + export function f2(ns: any) { + } + + export class c1 { + public a: () =>string; + private b: () =>number; + private static s1; + public static s2; + + public d() { + return "Hello"; + } + + public e: { x: number; y: string; }; + constructor (public n, public n2: number, private n3, private n4: string) { + } + } + + export interface i1 { + () : Object; + [n: number]: c1; + } + + import m2 = a; + import m3 = b; + import m4 = b.a; + import m5 = c; + import m6 = c.a; + import m7 = c.a.b; + } + + namespace m { + export namespace m2 { + var a = 10; + export var b: number; + } + + export namespace m3 { + export var c: number; + } + } + + namespace m { + + export namespace m25 { + export namespace m5 { + export var c: number; + } + } + } + + namespace m13 { + export namespace m4 { + export namespace m2 { + export namespace m3 { + export var c: number; + } + } + + export function f() { + return 20; + } + } + } + + declare namespace m4 { + export var b; + } + + declare namespace m5 { + export var c; + } + + declare namespace m43 { + export var b; + } + + declare namespace m55 { + export var c; + } + + declare module "m3" { + export var b: number; + } + + namespace exportTests { + export class C1_public { + private f2() { + return 30; + } + + public f3() { + return "string"; + } + } + class C2_private { + private f2() { + return 30; + } + + public f3() { + return "string"; + } + } + + export class C3_public { + private getC2_private() { + return new C2_private(); + } + private setC2_private(arg: C2_private) { + } + private get c2() { + return new C2_private(); + } + public getC1_public() { + return new C1_public(); + } + public setC1_public(arg: C1_public) { + } + public get c1() { + return new C1_public(); + } + } + } + + declare namespace mAmbient { + class C { + public myProp: number; + } + + function foo() : C; + var aVar: C; + interface B { + x: number; + y: C; + } + enum e { + x, + y, + z + } + + namespace m3 { + class C { + public myProp: number; + } + + function foo(): C; + var aVar: C; + interface B { + x: number; + y: C; + } + enum e { + x, + y, + z + } + } + } + + function foo() { + return mAmbient.foo(); + } + + var cVar = new mAmbient.C(); + var aVar = mAmbient.aVar; + var bB: mAmbient.B; + var eVar: mAmbient.e; + + function m3foo() { + return mAmbient.m3.foo(); + } + + var m3cVar = new mAmbient.m3.C(); + var m3aVar = mAmbient.m3.aVar; + var m3bB: mAmbient.m3.B; + var m3eVar: mAmbient.m3.e; + + \ No newline at end of file diff --git a/tests/baselines/reference/moduledecl(target=es5).types b/tests/baselines/reference/moduledecl(target=es5).types index 3f73baec83104..3064cee038e5e 100644 --- a/tests/baselines/reference/moduledecl(target=es5).types +++ b/tests/baselines/reference/moduledecl(target=es5).types @@ -11,14 +11,16 @@ namespace c.a.b { import ma = a; >ma : any > : ^^^ ->a : error +>a : any +> : ^^^ } namespace mImport { import d = a; >d : any > : ^^^ ->a : error +>a : any +> : ^^^ import e = b.a; >e : any @@ -31,7 +33,8 @@ namespace mImport { import d1 = a; >d1 : any > : ^^^ ->a : error +>a : any +> : ^^^ import e1 = b.a; >e1 : any @@ -67,6 +70,7 @@ namespace m0 { >f2 : { (s: string): any; (n: number): any; } > : ^^^ ^^ ^^^^^^^^^ ^^ ^^^^^^^^^ >ns : any +> : ^^^ } class c1 { @@ -83,9 +87,11 @@ namespace m0 { private static s1; >s1 : any +> : ^^^ public static s2; >s2 : any +> : ^^^ } interface i1 { @@ -98,12 +104,14 @@ namespace m0 { import m2 = a; >m2 : any > : ^^^ ->a : error +>a : any +> : ^^^ import m3 = b; >m3 : any > : ^^^ ->b : error +>b : any +> : ^^^ import m4 = b.a; >m4 : any @@ -116,7 +124,8 @@ namespace m0 { import m5 = c; >m5 : any > : ^^^ ->c : error +>c : any +> : ^^^ import m6 = c.a; >m6 : any @@ -162,6 +171,7 @@ namespace m1 { >f2 : { (s: string): any; (n: number): any; } > : ^^^ ^^ ^^^^^^^^^ ^^ ^^^^^^^^^ >ns : any +> : ^^^ } export class c1 { @@ -178,9 +188,11 @@ namespace m1 { private static s1; >s1 : any +> : ^^^ public static s2; >s2 : any +> : ^^^ public d() { >d : () => string @@ -201,9 +213,11 @@ namespace m1 { constructor (public n, public n2: number, private n3, private n4: string) { >n : any +> : ^^^ >n2 : number > : ^^^^^^ >n3 : any +> : ^^^ >n4 : string > : ^^^^^^ } @@ -219,12 +233,14 @@ namespace m1 { import m2 = a; >m2 : any > : ^^^ ->a : error +>a : any +> : ^^^ import m3 = b; >m3 : any > : ^^^ ->b : error +>b : any +> : ^^^ import m4 = b.a; >m4 : any @@ -237,7 +253,8 @@ namespace m1 { import m5 = c; >m5 : any > : ^^^ ->c : error +>c : any +> : ^^^ import m6 = c.a; >m6 : any @@ -345,6 +362,7 @@ declare namespace m4 { export var b; >b : any +> : ^^^ } declare namespace m5 { @@ -353,6 +371,7 @@ declare namespace m5 { export var c; >c : any +> : ^^^ } declare namespace m43 { @@ -361,6 +380,7 @@ declare namespace m43 { export var b; >b : any +> : ^^^ } declare namespace m55 { @@ -369,6 +389,7 @@ declare namespace m55 { export var c; >c : any +> : ^^^ } declare module "m3" { diff --git a/tests/baselines/reference/multipleDefaultExports01(target=es5).errors.txt b/tests/baselines/reference/multipleDefaultExports01(target=es5).errors.txt index 6bd81bec83774..517c6b609712f 100644 --- a/tests/baselines/reference/multipleDefaultExports01(target=es5).errors.txt +++ b/tests/baselines/reference/multipleDefaultExports01(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. m1.ts(1,22): error TS2323: Cannot redeclare exported variable 'default'. m1.ts(1,22): error TS2528: A module cannot have multiple default exports. m1.ts(1,22): error TS2813: Class declaration cannot implement overload list for 'default'. @@ -7,6 +8,7 @@ m1.ts(5,25): error TS2814: Function with bodies can only merge with classes that m1.ts(10,16): error TS2528: A module cannot have multiple default exports. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (7 errors) ==== export default class foo { ~~~ diff --git a/tests/baselines/reference/multipleDefaultExports02(target=es5).errors.txt b/tests/baselines/reference/multipleDefaultExports02(target=es5).errors.txt index 6445cd3deb638..6329e2faef526 100644 --- a/tests/baselines/reference/multipleDefaultExports02(target=es5).errors.txt +++ b/tests/baselines/reference/multipleDefaultExports02(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. m1.ts(1,25): error TS2323: Cannot redeclare exported variable 'default'. m1.ts(1,25): error TS2393: Duplicate function implementation. m1.ts(5,25): error TS2323: Cannot redeclare exported variable 'default'. m1.ts(5,25): error TS2393: Duplicate function implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== m1.ts (4 errors) ==== export default function foo() { ~~~ diff --git a/tests/baselines/reference/multipleDefaultExports03(target=es5).errors.txt b/tests/baselines/reference/multipleDefaultExports03(target=es5).errors.txt index 80bd18ea44357..bda2dc44768b5 100644 --- a/tests/baselines/reference/multipleDefaultExports03(target=es5).errors.txt +++ b/tests/baselines/reference/multipleDefaultExports03(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. multipleDefaultExports03.ts(1,22): error TS2528: A module cannot have multiple default exports. multipleDefaultExports03.ts(4,22): error TS2528: A module cannot have multiple default exports. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== multipleDefaultExports03.ts (2 errors) ==== export default class C { ~ diff --git a/tests/baselines/reference/multipleDefaultExports04(target=es5).errors.txt b/tests/baselines/reference/multipleDefaultExports04(target=es5).errors.txt index a5dc2f89960f4..3a22a3a15ba08 100644 --- a/tests/baselines/reference/multipleDefaultExports04(target=es5).errors.txt +++ b/tests/baselines/reference/multipleDefaultExports04(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. multipleDefaultExports04.ts(1,25): error TS2323: Cannot redeclare exported variable 'default'. multipleDefaultExports04.ts(1,25): error TS2393: Duplicate function implementation. multipleDefaultExports04.ts(4,25): error TS2323: Cannot redeclare exported variable 'default'. multipleDefaultExports04.ts(4,25): error TS2393: Duplicate function implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== multipleDefaultExports04.ts (4 errors) ==== export default function f() { ~ diff --git a/tests/baselines/reference/multipleDefaultExports05(target=es5).errors.txt b/tests/baselines/reference/multipleDefaultExports05(target=es5).errors.txt index 3f07b6e127951..14df29c761fdd 100644 --- a/tests/baselines/reference/multipleDefaultExports05(target=es5).errors.txt +++ b/tests/baselines/reference/multipleDefaultExports05(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. multipleDefaultExports05.ts(1,22): error TS2528: A module cannot have multiple default exports. multipleDefaultExports05.ts(3,22): error TS2528: A module cannot have multiple default exports. multipleDefaultExports05.ts(5,22): error TS2528: A module cannot have multiple default exports. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== multipleDefaultExports05.ts (3 errors) ==== export default class AA1 {} ~~~ diff --git a/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).errors.txt b/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).errors.txt new file mode 100644 index 0000000000000..7aa9ed84265a5 --- /dev/null +++ b/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== nestedLoopWithOnlyInnerLetCaptured.ts (0 errors) ==== + declare let doSomething; + + for (let a1 of []) + for (let a2 of a1.someArray) + doSomething(() => a2); \ No newline at end of file diff --git a/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).types b/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).types index bf98dd109001b..2357b832c0914 100644 --- a/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).types +++ b/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured(target=es5).types @@ -3,15 +3,19 @@ === nestedLoopWithOnlyInnerLetCaptured.ts === declare let doSomething; >doSomething : any +> : ^^^ for (let a1 of []) >a1 : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ for (let a2 of a1.someArray) >a2 : any +> : ^^^ >a1.someArray : any +> : ^^^ >a1 : any > : ^^^ >someArray : any @@ -19,8 +23,11 @@ for (let a1 of []) doSomething(() => a2); >doSomething(() => a2) : any +> : ^^^ >doSomething : any +> : ^^^ >() => a2 : () => any > : ^^^^^^^^^ >a2 : any +> : ^^^ diff --git a/tests/baselines/reference/nestedLoops(target=es5).errors.txt b/tests/baselines/reference/nestedLoops(target=es5).errors.txt new file mode 100644 index 0000000000000..75e9b12643ea8 --- /dev/null +++ b/tests/baselines/reference/nestedLoops(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== nestedLoops.ts (0 errors) ==== + export class Test { + constructor() { + + let outerArray: Array = [1, 2, 3]; + let innerArray: Array = [1, 2, 3]; + + for (let outer of outerArray) + for (let inner of innerArray) { + this.aFunction((newValue, oldValue) => { + let x = outer + inner + newValue; + }); + } + } + + public aFunction(func: (newValue: any, oldValue: any) => void): void { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/nestedLoops(target=es5).types b/tests/baselines/reference/nestedLoops(target=es5).types index a762de1050d43..eda906deb37b8 100644 --- a/tests/baselines/reference/nestedLoops(target=es5).types +++ b/tests/baselines/reference/nestedLoops(target=es5).types @@ -55,11 +55,15 @@ export class Test { >(newValue, oldValue) => { let x = outer + inner + newValue; } : (newValue: any, oldValue: any) => void > : ^ ^^^^^^^ ^^^^^^^^^^^^^^ >newValue : any +> : ^^^ >oldValue : any +> : ^^^ let x = outer + inner + newValue; >x : any +> : ^^^ >outer + inner + newValue : any +> : ^^^ >outer + inner : number > : ^^^^^^ >outer : number @@ -67,6 +71,7 @@ export class Test { >inner : number > : ^^^^^^ >newValue : any +> : ^^^ }); } @@ -78,6 +83,8 @@ export class Test { >func : (newValue: any, oldValue: any) => void > : ^ ^^ ^^ ^^ ^^^^^ >newValue : any +> : ^^^ >oldValue : any +> : ^^^ } } diff --git a/tests/baselines/reference/nestedSuperCallEmit(target=es5).errors.txt b/tests/baselines/reference/nestedSuperCallEmit(target=es5).errors.txt new file mode 100644 index 0000000000000..37ac509320ec8 --- /dev/null +++ b/tests/baselines/reference/nestedSuperCallEmit(target=es5).errors.txt @@ -0,0 +1,30 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== nestedSuperCallEmit.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/55646 + abstract class Foo { + constructor(shouldThrow: boolean) { + if (shouldThrow) { + throw new Error('Please retry'); + } else { + console.log('OK'); + } + } + } + + class Bar extends Foo { + constructor() { + try { + super(true); + } catch (e: unknown) { + console.log('Error: ' + (e as Error).message); + // retry + super(false); + } + } + } + + new Bar(); + \ No newline at end of file diff --git a/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).errors.txt b/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).errors.txt new file mode 100644 index 0000000000000..444fca7d38798 --- /dev/null +++ b/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== newLexicalEnvironmentForConvertedLoop.ts (0 errors) ==== + function baz(x: any) { + return [[x, x]]; + } + + function foo(set: any) { + for (const [value, i] of baz(set.values)) { + const bar: any = []; + (() => bar); + + set.values.push(...[]); + } + }; \ No newline at end of file diff --git a/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).types b/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).types index 1f0680f3fb7de..292253f69313b 100644 --- a/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).types +++ b/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop(target=es5).types @@ -5,6 +5,7 @@ function baz(x: any) { >baz : (x: any) => any[][] > : ^ ^^ ^^^^^^^^^^^^ >x : any +> : ^^^ return [[x, x]]; >[[x, x]] : any[][] @@ -12,13 +13,16 @@ function baz(x: any) { >[x, x] : any[] > : ^^^^^ >x : any +> : ^^^ >x : any +> : ^^^ } function foo(set: any) { >foo : (set: any) => void > : ^ ^^ ^^^^^^^^^ >set : any +> : ^^^ for (const [value, i] of baz(set.values)) { >value : any @@ -30,6 +34,7 @@ function foo(set: any) { >baz : (x: any) => any[][] > : ^ ^^ ^^^^^^^^^^^^ >set.values : any +> : ^^^ >set : any > : ^^^ >values : any @@ -37,6 +42,7 @@ function foo(set: any) { const bar: any = []; >bar : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ @@ -46,10 +52,13 @@ function foo(set: any) { >() => bar : () => any > : ^^^^^^^^^ >bar : any +> : ^^^ set.values.push(...[]); >set.values.push(...[]) : any +> : ^^^ >set.values.push : any +> : ^^^ >set.values : any > : ^^^ >set : any diff --git a/tests/baselines/reference/newTarget.es5(target=es5).errors.txt b/tests/baselines/reference/newTarget.es5(target=es5).errors.txt new file mode 100644 index 0000000000000..3b4e3842f712f --- /dev/null +++ b/tests/baselines/reference/newTarget.es5(target=es5).errors.txt @@ -0,0 +1,37 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== newTarget.es5.ts (0 errors) ==== + class A { + constructor() { + const a = new.target; + const b = () => new.target; + } + static c = function () { return new.target; } + d = function () { return new.target; } + } + + class B extends A { + constructor() { + super(); + const e = new.target; + const f = () => new.target; + } + } + + function f1() { + const g = new.target; + const h = () => new.target; + } + + const f2 = function () { + const i = new.target; + const j = () => new.target; + } + + const O = { + k: function () { return new.target; } + }; + + \ No newline at end of file diff --git a/tests/baselines/reference/newWithSpreadES5(target=es5).errors.txt b/tests/baselines/reference/newWithSpreadES5(target=es5).errors.txt new file mode 100644 index 0000000000000..77cf1bbfd8cde --- /dev/null +++ b/tests/baselines/reference/newWithSpreadES5(target=es5).errors.txt @@ -0,0 +1,100 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== newWithSpreadES5.ts (0 errors) ==== + function f(x: number, y: number, ...z: string[]) { + } + + function f2(...x: string[]) {} + + interface A { + f: { + new (x: number, y: number, ...z: string[]); + } + } + + class B { + constructor(x: number, y: number, ...z: string[]) {} + } + + interface C { + "a-b": typeof B; + } + + interface D { + 1: typeof B; + } + + var a: string[]; + var b: A; + var c: C; + var d: A[]; + var e: { [key: string]: A }; + var g: C[]; + var h: { [key: string]: C }; + var i: C[][]; + + // Basic expression + new f(1, 2, "string"); + new f(1, 2, ...a); + new f(1, 2, ...a, "string"); + + // Multiple spreads arguments + new f2(...a, ...a); + new f(1 ,2, ...a, ...a); + + // Call expression + new f(1, 2, "string")(); + new f(1, 2, ...a)(); + new f(1, 2, ...a, "string")(); + + // Property access expression + new b.f(1, 2, "string"); + new b.f(1, 2, ...a); + new b.f(1, 2, ...a, "string"); + + // Parenthesised expression + new (b.f)(1, 2, "string"); + new (b.f)(1, 2, ...a); + new (b.f)(1, 2, ...a, "string"); + + // Element access expression + new d[1].f(1, 2, "string"); + new d[1].f(1, 2, ...a); + new d[1].f(1, 2, ...a, "string"); + + // Element access expression with a punctuated key + new e["a-b"].f(1, 2, "string"); + new e["a-b"].f(1, 2, ...a); + new e["a-b"].f(1, 2, ...a, "string"); + + // Basic expression + new B(1, 2, "string"); + new B(1, 2, ...a); + new B(1, 2, ...a, "string"); + + // Property access expression + new c["a-b"](1, 2, "string"); + new c["a-b"](1, 2, ...a); + new c["a-b"](1, 2, ...a, "string"); + + // Parenthesised expression + new (c["a-b"])(1, 2, "string"); + new (c["a-b"])(1, 2, ...a); + new (c["a-b"])(1, 2, ...a, "string"); + + // Element access expression + new g[1]["a-b"](1, 2, "string"); + new g[1]["a-b"](1, 2, ...a); + new g[1]["a-b"](1, 2, ...a, "string"); + + // Element access expression with a punctuated key + new h["a-b"]["a-b"](1, 2, "string"); + new h["a-b"]["a-b"](1, 2, ...a); + new h["a-b"]["a-b"](1, 2, ...a, "string"); + + // Element access expression with a number + new i["a-b"][1](1, 2, "string"); + new i["a-b"][1](1, 2, ...a); + new i["a-b"][1](1, 2, ...a, "string"); \ No newline at end of file diff --git a/tests/baselines/reference/newWithSpreadES5(target=es5).types b/tests/baselines/reference/newWithSpreadES5(target=es5).types index b8c441b641dae..b2243caf36e34 100644 --- a/tests/baselines/reference/newWithSpreadES5(target=es5).types +++ b/tests/baselines/reference/newWithSpreadES5(target=es5).types @@ -101,6 +101,7 @@ var i: C[][]; // Basic expression new f(1, 2, "string"); >new f(1, 2, "string") : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -112,6 +113,7 @@ new f(1, 2, "string"); new f(1, 2, ...a); >new f(1, 2, ...a) : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -125,6 +127,7 @@ new f(1, 2, ...a); new f(1, 2, ...a, "string"); >new f(1, 2, ...a, "string") : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -141,6 +144,7 @@ new f(1, 2, ...a, "string"); // Multiple spreads arguments new f2(...a, ...a); >new f2(...a, ...a) : any +> : ^^^ >f2 : (...x: string[]) => void > : ^^^^ ^^ ^^^^^^^^^ >...a : string @@ -154,6 +158,7 @@ new f2(...a, ...a); new f(1 ,2, ...a, ...a); >new f(1 ,2, ...a, ...a) : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -172,7 +177,9 @@ new f(1 ,2, ...a, ...a); // Call expression new f(1, 2, "string")(); >new f(1, 2, "string")() : any +> : ^^^ >new f(1, 2, "string") : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -184,7 +191,9 @@ new f(1, 2, "string")(); new f(1, 2, ...a)(); >new f(1, 2, ...a)() : any +> : ^^^ >new f(1, 2, ...a) : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -198,7 +207,9 @@ new f(1, 2, ...a)(); new f(1, 2, ...a, "string")(); >new f(1, 2, ...a, "string")() : any +> : ^^^ >new f(1, 2, ...a, "string") : any +> : ^^^ >f : (x: number, y: number, ...z: string[]) => void > : ^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^^ >1 : 1 @@ -215,6 +226,7 @@ new f(1, 2, ...a, "string")(); // Property access expression new b.f(1, 2, "string"); >new b.f(1, 2, "string") : any +> : ^^^ >b.f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >b : A @@ -230,6 +242,7 @@ new b.f(1, 2, "string"); new b.f(1, 2, ...a); >new b.f(1, 2, ...a) : any +> : ^^^ >b.f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >b : A @@ -247,6 +260,7 @@ new b.f(1, 2, ...a); new b.f(1, 2, ...a, "string"); >new b.f(1, 2, ...a, "string") : any +> : ^^^ >b.f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >b : A @@ -267,6 +281,7 @@ new b.f(1, 2, ...a, "string"); // Parenthesised expression new (b.f)(1, 2, "string"); >new (b.f)(1, 2, "string") : any +> : ^^^ >(b.f) : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >b.f : new (x: number, y: number, ...z: string[]) => any @@ -284,6 +299,7 @@ new (b.f)(1, 2, "string"); new (b.f)(1, 2, ...a); >new (b.f)(1, 2, ...a) : any +> : ^^^ >(b.f) : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >b.f : new (x: number, y: number, ...z: string[]) => any @@ -303,6 +319,7 @@ new (b.f)(1, 2, ...a); new (b.f)(1, 2, ...a, "string"); >new (b.f)(1, 2, ...a, "string") : any +> : ^^^ >(b.f) : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >b.f : new (x: number, y: number, ...z: string[]) => any @@ -325,6 +342,7 @@ new (b.f)(1, 2, ...a, "string"); // Element access expression new d[1].f(1, 2, "string"); >new d[1].f(1, 2, "string") : any +> : ^^^ >d[1].f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >d[1] : A @@ -344,6 +362,7 @@ new d[1].f(1, 2, "string"); new d[1].f(1, 2, ...a); >new d[1].f(1, 2, ...a) : any +> : ^^^ >d[1].f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >d[1] : A @@ -365,6 +384,7 @@ new d[1].f(1, 2, ...a); new d[1].f(1, 2, ...a, "string"); >new d[1].f(1, 2, ...a, "string") : any +> : ^^^ >d[1].f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >d[1] : A @@ -389,6 +409,7 @@ new d[1].f(1, 2, ...a, "string"); // Element access expression with a punctuated key new e["a-b"].f(1, 2, "string"); >new e["a-b"].f(1, 2, "string") : any +> : ^^^ >e["a-b"].f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >e["a-b"] : A @@ -408,6 +429,7 @@ new e["a-b"].f(1, 2, "string"); new e["a-b"].f(1, 2, ...a); >new e["a-b"].f(1, 2, ...a) : any +> : ^^^ >e["a-b"].f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >e["a-b"] : A @@ -429,6 +451,7 @@ new e["a-b"].f(1, 2, ...a); new e["a-b"].f(1, 2, ...a, "string"); >new e["a-b"].f(1, 2, ...a, "string") : any +> : ^^^ >e["a-b"].f : new (x: number, y: number, ...z: string[]) => any > : ^^^^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^^^^ >e["a-b"] : A @@ -745,9 +768,12 @@ new h["a-b"]["a-b"](1, 2, ...a, "string"); // Element access expression with a number new i["a-b"][1](1, 2, "string"); ->new i["a-b"][1](1, 2, "string") : error ->i["a-b"][1] : error ->i["a-b"] : error +>new i["a-b"][1](1, 2, "string") : any +> : ^^^ +>i["a-b"][1] : any +> : ^^^ +>i["a-b"] : any +> : ^^^ >i : C[][] > : ^^^^^ >"a-b" : "a-b" @@ -762,9 +788,12 @@ new i["a-b"][1](1, 2, "string"); > : ^^^^^^^^ new i["a-b"][1](1, 2, ...a); ->new i["a-b"][1](1, 2, ...a) : error ->i["a-b"][1] : error ->i["a-b"] : error +>new i["a-b"][1](1, 2, ...a) : any +> : ^^^ +>i["a-b"][1] : any +> : ^^^ +>i["a-b"] : any +> : ^^^ >i : C[][] > : ^^^^^ >"a-b" : "a-b" @@ -781,9 +810,12 @@ new i["a-b"][1](1, 2, ...a); > : ^^^^^^^^ new i["a-b"][1](1, 2, ...a, "string"); ->new i["a-b"][1](1, 2, ...a, "string") : error ->i["a-b"][1] : error ->i["a-b"] : error +>new i["a-b"][1](1, 2, ...a, "string") : any +> : ^^^ +>i["a-b"][1] : any +> : ^^^ +>i["a-b"] : any +> : ^^^ >i : C[][] > : ^^^^^ >"a-b" : "a-b" diff --git a/tests/baselines/reference/noEmitHelpers2(target=es5).errors.txt b/tests/baselines/reference/noEmitHelpers2(target=es5).errors.txt new file mode 100644 index 0000000000000..10bda03cb5a60 --- /dev/null +++ b/tests/baselines/reference/noEmitHelpers2(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== noEmitHelpers2.ts (0 errors) ==== + declare var decorator: any; + + @decorator + class A { + constructor(a: number, @decorator b: string) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/noEmitHelpers2(target=es5).types b/tests/baselines/reference/noEmitHelpers2(target=es5).types index 0589c058e85a7..c352495d9f18f 100644 --- a/tests/baselines/reference/noEmitHelpers2(target=es5).types +++ b/tests/baselines/reference/noEmitHelpers2(target=es5).types @@ -3,9 +3,11 @@ === noEmitHelpers2.ts === declare var decorator: any; >decorator : any +> : ^^^ @decorator >decorator : any +> : ^^^ class A { >A : A @@ -15,6 +17,7 @@ class A { >a : number > : ^^^^^^ >decorator : any +> : ^^^ >b : string > : ^^^^^^ } diff --git a/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile2(target=es5).errors.txt b/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile2(target=es5).errors.txt index 7ad4ea8858b04..1801d2c7b0abe 100644 --- a/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile2(target=es5).errors.txt +++ b/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile2(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 1.ts(1,1): error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== 1.ts (1 errors) ==== export var j = "hello"; // error ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile3(target=es5).errors.txt b/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile3(target=es5).errors.txt index ba676c872cc92..94fa9b325769e 100644 --- a/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile3(target=es5).errors.txt +++ b/tests/baselines/reference/noErrorUsingImportExportModuleAugmentationInDeclarationFile3(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 1.ts(1,1): error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== 0.d.ts (0 errors) ==== export = a; declare var a: number; diff --git a/tests/baselines/reference/noImplicitAnyLoopCrash(target=es5).errors.txt b/tests/baselines/reference/noImplicitAnyLoopCrash(target=es5).errors.txt index 81de93003b1e4..b3f3d32750149 100644 --- a/tests/baselines/reference/noImplicitAnyLoopCrash(target=es5).errors.txt +++ b/tests/baselines/reference/noImplicitAnyLoopCrash(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. noImplicitAnyLoopCrash.ts(4,16): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter. noImplicitAnyLoopCrash.ts(4,19): error TS2461: Type 'number' is not an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== noImplicitAnyLoopCrash.ts (2 errors) ==== let foo = () => {}; let bar; diff --git a/tests/baselines/reference/noImplicitAnyMissingGetAccessor(target=es5).errors.txt b/tests/baselines/reference/noImplicitAnyMissingGetAccessor(target=es5).errors.txt index b900f4a6fc23d..2bcbae6ddef64 100644 --- a/tests/baselines/reference/noImplicitAnyMissingGetAccessor(target=es5).errors.txt +++ b/tests/baselines/reference/noImplicitAnyMissingGetAccessor(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. noImplicitAnyMissingGetAccessor.ts(3,25): error TS7032: Property 'message' implicitly has type 'any', because its set accessor lacks a parameter type annotation. noImplicitAnyMissingGetAccessor.ts(3,33): error TS7006: Parameter 'str' implicitly has an 'any' type. noImplicitAnyMissingGetAccessor.ts(8,16): error TS7032: Property 'message' implicitly has type 'any', because its set accessor lacks a parameter type annotation. noImplicitAnyMissingGetAccessor.ts(8,24): error TS7006: Parameter 'str' implicitly has an 'any' type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== noImplicitAnyMissingGetAccessor.ts (4 errors) ==== abstract class Parent { diff --git a/tests/baselines/reference/noImplicitAnyMissingSetAccessor(target=es5).errors.txt b/tests/baselines/reference/noImplicitAnyMissingSetAccessor(target=es5).errors.txt index 73978b2779c02..856c12d60971c 100644 --- a/tests/baselines/reference/noImplicitAnyMissingSetAccessor(target=es5).errors.txt +++ b/tests/baselines/reference/noImplicitAnyMissingSetAccessor(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. noImplicitAnyMissingSetAccessor.ts(3,25): error TS7033: Property 'message' implicitly has type 'any', because its get accessor lacks a return type annotation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== noImplicitAnyMissingSetAccessor.ts (1 errors) ==== abstract class Parent { diff --git a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node16,target=es5).errors.txt b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node16,target=es5).errors.txt index f1e751aeb0f1f..5a31467ec1ed7 100644 --- a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node16,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node16,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.js(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.js (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node18,target=es5).errors.txt b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node18,target=es5).errors.txt index f1e751aeb0f1f..5a31467ec1ed7 100644 --- a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node18,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node18,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.js(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.js (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node20,target=es5).errors.txt b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node20,target=es5).errors.txt index f1e751aeb0f1f..5a31467ec1ed7 100644 --- a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node20,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=node20,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.js(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.js (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=nodenext,target=es5).errors.txt b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=nodenext,target=es5).errors.txt index f1e751aeb0f1f..5a31467ec1ed7 100644 --- a/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=nodenext,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesAllowJsImportHelpersCollisions3(module=nodenext,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.js(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.js (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node16,target=es5).errors.txt b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node16,target=es5).errors.txt index a5f7cf4be1399..6c5b1e65ed759 100644 --- a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node16,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node16,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.ts(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.ts (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node18,target=es5).errors.txt b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node18,target=es5).errors.txt index a5f7cf4be1399..6c5b1e65ed759 100644 --- a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node18,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node18,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.ts(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.ts (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node20,target=es5).errors.txt b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node20,target=es5).errors.txt index a5f7cf4be1399..6c5b1e65ed759 100644 --- a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node20,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=node20,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.ts(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.ts (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=nodenext,target=es5).errors.txt b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=nodenext,target=es5).errors.txt index a5f7cf4be1399..6c5b1e65ed759 100644 --- a/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=nodenext,target=es5).errors.txt +++ b/tests/baselines/reference/nodeModulesImportHelpersCollisions3(module=nodenext,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. subfolder/index.ts(2,9): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== subfolder/index.ts (1 errors) ==== // cjs format file export {default} from "fs"; diff --git a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).errors.txt b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).errors.txt new file mode 100644 index 0000000000000..bbad64b0bbdc6 --- /dev/null +++ b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== nullishCoalescingOperatorInAsyncGenerator.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/37686 + async function* f(a: { b?: number }) { + let c = a.b ?? 10; + while (c) { + yield c--; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).errors.txt b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..f59b23e4f6d1b --- /dev/null +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== nullishCoalescingOperatorInParameterBindingPattern.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36295 + const a = (): string | undefined => undefined; + (({ [a() ?? "d"]: c = "" }) => {})(); \ No newline at end of file diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern.2(target=es5).errors.txt b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern.2(target=es5).errors.txt index 2138c5287c7ce..d0164ef13c20a 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern.2(target=es5).errors.txt +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern.2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. nullishCoalescingOperatorInParameterBindingPattern.2.ts(3,6): error TS2373: Parameter '{ [a() ?? "d"]: c = "" }' cannot reference identifier 'a' declared after it. nullishCoalescingOperatorInParameterBindingPattern.2.ts(6,31): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== nullishCoalescingOperatorInParameterBindingPattern.2.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 const a = (): string | undefined => undefined; diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).errors.txt b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).errors.txt new file mode 100644 index 0000000000000..806ebf4c320d6 --- /dev/null +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== nullishCoalescingOperatorInParameterInitializer.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36295 + const a = (): string | undefined => undefined; + ((b = a() ?? "d") => {})(); \ No newline at end of file diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer.2(target=es5).errors.txt b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer.2(target=es5).errors.txt index 44d5455dcbc79..2d81d46b6c3a1 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer.2(target=es5).errors.txt +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer.2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. nullishCoalescingOperatorInParameterInitializer.2.ts(3,7): error TS2373: Parameter 'b' cannot reference identifier 'a' declared after it. nullishCoalescingOperatorInParameterInitializer.2.ts(6,23): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== nullishCoalescingOperatorInParameterInitializer.2.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 const a = (): string | undefined => undefined; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es5).errors.txt b/tests/baselines/reference/numericUnderscoredSeparator(target=es5).errors.txt new file mode 100644 index 0000000000000..f114f1ac58581 --- /dev/null +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== numericUnderscoredSeparator.ts (0 errors) ==== + 1_000_000_000_000 + 0b1010_0001_1000_0101 + 0b1010_0001_1000_0101 + 0xA0_B0_C0 + \ No newline at end of file diff --git a/tests/baselines/reference/objectLiteralErrors(target=es5).errors.txt b/tests/baselines/reference/objectLiteralErrors(target=es5).errors.txt index ec0bfef2bca5d..996a4fb54d314 100644 --- a/tests/baselines/reference/objectLiteralErrors(target=es5).errors.txt +++ b/tests/baselines/reference/objectLiteralErrors(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. objectLiteralErrors.ts(2,18): error TS1117: An object literal cannot have multiple properties with the same name. objectLiteralErrors.ts(3,19): error TS1117: An object literal cannot have multiple properties with the same name. objectLiteralErrors.ts(4,18): error TS1117: An object literal cannot have multiple properties with the same name. @@ -76,6 +77,7 @@ objectLiteralErrors.ts(49,7): error TS1312: Did you mean to use a ':'? An '=' ca objectLiteralErrors.ts(50,5): error TS18016: Private identifiers are not allowed outside class bodies. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== objectLiteralErrors.ts (76 errors) ==== // Multiple properties with the same name var e1 = { a: 0, a: 0 }; diff --git a/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).errors.txt b/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).errors.txt new file mode 100644 index 0000000000000..26485e1582a6b --- /dev/null +++ b/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).errors.txt @@ -0,0 +1,25 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== objectLiteralShorthandProperties.ts (0 errors) ==== + var a, b, c; + + var x1 = { + a + }; + + var x2 = { + a, + } + + var x3 = { + a: 0, + b, + c, + d() { }, + x3, + parent: x3 + }; + + \ No newline at end of file diff --git a/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).types b/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).types index 122f27c45bdeb..39ed8458396af 100644 --- a/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).types +++ b/tests/baselines/reference/objectLiteralShorthandProperties(target=es5).types @@ -3,8 +3,11 @@ === objectLiteralShorthandProperties.ts === var a, b, c; >a : any +> : ^^^ >b : any +> : ^^^ >c : any +> : ^^^ var x1 = { >x1 : { a: any; } @@ -14,6 +17,7 @@ var x1 = { a >a : any +> : ^^^ }; @@ -25,10 +29,12 @@ var x2 = { a, >a : any +> : ^^^ } var x3 = { >x3 : any +> : ^^^ >{ a: 0, b, c, d() { }, x3, parent: x3} : { a: number; b: any; c: any; d(): void; x3: any; parent: any; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -40,9 +46,11 @@ var x3 = { b, >b : any +> : ^^^ c, >c : any +> : ^^^ d() { }, >d : () => void @@ -50,10 +58,13 @@ var x3 = { x3, >x3 : any +> : ^^^ parent: x3 >parent : any +> : ^^^ >x3 : any +> : ^^^ }; diff --git a/tests/baselines/reference/objectRestParameterES5(target=es5).errors.txt b/tests/baselines/reference/objectRestParameterES5(target=es5).errors.txt new file mode 100644 index 0000000000000..f50652f84cb77 --- /dev/null +++ b/tests/baselines/reference/objectRestParameterES5(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== objectRestParameterES5.ts (0 errors) ==== + function cloneAgain({ a, ...clone }: { a: number, b: string }): void { + } + + declare function suddenly(f: (a: { x: { z, ka }, y: string }) => void); + suddenly(({ x: a, ...rest }) => rest.y); + suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka); + + class C { + m({ a, ...clone }: { a: number, b: string}): void { + // actually, never mind, don't clone + } + set p({ a, ...clone }: { a: number, b: string}) { + // actually, never mind, don't clone + } + } + function foobar({ bar={}, ...opts }: any = {}) { + } + foobar(); + foobar({ baz: 'hello' }); + foobar({ bar: { greeting: 'hello' } }); + \ No newline at end of file diff --git a/tests/baselines/reference/objectRestParameterES5(target=es5).types b/tests/baselines/reference/objectRestParameterES5(target=es5).types index bb237dd286d39..d52224d844068 100644 --- a/tests/baselines/reference/objectRestParameterES5(target=es5).types +++ b/tests/baselines/reference/objectRestParameterES5(target=es5).types @@ -24,12 +24,15 @@ declare function suddenly(f: (a: { x: { z, ka }, y: string }) => void); >x : { z: any; ka: any; } > : ^^^^^^^^^^^^^^^^^^^^ >z : any +> : ^^^ >ka : any +> : ^^^ >y : string > : ^^^^^^ suddenly(({ x: a, ...rest }) => rest.y); >suddenly(({ x: a, ...rest }) => rest.y) : any +> : ^^^ >suddenly : (f: (a: { x: { z: any; ka: any; }; y: string; }) => void) => any > : ^ ^^ ^^^ ^^^ ^^^^^^^^ >({ x: a, ...rest }) => rest.y : ({ x: a, ...rest }: { x: { z: any; ka: any; }; y: string; }) => string @@ -49,6 +52,7 @@ suddenly(({ x: a, ...rest }) => rest.y); suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka); >suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka) : any +> : ^^^ >suddenly : (f: (a: { x: { z: any; ka: any; }; y: string; }) => void) => any > : ^ ^^ ^^^ ^^^ ^^^^^^^^ >({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka : ({ x: { z, ...nested }, ...rest }?: { x: { z: any; ka: any; }; y: string; }) => string @@ -90,6 +94,7 @@ suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' >y : string > : ^^^^^^ >nested.ka : any +> : ^^^ >nested : { ka: any; } > : ^^^^^^^^^^^^ >ka : any diff --git a/tests/baselines/reference/objectSpread(target=es5).errors.txt b/tests/baselines/reference/objectSpread(target=es5).errors.txt new file mode 100644 index 0000000000000..fd22d84084aea --- /dev/null +++ b/tests/baselines/reference/objectSpread(target=es5).errors.txt @@ -0,0 +1,148 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== objectSpread.ts (0 errors) ==== + let o = { a: 1, b: 'no' } + let o2 = { b: 'yes', c: true } + let swap = { a: 'yes', b: -1 }; + + let addAfter: { a: number, b: string, c: boolean } = + { ...o, c: false } + let addBefore: { a: number, b: string, c: boolean } = + { c: false, ...o } + let override: { a: number, b: string } = + { ...o, b: 'override' } + let nested: { a: number, b: boolean, c: string } = + { ...{ a: 3, ...{ b: false, c: 'overriden' } }, c: 'whatever' } + let combined: { a: number, b: string, c: boolean } = + { ...o, ...o2 } + let combinedAfter: { a: number, b: string, c: boolean } = + { ...o, ...o2, b: 'ok' } + let combinedNestedChangeType: { a: number, b: boolean, c: number } = + { ...{ a: 1, ...{ b: false, c: 'overriden' } }, c: -1 } + let propertyNested: { a: { a: number, b: string } } = + { a: { ... o } } + // accessors don't copy the descriptor + // (which means that readonly getters become read/write properties) + let op = { get a () { return 6 } }; + let getter: { a: number, c: number } = + { ...op, c: 7 } + getter.a = 12; + + // functions result in { } + let spreadFunc = { ...(function () { }) }; + + type Header = { head: string, body: string, authToken: string } + function from16326(this: { header: Header }, header: Header, authToken: string): Header { + return { + ...this.header, + ...header, + ...authToken && { authToken } + } + } + // boolean && T results in Partial + function conditionalSpreadBoolean(b: boolean) : { x: number, y: number } { + let o = { x: 12, y: 13 } + o = { + ...o, + ...b && { x: 14 } + } + let o2 = { ...b && { x: 21 }} + return o; + } + function conditionalSpreadNumber(nt: number): { x: number, y: number } { + let o = { x: 15, y: 16 } + o = { + ...o, + ...nt && { x: nt } + } + let o2 = { ...nt && { x: nt }} + return o; + } + function conditionalSpreadString(st: string): { x: string, y: number } { + let o = { x: 'hi', y: 17 } + o = { + ...o, + ...st && { x: st } + } + let o2 = { ...st && { x: st }} + return o; + } + + // any results in any + let anything: any; + let spreadAny = { ...anything }; + + // methods are not enumerable + class C { p = 1; m() { } } + let c: C = new C() + let spreadC: { p: number } = { ...c } + + // own methods are enumerable + let cplus: { p: number, plus(): void } = { ...c, plus() { return this.p + 1; } }; + cplus.plus(); + + // new field's type conflicting with existing field is OK + let changeTypeAfter: { a: string, b: string } = + { ...o, a: 'wrong type?' } + let changeTypeBoth: { a: string, b: number } = + { ...o, ...swap }; + + // optional + function container( + definiteBoolean: { sn: boolean }, + definiteString: { sn: string }, + optionalString: { sn?: string }, + optionalNumber: { sn?: number }) { + let optionalUnionStops: { sn: string | number | boolean } = { ...definiteBoolean, ...definiteString, ...optionalNumber }; + let optionalUnionDuplicates: { sn: string | number } = { ...definiteBoolean, ...definiteString, ...optionalString, ...optionalNumber }; + let allOptional: { sn?: string | number } = { ...optionalString, ...optionalNumber }; + + // computed property + let computedFirst: { a: number, b: string, "before everything": number } = + { ['before everything']: 12, ...o, b: 'yes' } + let computedAfter: { a: number, b: string, "at the end": number } = + { ...o, b: 'yeah', ['at the end']: 14 } + } + // shortcut syntax + let a = 12; + let shortCutted: { a: number, b: string } = { ...o, a } + // non primitive + let spreadNonPrimitive = { ...{}}; + + // generic spreads + + function f(t: T, u: U) { + return { ...t, ...u, id: 'id' }; + } + + let exclusive: { id: string, a: number, b: string, c: string, d: boolean } = + f({ a: 1, b: 'yes' }, { c: 'no', d: false }) + let overlap: { id: string, a: number, b: string } = + f({ a: 1 }, { a: 2, b: 'extra' }) + let overlapConflict: { id:string, a: string } = + f({ a: 1 }, { a: 'mismatch' }) + let overwriteId: { id: string, a: number, c: number, d: string } = + f({ a: 1, id: true }, { c: 1, d: 'no' }) + + function genericSpread(t: T, u: U, v: T | U, w: T | { s: string }, obj: { x: number }) { + let x01 = { ...t }; + let x02 = { ...t, ...t }; + let x03 = { ...t, ...u }; + let x04 = { ...u, ...t }; + let x05 = { a: 5, b: 'hi', ...t }; + let x06 = { ...t, a: 5, b: 'hi' }; + let x07 = { a: 5, b: 'hi', ...t, c: true, ...obj }; + let x09 = { a: 5, ...t, b: 'hi', c: true, ...obj }; + let x10 = { a: 5, ...t, b: 'hi', ...u, ...obj }; + let x11 = { ...v }; + let x12 = { ...v, ...obj }; + let x13 = { ...w }; + let x14 = { ...w, ...obj }; + let x15 = { ...t, ...v }; + let x16 = { ...t, ...w }; + let x17 = { ...t, ...w, ...obj }; + let x18 = { ...t, ...v, ...w }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/objectSpread(target=es5).types b/tests/baselines/reference/objectSpread(target=es5).types index 92ca81fce93ad..7d915e67792a1 100644 --- a/tests/baselines/reference/objectSpread(target=es5).types +++ b/tests/baselines/reference/objectSpread(target=es5).types @@ -544,11 +544,15 @@ function conditionalSpreadString(st: string): { x: string, y: number } { // any results in any let anything: any; >anything : any +> : ^^^ let spreadAny = { ...anything }; >spreadAny : any +> : ^^^ >{ ...anything } : any +> : ^^^ >anything : any +> : ^^^ // methods are not enumerable class C { p = 1; m() { } } @@ -594,7 +598,9 @@ let cplus: { p: number, plus(): void } = { ...c, plus() { return this.p + 1; } } >plus : () => any > : ^^^^^^^^^ >this.p + 1 : any +> : ^^^ >this.p : any +> : ^^^ >this : any > : ^^^ >p : any diff --git a/tests/baselines/reference/objectSpreadNegative(target=es5).errors.txt b/tests/baselines/reference/objectSpreadNegative(target=es5).errors.txt index 248cf36e66580..ba1851bd26693 100644 --- a/tests/baselines/reference/objectSpreadNegative(target=es5).errors.txt +++ b/tests/baselines/reference/objectSpreadNegative(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. objectSpreadNegative.ts(13,21): error TS2339: Property 'x' does not exist on type '{}'. objectSpreadNegative.ts(16,5): error TS2322: Type '{ sn?: string | number | undefined; }' is not assignable to type '{ sn: string | number; }'. Types of property 'sn' are incompatible. @@ -26,6 +27,7 @@ objectSpreadNegative.ts(69,9): error TS2339: Property 'm' does not exist on type objectSpreadNegative.ts(74,11): error TS2339: Property 'a' does not exist on type '{}'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== objectSpreadNegative.ts (22 errors) ==== let o = { a: 1, b: 'no' } diff --git a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty(target=es5).errors.txt b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty(target=es5).errors.txt index fc992449f5dad..df152953fb9c9 100644 --- a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty(target=es5).errors.txt +++ b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. objectTypeWithStringNamedNumericProperty.ts(33,13): error TS1121: Octal literals are not allowed. Use the syntax '0o1'. objectTypeWithStringNamedNumericProperty.ts(34,13): error TS1121: Octal literals are not allowed. Use the syntax '-0o1'. objectTypeWithStringNamedNumericProperty.ts(64,13): error TS1121: Octal literals are not allowed. Use the syntax '0o1'. @@ -8,6 +9,7 @@ objectTypeWithStringNamedNumericProperty.ts(124,13): error TS1121: Octal literal objectTypeWithStringNamedNumericProperty.ts(125,13): error TS1121: Octal literals are not allowed. Use the syntax '-0o1'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== objectTypeWithStringNamedNumericProperty.ts (8 errors) ==== // string named numeric properties are legal and distinct when indexed by string values // indexed numerically the value is converted to a number diff --git a/tests/baselines/reference/octalIntegerLiteral(target=es5).errors.txt b/tests/baselines/reference/octalIntegerLiteral(target=es5).errors.txt new file mode 100644 index 0000000000000..3de811509297d --- /dev/null +++ b/tests/baselines/reference/octalIntegerLiteral(target=es5).errors.txt @@ -0,0 +1,45 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== octalIntegerLiteral.ts (0 errors) ==== + var oct1 = 0o45436; + var oct2 = 0O45436; + var oct3 = 0o7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777; + var oct4 = 0o7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777; + + var obj1 = { + 0o45436: "Hello", + a: 0o45436, + b: oct1, + oct1, + 0o7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777: true + } + + var obj2 = { + 0O45436: "hi", + a: 0O45436, + b: oct2, + oct2, + 0o7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777: false, + } + + obj1[0o45436]; // string + obj1["0o45436"]; // any + obj1["19230"]; // string + obj1[19230]; // string + obj1["a"]; // number + obj1["b"]; // number + obj1["oct1"]; // number + obj1["Infinity"]; // boolean + + obj2[0O45436]; // string + obj2["0O45436"]; // any + obj2["19230"]; // string + obj2[19230]; // string + obj2["a"]; // number + obj2["b"]; // number + obj2["oct2"]; // number + obj2[5.462437423415177e+244]; // boolean + obj2["5.462437423415177e+244"]; // boolean + obj2["Infinity"]; // any \ No newline at end of file diff --git a/tests/baselines/reference/octalIntegerLiteral(target=es5).types b/tests/baselines/reference/octalIntegerLiteral(target=es5).types index 9f31cbad6f95e..ee7f3cb650996 100644 --- a/tests/baselines/reference/octalIntegerLiteral(target=es5).types +++ b/tests/baselines/reference/octalIntegerLiteral(target=es5).types @@ -104,7 +104,8 @@ obj1[0o45436]; // string > : ^^^^^ obj1["0o45436"]; // any ->obj1["0o45436"] : error +>obj1["0o45436"] : any +> : ^^^ >obj1 : { 19230: string; a: number; b: number; oct1: number; Infinity: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >"0o45436" : "0o45436" @@ -167,7 +168,8 @@ obj2[0O45436]; // string > : ^^^^^ obj2["0O45436"]; // any ->obj2["0O45436"] : error +>obj2["0O45436"] : any +> : ^^^ >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >"0O45436" : "0O45436" @@ -230,7 +232,8 @@ obj2["5.462437423415177e+244"]; // boolean > : ^^^^^^^^^^^^^^^^^^^^^^^^ obj2["Infinity"]; // any ->obj2["Infinity"] : error +>obj2["Infinity"] : any +> : ^^^ >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >"Infinity" : "Infinity" diff --git a/tests/baselines/reference/operationsAvailableOnPromisedType(target=es5).errors.txt b/tests/baselines/reference/operationsAvailableOnPromisedType(target=es5).errors.txt index 4ee14c197e476..92bd90b998f11 100644 --- a/tests/baselines/reference/operationsAvailableOnPromisedType(target=es5).errors.txt +++ b/tests/baselines/reference/operationsAvailableOnPromisedType(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. operationsAvailableOnPromisedType.ts(11,9): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. operationsAvailableOnPromisedType.ts(12,5): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. operationsAvailableOnPromisedType.ts(13,5): error TS2365: Operator '+' cannot be applied to types 'number' and 'Promise'. @@ -21,6 +22,7 @@ operationsAvailableOnPromisedType.ts(27,5): error TS2349: This expression is not Type 'Promise' has no call signatures. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== operationsAvailableOnPromisedType.ts (16 errors) ==== async function fn( a: number, diff --git a/tests/baselines/reference/optionalChainingInArrow(target=es5).errors.txt b/tests/baselines/reference/optionalChainingInArrow(target=es5).errors.txt new file mode 100644 index 0000000000000..abaf3bfd45b44 --- /dev/null +++ b/tests/baselines/reference/optionalChainingInArrow(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== optionalChainingInArrow.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/41814 + const test = (names: string[]) => + // single-line comment + names?.filter(x => x); + \ No newline at end of file diff --git a/tests/baselines/reference/optionalChainingInLoop(target=es5).errors.txt b/tests/baselines/reference/optionalChainingInLoop(target=es5).errors.txt new file mode 100644 index 0000000000000..607f429ec6508 --- /dev/null +++ b/tests/baselines/reference/optionalChainingInLoop(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== optionalChainingInLoop.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/40643 + const list: any[] = [] + for (const comp of list) { + comp.sp.y = comp.sp.r.find((k: any) => k.c == (comp.xp ? '1' : '0')) + for (const item of comp.c) { + item.v = !!item.t?.length + } + } \ No newline at end of file diff --git a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).errors.txt b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..ea72540571bbd --- /dev/null +++ b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== optionalChainingInParameterBindingPattern.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36295 + const a = (): { d: string } | undefined => undefined; + (({ [a()?.d]: c = "" }) => {})(); \ No newline at end of file diff --git a/tests/baselines/reference/optionalChainingInParameterBindingPattern.2(target=es5).errors.txt b/tests/baselines/reference/optionalChainingInParameterBindingPattern.2(target=es5).errors.txt index b5d3213b2b183..9596b399b560b 100644 --- a/tests/baselines/reference/optionalChainingInParameterBindingPattern.2(target=es5).errors.txt +++ b/tests/baselines/reference/optionalChainingInParameterBindingPattern.2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. optionalChainingInParameterBindingPattern.2.ts(3,6): error TS2373: Parameter '{ [a()?.d]: c = "" }' cannot reference identifier 'a' declared after it. optionalChainingInParameterBindingPattern.2.ts(6,24): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== optionalChainingInParameterBindingPattern.2.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 const a = (): { d: string } | undefined => undefined; diff --git a/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).errors.txt b/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).errors.txt new file mode 100644 index 0000000000000..7d23ea12127e7 --- /dev/null +++ b/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== optionalChainingInParameterInitializer.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/36295 + const a = (): { d: string } | undefined => undefined; + ((b = a()?.d) => {})(); \ No newline at end of file diff --git a/tests/baselines/reference/optionalChainingInParameterInitializer.2(target=es5).errors.txt b/tests/baselines/reference/optionalChainingInParameterInitializer.2(target=es5).errors.txt index 8c73d88e5475b..06b17276a65cd 100644 --- a/tests/baselines/reference/optionalChainingInParameterInitializer.2(target=es5).errors.txt +++ b/tests/baselines/reference/optionalChainingInParameterInitializer.2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. optionalChainingInParameterInitializer.2.ts(3,7): error TS2373: Parameter 'b' cannot reference identifier 'a' declared after it. optionalChainingInParameterInitializer.2.ts(6,19): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== optionalChainingInParameterInitializer.2.ts (2 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 const a = (): { d: string } | undefined => undefined; diff --git a/tests/baselines/reference/optionalParamReferencingOtherParams2(target=es5).errors.txt b/tests/baselines/reference/optionalParamReferencingOtherParams2(target=es5).errors.txt index 9061b457b9667..60ea1c8060862 100644 --- a/tests/baselines/reference/optionalParamReferencingOtherParams2(target=es5).errors.txt +++ b/tests/baselines/reference/optionalParamReferencingOtherParams2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. optionalParamReferencingOtherParams2.ts(2,29): error TS2373: Parameter 'y' cannot reference identifier 'b' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== optionalParamReferencingOtherParams2.ts (1 errors) ==== var a = 1; function strange(x = a, y = b) { diff --git a/tests/baselines/reference/out-flag(target=es5).errors.txt b/tests/baselines/reference/out-flag(target=es5).errors.txt new file mode 100644 index 0000000000000..01c053c8cb802 --- /dev/null +++ b/tests/baselines/reference/out-flag(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== out-flag.ts (0 errors) ==== + //// @outFile: bin\ + + // my class comments + class MyClass + { + // my function comments + public Count(): number + { + return 42; + } + + public SetCount(value: number) + { + // + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/out-flag2(target=es5).errors.txt b/tests/baselines/reference/out-flag2(target=es5).errors.txt index 0bfe608ab46cc..3b25540d08ec1 100644 --- a/tests/baselines/reference/out-flag2(target=es5).errors.txt +++ b/tests/baselines/reference/out-flag2(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== a.ts (0 errors) ==== class A { } diff --git a/tests/baselines/reference/out-flag3(target=es5).errors.txt b/tests/baselines/reference/out-flag3(target=es5).errors.txt index 0bfe608ab46cc..3b25540d08ec1 100644 --- a/tests/baselines/reference/out-flag3(target=es5).errors.txt +++ b/tests/baselines/reference/out-flag3(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== a.ts (0 errors) ==== class A { } diff --git a/tests/baselines/reference/outModuleConcatAmd(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatAmd(target=es5).errors.txt index 30eab78f2d2ca..b2aaa1b59a2d6 100644 --- a/tests/baselines/reference/outModuleConcatAmd(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatAmd(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatCommonjs(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatCommonjs(target=es5).errors.txt index 3aafc61deaea9..92152e23196c3 100644 --- a/tests/baselines/reference/outModuleConcatCommonjs(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatCommonjs(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly(target=es5).errors.txt index d9377e42f4d43..c42a369ca8260 100644 --- a/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatCommonjsDeclarationOnly(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatSystem(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatSystem(target=es5).errors.txt index dd3172aee8fa9..898c8a8742562 100644 --- a/tests/baselines/reference/outModuleConcatSystem(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatSystem(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatUmd(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatUmd(target=es5).errors.txt index d7af8b0ddf54e..f4fd9164dd355 100644 --- a/tests/baselines/reference/outModuleConcatUmd(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatUmd(target=es5).errors.txt @@ -1,10 +1,12 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=UMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6082: Only 'amd' and 'system' modules are supported alongside --outFile. ==== ref/a.ts (0 errors) ==== export class A { } diff --git a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind(target=es5).errors.txt index cf248dbdb0ee3..dc04b6a167a9c 100644 --- a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(1,14): error TS6131: Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== export class A { } // module ~ diff --git a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly(target=es5).errors.txt b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly(target=es5).errors.txt index c9d61aef9369a..cd4628b86cbbf 100644 --- a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKindDeclarationOnly(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5069: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'. error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5069: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (0 errors) ==== export class A { } // module diff --git a/tests/baselines/reference/outModuleTripleSlashRefs(target=es5).errors.txt b/tests/baselines/reference/outModuleTripleSlashRefs(target=es5).errors.txt index 21cbb79b14952..8fd7a34c1fb15 100644 --- a/tests/baselines/reference/outModuleTripleSlashRefs(target=es5).errors.txt +++ b/tests/baselines/reference/outModuleTripleSlashRefs(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== ref/a.ts (0 errors) ==== /// export class A { diff --git a/tests/baselines/reference/parameterInitializersBackwardReferencing(target=es5).errors.txt b/tests/baselines/reference/parameterInitializersBackwardReferencing(target=es5).errors.txt new file mode 100644 index 0000000000000..e87d152ea2df9 --- /dev/null +++ b/tests/baselines/reference/parameterInitializersBackwardReferencing(target=es5).errors.txt @@ -0,0 +1,14 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parameterInitializersBackwardReferencing.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/38243 + + function test0({ a = 0, b = a } = {}) { + return { a, b }; + } + + function test1({ c: { a = 0, b = a } = {} } = {}) { + return { a, b }; + } \ No newline at end of file diff --git a/tests/baselines/reference/parameterInitializersForwardReferencing(target=es5).errors.txt b/tests/baselines/reference/parameterInitializersForwardReferencing(target=es5).errors.txt index e9738950e841b..17361626c8f4d 100644 --- a/tests/baselines/reference/parameterInitializersForwardReferencing(target=es5).errors.txt +++ b/tests/baselines/reference/parameterInitializersForwardReferencing(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parameterInitializersForwardReferencing.ts(6,20): error TS2373: Parameter 'a' cannot reference identifier 'b' declared after it. parameterInitializersForwardReferencing.ts(11,21): error TS2373: Parameter 'a' cannot reference identifier 'b' declared after it. parameterInitializersForwardReferencing.ts(11,28): error TS2373: Parameter 'b' cannot reference identifier 'c' declared after it. @@ -10,6 +11,7 @@ parameterInitializersForwardReferencing.ts(37,21): error TS2373: Parameter 'b' c parameterInitializersForwardReferencing.ts(37,28): error TS2373: Parameter 'c' cannot reference identifier 'd' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parameterInitializersForwardReferencing.ts (10 errors) ==== function left(a, b = a, c = b) { a; diff --git a/tests/baselines/reference/parameterInitializersForwardReferencing.2(target=es5).errors.txt b/tests/baselines/reference/parameterInitializersForwardReferencing.2(target=es5).errors.txt index fad5912d7730c..8d550603d4e34 100644 --- a/tests/baselines/reference/parameterInitializersForwardReferencing.2(target=es5).errors.txt +++ b/tests/baselines/reference/parameterInitializersForwardReferencing.2(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parameterInitializersForwardReferencing.2.ts(5,18): error TS2373: Parameter 'b' cannot reference identifier 'a' declared after it. parameterInitializersForwardReferencing.2.ts(5,32): error TS2373: Parameter '{ b = a(), ...x }' cannot reference identifier 'a' declared after it. parameterInitializersForwardReferencing.2.ts(11,35): error TS2373: Parameter 'd' cannot reference identifier 'x' declared after it. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parameterInitializersForwardReferencing.2.ts (3 errors) ==== // https://github.com/microsoft/TypeScript/issues/36295 diff --git a/tests/baselines/reference/parameterInitializersForwardReferencing1(target=es5).errors.txt b/tests/baselines/reference/parameterInitializersForwardReferencing1(target=es5).errors.txt index e8b2b856f29d0..7369cff6568a2 100644 --- a/tests/baselines/reference/parameterInitializersForwardReferencing1(target=es5).errors.txt +++ b/tests/baselines/reference/parameterInitializersForwardReferencing1(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parameterInitializersForwardReferencing1.ts(3,20): error TS2373: Parameter 'bar' cannot reference identifier 'foo' declared after it. parameterInitializersForwardReferencing1.ts(13,20): error TS2373: Parameter 'bar' cannot reference identifier 'foo' declared after it. parameterInitializersForwardReferencing1.ts(21,18): error TS2372: Parameter 'a' cannot reference itself. @@ -6,6 +7,7 @@ parameterInitializersForwardReferencing1.ts(29,15): error TS2373: Parameter '{[f parameterInitializersForwardReferencing1.ts(29,15): error TS2448: Block-scoped variable 'foo' used before its declaration. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parameterInitializersForwardReferencing1.ts (6 errors) ==== let foo: string = ""; diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).errors.txt b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).errors.txt new file mode 100644 index 0000000000000..603a81189cc54 --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parser.numericSeparators.decimal.ts (0 errors) ==== + 1_000_000_000 + 1.1_00_01 + 1e1_0 + 1e+1_0 + 1e-1_0 + 1.1e10_0 + 1.1e+10_0 + 1.1e-10_0 + 12_34_56 + 1_22_333 + 1_2.3_4 + 1_2.3_4e5_6 + 1_2.3_4e+5_6 + 1_2.3_4e-5_6 + \ No newline at end of file diff --git a/tests/baselines/reference/parserAccessors1(target=es5).errors.txt b/tests/baselines/reference/parserAccessors1(target=es5).errors.txt index e9e26e5ea8aef..6991c11f0cb9a 100644 --- a/tests/baselines/reference/parserAccessors1(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors1.ts(2,9): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors1.ts (1 errors) ==== class C { get Foo() { } diff --git a/tests/baselines/reference/parserAccessors10(target=es5).errors.txt b/tests/baselines/reference/parserAccessors10(target=es5).errors.txt index 30a437b023427..a7bfb86faf739 100644 --- a/tests/baselines/reference/parserAccessors10(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors10(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors10.ts(2,3): error TS1042: 'public' modifier cannot be used here. parserAccessors10.ts(2,14): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors10.ts (2 errors) ==== var v = { public get foo() { } diff --git a/tests/baselines/reference/parserAccessors2(target=es5).errors.txt b/tests/baselines/reference/parserAccessors2(target=es5).errors.txt new file mode 100644 index 0000000000000..895a337353327 --- /dev/null +++ b/tests/baselines/reference/parserAccessors2(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserAccessors2.ts (0 errors) ==== + class C { + set Foo(a) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/parserAccessors2(target=es5).types b/tests/baselines/reference/parserAccessors2(target=es5).types index f093147e7be5c..aa3b6e7e4388a 100644 --- a/tests/baselines/reference/parserAccessors2(target=es5).types +++ b/tests/baselines/reference/parserAccessors2(target=es5).types @@ -7,5 +7,7 @@ class C { set Foo(a) { } >Foo : any +> : ^^^ >a : any +> : ^^^ } diff --git a/tests/baselines/reference/parserAccessors3(target=es5).errors.txt b/tests/baselines/reference/parserAccessors3(target=es5).errors.txt index 2c04392ce58b2..38efc9b964c0e 100644 --- a/tests/baselines/reference/parserAccessors3(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors3.ts(1,15): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors3.ts (1 errors) ==== var v = { get Foo() { } }; ~~~ diff --git a/tests/baselines/reference/parserAccessors4(target=es5).errors.txt b/tests/baselines/reference/parserAccessors4(target=es5).errors.txt new file mode 100644 index 0000000000000..5c191173b6b04 --- /dev/null +++ b/tests/baselines/reference/parserAccessors4(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserAccessors4.ts (0 errors) ==== + var v = { set Foo(a) { } }; \ No newline at end of file diff --git a/tests/baselines/reference/parserAccessors4(target=es5).types b/tests/baselines/reference/parserAccessors4(target=es5).types index c14ee089f5f7b..764d851d1916c 100644 --- a/tests/baselines/reference/parserAccessors4(target=es5).types +++ b/tests/baselines/reference/parserAccessors4(target=es5).types @@ -7,5 +7,7 @@ var v = { set Foo(a) { } }; >{ set Foo(a) { } } : { Foo: any; } > : ^^^^^^^^^^^^^ >Foo : any +> : ^^^ >a : any +> : ^^^ diff --git a/tests/baselines/reference/parserAccessors5(target=es5).errors.txt b/tests/baselines/reference/parserAccessors5(target=es5).errors.txt index 85f592d0f7a54..63700605c6c05 100644 --- a/tests/baselines/reference/parserAccessors5(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors5.ts(2,13): error TS1183: An implementation cannot be declared in ambient contexts. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors5.ts (1 errors) ==== declare class C { get foo() { return 0; } diff --git a/tests/baselines/reference/parserAccessors6(target=es5).errors.txt b/tests/baselines/reference/parserAccessors6(target=es5).errors.txt index 931d79c190e95..a9d198b146167 100644 --- a/tests/baselines/reference/parserAccessors6(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors6.ts(2,14): error TS1183: An implementation cannot be declared in ambient contexts. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors6.ts (1 errors) ==== declare class C { set foo(v) { } diff --git a/tests/baselines/reference/parserAccessors7(target=es5).errors.txt b/tests/baselines/reference/parserAccessors7(target=es5).errors.txt index caf3f89024069..b0ceea97f9f7a 100644 --- a/tests/baselines/reference/parserAccessors7(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors7.ts(1,15): error TS1054: A 'get' accessor cannot have parameters. parserAccessors7.ts(1,15): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors7.ts (2 errors) ==== var v = { get foo(v: number) { } }; ~~~ diff --git a/tests/baselines/reference/parserAccessors8(target=es5).errors.txt b/tests/baselines/reference/parserAccessors8(target=es5).errors.txt index 893005575c371..30a81d3e1b5ce 100644 --- a/tests/baselines/reference/parserAccessors8(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors8(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors8.ts(1,15): error TS1049: A 'set' accessor must have exactly one parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors8.ts (1 errors) ==== var v = { set foo() { } } ~~~ diff --git a/tests/baselines/reference/parserAccessors9(target=es5).errors.txt b/tests/baselines/reference/parserAccessors9(target=es5).errors.txt index 7d7b805dfd054..ddadee311dbd9 100644 --- a/tests/baselines/reference/parserAccessors9(target=es5).errors.txt +++ b/tests/baselines/reference/parserAccessors9(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAccessors9.ts(1,15): error TS1049: A 'set' accessor must have exactly one parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAccessors9.ts (1 errors) ==== var v = { set foo(a, b) { } } ~~~ diff --git a/tests/baselines/reference/parserAstSpans1(target=es5).errors.txt b/tests/baselines/reference/parserAstSpans1(target=es5).errors.txt index ec2867097cd58..5df7e964a808f 100644 --- a/tests/baselines/reference/parserAstSpans1(target=es5).errors.txt +++ b/tests/baselines/reference/parserAstSpans1(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserAstSpans1.ts(111,25): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. parserAstSpans1.ts(217,24): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserAstSpans1.ts (2 errors) ==== /** i1 is interface with properties*/ interface i1 { diff --git a/tests/baselines/reference/parserES5ComputedPropertyName1(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName1(target=es5).errors.txt index 63fbb6b4237cb..2975317578ba4 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName1(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName1.ts(2,6): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName1.ts (1 errors) ==== declare class C { [e]: number diff --git a/tests/baselines/reference/parserES5ComputedPropertyName10(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName10(target=es5).errors.txt index be53362605576..35ddaf46d4b52 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName10(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName10(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName10.ts(2,5): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName10.ts (1 errors) ==== class C { [e] = 1 diff --git a/tests/baselines/reference/parserES5ComputedPropertyName11(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName11(target=es5).errors.txt index d216c821625d2..0aba08a426ff3 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName11(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName11(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName11.ts(2,5): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName11.ts (1 errors) ==== class C { [e](); diff --git a/tests/baselines/reference/parserES5ComputedPropertyName2(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName2(target=es5).errors.txt index 4c4f96d7db2d5..993ab6b24364d 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName2(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName2.ts(1,12): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName2.ts (1 errors) ==== var v = { [e]: 1 }; ~ diff --git a/tests/baselines/reference/parserES5ComputedPropertyName3(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName3(target=es5).errors.txt index 6eb6f959e1f9b..91b74fb7e3654 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName3(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName3.ts(1,12): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName3.ts (1 errors) ==== var v = { [e]() { } }; ~ diff --git a/tests/baselines/reference/parserES5ComputedPropertyName4(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName4(target=es5).errors.txt index d75c57eca6a48..7fa58202f98c1 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName4(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName4(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName4.ts(1,15): error TS2378: A 'get' accessor must return a value. parserES5ComputedPropertyName4.ts(1,16): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName4.ts (2 errors) ==== var v = { get [e]() { } }; ~~~ diff --git a/tests/baselines/reference/parserES5ComputedPropertyName5(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName5(target=es5).errors.txt index c54d1e44b5f8f..460c9eca99c5f 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName5(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName5.ts(2,6): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName5.ts (1 errors) ==== interface I { [e]: number diff --git a/tests/baselines/reference/parserES5ComputedPropertyName6(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName6(target=es5).errors.txt index eb5f013cbfc8b..51964277f0d20 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName6(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName6.ts(2,3): error TS1164: Computed property names are not allowed in enums. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName6.ts (1 errors) ==== enum E { [e] = 1 diff --git a/tests/baselines/reference/parserES5ComputedPropertyName7(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName7(target=es5).errors.txt index bffd87321cbac..763356ea51300 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName7(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName7(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName7.ts(2,5): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName7.ts (1 errors) ==== class C { [e] diff --git a/tests/baselines/reference/parserES5ComputedPropertyName8(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName8(target=es5).errors.txt index 2295c143ba179..45a69c549ac5b 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName8(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName8(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName8.ts(1,11): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName8.ts (1 errors) ==== var v: { [e]: number }; ~ diff --git a/tests/baselines/reference/parserES5ComputedPropertyName9(target=es5).errors.txt b/tests/baselines/reference/parserES5ComputedPropertyName9(target=es5).errors.txt index 361313645c7ee..f669e9ae59238 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName9(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ComputedPropertyName9(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ComputedPropertyName9.ts(2,5): error TS2304: Cannot find name 'e'. parserES5ComputedPropertyName9.ts(2,9): error TS2304: Cannot find name 'Type'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ComputedPropertyName9.ts (2 errors) ==== class C { [e]: Type diff --git a/tests/baselines/reference/parserES5ForOfStatement1.d(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement1.d(target=es5).errors.txt index 84fc212fa299f..1b07c589b4dfc 100644 --- a/tests/baselines/reference/parserES5ForOfStatement1.d(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement1.d(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement1.d.ts(1,1): error TS1036: Statements are not allowed in ambient contexts. parserES5ForOfStatement1.d.ts(1,15): error TS2304: Cannot find name 'e'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement1.d.ts (2 errors) ==== for (var i of e) { ~~~ diff --git a/tests/baselines/reference/parserES5ForOfStatement10(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement10(target=es5).errors.txt index 2168d44725bde..f16cadb4d0f18 100644 --- a/tests/baselines/reference/parserES5ForOfStatement10(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement10(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement10.ts(1,17): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement10.ts (1 errors) ==== for (const v of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement11(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement11(target=es5).errors.txt index 4164186a2d010..815e9e6da0ee6 100644 --- a/tests/baselines/reference/parserES5ForOfStatement11(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement11(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement11.ts(1,22): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement11.ts (1 errors) ==== for (const [a, b] of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement12(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement12(target=es5).errors.txt index c966982ff2bab..e98aa5440c09a 100644 --- a/tests/baselines/reference/parserES5ForOfStatement12(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement12.ts(1,22): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement12.ts (1 errors) ==== for (const {a, b} of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement13(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement13(target=es5).errors.txt index edf16f2abf6bf..264f0a7f557c5 100644 --- a/tests/baselines/reference/parserES5ForOfStatement13(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement13(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement13.ts(1,20): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement13.ts (1 errors) ==== for (let {a, b} of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement14(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement14(target=es5).errors.txt index d66e3a6c3d1ae..03dde4f3b0b7d 100644 --- a/tests/baselines/reference/parserES5ForOfStatement14(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement14.ts(1,20): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement14.ts (1 errors) ==== for (let [a, b] of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement15(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement15(target=es5).errors.txt index fda1d52e35171..30dc7a878098c 100644 --- a/tests/baselines/reference/parserES5ForOfStatement15(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement15(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement15.ts(1,20): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement15.ts (1 errors) ==== for (var [a, b] of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement16(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement16(target=es5).errors.txt index 12212c0af3dd1..d9ec7cc59684e 100644 --- a/tests/baselines/reference/parserES5ForOfStatement16(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement16(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement16.ts(1,20): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement16.ts (1 errors) ==== for (var {a, b} of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement17(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement17(target=es5).errors.txt new file mode 100644 index 0000000000000..7eb2a0a9007f2 --- /dev/null +++ b/tests/baselines/reference/parserES5ForOfStatement17(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5ForOfStatement17.ts (0 errors) ==== + for (var of; ;) { } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5ForOfStatement17(target=es5).types b/tests/baselines/reference/parserES5ForOfStatement17(target=es5).types index 2d602c34a327e..5209a1d5144ae 100644 --- a/tests/baselines/reference/parserES5ForOfStatement17(target=es5).types +++ b/tests/baselines/reference/parserES5ForOfStatement17(target=es5).types @@ -3,4 +3,5 @@ === parserES5ForOfStatement17.ts === for (var of; ;) { } >of : any +> : ^^^ diff --git a/tests/baselines/reference/parserES5ForOfStatement18(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement18(target=es5).errors.txt new file mode 100644 index 0000000000000..cb16403eb4ae7 --- /dev/null +++ b/tests/baselines/reference/parserES5ForOfStatement18(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5ForOfStatement18.ts (0 errors) ==== + for (var of of of) { } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5ForOfStatement18(target=es5).types b/tests/baselines/reference/parserES5ForOfStatement18(target=es5).types index 029dae57b1f38..c0618ebcd68b4 100644 --- a/tests/baselines/reference/parserES5ForOfStatement18(target=es5).types +++ b/tests/baselines/reference/parserES5ForOfStatement18(target=es5).types @@ -3,5 +3,7 @@ === parserES5ForOfStatement18.ts === for (var of of of) { } >of : any +> : ^^^ >of : any +> : ^^^ diff --git a/tests/baselines/reference/parserES5ForOfStatement19(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement19(target=es5).errors.txt new file mode 100644 index 0000000000000..c9f1cc56ca1ef --- /dev/null +++ b/tests/baselines/reference/parserES5ForOfStatement19(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5ForOfStatement19.ts (0 errors) ==== + for (var of in of) { } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5ForOfStatement19(target=es5).types b/tests/baselines/reference/parserES5ForOfStatement19(target=es5).types index b46f470c960a6..9c80087140be4 100644 --- a/tests/baselines/reference/parserES5ForOfStatement19(target=es5).types +++ b/tests/baselines/reference/parserES5ForOfStatement19(target=es5).types @@ -3,5 +3,7 @@ === parserES5ForOfStatement19.ts === for (var of in of) { } >of : any +> : ^^^ >of : any +> : ^^^ diff --git a/tests/baselines/reference/parserES5ForOfStatement2(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement2(target=es5).errors.txt index 0e7dcd5230a64..2efd48bd01467 100644 --- a/tests/baselines/reference/parserES5ForOfStatement2(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement2.ts(1,9): error TS1123: Variable declaration list cannot be empty. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement2.ts (1 errors) ==== for (var of X) { diff --git a/tests/baselines/reference/parserES5ForOfStatement20(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement20(target=es5).errors.txt index 9b89ab736bbf1..56ec76e8fe8c7 100644 --- a/tests/baselines/reference/parserES5ForOfStatement20(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement20(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement20.ts(1,10): error TS1189: The variable declaration of a 'for...in' statement cannot have an initializer. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement20.ts (1 errors) ==== for (var of = 0 in of) { } ~~ diff --git a/tests/baselines/reference/parserES5ForOfStatement21(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement21(target=es5).errors.txt index 9fdaa2372b6bb..0940e388036be 100644 --- a/tests/baselines/reference/parserES5ForOfStatement21(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement21(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement21.ts(1,9): error TS1123: Variable declaration list cannot be empty. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement21.ts (1 errors) ==== for (var of of) { } diff --git a/tests/baselines/reference/parserES5ForOfStatement3(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement3(target=es5).errors.txt index 0d2025b4b0e08..b15c3b224c5fa 100644 --- a/tests/baselines/reference/parserES5ForOfStatement3(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement3(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement3.ts(1,13): error TS1188: Only a single variable declaration is allowed in a 'for...of' statement. parserES5ForOfStatement3.ts(1,18): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement3.ts (2 errors) ==== for (var a, b of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement4(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement4(target=es5).errors.txt index 2734048b65182..6a63edbd96a86 100644 --- a/tests/baselines/reference/parserES5ForOfStatement4(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement4(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement4.ts(1,10): error TS1190: The variable declaration of a 'for...of' statement cannot have an initializer. parserES5ForOfStatement4.ts(1,19): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement4.ts (2 errors) ==== for (var a = 1 of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement5(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement5(target=es5).errors.txt index 189402f294d94..a11645a66673b 100644 --- a/tests/baselines/reference/parserES5ForOfStatement5(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement5.ts(1,10): error TS2483: The left-hand side of a 'for...of' statement cannot use a type annotation. parserES5ForOfStatement5.ts(1,23): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement5.ts (2 errors) ==== for (var a: number of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement6(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement6(target=es5).errors.txt index 1fe7dc667044c..95d158224bc7d 100644 --- a/tests/baselines/reference/parserES5ForOfStatement6(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement6(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement6.ts(1,17): error TS1188: Only a single variable declaration is allowed in a 'for...of' statement. parserES5ForOfStatement6.ts(1,26): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement6.ts (2 errors) ==== for (var a = 1, b = 2 of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement7(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement7(target=es5).errors.txt index ce1ec2ee59786..d4c15d813c00f 100644 --- a/tests/baselines/reference/parserES5ForOfStatement7(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement7.ts(1,25): error TS1188: Only a single variable declaration is allowed in a 'for...of' statement. parserES5ForOfStatement7.ts(1,43): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement7.ts (2 errors) ==== for (var a: number = 1, b: string = "" of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement8(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement8(target=es5).errors.txt index b38bda881cea0..f5909fa45707a 100644 --- a/tests/baselines/reference/parserES5ForOfStatement8(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement8(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement8.ts(1,15): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement8.ts (1 errors) ==== for (var v of X) { ~ diff --git a/tests/baselines/reference/parserES5ForOfStatement9(target=es5).errors.txt b/tests/baselines/reference/parserES5ForOfStatement9(target=es5).errors.txt index 2fa2cb75a5eab..402bb679cfc75 100644 --- a/tests/baselines/reference/parserES5ForOfStatement9(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5ForOfStatement9(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5ForOfStatement9.ts(1,15): error TS2304: Cannot find name 'X'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5ForOfStatement9.ts (1 errors) ==== for (let v of X) { ~ diff --git a/tests/baselines/reference/parserES5SymbolIndexer1(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolIndexer1(target=es5).errors.txt new file mode 100644 index 0000000000000..7d6e9248b3013 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolIndexer1(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolIndexer1.ts (0 errors) ==== + interface I { + [s: symbol]: string; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolIndexer2(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolIndexer2(target=es5).errors.txt new file mode 100644 index 0000000000000..fb4664beaa261 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolIndexer2(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolIndexer2.ts (0 errors) ==== + class C { + [s: symbol]: string; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolIndexer3(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolIndexer3(target=es5).errors.txt new file mode 100644 index 0000000000000..32fddbe60d71f --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolIndexer3(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolIndexer3.ts (0 errors) ==== + var x: { + [s: symbol]: string; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty1(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty1(target=es5).errors.txt new file mode 100644 index 0000000000000..a81e777463051 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty1(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty1.ts (0 errors) ==== + interface I { + [Symbol.iterator]: string; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty2(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty2(target=es5).errors.txt new file mode 100644 index 0000000000000..55b26c9e3b29e --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty2(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty2.ts (0 errors) ==== + interface I { + [Symbol.unscopables](): string; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty3(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty3(target=es5).errors.txt new file mode 100644 index 0000000000000..e432ed4857994 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty3(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty3.ts (0 errors) ==== + declare class C { + [Symbol.unscopables](): string; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty4(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty4(target=es5).errors.txt index 48d228b6c60a9..1c9df4604ee70 100644 --- a/tests/baselines/reference/parserES5SymbolProperty4(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5SymbolProperty4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5SymbolProperty4.ts(2,13): error TS2339: Property 'isRegExp' does not exist on type 'SymbolConstructor'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5SymbolProperty4.ts (1 errors) ==== declare class C { [Symbol.isRegExp]: string; diff --git a/tests/baselines/reference/parserES5SymbolProperty5(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty5(target=es5).errors.txt index fb55c84e8a266..4847ae9b1914e 100644 --- a/tests/baselines/reference/parserES5SymbolProperty5(target=es5).errors.txt +++ b/tests/baselines/reference/parserES5SymbolProperty5(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserES5SymbolProperty5.ts(2,13): error TS2339: Property 'isRegExp' does not exist on type 'SymbolConstructor'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserES5SymbolProperty5.ts (1 errors) ==== class C { [Symbol.isRegExp]: string; diff --git a/tests/baselines/reference/parserES5SymbolProperty6(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty6(target=es5).errors.txt new file mode 100644 index 0000000000000..227a9d3a60001 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty6(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty6.ts (0 errors) ==== + class C { + [Symbol.toStringTag]: string = ""; + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty7(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty7(target=es5).errors.txt new file mode 100644 index 0000000000000..e356f76646434 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty7(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty7.ts (0 errors) ==== + class C { + [Symbol.toStringTag](): void { } + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty8(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty8(target=es5).errors.txt new file mode 100644 index 0000000000000..890d21216ab1f --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty8(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty8.ts (0 errors) ==== + var x: { + [Symbol.toPrimitive](): string + } \ No newline at end of file diff --git a/tests/baselines/reference/parserES5SymbolProperty9(target=es5).errors.txt b/tests/baselines/reference/parserES5SymbolProperty9(target=es5).errors.txt new file mode 100644 index 0000000000000..9defeb0b98102 --- /dev/null +++ b/tests/baselines/reference/parserES5SymbolProperty9(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserES5SymbolProperty9.ts (0 errors) ==== + var x: { + [Symbol.toPrimitive]: string + } \ No newline at end of file diff --git a/tests/baselines/reference/parserForInStatement8(target=es5).errors.txt b/tests/baselines/reference/parserForInStatement8(target=es5).errors.txt index f21eaefd95b9a..2928303c3c991 100644 --- a/tests/baselines/reference/parserForInStatement8(target=es5).errors.txt +++ b/tests/baselines/reference/parserForInStatement8(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserForInStatement8.ts(3,10): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern. parserForInStatement8.ts(3,10): error TS2802: Type 'string' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. parserForInStatement8.ts(4,10): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern. parserForInStatement8.ts(4,11): error TS2339: Property 'x' does not exist on type 'String'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserForInStatement8.ts (4 errors) ==== // repro from https://github.com/microsoft/TypeScript/issues/54769 diff --git a/tests/baselines/reference/parserGetAccessorWithTypeParameters1(target=es5).errors.txt b/tests/baselines/reference/parserGetAccessorWithTypeParameters1(target=es5).errors.txt index 6bb18aa3135be..e227b8502096f 100644 --- a/tests/baselines/reference/parserGetAccessorWithTypeParameters1(target=es5).errors.txt +++ b/tests/baselines/reference/parserGetAccessorWithTypeParameters1(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserGetAccessorWithTypeParameters1.ts(2,7): error TS1094: An accessor cannot have type parameters. parserGetAccessorWithTypeParameters1.ts(2,7): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserGetAccessorWithTypeParameters1.ts (2 errors) ==== class C { get foo() { } diff --git a/tests/baselines/reference/parserMemberAccessor1(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessor1(target=es5).errors.txt index 619d3cf12866b..684bb38fbf64a 100644 --- a/tests/baselines/reference/parserMemberAccessor1(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessor1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessor1.ts(2,7): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessor1.ts (1 errors) ==== class C { get foo() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration1(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration1(target=es5).errors.txt index 46624f41d91bf..75594d5fd3f73 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration1(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration1.ts(2,7): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration1.ts (1 errors) ==== class C { get a() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration10(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration10(target=es5).errors.txt index 21bd634511824..ce200f325ad28 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration10(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration10(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration10.ts(2,5): error TS1031: 'export' modifier cannot appear on class elements of this kind. parserMemberAccessorDeclaration10.ts(2,16): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration10.ts (2 errors) ==== class C { export get Foo() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration11(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration11(target=es5).errors.txt index db9f5318d199e..62877c67cf317 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration11(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration11(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration11.ts(2,5): error TS1031: 'declare' modifier cannot appear on class elements of this kind. parserMemberAccessorDeclaration11.ts(2,17): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration11.ts (2 errors) ==== class C { declare get Foo() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration12(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration12(target=es5).errors.txt index a7b7b7b9582c3..44b88b350f8aa 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration12(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration12(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration12.ts(2,8): error TS1054: A 'get' accessor cannot have parameters. parserMemberAccessorDeclaration12.ts(2,8): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration12.ts (2 errors) ==== class C { get Foo(a: number) { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration13(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration13(target=es5).errors.txt index 6394c66245c72..6cfb920865de6 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration13(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration13(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration13.ts(2,8): error TS1049: A 'set' accessor must have exactly one parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration13.ts (1 errors) ==== class C { set Foo() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration14(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration14(target=es5).errors.txt index c7bbfc477558d..05fca41214ee7 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration14(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration14.ts(2,8): error TS1049: A 'set' accessor must have exactly one parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration14.ts (1 errors) ==== class C { set Foo(a: number, b: number) { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration15(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration15(target=es5).errors.txt index dd2e422b0c1d3..2ad13c6c1b396 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration15(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration15(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration15.ts(2,12): error TS2369: A parameter property is only allowed in a constructor implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration15.ts (1 errors) ==== class C { set Foo(public a: number) { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration16(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration16(target=es5).errors.txt index c7a45f569c64d..e4ec3b47dad1d 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration16(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration16(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration16.ts(2,8): error TS1052: A 'set' accessor parameter cannot have an initializer. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration16.ts (1 errors) ==== class C { set Foo(a = 1) { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration17(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration17(target=es5).errors.txt index 5c5bd460b58f9..485f898abc15b 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration17(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration17(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration17.ts(2,13): error TS1051: A 'set' accessor cannot have an optional parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration17.ts (1 errors) ==== class C { set Foo(a?: number) { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration18(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration18(target=es5).errors.txt index f2dbad66b4e0e..1a3d82a395b92 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration18(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration18(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration18.ts(2,12): error TS1053: A 'set' accessor cannot have rest parameter. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration18.ts (1 errors) ==== class C { set Foo(...a) { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration2(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration2(target=es5).errors.txt index c5f140e24a824..5d4966ac27b00 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration2(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration2.ts(2,7): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration2.ts (1 errors) ==== class C { get "b"() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration3(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration3(target=es5).errors.txt index 6b6a9d6486101..7a4612f1f2136 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration3(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration3.ts(2,7): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration3.ts (1 errors) ==== class C { get 0() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).errors.txt new file mode 100644 index 0000000000000..7c1a446ab73b1 --- /dev/null +++ b/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserMemberAccessorDeclaration4.ts (0 errors) ==== + class C { + set a(i) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).types b/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).types index 0a6a66b52e908..a979f60c679d9 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).types +++ b/tests/baselines/reference/parserMemberAccessorDeclaration4(target=es5).types @@ -7,5 +7,7 @@ class C { set a(i) { } >a : any +> : ^^^ >i : any +> : ^^^ } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).errors.txt new file mode 100644 index 0000000000000..6c91a5174e0fe --- /dev/null +++ b/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserMemberAccessorDeclaration5.ts (0 errors) ==== + class C { + set "a"(i) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).types b/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).types index f887d3b49fd60..ee852dbc3241f 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).types +++ b/tests/baselines/reference/parserMemberAccessorDeclaration5(target=es5).types @@ -7,5 +7,7 @@ class C { set "a"(i) { } >"a" : any +> : ^^^ >i : any +> : ^^^ } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).errors.txt new file mode 100644 index 0000000000000..a1ffea20639b0 --- /dev/null +++ b/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== parserMemberAccessorDeclaration6.ts (0 errors) ==== + class C { + set 0(i) { } + } \ No newline at end of file diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).types b/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).types index fa3c1bac998a5..8d3f80560fd63 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).types +++ b/tests/baselines/reference/parserMemberAccessorDeclaration6(target=es5).types @@ -7,5 +7,7 @@ class C { set 0(i) { } >0 : any +> : ^^^ >i : any +> : ^^^ } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration7(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration7(target=es5).errors.txt index ffb3bc2092117..68beb0699a7ab 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration7(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration7(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration7.ts(2,12): error TS1028: Accessibility modifier already seen. parserMemberAccessorDeclaration7.ts(2,23): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration7.ts (2 errors) ==== class C { public public get Foo() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration8(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration8(target=es5).errors.txt index 3b6d40c1e174a..2ce8c4fc4a26f 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration8(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration8(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration8.ts(2,12): error TS1434: Unexpected keyword or identifier. parserMemberAccessorDeclaration8.ts(2,23): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration8.ts (2 errors) ==== class C { static static get Foo() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration9(target=es5).errors.txt b/tests/baselines/reference/parserMemberAccessorDeclaration9(target=es5).errors.txt index ad771f11baf91..dc9076fbb5a04 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration9(target=es5).errors.txt +++ b/tests/baselines/reference/parserMemberAccessorDeclaration9(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserMemberAccessorDeclaration9.ts(2,12): error TS1029: 'public' modifier must precede 'static' modifier. parserMemberAccessorDeclaration9.ts(2,23): error TS2378: A 'get' accessor must return a value. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserMemberAccessorDeclaration9.ts (2 errors) ==== class C { static public get Foo() { } diff --git a/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1(target=es5).errors.txt b/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1(target=es5).errors.txt index 015bcae1677ea..6d828ff12b44d 100644 --- a/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1(target=es5).errors.txt +++ b/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserSetAccessorWithTypeAnnotation1.ts(2,8): error TS1095: A 'set' accessor cannot have a return type annotation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserSetAccessorWithTypeAnnotation1.ts (1 errors) ==== class C { set foo(v): number { diff --git a/tests/baselines/reference/parserSetAccessorWithTypeParameters1(target=es5).errors.txt b/tests/baselines/reference/parserSetAccessorWithTypeParameters1(target=es5).errors.txt index 106767660b8b8..0aeb624a780f6 100644 --- a/tests/baselines/reference/parserSetAccessorWithTypeParameters1(target=es5).errors.txt +++ b/tests/baselines/reference/parserSetAccessorWithTypeParameters1(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserSetAccessorWithTypeParameters1.ts(2,8): error TS1094: An accessor cannot have type parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserSetAccessorWithTypeParameters1.ts (1 errors) ==== class C { set foo(v) { } diff --git a/tests/baselines/reference/parserStrictMode12(target=es5).errors.txt b/tests/baselines/reference/parserStrictMode12(target=es5).errors.txt index d90922fa5d1b3..dfe2791bd9312 100644 --- a/tests/baselines/reference/parserStrictMode12(target=es5).errors.txt +++ b/tests/baselines/reference/parserStrictMode12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. parserStrictMode12.ts(2,19): error TS1100: Invalid use of 'eval' in strict mode. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== parserStrictMode12.ts (1 errors) ==== "use strict"; var v = { set foo(eval) { } } diff --git a/tests/baselines/reference/prefixUnaryOperatorsOnExportedVariables(target=es5).errors.txt b/tests/baselines/reference/prefixUnaryOperatorsOnExportedVariables(target=es5).errors.txt index d120082362e17..118f80af08123 100644 --- a/tests/baselines/reference/prefixUnaryOperatorsOnExportedVariables(target=es5).errors.txt +++ b/tests/baselines/reference/prefixUnaryOperatorsOnExportedVariables(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. prefixUnaryOperatorsOnExportedVariables.ts(19,5): error TS2873: This kind of expression is always falsy. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== prefixUnaryOperatorsOnExportedVariables.ts (1 errors) ==== export var x = false; export var y = 1; diff --git a/tests/baselines/reference/privacyAccessorDeclFile(target=es5).errors.txt b/tests/baselines/reference/privacyAccessorDeclFile(target=es5).errors.txt new file mode 100644 index 0000000000000..2909f8dd04b06 --- /dev/null +++ b/tests/baselines/reference/privacyAccessorDeclFile(target=es5).errors.txt @@ -0,0 +1,1061 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== privacyAccessorDeclFile_externalModule.ts (0 errors) ==== + class privateClass { + } + + export class publicClass { + } + + export class publicClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { // Error + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { // Error + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { // Error + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { // Error + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + export class publicClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + class privateClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + class privateClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + export class publicClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { // Error + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { // Error + } + private set myPrivateMethod(param: privateClass) { + } + } + + export class publicClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + class privateClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + class privateClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + export class publicClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { // Error + return null; + } + get myPublicMethod(): privateModule.publicClass { // Error + return null; + } + static get myPublicStaticMethod1() { // Error + return new privateModule.publicClass(); + } + get myPublicMethod1() { // Error + return new privateModule.publicClass(); + } + } + + export class publicClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { // Error + } + set myPublicMethod(param: privateModule.publicClass) { // Error + } + } + + class privateClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + class privateClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + + export namespace publicModule { + class privateClass { + } + + export class publicClass { + } + export class publicClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { // Error + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { // Error + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { // Error + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { // Error + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + export class publicClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + class privateClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + class privateClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + export class publicClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { // Error + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { // Error + } + private set myPrivateMethod(param: privateClass) { + } + } + + export class publicClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + class privateClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + class privateClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + export class publicClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { // Error + return null; + } + get myPublicMethod(): privateModule.publicClass { // Error + return null; + } + static get myPublicStaticMethod1() { // Error + return new privateModule.publicClass(); + } + get myPublicMethod1() { // Error + return new privateModule.publicClass(); + } + } + + export class publicClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { // Error + } + set myPublicMethod(param: privateModule.publicClass) { // Error + } + } + + class privateClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + class privateClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + } + + namespace privateModule { + class privateClass { + } + + export class publicClass { + } + export class publicClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + export class publicClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + class privateClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + class privateClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + export class publicClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + export class publicClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + class privateClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + class privateClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + export class publicClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + export class publicClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + + class privateClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + class privateClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + } + +==== privacyAccessorDeclFile_GlobalFile.ts (0 errors) ==== + class publicClassInGlobal { + } + + class publicClassInGlobalWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClassInGlobal { + return null; + } + private static get myPrivateStaticMethod(): publicClassInGlobal { + return null; + } + get myPublicMethod(): publicClassInGlobal { + return null; + } + private get myPrivateMethod(): publicClassInGlobal { + return null; + } + static get myPublicStaticMethod1() { + return new publicClassInGlobal(); + } + private static get myPrivateStaticMethod1() { + return new publicClassInGlobal(); + } + get myPublicMethod1() { + return new publicClassInGlobal(); + } + private get myPrivateMethod1() { + return new publicClassInGlobal(); + } + } + + class publicClassInGlobalWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClassInGlobal) { + } + private static set myPrivateStaticMethod(param: publicClassInGlobal) { + } + set myPublicMethod(param: publicClassInGlobal) { + } + private set myPrivateMethod(param: publicClassInGlobal) { + } + } + + namespace publicModuleInGlobal { + class privateClass { + } + + export class publicClass { + } + + namespace privateModule { + class privateClass { + } + + export class publicClass { + } + export class publicClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + export class publicClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + class privateClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + class privateClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + export class publicClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + export class publicClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + class privateClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + class privateClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + export class publicClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + export class publicClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + + class privateClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + class privateClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + } + + export class publicClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { // Error + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { // Error + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { // Error + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { // Error + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + export class publicClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + class privateClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod(): privateClass { + return null; + } + private static get myPrivateStaticMethod(): privateClass { + return null; + } + get myPublicMethod(): privateClass { + return null; + } + private get myPrivateMethod(): privateClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateClass(); + } + private static get myPrivateStaticMethod1() { + return new privateClass(); + } + get myPublicMethod1() { + return new privateClass(); + } + private get myPrivateMethod1() { + return new privateClass(); + } + } + + class privateClassWithWithPublicGetAccessorTypes { + static get myPublicStaticMethod(): publicClass { + return null; + } + private static get myPrivateStaticMethod(): publicClass { + return null; + } + get myPublicMethod(): publicClass { + return null; + } + private get myPrivateMethod(): publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new publicClass(); + } + private static get myPrivateStaticMethod1() { + return new publicClass(); + } + get myPublicMethod1() { + return new publicClass(); + } + private get myPrivateMethod1() { + return new publicClass(); + } + } + + export class publicClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { // Error + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { // Error + } + private set myPrivateMethod(param: privateClass) { + } + } + + export class publicClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + class privateClassWithWithPrivateSetAccessorTypes { + static set myPublicStaticMethod(param: privateClass) { + } + private static set myPrivateStaticMethod(param: privateClass) { + } + set myPublicMethod(param: privateClass) { + } + private set myPrivateMethod(param: privateClass) { + } + } + + class privateClassWithWithPublicSetAccessorTypes { + static set myPublicStaticMethod(param: publicClass) { + } + private static set myPrivateStaticMethod(param: publicClass) { + } + set myPublicMethod(param: publicClass) { + } + private set myPrivateMethod(param: publicClass) { + } + } + + export class publicClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { // Error + return null; + } + get myPublicMethod(): privateModule.publicClass { // Error + return null; + } + static get myPublicStaticMethod1() { // Error + return new privateModule.publicClass(); + } + get myPublicMethod1() { // Error + return new privateModule.publicClass(); + } + } + + export class publicClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { // Error + } + set myPublicMethod(param: privateModule.publicClass) { // Error + } + } + + class privateClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod(): privateModule.publicClass { + return null; + } + get myPublicMethod(): privateModule.publicClass { + return null; + } + static get myPublicStaticMethod1() { + return new privateModule.publicClass(); + } + get myPublicMethod1() { + return new privateModule.publicClass(); + } + } + + class privateClassWithPrivateModuleSetAccessorTypes { + static set myPublicStaticMethod(param: privateModule.publicClass) { + } + set myPublicMethod(param: privateModule.publicClass) { + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).errors.txt b/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).errors.txt new file mode 100644 index 0000000000000..53727461a7851 --- /dev/null +++ b/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).errors.txt @@ -0,0 +1,138 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== privacyCannotNameAccessorDeclFile_consumer.ts (0 errors) ==== + import exporter = require("./privacyCannotNameAccessorDeclFile_exporter"); + export class publicClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod() { // Error + return exporter.createExportedWidget1(); + } + private static get myPrivateStaticMethod() { + return exporter.createExportedWidget1(); + } + get myPublicMethod() { // Error + return exporter.createExportedWidget1(); + } + private get myPrivateMethod() { + return exporter.createExportedWidget1(); + } + static get myPublicStaticMethod1() { // Error + return exporter.createExportedWidget3(); + } + private static get myPrivateStaticMethod1() { + return exporter.createExportedWidget3(); + } + get myPublicMethod1() { // Error + return exporter.createExportedWidget3(); + } + private get myPrivateMethod1() { + return exporter.createExportedWidget3(); + } + } + + class privateClassWithWithPrivateGetAccessorTypes { + static get myPublicStaticMethod() { + return exporter.createExportedWidget1(); + } + private static get myPrivateStaticMethod() { + return exporter.createExportedWidget1(); + } + get myPublicMethod() { + return exporter.createExportedWidget1(); + } + private get myPrivateMethod() { + return exporter.createExportedWidget1(); + } + static get myPublicStaticMethod1() { + return exporter.createExportedWidget3(); + } + private static get myPrivateStaticMethod1() { + return exporter.createExportedWidget3(); + } + get myPublicMethod1() { + return exporter.createExportedWidget3(); + } + private get myPrivateMethod1() { + return exporter.createExportedWidget3(); + } + } + + export class publicClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod() { // Error + return exporter.createExportedWidget2(); + } + get myPublicMethod() { // Error + return exporter.createExportedWidget2(); + } + static get myPublicStaticMethod1() { // Error + return exporter.createExportedWidget4(); + } + get myPublicMethod1() { // Error + return exporter.createExportedWidget4(); + } + } + + class privateClassWithPrivateModuleGetAccessorTypes { + static get myPublicStaticMethod() { + return exporter.createExportedWidget2(); + } + get myPublicMethod() { + return exporter.createExportedWidget2(); + } + static get myPublicStaticMethod1() { + return exporter.createExportedWidget4(); + } + get myPublicMethod1() { + return exporter.createExportedWidget4(); + } + } +==== privacyCannotNameAccessorDeclFile_GlobalWidgets.ts (0 errors) ==== + declare module "GlobalWidgets" { + export class Widget3 { + name: string; + } + export function createWidget3(): Widget3; + + export namespace SpecializedGlobalWidget { + export class Widget4 { + name: string; + } + function createWidget4(): Widget4; + } + } + +==== privacyCannotNameAccessorDeclFile_Widgets.ts (0 errors) ==== + export class Widget1 { + name = 'one'; + } + export function createWidget1() { + return new Widget1(); + } + + export namespace SpecializedWidget { + export class Widget2 { + name = 'one'; + } + export function createWidget2() { + return new Widget2(); + } + } + +==== privacyCannotNameAccessorDeclFile_exporter.ts (0 errors) ==== + /// + import Widgets = require("./privacyCannotNameAccessorDeclFile_Widgets"); + import Widgets1 = require("GlobalWidgets"); + export function createExportedWidget1() { + return Widgets.createWidget1(); + } + export function createExportedWidget2() { + return Widgets.SpecializedWidget.createWidget2(); + } + export function createExportedWidget3() { + return Widgets1.createWidget3(); + } + export function createExportedWidget4() { + return Widgets1.SpecializedGlobalWidget.createWidget4(); + } + \ No newline at end of file diff --git a/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).js b/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).js index 3ae0546561826..f90f433be5d57 100644 --- a/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).js +++ b/tests/baselines/reference/privacyCannotNameAccessorDeclFile(target=es5).js @@ -432,74 +432,3 @@ export declare class publicClassWithPrivateModuleGetAccessorTypes { static get myPublicStaticMethod1(): import("GlobalWidgets").SpecializedGlobalWidget.Widget4; get myPublicMethod1(): import("GlobalWidgets").SpecializedGlobalWidget.Widget4; } - - -//// [DtsFileErrors] - - -privacyCannotNameAccessorDeclFile_consumer.d.ts(6,48): error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. -privacyCannotNameAccessorDeclFile_consumer.d.ts(8,35): error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. -privacyCannotNameAccessorDeclFile_consumer.d.ts(14,48): error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. -privacyCannotNameAccessorDeclFile_consumer.d.ts(15,35): error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. - - -==== privacyCannotNameAccessorDeclFile_consumer.d.ts (4 errors) ==== - export declare class publicClassWithWithPrivateGetAccessorTypes { - static get myPublicStaticMethod(): import("./privacyCannotNameAccessorDeclFile_Widgets").Widget1; - private static get myPrivateStaticMethod(); - get myPublicMethod(): import("./privacyCannotNameAccessorDeclFile_Widgets").Widget1; - private get myPrivateMethod(); - static get myPublicStaticMethod1(): import("GlobalWidgets").Widget3; - ~~~~~~~~~~~~~~~ -!!! error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. - private static get myPrivateStaticMethod1(); - get myPublicMethod1(): import("GlobalWidgets").Widget3; - ~~~~~~~~~~~~~~~ -!!! error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. - private get myPrivateMethod1(); - } - export declare class publicClassWithPrivateModuleGetAccessorTypes { - static get myPublicStaticMethod(): import("./privacyCannotNameAccessorDeclFile_Widgets").SpecializedWidget.Widget2; - get myPublicMethod(): import("./privacyCannotNameAccessorDeclFile_Widgets").SpecializedWidget.Widget2; - static get myPublicStaticMethod1(): import("GlobalWidgets").SpecializedGlobalWidget.Widget4; - ~~~~~~~~~~~~~~~ -!!! error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. - get myPublicMethod1(): import("GlobalWidgets").SpecializedGlobalWidget.Widget4; - ~~~~~~~~~~~~~~~ -!!! error TS2307: Cannot find module 'GlobalWidgets' or its corresponding type declarations. - } - -==== privacyCannotNameAccessorDeclFile_GlobalWidgets.d.ts (0 errors) ==== - declare module "GlobalWidgets" { - class Widget3 { - name: string; - } - function createWidget3(): Widget3; - namespace SpecializedGlobalWidget { - class Widget4 { - name: string; - } - function createWidget4(): Widget4; - } - } - -==== privacyCannotNameAccessorDeclFile_Widgets.d.ts (0 errors) ==== - export declare class Widget1 { - name: string; - } - export declare function createWidget1(): Widget1; - export declare namespace SpecializedWidget { - class Widget2 { - name: string; - } - function createWidget2(): Widget2; - } - -==== privacyCannotNameAccessorDeclFile_exporter.d.ts (0 errors) ==== - import Widgets = require("./privacyCannotNameAccessorDeclFile_Widgets"); - import Widgets1 = require("GlobalWidgets"); - export declare function createExportedWidget1(): Widgets.Widget1; - export declare function createExportedWidget2(): Widgets.SpecializedWidget.Widget2; - export declare function createExportedWidget3(): Widgets1.Widget3; - export declare function createExportedWidget4(): Widgets1.SpecializedGlobalWidget.Widget4; - \ No newline at end of file diff --git a/tests/baselines/reference/privacyGetter(target=es5).errors.txt b/tests/baselines/reference/privacyGetter(target=es5).errors.txt index e8b11e2d53e4b..e8d8a4afa9b5a 100644 --- a/tests/baselines/reference/privacyGetter(target=es5).errors.txt +++ b/tests/baselines/reference/privacyGetter(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privacyGetter.ts (0 errors) ==== export namespace m1 { export class C1_public { diff --git a/tests/baselines/reference/privacyGloGetter(target=es5).errors.txt b/tests/baselines/reference/privacyGloGetter(target=es5).errors.txt new file mode 100644 index 0000000000000..a2db8c2eb1c57 --- /dev/null +++ b/tests/baselines/reference/privacyGloGetter(target=es5).errors.txt @@ -0,0 +1,93 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== privacyGloGetter.ts (0 errors) ==== + namespace m1 { + export class C1_public { + private f1() { + } + } + + class C2_private { + } + + export class C3_public { + private get p1_private() { + return new C1_public(); + } + + private set p1_private(m1_c3_p1_arg: C1_public) { + } + + private get p2_private() { + return new C1_public(); + } + + private set p2_private(m1_c3_p2_arg: C1_public) { + } + + private get p3_private() { + return new C2_private(); + } + + private set p3_private(m1_c3_p3_arg: C2_private) { + } + + public get p4_public(): C2_private { // error + return new C2_private(); //error + } + + public set p4_public(m1_c3_p4_arg: C2_private) { // error + } + } + + class C4_private { + private get p1_private() { + return new C1_public(); + } + + private set p1_private(m1_c3_p1_arg: C1_public) { + } + + private get p2_private() { + return new C1_public(); + } + + private set p2_private(m1_c3_p2_arg: C1_public) { + } + + private get p3_private() { + return new C2_private(); + } + + private set p3_private(m1_c3_p3_arg: C2_private) { + } + + public get p4_public(): C2_private { + return new C2_private(); + } + + public set p4_public(m1_c3_p4_arg: C2_private) { + } + } + } + + class C6_public { + } + + class C7_public { + private get p1_private() { + return new C6_public(); + } + + private set p1_private(m1_c3_p1_arg: C6_public) { + } + + private get p2_private() { + return new C6_public(); + } + + private set p2_private(m1_c3_p2_arg: C6_public) { + } + } \ No newline at end of file diff --git a/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt b/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt new file mode 100644 index 0000000000000..aac1258154ae6 --- /dev/null +++ b/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt @@ -0,0 +1,42 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== privateClassPropertyAccessibleWithinNestedClass.ts (0 errors) ==== + // no errors + + class C { + private x: string; + private get y() { return this.x; } + private set y(x) { this.y = this.x; } + private foo() { return this.foo; } + + private static x: string; + private static get y() { return this.x; } + private static set y(x) { this.y = this.x; } + private static foo() { return this.foo; } + private static bar() { this.foo(); } + + private bar() { + class C2 { + private foo() { + let x: C; + var x1 = x.foo; + var x2 = x.bar; + var x3 = x.x; + var x4 = x.y; + + var sx1 = C.x; + var sx2 = C.y; + var sx3 = C.bar; + var sx4 = C.foo; + + let y = new C(); + var y1 = y.foo; + var y2 = y.bar; + var y3 = y.x; + var y4 = y.y; + } + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/privateFieldAssignabilityFromUnknown(target=es5).errors.txt b/tests/baselines/reference/privateFieldAssignabilityFromUnknown(target=es5).errors.txt index eae2c7066dff4..474e9f139cac4 100644 --- a/tests/baselines/reference/privateFieldAssignabilityFromUnknown(target=es5).errors.txt +++ b/tests/baselines/reference/privateFieldAssignabilityFromUnknown(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. privateFieldAssignabilityFromUnknown.ts(2,3): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. privateFieldAssignabilityFromUnknown.ts(5,7): error TS2741: Property '#field' is missing in type '{}' but required in type 'Class'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privateFieldAssignabilityFromUnknown.ts (2 errors) ==== export class Class { #field: any diff --git a/tests/baselines/reference/privateInstanceMemberAccessibility(target=es5).errors.txt b/tests/baselines/reference/privateInstanceMemberAccessibility(target=es5).errors.txt index f9abb4ef34a61..0423899213c09 100644 --- a/tests/baselines/reference/privateInstanceMemberAccessibility(target=es5).errors.txt +++ b/tests/baselines/reference/privateInstanceMemberAccessibility(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. privateInstanceMemberAccessibility.ts(5,7): error TS2415: Class 'Derived' incorrectly extends base class 'Base'. Property 'foo' is private in type 'Base' but not in type 'Derived'. privateInstanceMemberAccessibility.ts(6,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. @@ -6,6 +7,7 @@ privateInstanceMemberAccessibility.ts(10,15): error TS2304: Cannot find name 'su privateInstanceMemberAccessibility.ts(12,12): error TS1442: Expected '=' for property initializer. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privateInstanceMemberAccessibility.ts (5 errors) ==== class Base { private foo: string; diff --git a/tests/baselines/reference/privateNameBadDeclaration(target=es5).errors.txt b/tests/baselines/reference/privateNameBadDeclaration(target=es5).errors.txt index 8078eb3b63ea9..e5c661873ce12 100644 --- a/tests/baselines/reference/privateNameBadDeclaration(target=es5).errors.txt +++ b/tests/baselines/reference/privateNameBadDeclaration(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. privateNameBadDeclaration.ts(3,3): error TS18016: Private identifiers are not allowed outside class bodies. privateNameBadDeclaration.ts(4,3): error TS18016: Private identifiers are not allowed outside class bodies. privateNameBadDeclaration.ts(5,7): error TS18016: Private identifiers are not allowed outside class bodies. @@ -9,6 +10,7 @@ privateNameBadDeclaration.ts(11,7): error TS18028: Private identifiers are only privateNameBadDeclaration.ts(15,10): error TS2339: Property '#z' does not exist on type 'C'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privateNameBadDeclaration.ts (9 errors) ==== function A() { } A.prototype = { diff --git a/tests/baselines/reference/privateNameES5Ban(target=es5).errors.txt b/tests/baselines/reference/privateNameES5Ban(target=es5).errors.txt index ad9351e971157..9691e01de794c 100644 --- a/tests/baselines/reference/privateNameES5Ban(target=es5).errors.txt +++ b/tests/baselines/reference/privateNameES5Ban(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. privateNameES5Ban.ts(3,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. privateNameES5Ban.ts(4,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. privateNameES5Ban.ts(5,12): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. @@ -8,6 +9,7 @@ privateNameES5Ban.ts(9,16): error TS18028: Private identifiers are only availabl privateNameES5Ban.ts(10,16): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privateNameES5Ban.ts (8 errors) ==== class A { constructor() {} diff --git a/tests/baselines/reference/privateNameInObjectLiteral-3(target=es5).errors.txt b/tests/baselines/reference/privateNameInObjectLiteral-3(target=es5).errors.txt index 59fc51734f525..7e94d48f478d7 100644 --- a/tests/baselines/reference/privateNameInObjectLiteral-3(target=es5).errors.txt +++ b/tests/baselines/reference/privateNameInObjectLiteral-3(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. privateNameInObjectLiteral-3.ts(2,9): error TS18016: Private identifiers are not allowed outside class bodies. privateNameInObjectLiteral-3.ts(2,9): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privateNameInObjectLiteral-3.ts (2 errors) ==== const obj = { get #foo() { diff --git a/tests/baselines/reference/privateNameJsBadDeclaration(target=es5).errors.txt b/tests/baselines/reference/privateNameJsBadDeclaration(target=es5).errors.txt index 7711e8aa8da4e..fd5af66458752 100644 --- a/tests/baselines/reference/privateNameJsBadDeclaration(target=es5).errors.txt +++ b/tests/baselines/reference/privateNameJsBadDeclaration(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. privateNameJsPrototype.js(3,3): error TS18016: Private identifiers are not allowed outside class bodies. privateNameJsPrototype.js(4,3): error TS18016: Private identifiers are not allowed outside class bodies. privateNameJsPrototype.js(5,7): error TS18016: Private identifiers are not allowed outside class bodies. @@ -9,6 +10,7 @@ privateNameJsPrototype.js(11,7): error TS18028: Private identifiers are only ava privateNameJsPrototype.js(15,10): error TS2339: Property '#z' does not exist on type 'C'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== privateNameJsPrototype.js (9 errors) ==== function A() { } A.prototype = { diff --git a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/defaultExcludeOnlyNodeModules.errors.txt b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/defaultExcludeOnlyNodeModules.errors.txt index ef94fccaf8f8b..38e6406f488e4 100644 --- a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/defaultExcludeOnlyNodeModules.errors.txt +++ b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/defaultExcludeOnlyNodeModules.errors.txt @@ -1,8 +1,9 @@ tsconfig.json(2,5): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(2,5): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(3,19): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== tsconfig.json (2 errors) ==== +==== tsconfig.json (3 errors) ==== { "compilerOptions": { ~~~~~~~~~~~~~~~~~ @@ -10,6 +11,8 @@ tsconfig.json(2,5): error TS5107: Option 'moduleResolution=classic' is deprecate ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5" + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. } } ==== a.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/defaultExcludeOnlyNodeModules.errors.txt b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/defaultExcludeOnlyNodeModules.errors.txt index 593927f1e7d0e..0c6a4f6fd3911 100644 --- a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/defaultExcludeOnlyNodeModules.errors.txt +++ b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/defaultExcludeOnlyNodeModules.errors.txt @@ -1,12 +1,15 @@ tsconfig.json(2,5): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(3,19): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -==== tsconfig.json (1 errors) ==== +==== tsconfig.json (2 errors) ==== { "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5" + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. } } ==== a.ts (0 errors) ==== diff --git a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/amd/emitDecoratorMetadataCommonJSISolatedModules.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/amd/emitDecoratorMetadataCommonJSISolatedModules.errors.txt index 06a7bb238c97a..89c6c467a2b92 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/amd/emitDecoratorMetadataCommonJSISolatedModules.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/amd/emitDecoratorMetadataCommonJSISolatedModules.errors.txt @@ -1,15 +1,18 @@ tsconfig.json(3,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(5,15): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (2 errors) ==== +==== tsconfig.json (3 errors) ==== { "compileOnSave": true, "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "commonjs", ~~~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. diff --git a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/node/emitDecoratorMetadataCommonJSISolatedModules.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/node/emitDecoratorMetadataCommonJSISolatedModules.errors.txt index 9ced49cce9130..a983639aff14f 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/node/emitDecoratorMetadataCommonJSISolatedModules.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModules/node/emitDecoratorMetadataCommonJSISolatedModules.errors.txt @@ -1,14 +1,17 @@ tsconfig.json(3,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (1 errors) ==== +==== tsconfig.json (2 errors) ==== { "compileOnSave": true, "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "commonjs", "emitDecoratorMetadata": true, "experimentalDecorators": true, diff --git a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/amd/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/amd/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt index 762e07cf1d37d..5d5d2c0ea9e35 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/amd/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/amd/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt @@ -1,15 +1,18 @@ tsconfig.json(3,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(5,15): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (2 errors) ==== +==== tsconfig.json (3 errors) ==== { "compileOnSave": true, "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "commonjs", ~~~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. diff --git a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/node/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/node/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt index 4f2e4137d9955..d94ee8ea25bab 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/node/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataCommonJSISolatedModulesNoResolve/node/emitDecoratorMetadataCommonJSISolatedModulesNoResolve.errors.txt @@ -1,14 +1,17 @@ tsconfig.json(3,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (1 errors) ==== +==== tsconfig.json (2 errors) ==== { "compileOnSave": true, "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "commonjs", "emitDecoratorMetadata": true, "experimentalDecorators": true, diff --git a/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/amd/emitDecoratorMetadataSystemJS.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/amd/emitDecoratorMetadataSystemJS.errors.txt index 4c3cba22b2566..b21ec63494e72 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/amd/emitDecoratorMetadataSystemJS.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/amd/emitDecoratorMetadataSystemJS.errors.txt @@ -1,15 +1,18 @@ tsconfig.json(3,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(5,15): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (2 errors) ==== +==== tsconfig.json (3 errors) ==== { "compileOnSave": true, "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "system", ~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. diff --git a/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/node/emitDecoratorMetadataSystemJS.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/node/emitDecoratorMetadataSystemJS.errors.txt index 1e19b3cfa4c97..3c06e87094d52 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/node/emitDecoratorMetadataSystemJS.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataSystemJS/node/emitDecoratorMetadataSystemJS.errors.txt @@ -1,14 +1,17 @@ tsconfig.json(3,3): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (1 errors) ==== +==== tsconfig.json (2 errors) ==== { "compileOnSave": true, "compilerOptions": { ~~~~~~~~~~~~~~~~~ !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "system", "emitDecoratorMetadata": true, "experimentalDecorators": true diff --git a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/amd/emitDecoratorMetadataSystemJSISolatedModules.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/amd/emitDecoratorMetadataSystemJSISolatedModules.errors.txt index cb44c70831178..942531208f987 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/amd/emitDecoratorMetadataSystemJSISolatedModules.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/amd/emitDecoratorMetadataSystemJSISolatedModules.errors.txt @@ -1,13 +1,16 @@ +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(5,15): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(6,25): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (2 errors) ==== +==== tsconfig.json (3 errors) ==== { "compileOnSave": true, "compilerOptions": { "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "system", ~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. diff --git a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/node/emitDecoratorMetadataSystemJSISolatedModules.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/node/emitDecoratorMetadataSystemJSISolatedModules.errors.txt index f2f6708ec1f3e..967c88996dc04 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/node/emitDecoratorMetadataSystemJSISolatedModules.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModules/node/emitDecoratorMetadataSystemJSISolatedModules.errors.txt @@ -1,12 +1,15 @@ +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(6,25): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (1 errors) ==== +==== tsconfig.json (2 errors) ==== { "compileOnSave": true, "compilerOptions": { "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "system", "moduleResolution": "node", ~~~~~~ diff --git a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/amd/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/amd/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt index 4dd71c2480382..51229c4a735e0 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/amd/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/amd/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt @@ -1,13 +1,16 @@ +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(5,15): error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(6,25): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (2 errors) ==== +==== tsconfig.json (3 errors) ==== { "compileOnSave": true, "compilerOptions": { "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "system", ~~~~~~~~ !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. diff --git a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/node/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/node/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt index 6f129bfd68837..53e2aa215b53e 100644 --- a/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/node/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt +++ b/tests/baselines/reference/project/emitDecoratorMetadataSystemJSISolatedModulesNoResolve/node/emitDecoratorMetadataSystemJSISolatedModulesNoResolve.errors.txt @@ -1,12 +1,15 @@ +tsconfig.json(4,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsconfig.json(6,25): error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(1,21): error TS2792: Cannot find module 'angular2/core'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -==== tsconfig.json (1 errors) ==== +==== tsconfig.json (2 errors) ==== { "compileOnSave": true, "compilerOptions": { "target": "es5", + ~~~~~ +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "module": "system", "moduleResolution": "node", ~~~~~~ diff --git a/tests/baselines/reference/promiseDefinitionTest(target=es5).errors.txt b/tests/baselines/reference/promiseDefinitionTest(target=es5).errors.txt index caa8cea19b34a..7e31ef7e72751 100644 --- a/tests/baselines/reference/promiseDefinitionTest(target=es5).errors.txt +++ b/tests/baselines/reference/promiseDefinitionTest(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. promiseDefinitionTest.ts(1,7): error TS2300: Duplicate identifier 'Promise'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== promiseDefinitionTest.ts (1 errors) ==== class Promise {} ~~~~~~~ diff --git a/tests/baselines/reference/properties(target=es5).errors.txt b/tests/baselines/reference/properties(target=es5).errors.txt new file mode 100644 index 0000000000000..2f97e2089c55d --- /dev/null +++ b/tests/baselines/reference/properties(target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== properties.ts (0 errors) ==== + class MyClass + { + public get Count(): number + { + return 42; + } + + public set Count(value: number) + { + // + } + } \ No newline at end of file diff --git a/tests/baselines/reference/propertyOverridesAccessors4(target=es5).errors.txt b/tests/baselines/reference/propertyOverridesAccessors4(target=es5).errors.txt index 7e6866a5bdc98..a71f3b68462d6 100644 --- a/tests/baselines/reference/propertyOverridesAccessors4(target=es5).errors.txt +++ b/tests/baselines/reference/propertyOverridesAccessors4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. propertyOverridesAccessors4.ts(6,5): error TS2610: 'sound' is defined as an accessor in class 'Animal', but is overridden here in 'Lion' as an instance property. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== propertyOverridesAccessors4.ts (1 errors) ==== declare class Animal { get sound(): string diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).errors.txt b/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).errors.txt new file mode 100644 index 0000000000000..ce323409ef333 --- /dev/null +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).errors.txt @@ -0,0 +1,36 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== protectedClassPropertyAccessibleWithinClass.ts (0 errors) ==== + // no errors + + class C { + protected x: string; + protected get y() { return this.x; } + protected set y(x) { this.y = this.x; } + protected foo() { return this.foo; } + + protected static x: string; + protected static get y() { return this.x; } + protected static set y(x) { this.y = this.x; } + protected static foo() { return this.foo; } + protected static bar() { this.foo(); } + } + + // added level of function nesting + class C2 { + protected x: string; + protected get y() { () => this.x; return null; } + protected set y(x) { () => { this.y = this.x; } } + protected foo() { () => this.foo; } + + protected static x: string; + protected static get y() { () => this.x; return null; } + protected static set y(x) { + () => { this.y = this.x; } + } + protected static foo() { () => this.foo; } + protected static bar() { () => this.foo(); } + } + \ No newline at end of file diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).types b/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).types index ca32a8a1d53a3..f8ffd84a8a203 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).types +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass(target=es5).types @@ -119,6 +119,7 @@ class C2 { protected get y() { () => this.x; return null; } >y : any +> : ^^^ >() => this.x : () => string > : ^^^^^^^^^^^^ >this.x : string @@ -130,12 +131,15 @@ class C2 { protected set y(x) { () => { this.y = this.x; } } >y : any +> : ^^^ >x : any +> : ^^^ >() => { this.y = this.x; } : () => void > : ^^^^^^^^^^ >this.y = this.x : string > : ^^^^^^ >this.y : any +> : ^^^ >this : this > : ^^^^ >y : any @@ -165,6 +169,7 @@ class C2 { protected static get y() { () => this.x; return null; } >y : any +> : ^^^ >() => this.x : () => string > : ^^^^^^^^^^^^ >this.x : string @@ -176,7 +181,9 @@ class C2 { protected static set y(x) { >y : any +> : ^^^ >x : any +> : ^^^ () => { this.y = this.x; } >() => { this.y = this.x; } : () => void @@ -184,6 +191,7 @@ class C2 { >this.y = this.x : string > : ^^^^^^ >this.y : any +> : ^^^ >this : typeof C2 > : ^^^^^^^^^ >y : any diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt new file mode 100644 index 0000000000000..bbec089e9b2eb --- /dev/null +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass(target=es5).errors.txt @@ -0,0 +1,42 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== protectedClassPropertyAccessibleWithinNestedClass.ts (0 errors) ==== + // no errors + + class C { + protected x: string; + protected get y() { return this.x; } + protected set y(x) { this.y = this.x; } + protected foo() { return this.foo; } + + protected static x: string; + protected static get y() { return this.x; } + protected static set y(x) { this.y = this.x; } + protected static foo() { return this.foo; } + protected static bar() { this.foo(); } + + protected bar() { + class C2 { + protected foo() { + let x: C; + var x1 = x.foo; + var x2 = x.bar; + var x3 = x.x; + var x4 = x.y; + + var sx1 = C.x; + var sx2 = C.y; + var sx3 = C.bar; + var sx4 = C.foo; + + let y = new C(); + var y1 = y.foo; + var y2 = y.bar; + var y3 = y.x; + var y4 = y.y; + } + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass(target=es5).errors.txt b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass(target=es5).errors.txt index ad66b5be194c8..e7bfb7fd21a23 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass(target=es5).errors.txt +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. protectedClassPropertyAccessibleWithinNestedSubclass.ts(24,28): error TS2339: Property 'z' does not exist on type 'C'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== protectedClassPropertyAccessibleWithinNestedSubclass.ts (1 errors) ==== class B { protected x: string; diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass(target=es5).errors.txt b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass(target=es5).errors.txt new file mode 100644 index 0000000000000..a7c5559504c6a --- /dev/null +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== protectedClassPropertyAccessibleWithinSubclass.ts (0 errors) ==== + // no errors + + class B { + protected x: string; + protected static x: string; + } + + class C extends B { + protected get y() { return this.x; } + protected set y(x) { this.y = this.x; } + protected foo() { return this.x; } + protected bar() { return this.foo(); } + + protected static get y() { return this.x; } + protected static set y(x) { this.y = this.x; } + protected static foo() { return this.x; } + protected static bar() { this.foo(); } + } + \ No newline at end of file diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3(target=es5).errors.txt b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3(target=es5).errors.txt index af6e691bb4f94..dfa7090a67685 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3(target=es5).errors.txt +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. protectedClassPropertyAccessibleWithinSubclass3.ts(11,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== protectedClassPropertyAccessibleWithinSubclass3.ts (1 errors) ==== class Base { protected x: string; diff --git a/tests/baselines/reference/protectedInstanceMemberAccessibility(target=es5).errors.txt b/tests/baselines/reference/protectedInstanceMemberAccessibility(target=es5).errors.txt index cd156c346a917..646641e5f8f3d 100644 --- a/tests/baselines/reference/protectedInstanceMemberAccessibility(target=es5).errors.txt +++ b/tests/baselines/reference/protectedInstanceMemberAccessibility(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. protectedInstanceMemberAccessibility.ts(14,23): error TS2339: Property 'z' does not exist on type 'B'. protectedInstanceMemberAccessibility.ts(16,24): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. protectedInstanceMemberAccessibility.ts(18,24): error TS2339: Property 'y' does not exist on type 'A'. @@ -13,6 +14,7 @@ protectedInstanceMemberAccessibility.ts(36,20): error TS2339: Property 'y' does protectedInstanceMemberAccessibility.ts(37,20): error TS2445: Property 'z' is protected and only accessible within class 'C' and its subclasses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== protectedInstanceMemberAccessibility.ts (13 errors) ==== class A { protected x!: string; diff --git a/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2(target=es5).errors.txt b/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2(target=es5).errors.txt index 05c4395a4b603..acc15b9b6859a 100644 --- a/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2(target=es5).errors.txt +++ b/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. protectedStaticClassPropertyAccessibleWithinSubclass2.ts(11,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. protectedStaticClassPropertyAccessibleWithinSubclass2.ts(19,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== protectedStaticClassPropertyAccessibleWithinSubclass2.ts (2 errors) ==== class Base { protected static x: string; diff --git a/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter(target=es5).errors.txt b/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter(target=es5).errors.txt index 20e2c2b12e4c3..cdf4ae2ebfe94 100644 --- a/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter(target=es5).errors.txt +++ b/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. publicGetterProtectedSetterFromThisParameter.ts(33,7): error TS2445: Property 'q' is protected and only accessible within class 'B' and its subclasses. publicGetterProtectedSetterFromThisParameter.ts(34,7): error TS2445: Property 'u' is protected and only accessible within class 'B' and its subclasses. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== publicGetterProtectedSetterFromThisParameter.ts (2 errors) ==== class A { get x() { return 0; } diff --git a/tests/baselines/reference/reExportDefaultExport(target=es5).errors.txt b/tests/baselines/reference/reExportDefaultExport(target=es5).errors.txt new file mode 100644 index 0000000000000..9a224da33fbb7 --- /dev/null +++ b/tests/baselines/reference/reExportDefaultExport(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== m1.ts (0 errors) ==== + export default function f() { + } + export {f}; + + +==== m2.ts (0 errors) ==== + import foo from "./m1"; + import {f} from "./m1"; + + f(); + foo(); \ No newline at end of file diff --git a/tests/baselines/reference/readonlyInDeclarationFile(target=es5).errors.txt b/tests/baselines/reference/readonlyInDeclarationFile(target=es5).errors.txt new file mode 100644 index 0000000000000..d898da358894d --- /dev/null +++ b/tests/baselines/reference/readonlyInDeclarationFile(target=es5).errors.txt @@ -0,0 +1,58 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== readonlyInDeclarationFile.ts (0 errors) ==== + interface Foo { + readonly x: number; + readonly [x: string]: Object; + } + + class C { + readonly [x: string]: Object; + private readonly a1: number; + protected readonly a2: number; + public readonly a3: number; + private get b1() { return 1 } + protected get b2() { return 1 } + public get b3() { return 1 } + private get c1() { return 1 } + private set c1(value) { } + protected get c2() { return 1 } + protected set c2(value) { } + public get c3() { return 1 } + public set c3(value) { } + private static readonly s1: number; + protected static readonly s2: number; + public static readonly s3: number; + private static get t1() { return 1 } + protected static get t2() { return 1 } + public static get t3() { return 1 } + private static get u1() { return 1 } + private static set u1(value) { } + protected static get u2() { return 1 } + protected static set u2(value) { } + public static get u3() { return 1 } + public static set u3(value) { } + } + + var z: { + readonly a: string; + readonly [x: string]: Object; + } + + function f() { + return { + get x() { return 1; }, + get y() { return 1; }, + set y(value) { } + } + } + + function g() { + var x: { + readonly a: string; + readonly [x: string]: Object; + } + return x; + } \ No newline at end of file diff --git a/tests/baselines/reference/readonlyInNonPropertyParameters(target=es5).errors.txt b/tests/baselines/reference/readonlyInNonPropertyParameters(target=es5).errors.txt index 8ee767e2c22d1..03200100977b9 100644 --- a/tests/baselines/reference/readonlyInNonPropertyParameters(target=es5).errors.txt +++ b/tests/baselines/reference/readonlyInNonPropertyParameters(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. readonlyInNonPropertyParameters.ts(3,9): error TS2369: A parameter property is only allowed in a constructor implementation. readonlyInNonPropertyParameters.ts(4,8): error TS2369: A parameter property is only allowed in a constructor implementation. readonlyInNonPropertyParameters.ts(6,2): error TS2369: A parameter property is only allowed in a constructor implementation. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== readonlyInNonPropertyParameters.ts (3 errors) ==== // `readonly` won't work outside of property parameters class X { diff --git a/tests/baselines/reference/readonlyMembers(target=es5).errors.txt b/tests/baselines/reference/readonlyMembers(target=es5).errors.txt index 4d1793bda4fd2..288cd63eb3116 100644 --- a/tests/baselines/reference/readonlyMembers(target=es5).errors.txt +++ b/tests/baselines/reference/readonlyMembers(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. readonlyMembers.ts(6,3): error TS2540: Cannot assign to 'a' because it is a read-only property. readonlyMembers.ts(7,3): error TS2540: Cannot assign to 'b' because it is a read-only property. readonlyMembers.ts(16,14): error TS2540: Cannot assign to 'c' because it is a read-only property. @@ -16,6 +17,7 @@ readonlyMembers.ts(66,1): error TS2542: Index signature in type '{ readonly [x: readonlyMembers.ts(69,1): error TS2542: Index signature in type '{ readonly [x: number]: string; [x: string]: string; }' only permits reading. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== readonlyMembers.ts (16 errors) ==== interface X { readonly a: number; diff --git a/tests/baselines/reference/recursiveProperties(target=es5).errors.txt b/tests/baselines/reference/recursiveProperties(target=es5).errors.txt new file mode 100644 index 0000000000000..777a9d5bd6a7d --- /dev/null +++ b/tests/baselines/reference/recursiveProperties(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== recursiveProperties.ts (0 errors) ==== + class A { + get testProp() { return this.testProp; } + } + + class B { + set testProp(value:string) { this.testProp = value; } + } \ No newline at end of file diff --git a/tests/baselines/reference/recursiveProperties(target=es5).types b/tests/baselines/reference/recursiveProperties(target=es5).types index d20f40ed793bb..4fd19df69f238 100644 --- a/tests/baselines/reference/recursiveProperties(target=es5).types +++ b/tests/baselines/reference/recursiveProperties(target=es5).types @@ -7,7 +7,9 @@ class A { get testProp() { return this.testProp; } >testProp : any +> : ^^^ >this.testProp : any +> : ^^^ >this : this > : ^^^^ >testProp : any diff --git a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt index b73fabe019701..09069a7fd07ac 100644 --- a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt +++ b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. regExpWithOpenBracketInCharClass.ts(3,8): error TS1501: This regular expression flag is only available when targeting 'es6' or later. regExpWithOpenBracketInCharClass.ts(4,7): error TS1005: ']' expected. regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression flag is only available when targeting 'es2024' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== regExpWithOpenBracketInCharClass.ts (3 errors) ==== const regexes: RegExp[] = [ /[[]/, // Valid diff --git a/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt b/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt index bb82df70855d7..110137f434016 100644 --- a/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt +++ b/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. regularExpressionScanning.ts(3,7): error TS1501: This regular expression flag is only available when targeting 'es2024' or later. regularExpressionScanning.ts(3,9): error TS1501: This regular expression flag is only available when targeting 'es2018' or later. regularExpressionScanning.ts(3,10): error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. @@ -226,6 +227,7 @@ regularExpressionScanning.ts(47,89): error TS1518: Anything that would possibly regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag is only available when targeting 'es2024' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== regularExpressionScanning.ts (226 errors) ==== const regexes: RegExp[] = [ // Flags diff --git a/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions(target=es5).errors.txt b/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions(target=es5).errors.txt index 3d5e1e9c02a44..d63242bdf4c90 100644 --- a/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions(target=es5).errors.txt +++ b/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,19): error TS1529: Unknown Unicode property name or value. regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,28): error TS1524: Unknown Unicode property name. regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,45): error TS1526: Unknown Unicode property value. @@ -6,6 +7,7 @@ regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,93): error TS152 regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,102): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== regularExpressionUnicodePropertyValueExpressionSuggestions.ts (6 errors) ==== const regex = /\p{ascii}\p{Sc=Unknown}\p{sc=unknownX}\p{Script_Declensions=Inherited}\p{scx=inherit}/u; ~~~~~ diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleEmitNone(target=es5).errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleEmitNone(target=es5).errors.txt index 44d3758ebc6b6..2f4e9f368a963 100644 --- a/tests/baselines/reference/requireOfJsonFileWithModuleEmitNone(target=es5).errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithModuleEmitNone(target=es5).errors.txt @@ -1,10 +1,12 @@ error TS5070: Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'. error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. file1.ts(1,1): error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. !!! error TS5070: Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (1 errors) ==== import * as b from './b.json'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone(target=es5).errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone(target=es5).errors.txt index 1f804dd8bace3..cebcf52cb8b57 100644 --- a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone(target=es5).errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone(target=es5).errors.txt @@ -1,12 +1,14 @@ error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. file1.ts(1,1): error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. !!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. !!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. !!! error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file1.ts (1 errors) ==== import * as b from './b.json'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/restElementWithNullInitializer(target=es5).errors.txt b/tests/baselines/reference/restElementWithNullInitializer(target=es5).errors.txt index f20ec49bf9d58..4cdad926aea07 100644 --- a/tests/baselines/reference/restElementWithNullInitializer(target=es5).errors.txt +++ b/tests/baselines/reference/restElementWithNullInitializer(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. restElementWithNullInitializer.ts(1,15): error TS2461: Type 'null' is not an array type. restElementWithNullInitializer.ts(4,15): error TS2461: Type 'undefined' is not an array type. restElementWithNullInitializer.ts(7,15): error TS2461: Type '{}' is not an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== restElementWithNullInitializer.ts (3 errors) ==== function foo1([...r] = null) { ~~~~~~ diff --git a/tests/baselines/reference/restElementWithNumberPropertyName(target=es5).errors.txt b/tests/baselines/reference/restElementWithNumberPropertyName(target=es5).errors.txt new file mode 100644 index 0000000000000..573dc037fab8d --- /dev/null +++ b/tests/baselines/reference/restElementWithNumberPropertyName(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== restElementWithNumberPropertyName.ts (0 errors) ==== + const { 0: a, ...b } = [0, 1, 2]; + \ No newline at end of file diff --git a/tests/baselines/reference/restParameterInDownlevelGenerator(target=es5).errors.txt b/tests/baselines/reference/restParameterInDownlevelGenerator(target=es5).errors.txt new file mode 100644 index 0000000000000..b857bf602e71a --- /dev/null +++ b/tests/baselines/reference/restParameterInDownlevelGenerator(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== restParameterInDownlevelGenerator.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/30653 + function * mergeStringLists(...strings: string[]) { + for (var str of strings); + } \ No newline at end of file diff --git a/tests/baselines/reference/restPropertyWithBindingPattern(target=es5).errors.txt b/tests/baselines/reference/restPropertyWithBindingPattern(target=es5).errors.txt index 70345551f0774..ed980cbee1799 100644 --- a/tests/baselines/reference/restPropertyWithBindingPattern(target=es5).errors.txt +++ b/tests/baselines/reference/restPropertyWithBindingPattern(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. restPropertyWithBindingPattern.ts(1,6): error TS2501: A rest element cannot contain a binding pattern. restPropertyWithBindingPattern.ts(2,6): error TS2501: A rest element cannot contain a binding pattern. restPropertyWithBindingPattern.ts(2,6): error TS2701: The target of an object rest assignment must be a variable or a property access. @@ -7,6 +8,7 @@ restPropertyWithBindingPattern.ts(4,6): error TS2501: A rest element cannot cont restPropertyWithBindingPattern.ts(4,6): error TS2701: The target of an object rest assignment must be a variable or a property access. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== restPropertyWithBindingPattern.ts (7 errors) ==== ({...{}} = {}); ~~ diff --git a/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).errors.txt b/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).errors.txt new file mode 100644 index 0000000000000..6afcf6a5c31ef --- /dev/null +++ b/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).errors.txt @@ -0,0 +1,68 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== returnStatementNoAsiAfterTransform.ts (0 errors) ==== + declare var a: any; + + function t1() { + return ( + // comment + a as any + ); + } + function t2() { + return ( + // comment + a as any + ) + 1; + } + function t3() { + return ( + // comment + a as any + ) ? 0 : 1; + } + function t4() { + return ( + // comment + a as any + ).b; + } + function t5() { + return ( + // comment + a as any + )[a]; + } + function t6() { + return ( + // comment + a as any + )(); + } + function t7() { + return ( + // comment + a as any + )``; + } + function t8() { + return ( + // comment + a as any + ) as any; + } + function t9() { + return ( + // comment + a as any + ) satisfies any; + } + function t10() { + return ( + // comment + a as any + )!; + } + \ No newline at end of file diff --git a/tests/baselines/reference/scannerNumericLiteral1(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral1(target=es5).errors.txt new file mode 100644 index 0000000000000..1b75be90243bf --- /dev/null +++ b/tests/baselines/reference/scannerNumericLiteral1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== scannerNumericLiteral1.ts (0 errors) ==== + 0 \ No newline at end of file diff --git a/tests/baselines/reference/scannerNumericLiteral2(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral2(target=es5).errors.txt index d2edf1320cd9b..feb540f218318 100644 --- a/tests/baselines/reference/scannerNumericLiteral2(target=es5).errors.txt +++ b/tests/baselines/reference/scannerNumericLiteral2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. scannerNumericLiteral2.ts(1,1): error TS1121: Octal literals are not allowed. Use the syntax '0o1'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== scannerNumericLiteral2.ts (1 errors) ==== 01 ~~ diff --git a/tests/baselines/reference/scannerNumericLiteral3(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral3(target=es5).errors.txt index 8ea6348309144..9d6fc2eca252b 100644 --- a/tests/baselines/reference/scannerNumericLiteral3(target=es5).errors.txt +++ b/tests/baselines/reference/scannerNumericLiteral3(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. scannerNumericLiteral3.ts(1,1): error TS1121: Octal literals are not allowed. Use the syntax '0o1'. scannerNumericLiteral3.ts(1,3): error TS1005: ';' expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== scannerNumericLiteral3.ts (2 errors) ==== 01.0 ~~ diff --git a/tests/baselines/reference/scannerNumericLiteral4(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral4(target=es5).errors.txt index a6cac8bd78afb..50f77bd2420aa 100644 --- a/tests/baselines/reference/scannerNumericLiteral4(target=es5).errors.txt +++ b/tests/baselines/reference/scannerNumericLiteral4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. scannerNumericLiteral4.ts(1,3): error TS1124: Digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== scannerNumericLiteral4.ts (1 errors) ==== 1e diff --git a/tests/baselines/reference/scannerNumericLiteral5(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral5(target=es5).errors.txt new file mode 100644 index 0000000000000..33270725a8fa1 --- /dev/null +++ b/tests/baselines/reference/scannerNumericLiteral5(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== scannerNumericLiteral5.ts (0 errors) ==== + 1e0 \ No newline at end of file diff --git a/tests/baselines/reference/scannerNumericLiteral6(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral6(target=es5).errors.txt index d604ebeb4a568..3bf39f7ae108b 100644 --- a/tests/baselines/reference/scannerNumericLiteral6(target=es5).errors.txt +++ b/tests/baselines/reference/scannerNumericLiteral6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. scannerNumericLiteral6.ts(1,4): error TS1124: Digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== scannerNumericLiteral6.ts (1 errors) ==== 1e+ diff --git a/tests/baselines/reference/scannerNumericLiteral7(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral7(target=es5).errors.txt new file mode 100644 index 0000000000000..8be459ad0b78e --- /dev/null +++ b/tests/baselines/reference/scannerNumericLiteral7(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== scannerNumericLiteral7.ts (0 errors) ==== + 1e+0 \ No newline at end of file diff --git a/tests/baselines/reference/scannerNumericLiteral8(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral8(target=es5).errors.txt index 970824ba5ce0f..3c9b781572ca4 100644 --- a/tests/baselines/reference/scannerNumericLiteral8(target=es5).errors.txt +++ b/tests/baselines/reference/scannerNumericLiteral8(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. scannerNumericLiteral8.ts(1,1): error TS1121: Octal literals are not allowed. Use the syntax '-0o3'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== scannerNumericLiteral8.ts (1 errors) ==== -03 ~~~ diff --git a/tests/baselines/reference/scannerNumericLiteral9(target=es5).errors.txt b/tests/baselines/reference/scannerNumericLiteral9(target=es5).errors.txt index 93ae6266ab43b..4177aeda032ce 100644 --- a/tests/baselines/reference/scannerNumericLiteral9(target=es5).errors.txt +++ b/tests/baselines/reference/scannerNumericLiteral9(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. scannerNumericLiteral9.ts(1,1): error TS1489: Decimals with leading zeros are not allowed. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== scannerNumericLiteral9.ts (1 errors) ==== 009 ~~~ diff --git a/tests/baselines/reference/shadowedReservedCompilerDeclarationsWithNoEmit(target=es5).errors.txt b/tests/baselines/reference/shadowedReservedCompilerDeclarationsWithNoEmit(target=es5).errors.txt index c3b0e5b0e9332..bd21624f9fb2a 100644 --- a/tests/baselines/reference/shadowedReservedCompilerDeclarationsWithNoEmit(target=es5).errors.txt +++ b/tests/baselines/reference/shadowedReservedCompilerDeclarationsWithNoEmit(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. shadowedReservedCompilerDeclarationsWithNoEmit.ts(23,13): error TS1215: Invalid use of 'arguments'. Modules are automatically in strict mode. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== shadowedReservedCompilerDeclarationsWithNoEmit.ts (1 errors) ==== // Shadowed captured this and super class Base { } diff --git a/tests/baselines/reference/shorthand-property-es5-es6(target=es5).errors.txt b/tests/baselines/reference/shorthand-property-es5-es6(target=es5).errors.txt index 5ce21bfdd8af2..a831960cc5e44 100644 --- a/tests/baselines/reference/shorthand-property-es5-es6(target=es5).errors.txt +++ b/tests/baselines/reference/shorthand-property-es5-es6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. test.ts(1,19): error TS2307: Cannot find module './foo' or its corresponding type declarations. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.ts (1 errors) ==== import {foo} from './foo'; ~~~~~~~ diff --git a/tests/baselines/reference/shorthandOfExportedEntity02_targetES5_CommonJS(target=es5).errors.txt b/tests/baselines/reference/shorthandOfExportedEntity02_targetES5_CommonJS(target=es5).errors.txt new file mode 100644 index 0000000000000..c6f0feffda9d9 --- /dev/null +++ b/tests/baselines/reference/shorthandOfExportedEntity02_targetES5_CommonJS(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== shorthandOfExportedEntity02_targetES5_CommonJS.ts (0 errors) ==== + export const test = "test"; + + export function foo () { + const x = { test }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring(target=es5).errors.txt b/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring(target=es5).errors.txt index 6a12186cc76bd..b94072a13099b 100644 --- a/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring(target=es5).errors.txt +++ b/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. shorthandPropertyAssignmentsInDestructuring.ts(38,9): error TS2322: Type 'number' is not assignable to type 'string'. shorthandPropertyAssignmentsInDestructuring.ts(44,12): error TS2322: Type 'number' is not assignable to type 'string'. shorthandPropertyAssignmentsInDestructuring.ts(70,5): error TS2322: Type 'number' is not assignable to type 'string'. @@ -9,6 +10,7 @@ shorthandPropertyAssignmentsInDestructuring.ts(85,26): error TS2322: Type 'numbe shorthandPropertyAssignmentsInDestructuring.ts(111,14): error TS1312: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== shorthandPropertyAssignmentsInDestructuring.ts (9 errors) ==== (function() { var s0; diff --git a/tests/baselines/reference/sourceMap-Comment1(target=es5).errors.txt b/tests/baselines/reference/sourceMap-Comment1(target=es5).errors.txt new file mode 100644 index 0000000000000..d1eb52ef0e75a --- /dev/null +++ b/tests/baselines/reference/sourceMap-Comment1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-Comment1.ts (0 errors) ==== + // Comment \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-Comments(target=es5).errors.txt b/tests/baselines/reference/sourceMap-Comments(target=es5).errors.txt new file mode 100644 index 0000000000000..4d27b76f5ab93 --- /dev/null +++ b/tests/baselines/reference/sourceMap-Comments(target=es5).errors.txt @@ -0,0 +1,25 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-Comments.ts (0 errors) ==== + namespace sas.tools { + export class Test { + public doX(): void { + let f: number = 2; + switch (f) { + case 1: + break; + case 2: + //line comment 1 + //line comment 2 + break; + case 3: + //a comment + break; + } + } + } + + } + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-Comments2(target=es5).errors.txt b/tests/baselines/reference/sourceMap-Comments2(target=es5).errors.txt new file mode 100644 index 0000000000000..8b4b2bc7ce1cd --- /dev/null +++ b/tests/baselines/reference/sourceMap-Comments2(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-Comments2.ts (0 errors) ==== + function foo(str: string, num: number): void { + return; + } + + /** + * some sort of block quote + */ + function bar(str: string, num: number): void { + return; + } + + // some sort of comment + function baz(str: string, num: number): void { + return; + } + + function qat(str: string, num: number): void { + return; + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-EmptyFile1(target=es5).errors.txt b/tests/baselines/reference/sourceMap-EmptyFile1(target=es5).errors.txt new file mode 100644 index 0000000000000..9800437798591 --- /dev/null +++ b/tests/baselines/reference/sourceMap-EmptyFile1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-EmptyFile1.ts (0 errors) ==== + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1(target=es5).errors.txt b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1(target=es5).errors.txt new file mode 100644 index 0000000000000..1482fe3be9bf5 --- /dev/null +++ b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-InterfacePrecedingVariableDeclaration1.ts (0 errors) ==== + interface I {} + var x = 0; \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-LineBreaks(target=es5).errors.txt b/tests/baselines/reference/sourceMap-LineBreaks(target=es5).errors.txt new file mode 100644 index 0000000000000..9d935f0aa8aa4 --- /dev/null +++ b/tests/baselines/reference/sourceMap-LineBreaks(target=es5).errors.txt @@ -0,0 +1,20 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-LineBreaks.ts (0 errors) ==== + var endsWithlineSeparator = 10; 
var endsWithParagraphSeparator = 10; 
var endsWithNextLine = 1;…var endsWithLineFeed = 1; + var endsWithCarriageReturnLineFeed = 1; + var endsWithCarriageReturn = 1; + var endsWithLineFeedCarriageReturn = 1; + + var endsWithLineFeedCarriageReturnLineFeed = 1; + + var stringLiteralWithLineFeed = "line 1\ + line 2"; + var stringLiteralWithCarriageReturnLineFeed = "line 1\ + line 2"; + var stringLiteralWithCarriageReturn = "line 1\ + line 2"; + + var stringLiteralWithLineSeparator = "line 1\
line 2";
var stringLiteralWithParagraphSeparator = "line 1\
line 2";
var stringLiteralWithNextLine = "line 1\…line 2"; \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-NewLine1(target=es5).errors.txt b/tests/baselines/reference/sourceMap-NewLine1(target=es5).errors.txt new file mode 100644 index 0000000000000..5d4918c94daf9 --- /dev/null +++ b/tests/baselines/reference/sourceMap-NewLine1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-NewLine1.ts (0 errors) ==== + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SemiColon1(target=es5).errors.txt b/tests/baselines/reference/sourceMap-SemiColon1(target=es5).errors.txt new file mode 100644 index 0000000000000..84cebdf1d0162 --- /dev/null +++ b/tests/baselines/reference/sourceMap-SemiColon1(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-SemiColon1.ts (0 errors) ==== + ; + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SingleSpace1(target=es5).errors.txt b/tests/baselines/reference/sourceMap-SingleSpace1(target=es5).errors.txt new file mode 100644 index 0000000000000..06f23c2fd3cd5 --- /dev/null +++ b/tests/baselines/reference/sourceMap-SingleSpace1(target=es5).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-SingleSpace1.ts (0 errors) ==== + \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine(target=es5).errors.txt b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine(target=es5).errors.txt new file mode 100644 index 0000000000000..151e3b64f82fb --- /dev/null +++ b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMap-StringLiteralWithNewLine.ts (0 errors) ==== + interface Document { + } + interface Window { + document: Document; + } + declare var window: Window; + + namespace Foo { + var x = "test1"; + var y = "test 2\ + isn't this a lot of fun"; + var z = window.document; + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationClass(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationClass(target=es5).errors.txt new file mode 100644 index 0000000000000..468e4e0d6a24d --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationClass(target=es5).errors.txt @@ -0,0 +1,23 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationClass.ts (0 errors) ==== + class Greeter { + constructor(public greeting: string, ...b: string[]) { + } + greet() { + return "

" + this.greeting + "

"; + } + private x: string; + private x1: number = 10; + private fn() { + return this.greeting; + } + get greetings() { + return this.greeting; + } + set greetings(greetings: string) { + this.greeting = greetings; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDecorators(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDecorators(target=es5).errors.txt new file mode 100644 index 0000000000000..7721108445e2c --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDecorators(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDecorators.ts (0 errors) ==== + declare function ClassDecorator1(target: Function): void; + declare function ClassDecorator2(x: number): (target: Function) => void; + declare function PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void; + declare function PropertyDecorator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void; + declare function ParameterDecorator1(target: Object, key: string | symbol, paramIndex: number): void; + declare function ParameterDecorator2(x: number): (target: Object, key: string | symbol, paramIndex: number) => void; + + @ClassDecorator1 + @ClassDecorator2(10) + class Greeter { + constructor( + @ParameterDecorator1 + @ParameterDecorator2(20) + public greeting: string, + + @ParameterDecorator1 + @ParameterDecorator2(30) + ...b: string[]) { + } + + @PropertyDecorator1 + @PropertyDecorator2(40) + greet() { + return "

" + this.greeting + "

"; + } + + @PropertyDecorator1 + @PropertyDecorator2(50) + private x: string; + + @PropertyDecorator1 + @PropertyDecorator2(60) + private static x1: number = 10; + + private fn( + @ParameterDecorator1 + @ParameterDecorator2(70) + x: number) { + return this.greeting; + } + + @PropertyDecorator1 + @PropertyDecorator2(80) + get greetings() { + return this.greeting; + } + + set greetings( + @ParameterDecorator1 + @ParameterDecorator2(90) + greetings: string) { + this.greeting = greetings; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..b069cc6a7be89 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).errors.txt @@ -0,0 +1,97 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForArrayBindingPattern.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + function getRobot() { + return robotA; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + function getMultiRobot() { + return multiRobotA; + } + + for (let [, nameA] = robotA, i = 0; i < 1; i++) { + console.log(nameA); + } + for (let [, nameA] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA); + } + for (let [, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA); + } + for (let [, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for (let [, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for (let [, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(primarySkillA); + } + + for (let [numberB] = robotA, i = 0; i < 1; i++) { + console.log(numberB); + } + for (let [numberB] = getRobot(), i = 0; i < 1; i++) { + console.log(numberB); + } + for (let [numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberB); + } + for (let [nameB] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameB); + } + for (let [nameB] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameB); + } + for (let [nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameB); + } + + for (let [numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let [numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let [numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let [nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameMA); + } + for (let [nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameMA); + } + for (let [nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameMA); + } + + for (let [numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) { + console.log(numberA3); + } + for (let [numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) { + console.log(numberA3); + } + for (let [numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberA3); + } + for (let [...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) { + console.log(multiRobotAInfo); + } + for (let [...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(multiRobotAInfo); + } + for (let [...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(multiRobotAInfo); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).types index 11a3aa5c22453..c204f45b43ddf 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).errors.txt new file mode 100644 index 0000000000000..2db494abc1a4c --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).errors.txt @@ -0,0 +1,103 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForArrayBindingPattern2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + function getRobot() { + return robotA; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + function getMultiRobot() { + return multiRobotA; + } + + let nameA: string, primarySkillA: string, secondarySkillA: string; + let numberB: number, nameB: string; + let numberA2: number, nameA2: string, skillA2: string, nameMA: string; + let numberA3: number, robotAInfo: (number | string)[], multiRobotAInfo: (string | [string, string])[]; + let i: number; + + for ([, nameA] = robotA, i = 0; i < 1; i++) { + console.log(nameA); + } + for ([, nameA] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA); + } + for ([, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA); + } + for ([, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for ([, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for ([, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(primarySkillA); + } + + for ([numberB] = robotA, i = 0; i < 1; i++) { + console.log(numberB); + } + for ([numberB] = getRobot(), i = 0; i < 1; i++) { + console.log(numberB); + } + for ([numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberB); + } + for ([nameB] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameB); + } + for ([nameB] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameB); + } + for ([nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameB); + } + + for ([numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) { + console.log(nameA2); + } + for ([numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA2); + } + for ([numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA2); + } + for ([nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameMA); + } + for ([nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameMA); + } + for ([nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameMA); + } + + for ([numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) { + console.log(numberA3); + } + for ([numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) { + console.log(numberA3); + } + for ([numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberA3); + } + for ([...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) { + console.log(multiRobotAInfo); + } + for ([...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(multiRobotAInfo); + } + for ([...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(multiRobotAInfo); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).types index 4e98942c92a10..9935fe903cb7c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).errors.txt new file mode 100644 index 0000000000000..724d6de48cc17 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).errors.txt @@ -0,0 +1,113 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, string[]]; + + let robotA: Robot = [1, "mower", "mowing"]; + function getRobot() { + return robotA; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + function getMultiRobot() { + return multiRobotA; + } + + for (let [, nameA ="name"] = robotA, i = 0; i < 1; i++) { + console.log(nameA); + } + for (let [, nameA = "name"] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA); + } + for (let [, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA); + } + for (let [, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for (let [, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for (let [, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(primarySkillA); + } + + for (let [numberB = -1] = robotA, i = 0; i < 1; i++) { + console.log(numberB); + } + for (let [numberB = -1] = getRobot(), i = 0; i < 1; i++) { + console.log(numberB); + } + for (let [numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberB); + } + for (let [nameB = "name"] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameB); + } + for (let [nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameB); + } + for (let [nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameB); + } + + for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let + [nameMA = "noName", + [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"] + ] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameMA); + } + for (let [nameMA = "noName", + [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"] + ] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameMA); + } + for (let [nameMA = "noName", + [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"] + ] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameMA); + } + + for (let [numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) { + console.log(numberA3); + } + for (let [numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) { + console.log(numberA3); + } + for (let [numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberA3); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).types index f20d3304689be..8e969e4a1403a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).errors.txt new file mode 100644 index 0000000000000..7a71b130696b1 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).errors.txt @@ -0,0 +1,119 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + function getRobot() { + return robotA; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + function getMultiRobot() { + return multiRobotA; + } + + let nameA: string, primarySkillA: string, secondarySkillA: string; + let numberB: number, nameB: string; + let numberA2: number, nameA2: string, skillA2: string, nameMA: string; + let numberA3: number, robotAInfo: (number | string)[], multiRobotAInfo: (string | [string, string])[]; + let i: number; + + for ([, nameA = "name"] = robotA, i = 0; i < 1; i++) { + console.log(nameA); + } + for ([, nameA = "name"] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA); + } + for ([, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA); + } + for ([, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for ([, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(primarySkillA); + } + for ([, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(primarySkillA); + } + + for ([numberB = -1] = robotA, i = 0; i < 1; i++) { + console.log(numberB); + } + for ([numberB = -1] = getRobot(), i = 0; i < 1; i++) { + console.log(numberB); + } + for ([numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberB); + } + for ([nameB = "name"] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameB); + } + for ([nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameB); + } + for ([nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameB); + } + + for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) { + console.log(nameA2); + } + for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) { + console.log(nameA2); + } + for ([numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(nameA2); + } + for (let + [nameMA = "noName", + [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"] + ] = multiRobotA, i = 0; i < 1; i++) { + console.log(nameMA); + } + for ([nameMA = "noName", + [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"] + ] = getMultiRobot(), i = 0; i < 1; i++) { + console.log(nameMA); + } + for ([nameMA = "noName", + [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["none", "none"] + ] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) { + console.log(nameMA); + } + + for ([numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) { + console.log(numberA3); + } + for ([numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) { + console.log(numberA3); + } + for ([numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) { + console.log(numberA3); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).types index e52ddba83cbc6..58deff97b8035 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..29668915827b2 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).errors.txt @@ -0,0 +1,100 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfArrayBindingPattern.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + let robotB: Robot = [2, "trimmer", "trimming"]; + let robots = [robotA, robotB]; + function getRobots() { + return robots; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + let multiRobots = [multiRobotA, multiRobotB]; + function getMultiRobots() { + return multiRobots; + } + + for (let [, nameA] of robots) { + console.log(nameA); + } + for (let [, nameA] of getRobots()) { + console.log(nameA); + } + for (let [, nameA] of [robotA, robotB]) { + console.log(nameA); + } + for (let [, [primarySkillA, secondarySkillA]] of multiRobots) { + console.log(primarySkillA); + } + for (let [, [primarySkillA, secondarySkillA]] of getMultiRobots()) { + console.log(primarySkillA); + } + for (let [, [primarySkillA, secondarySkillA]] of [multiRobotA, multiRobotB]) { + console.log(primarySkillA); + } + + for (let [numberB] of robots) { + console.log(numberB); + } + for (let [numberB] of getRobots()) { + console.log(numberB); + } + for (let [numberB] of [robotA, robotB]) { + console.log(numberB); + } + for (let [nameB] of multiRobots) { + console.log(nameB); + } + for (let [nameB] of getMultiRobots()) { + console.log(nameB); + } + for (let [nameB] of [multiRobotA, multiRobotB]) { + console.log(nameB); + } + + for (let [numberA2, nameA2, skillA2] of robots) { + console.log(nameA2); + } + for (let [numberA2, nameA2, skillA2] of getRobots()) { + console.log(nameA2); + } + for (let [numberA2, nameA2, skillA2] of [robotA, robotB]) { + console.log(nameA2); + } + for (let [nameMA, [primarySkillA, secondarySkillA]] of multiRobots) { + console.log(nameMA); + } + for (let [nameMA, [primarySkillA, secondarySkillA]] of getMultiRobots()) { + console.log(nameMA); + } + for (let [nameMA, [primarySkillA, secondarySkillA]] of [multiRobotA, multiRobotB]) { + console.log(nameMA); + } + + for (let [numberA3, ...robotAInfo] of robots) { + console.log(numberA3); + } + for (let [numberA3, ...robotAInfo] of getRobots()) { + console.log(numberA3); + } + for (let [numberA3, ...robotAInfo] of [robotA, robotB]) { + console.log(numberA3); + } + for (let [...multiRobotAInfo] of multiRobots) { + console.log(multiRobotAInfo); + } + for (let [...multiRobotAInfo] of getMultiRobots()) { + console.log(multiRobotAInfo); + } + for (let [...multiRobotAInfo] of [multiRobotA, multiRobotB]) { + console.log(multiRobotAInfo); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).types index cca716efa5480..83f96647c5d6e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).errors.txt new file mode 100644 index 0000000000000..b0bbb3eb393eb --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).errors.txt @@ -0,0 +1,105 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfArrayBindingPattern2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + let robotB: Robot = [2, "trimmer", "trimming"]; + let robots = [robotA, robotB]; + function getRobots() { + return robots; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + let multiRobots = [multiRobotA, multiRobotB]; + function getMultiRobots() { + return multiRobots; + } + + let nameA: string, primarySkillA: string, secondarySkillA: string; + let numberB: number, nameB: string; + let numberA2: number, nameA2: string, skillA2: string, nameMA: string; + let numberA3: number, robotAInfo: (number | string)[], multiRobotAInfo: (string | [string, string])[]; + + for ([, nameA] of robots) { + console.log(nameA); + } + for ([, nameA] of getRobots()) { + console.log(nameA); + } + for ([, nameA] of [robotA, robotB]) { + console.log(nameA); + } + for ([, [primarySkillA, secondarySkillA]] of multiRobots) { + console.log(primarySkillA); + } + for ([, [primarySkillA, secondarySkillA]] of getMultiRobots()) { + console.log(primarySkillA); + } + for ([, [primarySkillA, secondarySkillA]] of [multiRobotA, multiRobotB]) { + console.log(primarySkillA); + } + + for ([numberB] of robots) { + console.log(numberB); + } + for ([numberB] of getRobots()) { + console.log(numberB); + } + for ([numberB] of [robotA, robotB]) { + console.log(numberB); + } + for ([nameB] of multiRobots) { + console.log(nameB); + } + for ([nameB] of getMultiRobots()) { + console.log(nameB); + } + for ([nameB] of [multiRobotA, multiRobotB]) { + console.log(nameB); + } + + for ([numberA2, nameA2, skillA2] of robots) { + console.log(nameA2); + } + for ([numberA2, nameA2, skillA2] of getRobots()) { + console.log(nameA2); + } + for ([numberA2, nameA2, skillA2] of [robotA, robotB]) { + console.log(nameA2); + } + for ([nameMA, [primarySkillA, secondarySkillA]] of multiRobots) { + console.log(nameMA); + } + for ([nameMA, [primarySkillA, secondarySkillA]] of getMultiRobots()) { + console.log(nameMA); + } + for ([nameMA, [primarySkillA, secondarySkillA]] of [multiRobotA, multiRobotB]) { + console.log(nameMA); + } + + for ([numberA3, ...robotAInfo] of robots) { + console.log(numberA3); + } + for ([numberA3, ...robotAInfo] of getRobots()) { + console.log(numberA3); + } + for ([numberA3, ...robotAInfo] of [robotA, robotB]) { + console.log(numberA3); + } + for ([...multiRobotAInfo] of multiRobots) { + console.log(multiRobotAInfo); + } + for ([...multiRobotAInfo] of getMultiRobots()) { + console.log(multiRobotAInfo); + } + for ([...multiRobotAInfo] of [multiRobotA, multiRobotB]) { + console.log(multiRobotAInfo); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).types index 8cfff566e87b2..9b3cffac9eb0d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).errors.txt new file mode 100644 index 0000000000000..3356b2312aa16 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).errors.txt @@ -0,0 +1,109 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + let robotB: Robot = [2, "trimmer", "trimming"]; + let robots = [robotA, robotB]; + function getRobots() { + return robots; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + let multiRobots = [multiRobotA, multiRobotB]; + function getMultiRobots() { + return multiRobots; + } + + for (let [, nameA = "noName"] of robots) { + console.log(nameA); + } + for (let [, nameA = "noName"] of getRobots()) { + console.log(nameA); + } + for (let [, nameA = "noName"] of [robotA, robotB]) { + console.log(nameA); + } + for (let [, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of multiRobots) { + console.log(primarySkillA); + } + for (let [, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of getMultiRobots()) { + console.log(primarySkillA); + } + for (let [, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of [multiRobotA, multiRobotB]) { + console.log(primarySkillA); + } + + for (let [numberB = -1] of robots) { + console.log(numberB); + } + for (let [numberB = -1] of getRobots()) { + console.log(numberB); + } + for (let [numberB = -1] of [robotA, robotB]) { + console.log(numberB); + } + for (let [nameB = "noName"] of multiRobots) { + console.log(nameB); + } + for (let [nameB = "noName"] of getMultiRobots()) { + console.log(nameB); + } + for (let [nameB = "noName"] of [multiRobotA, multiRobotB]) { + console.log(nameB); + } + + for (let [numberA2 = -1, nameA2 = "noName", skillA2 = "skill"] of robots) { + console.log(nameA2); + } + for (let [numberA2 = -1, nameA2 = "noName", skillA2 = "skill"] of getRobots()) { + console.log(nameA2); + } + for (let [numberA2 = -1, nameA2 = "noName", skillA2 = "skill"] of [robotA, robotB]) { + console.log(nameA2); + } + for (let [nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of multiRobots) { + console.log(nameMA); + } + for (let [nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of getMultiRobots()) { + console.log(nameMA); + } + for (let [nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of [multiRobotA, multiRobotB]) { + console.log(nameMA); + } + + for (let [numberA3 = -1, ...robotAInfo] of robots) { + console.log(numberA3); + } + for (let [numberA3 = -1, ...robotAInfo] of getRobots()) { + console.log(numberA3); + } + for (let [numberA3 = -1, ...robotAInfo] of [robotA, robotB]) { + console.log(numberA3); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).types index c932fd489b889..a46659bebcf09 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).errors.txt new file mode 100644 index 0000000000000..772513f8d3e40 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).errors.txt @@ -0,0 +1,114 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + let robotA: Robot = [1, "mower", "mowing"]; + let robotB: Robot = [2, "trimmer", "trimming"]; + let robots = [robotA, robotB]; + function getRobots() { + return robots; + } + + let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + let multiRobots = [multiRobotA, multiRobotB]; + function getMultiRobots() { + return multiRobots; + } + + let nameA: string, primarySkillA: string, secondarySkillA: string; + let numberB: number, nameB: string; + let numberA2: number, nameA2: string, skillA2: string, nameMA: string; + let numberA3: number, robotAInfo: (number | string)[], multiRobotAInfo: (string | [string, string])[]; + + for ([, nameA = "noName"] of robots) { + console.log(nameA); + } + for ([, nameA = "noName"] of getRobots()) { + console.log(nameA); + } + for ([, nameA = "noName"] of [robotA, robotB]) { + console.log(nameA); + } + for ([, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of multiRobots) { + console.log(primarySkillA); + } + for ([, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of getMultiRobots()) { + console.log(primarySkillA); + } + for ([, [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of [multiRobotA, multiRobotB]) { + console.log(primarySkillA); + } + + for ([numberB = -1] of robots) { + console.log(numberB); + } + for ([numberB = -1] of getRobots()) { + console.log(numberB); + } + for ([numberB = -1] of [robotA, robotB]) { + console.log(numberB); + } + for ([nameB = "noName"] of multiRobots) { + console.log(nameB); + } + for ([nameB = "noName"] of getMultiRobots()) { + console.log(nameB); + } + for ([nameB = "noName"] of [multiRobotA, multiRobotB]) { + console.log(nameB); + } + + for ([numberA2 = -1, nameA2 = "noName", skillA2 = "skill"] of robots) { + console.log(nameA2); + } + for ([numberA2 = -1, nameA2 = "noName", skillA2 = "skill"] of getRobots()) { + console.log(nameA2); + } + for ([numberA2 = -1, nameA2 = "noName", skillA2 = "skill"] of [robotA, robotB]) { + console.log(nameA2); + } + for ([nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of multiRobots) { + console.log(nameMA); + } + for ([nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of getMultiRobots()) { + console.log(nameMA); + } + for ([nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["skill1", "skill2"]] of [multiRobotA, multiRobotB]) { + console.log(nameMA); + } + + for ([numberA3 = -1, ...robotAInfo] of robots) { + console.log(numberA3); + } + for ([numberA3 = -1, ...robotAInfo] of getRobots()) { + console.log(numberA3); + } + for ([numberA3 = -1, ...robotAInfo] of [robotA, robotB]) { + console.log(numberA3); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).types index 0659af5e1a0f5..bf97e10e6cea4 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..ac2d4b2b6e020 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).errors.txt @@ -0,0 +1,72 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfObjectBindingPattern.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + interface Robot { + name: string; + skill: string; + } + + interface MultiRobot { + name: string; + skills: { + primary: string; + secondary: string; + }; + } + + let robots: Robot[] = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; + let multiRobots: MultiRobot[] = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; + + function getRobots() { + return robots; + } + + function getMultiRobots() { + return multiRobots; + } + + for (let {name: nameA } of robots) { + console.log(nameA); + } + for (let {name: nameA } of getRobots()) { + console.log(nameA); + } + for (let {name: nameA } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for (let { skills: { primary: primaryA, secondary: secondaryA } } of multiRobots) { + console.log(primaryA); + } + for (let { skills: { primary: primaryA, secondary: secondaryA } } of getMultiRobots()) { + console.log(primaryA); + } + for (let { skills: { primary: primaryA, secondary: secondaryA } } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(primaryA); + } + + for (let {name: nameA, skill: skillA } of robots) { + console.log(nameA); + } + for (let {name: nameA, skill: skillA } of getRobots()) { + console.log(nameA); + } + for (let {name: nameA, skill: skillA } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of multiRobots) { + console.log(nameA); + } + for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of getMultiRobots()) { + console.log(nameA); + } + for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(nameA); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).types index ed48a298e5bba..08aad6c3ee36f 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } interface Robot { name: string; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).errors.txt new file mode 100644 index 0000000000000..e9992335e3bcc --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).errors.txt @@ -0,0 +1,114 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfObjectBindingPattern2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + interface Robot { + name: string; + skill: string; + } + + interface MultiRobot { + name: string; + skills: { + primary: string; + secondary: string; + }; + } + + let robots: Robot[] = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; + let multiRobots: MultiRobot[] = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; + + function getRobots() { + return robots; + } + + function getMultiRobots() { + return multiRobots; + } + + let nameA: string, primaryA: string, secondaryA: string, i: number, skillA: string; + let name: string, primary: string, secondary: string, skill: string; + + for ({name: nameA } of robots) { + console.log(nameA); + } + for ({name: nameA } of getRobots()) { + console.log(nameA); + } + for ({name: nameA } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({ skills: { primary: primaryA, secondary: secondaryA } } of multiRobots) { + console.log(primaryA); + } + for ({ skills: { primary: primaryA, secondary: secondaryA } } of getMultiRobots()) { + console.log(primaryA); + } + for ({ skills: { primary: primaryA, secondary: secondaryA } } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(primaryA); + } + for ({name } of robots) { + console.log(nameA); + } + for ({name } of getRobots()) { + console.log(nameA); + } + for ({name } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({ skills: { primary, secondary } } of multiRobots) { + console.log(primaryA); + } + for ({ skills: { primary, secondary } } of getMultiRobots()) { + console.log(primaryA); + } + for ({ skills: { primary, secondary } } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(primaryA); + } + + + for ({name: nameA, skill: skillA } of robots) { + console.log(nameA); + } + for ({name: nameA, skill: skillA } of getRobots()) { + console.log(nameA); + } + for ({name: nameA, skill: skillA } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of multiRobots) { + console.log(nameA); + } + for ({name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of getMultiRobots()) { + console.log(nameA); + } + for ({name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(nameA); + } + for ({name, skill } of robots) { + console.log(nameA); + } + for ({name, skill } of getRobots()) { + console.log(nameA); + } + for ({name, skill } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({name, skills: { primary, secondary } } of multiRobots) { + console.log(nameA); + } + for ({name, skills: { primary, secondary } } of getMultiRobots()) { + console.log(nameA); + } + for ({name, skills: { primary, secondary } } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(nameA); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).types index 63c5d399ef3d1..c373b97104869 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } interface Robot { name: string; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).errors.txt new file mode 100644 index 0000000000000..0ed48556f0e05 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).errors.txt @@ -0,0 +1,94 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + interface Robot { + name: string; + skill: string; + } + + interface MultiRobot { + name: string; + skills: { + primary?: string; + secondary?: string; + }; + } + + let robots: Robot[] = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; + let multiRobots: MultiRobot[] = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; + + function getRobots() { + return robots; + } + + function getMultiRobots() { + return multiRobots; + } + + for (let {name: nameA = "noName" } of robots) { + console.log(nameA); + } + for (let {name: nameA = "noName" } of getRobots()) { + console.log(nameA); + } + for (let {name: nameA = "noName" } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for (let { skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } = + { primary: "nosKill", secondary: "noSkill" } } of multiRobots) { + console.log(primaryA); + } + for (let { skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } = + { primary: "nosKill", secondary: "noSkill" } } of getMultiRobots()) { + console.log(primaryA); + } + for (let { skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } = + { primary: "nosKill", secondary: "noSkill" } } of + [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(primaryA); + } + + for (let {name: nameA = "noName", skill: skillA = "noSkill" } of robots) { + console.log(nameA); + } + for (let {name: nameA = "noName", skill: skillA = "noSkill" } of getRobots()) { + console.log(nameA); + } + for (let {name: nameA = "noName", skill: skillA = "noSkill" } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for (let { + name: nameA = "noName", + skills: { + primary: primaryA = "primary", + secondary: secondaryA = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of multiRobots) { + console.log(nameA); + } + for (let { + name: nameA = "noName", + skills: { + primary: primaryA = "primary", + secondary: secondaryA = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of getMultiRobots()) { + console.log(nameA); + } + for (let { + name: nameA = "noName", + skills: { + primary: primaryA = "primary", + secondary: secondaryA = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(nameA); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).types index 6b340234e2806..f360e79ce443c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } interface Robot { name: string; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).errors.txt new file mode 100644 index 0000000000000..49cb783c6bccd --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).errors.txt @@ -0,0 +1,171 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + interface Robot { + name: string; + skill: string; + } + + interface MultiRobot { + name: string; + skills: { + primary: string; + secondary: string; + }; + } + + let robots: Robot[] = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; + let multiRobots: MultiRobot[] = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; + + function getRobots() { + return robots; + } + + function getMultiRobots() { + return multiRobots; + } + + let nameA: string, primaryA: string, secondaryA: string, i: number, skillA: string; + let name: string, primary: string, secondary: string, skill: string; + + for ({name: nameA = "noName" } of robots) { + console.log(nameA); + } + for ({name: nameA = "noName" } of getRobots()) { + console.log(nameA); + } + for ({name: nameA = "noName" } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({ skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } = + { primary: "nosKill", secondary: "noSkill" } } of multiRobots) { + console.log(primaryA); + } + for ({ skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } = + { primary: "nosKill", secondary: "noSkill" } } of getMultiRobots()) { + console.log(primaryA); + } + for ({ skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } = + { primary: "nosKill", secondary: "noSkill" } } of + [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(primaryA); + } + + for ({ name = "noName" } of robots) { + console.log(nameA); + } + for ({ name = "noName" } of getRobots()) { + console.log(nameA); + } + for ({ name = "noName" } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({ + skills: { + primary = "primary", + secondary = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of multiRobots) { + console.log(primaryA); + } + for ({ + skills: { + primary = "primary", + secondary = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of getMultiRobots()) { + console.log(primaryA); + } + for ({ + skills: { + primary = "primary", + secondary = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(primaryA); + } + + + for ({name: nameA = "noName", skill: skillA = "noSkill" } of robots) { + console.log(nameA); + } + for ({name: nameA = "noName", skill: skillA = "noSkill" } of getRobots()) { + console.log(nameA); + } + for ({name: nameA = "noName", skill: skillA = "noSkill" } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({ + name: nameA = "noName", + skills: { + primary: primaryA = "primary", + secondary: secondaryA = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of multiRobots) { + console.log(nameA); + } + for ({ + name: nameA = "noName", + skills: { + primary: primaryA = "primary", + secondary: secondaryA = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of getMultiRobots()) { + console.log(nameA); + } + for ({ + name: nameA = "noName", + skills: { + primary: primaryA = "primary", + secondary: secondaryA = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(nameA); + } + + for ({ name = "noName", skill = "noSkill" } of robots) { + console.log(nameA); + } + for ({ name = "noName", skill = "noSkill" } of getRobots()) { + console.log(nameA); + } + for ({ name = "noName", skill = "noSkill" } of [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]) { + console.log(nameA); + } + for ({ + name = "noName", + skills: { + primary = "primary", + secondary = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of multiRobots) { + console.log(nameA); + } + for ({ + name = "noName", + skills: { + primary = "primary", + secondary = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of getMultiRobots()) { + console.log(nameA); + } + for ({ + name = "noName", + skills: { + primary = "primary", + secondary = "secondary" + } = { primary: "noSkill", secondary: "noSkill" } + } of [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, + { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) { + console.log(nameA); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).types index 61071a5da110c..29a674352710f 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } interface Robot { name: string; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..a891835da728a --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).errors.txt @@ -0,0 +1,38 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringParametertArrayBindingPattern.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + var robotA: Robot = [1, "mower", "mowing"]; + + function foo1([, nameA]: Robot) { + console.log(nameA); + } + + function foo2([numberB]: Robot) { + console.log(numberB); + } + + function foo3([numberA2, nameA2, skillA2]: Robot) { + console.log(nameA2); + } + + function foo4([numberA3, ...robotAInfo]: Robot) { + console.log(robotAInfo); + } + + foo1(robotA); + foo1([2, "trimmer", "trimming"]); + + foo2(robotA); + foo2([2, "trimmer", "trimming"]); + + foo3(robotA); + foo3([2, "trimmer", "trimming"]); + + foo4(robotA); + foo4([2, "trimmer", "trimming"]); \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).types index 52edb6fd0a0ab..5b0be15036f95 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).errors.txt new file mode 100644 index 0000000000000..2347af6e283d2 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).errors.txt @@ -0,0 +1,38 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringParametertArrayBindingPattern2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [string, [string, string]]; + var robotA: Robot = ["trimmer", ["trimming", "edging"]]; + + function foo1([, skillA]: Robot) { + console.log(skillA); + } + + function foo2([nameMB]: Robot) { + console.log(nameMB); + } + + function foo3([nameMA, [primarySkillA, secondarySkillA]]: Robot) { + console.log(nameMA); + } + + function foo4([...multiRobotAInfo]: Robot) { + console.log(multiRobotAInfo); + } + + foo1(robotA); + foo1(["roomba", ["vacuum", "mopping"]]); + + foo2(robotA); + foo2(["roomba", ["vacuum", "mopping"]]); + + foo3(robotA); + foo3(["roomba", ["vacuum", "mopping"]]); + + foo4(robotA); + foo4(["roomba", ["vacuum", "mopping"]]); \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).types index 4de0b5be5819c..26afa5bf44e09 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [string, [string, string]]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).errors.txt new file mode 100644 index 0000000000000..b46dbb974863e --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).errors.txt @@ -0,0 +1,38 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + var robotA: Robot = [1, "mower", "mowing"]; + + function foo1([, nameA = "noName"]: Robot = [-1, "name", "skill"]) { + console.log(nameA); + } + + function foo2([numberB = -1]: Robot = [-1, "name", "skill"]) { + console.log(numberB); + } + + function foo3([numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"]) { + console.log(nameA2); + } + + function foo4([numberA3 = -1, ...robotAInfo]: Robot = [-1, "name", "skill"]) { + console.log(robotAInfo); + } + + foo1(robotA); + foo1([2, "trimmer", "trimming"]); + + foo2(robotA); + foo2([2, "trimmer", "trimming"]); + + foo3(robotA); + foo3([2, "trimmer", "trimming"]); + + foo4(robotA); + foo4([2, "trimmer", "trimming"]); \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).types index 8f83f04f17c7a..e47e6d3aebab5 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).errors.txt new file mode 100644 index 0000000000000..ea4e79a07a088 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).errors.txt @@ -0,0 +1,34 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [string, string[]]; + var robotA: Robot = ["trimmer", ["trimming", "edging"]]; + + function foo1([, skillA = ["noSkill", "noSkill"]]: Robot= ["name", ["skill1", "skill2"]]) { + console.log(skillA); + } + + function foo2([nameMB = "noName"]: Robot = ["name", ["skill1", "skill2"]]) { + console.log(nameMB); + } + + function foo3([nameMA = "noName", [ + primarySkillA = "primary", + secondarySkillA = "secondary" + ] = ["noSkill", "noSkill"]]: Robot) { + console.log(nameMA); + } + + foo1(robotA); + foo1(["roomba", ["vacuum", "mopping"]]); + + foo2(robotA); + foo2(["roomba", ["vacuum", "mopping"]]); + + foo3(robotA); + foo3(["roomba", ["vacuum", "mopping"]]); \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).types index 9fb722f961905..f0b4b1b92ab80 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [string, string[]]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern(target=es5).errors.txt new file mode 100644 index 0000000000000..64c9a54158d7e --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern(target=es5).errors.txt @@ -0,0 +1,25 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringVariableStatementArrayBindingPattern.ts (0 errors) ==== + declare var console: { + log(msg: string): void; + } + type Robot = [number, string, string]; + var robotA: Robot = [1, "mower", "mowing"]; + var robotB: Robot = [2, "trimmer", "trimming"]; + + + let [, nameA] = robotA; + let [numberB] = robotB; + let [numberA2, nameA2, skillA2] = robotA; + + let [numberC2] = [3, "edging", "Trimming edges"]; + let [numberC, nameC, skillC] = [3, "edging", "Trimming edges"]; + + let [numberA3, ...robotAInfo] = robotA; + + if (nameA == nameA2) { + console.log(skillA2); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2(target=es5).errors.txt new file mode 100644 index 0000000000000..5f5ec4c0790be --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.ts (0 errors) ==== + declare var console: { + log(msg: string): void; + } + type MultiSkilledRobot = [string, [string, string]]; + var multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + var multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + + let [, skillA] = multiRobotA; + let [nameMB] = multiRobotB; + let [nameMA, [primarySkillA, secondarySkillA]] = multiRobotA; + + let [nameMC] = ["roomba", ["vacuum", "mopping"]]; + let [nameMC2, [primarySkillC, secondarySkillC]] = ["roomba", ["vacuum", "mopping"]]; + + let [...multiRobotAInfo] = multiRobotA; + + if (nameMB == nameMA) { + console.log(skillA[0] + skillA[1]); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).errors.txt new file mode 100644 index 0000000000000..0d35716c07629 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).errors.txt @@ -0,0 +1,61 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, [string, string]]; + + var robotA: Robot = [1, "mower", "mowing"]; + var robotB: Robot = [2, "trimmer", "trimming"]; + var multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + var multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + + let nameA: string, numberB: number, nameB: string, skillB: string; + let robotAInfo: (number | string)[]; + + let multiSkillB: [string, string], nameMB: string, primarySkillB: string, secondarySkillB: string; + let multiRobotAInfo: (string | [string, string])[]; + + [, nameA] = robotA; + [, nameB] = getRobotB(); + [, nameB] = [2, "trimmer", "trimming"]; + [, multiSkillB] = multiRobotB; + [, multiSkillB] = getMultiRobotB(); + [, multiSkillB] = ["roomba", ["vacuum", "mopping"]]; + + [numberB] = robotB; + [numberB] = getRobotB(); + [numberB] = [2, "trimmer", "trimming"]; + [nameMB] = multiRobotB; + [nameMB] = getMultiRobotB(); + [nameMB] = ["trimmer", ["trimming", "edging"]]; + + [numberB, nameB, skillB] = robotB; + [numberB, nameB, skillB] = getRobotB(); + [numberB, nameB, skillB] = [2, "trimmer", "trimming"]; + [nameMB, [primarySkillB, secondarySkillB]] = multiRobotB; + [nameMB, [primarySkillB, secondarySkillB]] = getMultiRobotB(); + [nameMB, [primarySkillB, secondarySkillB]] = ["trimmer", ["trimming", "edging"]]; + + [numberB, ...robotAInfo] = robotB; + [numberB, ...robotAInfo] = getRobotB(); + [numberB, ...robotAInfo] = [2, "trimmer", "trimming"]; + [...multiRobotAInfo] = multiRobotA; + [...multiRobotAInfo] = getMultiRobotB(); + [...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]]; + + if (nameA == nameB) { + console.log(skillB); + } + + function getRobotB() { + return robotB; + } + + function getMultiRobotB() { + return multiRobotB; + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).types index 362eee3615e45..83dd5a86a9450 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues(target=es5).errors.txt new file mode 100644 index 0000000000000..02afb8e70d0ed --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues(target=es5).errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.ts (0 errors) ==== + declare var console: { + log(msg: string): void; + } + type Robot = [number, string, string]; + var robotA: Robot = [1, "mower", "mowing"]; + var robotB: Robot = [2, "trimmer", "trimming"]; + + let [, nameA = "noName"] = robotA; + let [numberB = -1] = robotB; + let [numberA2 = -1, nameA2 = "noName", skillA2 = "noSkill"] = robotA; + + let [numberC2 = -1] = [3, "edging", "Trimming edges"]; + let [numberC = -1, nameC = "noName", skillC = "noSkill"] = [3, "edging", "Trimming edges"]; + + let [numberA3 = -1, ...robotAInfo] = robotA; + + if (nameA == nameA2) { + console.log(skillA2); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2(target=es5).errors.txt new file mode 100644 index 0000000000000..f61a2a1690d79 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2(target=es5).errors.txt @@ -0,0 +1,22 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.ts (0 errors) ==== + declare var console: { + log(msg: string): void; + } + type MultiSkilledRobot = [string, string[]]; + var multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + var multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + + let [, skillA = ["noSkill", "noSkill"]] = multiRobotA; + let [nameMB = "noName" ] = multiRobotB; + let [nameMA = "noName", [primarySkillA = "noSkill", secondarySkillA = "noSkill"] = ["noSkill", "noSkill"]] = multiRobotA; + + let [nameMC = "noName" ] = ["roomba", ["vacuum", "mopping"]]; + let [nameMC2 = "noName", [primarySkillC = "noSkill", secondarySkillC = "noSkill"] = ["noSkill", "noSkill"]] = ["roomba", ["vacuum", "mopping"]]; + + if (nameMB == nameMA) { + console.log(skillA[0] + skillA[1]); + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).errors.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).errors.txt new file mode 100644 index 0000000000000..dc6ef86307c77 --- /dev/null +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).errors.txt @@ -0,0 +1,59 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.ts (0 errors) ==== + declare var console: { + log(msg: any): void; + } + type Robot = [number, string, string]; + type MultiSkilledRobot = [string, string[]]; + + var robotA: Robot = [1, "mower", "mowing"]; + var robotB: Robot = [2, "trimmer", "trimming"]; + var multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]]; + var multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]]; + + let nameA: string, numberB: number, nameB: string, skillB: string; + let robotAInfo: (number | string)[]; + + let multiSkillB: string[], nameMB: string, primarySkillB: string, secondarySkillB: string; + let multiRobotAInfo: (string | string[])[]; + + [, nameA = "helloNoName"] = robotA; + [, nameB = "helloNoName"] = getRobotB(); + [, nameB = "helloNoName"] = [2, "trimmer", "trimming"]; + [, multiSkillB = []] = multiRobotB; + [, multiSkillB = []] = getMultiRobotB(); + [, multiSkillB = []] = ["roomba", ["vacuum", "mopping"]]; + + [numberB = -1] = robotB; + [numberB = -1] = getRobotB(); + [numberB = -1] = [2, "trimmer", "trimming"]; + [nameMB = "helloNoName"] = multiRobotB; + [nameMB = "helloNoName"] = getMultiRobotB(); + [nameMB = "helloNoName"] = ["trimmer", ["trimming", "edging"]]; + + [numberB = -1, nameB = "helloNoName", skillB = "noSkill"] = robotB; + [numberB = -1, nameB = "helloNoName", skillB = "noSkill"] = getRobotB(); + [numberB = -1, nameB = "helloNoName", skillB = "noSkill"] = [2, "trimmer", "trimming"]; + [nameMB = "helloNoName", [primarySkillB = "noSkill", secondarySkillB = "noSkill"] = []] = multiRobotB; + [nameMB = "helloNoName", [primarySkillB = "noSkill", secondarySkillB = "noSkill"] = []] = getMultiRobotB(); + [nameMB = "helloNoName", [primarySkillB = "noSkill", secondarySkillB = "noSkill"] = []] = + ["trimmer", ["trimming", "edging"]]; + + [numberB = -1, ...robotAInfo] = robotB; + [numberB = -1, ...robotAInfo] = getRobotB(); + [numberB = -1, ...robotAInfo] = [2, "trimmer", "trimming"]; + + if (nameA == nameB) { + console.log(skillB); + } + + function getRobotB() { + return robotB; + } + + function getMultiRobotB() { + return multiRobotB; + } \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).types b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).types index b319dffea433d..8216c4c62f178 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).types +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3(target=es5).types @@ -9,6 +9,7 @@ declare var console: { >log : (msg: any) => void > : ^ ^^ ^^^^^ >msg : any +> : ^^^ } type Robot = [number, string, string]; >Robot : Robot diff --git a/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=false).errors.txt b/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=false).errors.txt index b2590432eae80..50a7c873ad3f6 100644 --- a/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=false).errors.txt +++ b/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=false).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. staticPropertyNameConflicts.ts(11,12): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'StaticName'. staticPropertyNameConflicts.ts(16,12): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'StaticName2'. staticPropertyNameConflicts.ts(21,12): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'StaticNameFn'. @@ -74,6 +75,7 @@ staticPropertyNameConflicts.ts(340,16): error TS2699: Static property 'arguments staticPropertyNameConflicts.ts(346,12): error TS2699: Static property 'arguments' conflicts with built-in property 'Function.arguments' of constructor function 'ExportedStaticArgumentsFn'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== staticPropertyNameConflicts.ts (74 errors) ==== const FunctionPropertyNames = { name: 'name', diff --git a/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=true).errors.txt b/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=true).errors.txt index 4d4d2b4442b44..8344ff4229a85 100644 --- a/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=true).errors.txt +++ b/tests/baselines/reference/staticPropertyNameConflicts(target=es5,usedefineforclassfields=true).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. staticPropertyNameConflicts.ts(53,12): error TS2699: Static property 'prototype' conflicts with built-in property 'Function.prototype' of constructor function 'StaticPrototype'. staticPropertyNameConflicts.ts(58,12): error TS2699: Static property 'prototype' conflicts with built-in property 'Function.prototype' of constructor function 'StaticPrototype2'. staticPropertyNameConflicts.ts(63,12): error TS2300: Duplicate identifier 'prototype'. @@ -26,6 +27,7 @@ staticPropertyNameConflicts.ts(327,12): error TS1319: A default export can only staticPropertyNameConflicts.ts(339,12): error TS1319: A default export can only be used in an ECMAScript-style module. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== staticPropertyNameConflicts.ts (26 errors) ==== const FunctionPropertyNames = { name: 'name', diff --git a/tests/baselines/reference/strictNullEmptyDestructuring(target=es5).errors.txt b/tests/baselines/reference/strictNullEmptyDestructuring(target=es5).errors.txt index fe2f8acc74013..1f6720330d6c9 100644 --- a/tests/baselines/reference/strictNullEmptyDestructuring(target=es5).errors.txt +++ b/tests/baselines/reference/strictNullEmptyDestructuring(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. strictNullEmptyDestructuring.ts(3,5): error TS2461: Type 'null' is not an array type. strictNullEmptyDestructuring.ts(3,5): error TS2531: Object is possibly 'null'. strictNullEmptyDestructuring.ts(5,5): error TS2531: Object is possibly 'null'. @@ -12,6 +13,7 @@ strictNullEmptyDestructuring.ts(21,5): error TS2533: Object is possibly 'null' o strictNullEmptyDestructuring.ts(23,2): error TS2533: Object is possibly 'null' or 'undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== strictNullEmptyDestructuring.ts (12 errors) ==== // Repro from #20873 diff --git a/tests/baselines/reference/superAccess(target=es5).errors.txt b/tests/baselines/reference/superAccess(target=es5).errors.txt index bf40e1363c6ce..c9ce9d341c9e9 100644 --- a/tests/baselines/reference/superAccess(target=es5).errors.txt +++ b/tests/baselines/reference/superAccess(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superAccess.ts(9,24): error TS2576: Property 'S1' does not exist on type 'MyBase'. Did you mean to access the static member 'MyBase.S1' instead? superAccess.ts(10,24): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superAccess.ts(11,24): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superAccess.ts (3 errors) ==== class MyBase { static S1: number = 5; diff --git a/tests/baselines/reference/superInLambdas(target=es5).errors.txt b/tests/baselines/reference/superInLambdas(target=es5).errors.txt index 9ed4f8a94b0b3..dfcf3697f9da0 100644 --- a/tests/baselines/reference/superInLambdas(target=es5).errors.txt +++ b/tests/baselines/reference/superInLambdas(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superInLambdas.ts(47,49): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superInLambdas.ts(51,49): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superInLambdas.ts(61,34): error TS1034: 'super' must be followed by an argument list or member access. superInLambdas.ts(65,34): error TS1034: 'super' must be followed by an argument list or member access. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superInLambdas.ts (4 errors) ==== class User { name: string = "Bob"; diff --git a/tests/baselines/reference/superInObjectLiterals_ES5(target=es5).errors.txt b/tests/baselines/reference/superInObjectLiterals_ES5(target=es5).errors.txt index c06e5f2d47495..40ef2764960b8 100644 --- a/tests/baselines/reference/superInObjectLiterals_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/superInObjectLiterals_ES5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superInObjectLiterals_ES5.ts(7,9): error TS2659: 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. superInObjectLiterals_ES5.ts(10,9): error TS2659: 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. superInObjectLiterals_ES5.ts(14,9): error TS2659: 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. @@ -11,6 +12,7 @@ superInObjectLiterals_ES5.ts(49,17): error TS2660: 'super' can only be reference superInObjectLiterals_ES5.ts(52,17): error TS2660: 'super' can only be referenced in members of derived classes or object literal expressions. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superInObjectLiterals_ES5.ts (11 errors) ==== var obj = { __proto__: { diff --git a/tests/baselines/reference/superInStaticMembers1(target=es5).errors.txt b/tests/baselines/reference/superInStaticMembers1(target=es5).errors.txt new file mode 100644 index 0000000000000..1b7f0a3f18420 --- /dev/null +++ b/tests/baselines/reference/superInStaticMembers1(target=es5).errors.txt @@ -0,0 +1,494 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== external.ts (0 errors) ==== + export class Reflect {} + export interface Foo {} + export declare namespace Bar { type _ = unknown; } + export const enum Baz {} + export default class {}; + +==== locals.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + class C extends B { + static _ = [ + (() => { + var Reflect; // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + var { Reflect } = { Reflect: null }; // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + var [Reflect] = [null]; // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + class Reflect {} // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + function Reflect() {} // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + enum Reflect {} // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + const enum Reflect {} // collision (es2015-es2021 only) + super.w(); + })(), + (() => { + type Reflect = unknown; // no collision + super.w(); + })(), + (() => { + interface Reflect {}; // no collision + super.w(); + })(), + (() => { + (class Reflect {}); // no collision + super.w(); + })(), + (() => { + (function Reflect() {}); // no collision + super.w(); + })(), + ]; + + static { + var { Reflect } = { Reflect: null }; // collision (es2015-es2021 only) + super.w(); + } + + static { + var [Reflect] = [null]; // collision (es2015-es2021 only) + super.w(); + } + + static { + var Reflect; // collision (es2015-es2021 only) + super.w(); + } + + static { + class Reflect {} // collision (es2015-es2021 only) + super.w(); + } + + static { + function Reflect() {} // collision (es2015-es2021 only) + super.w(); + } + + static { + enum Reflect {} // collision (es2015-es2021 only) + super.w(); + } + + static { + const enum Reflect {} // collision (es2015-es2021 only) + super.w(); + } + + static { + type Reflect = unknown; // no collision + super.w(); + } + + static { + interface Reflect {} // no collision + super.w(); + } + + static { + (class Reflect {}) // no collision + super.w(); + } + + static { + (function Reflect() {}) // no collision + super.w(); + } + } + +==== varInContainingScopeStaticField1.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + var Reflect = null; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== varInContainingScopeStaticField2.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + var { Reflect } = { Reflect: null }; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== varInContainingScopeStaticField3.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + var [Reflect] = [null]; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== varInContainingScopeStaticBlock1.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + var Reflect = null; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== varInContainingScopeStaticBlock2.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + var { Reflect } = { Reflect: null }; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== varInContainingScopeStaticBlock3.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + var [Reflect] = [null]; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== classDeclInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + class Reflect {} // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== classDeclInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + class Reflect {} // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== funcDeclInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + function Reflect() {} // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== funcDeclInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + function Reflect() {} // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== valueNamespaceInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + namespace Reflect {} // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== valueNamespaceInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + namespace Reflect {} // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== enumInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + enum Reflect {} // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== enumInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + enum Reflect {} // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== constEnumInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + const enum Reflect {} // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== constEnumInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + const enum Reflect {} // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== namespaceImportInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import * as Reflect from "./external"; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== namespaceImportInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import * as Reflect from "./external"; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== namedImportInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Reflect } from "./external"; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== namedImportInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Reflect } from "./external"; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== namedImportOfInterfaceInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Foo as Reflect } from "./external"; // collision (es2015-es2021 only, not a type-only import) + class C extends B { + static _ = super.w(); + } + +==== namedImportOfInterfaceInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Foo as Reflect } from "./external"; // collision (es2015-es2021 only, not a type-only import) + class C extends B { + static { super.w(); } + } + +==== namedImportOfUninstantiatedNamespaceInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Bar as Reflect } from "./external"; // collision (es2015-es2021 only, not a type-only import) + class C extends B { + static _ = super.w(); + } + +==== namedImportOfUninstantiatedNamespaceInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Bar as Reflect } from "./external"; // collision (es2015-es2021 only, not a type-only import) + class C extends B { + static { super.w(); } + } + +==== namedImportOfConstEnumInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Baz as Reflect } from "./external"; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== namedImportOfConstEnumInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import { Baz as Reflect } from "./external"; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== typeOnlyNamedImportInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import type { Reflect } from "./external"; // no collision + class C extends B { + static _ = super.w(); + } + +==== typeOnlyNamedImportInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import type { Reflect } from "./external"; // no collision + class C extends B { + static { super.w(); } + } + +==== defaultImportInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import Reflect from "./external"; // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + +==== defaultImportInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import Reflect from "./external"; // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + +==== typeOnlyDefaultImportInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import type Reflect from "./external"; // no collision + class C extends B { + static _ = super.w(); + } + +==== typeOnlyDefaultImportInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + import type Reflect from "./external"; // no collision + class C extends B { + static { super.w(); } + } + +==== typeInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + type Reflect = unknown; // no collision + class C extends B { + static _ = super.w(); + } + +==== typeInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + type Reflect = unknown; // no collision + class C extends B { + static { super.w(); } + } + +==== interfaceInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + interface Reflect {}; // no collision + class C extends B { + static _ = super.w(); + } + +==== interfaceInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + interface Reflect {}; // no collision + class C extends B { + static { super.w(); } + } + +==== uninstantiatedNamespaceInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + declare namespace Reflect { type _ = unknown; }; // no collision + class C extends B { + static _ = super.w(); + } + +==== uninstantiatedNamespaceInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + declare namespace Reflect { type _ = unknown; }; // no collision + class C extends B { + static { super.w(); } + } + +==== classExprInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (class Reflect {}); // no collision + class C extends B { + static _ = super.w(); + } + +==== classExprInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (class Reflect {}); // no collision + class C extends B { + static { super.w(); } + } + +==== inContainingClassExprStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (class Reflect { // collision (es2015-es2021 only) + static { + class C extends B { + static _ = super.w(); + } + } + }); + +==== inContainingClassExprStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (class Reflect { // collision (es2015-es2021 only) + static { + class C extends B { + static { super.w(); } + } + } + }); + +==== funcExprInContainingScopeStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (function Reflect() {}); // no collision + class C extends B { + static _ = super.w(); + } + +==== funcExprInContainingScopeStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (function Reflect() {}); // no collision + class C extends B { + static { super.w(); } + } + +==== inContainingFuncExprStaticField.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (function Reflect() { // collision (es2015-es2021 only) + class C extends B { + static _ = super.w(); + } + }); + +==== inContainingFuncExprStaticBlock.ts (0 errors) ==== + export {}; + declare class B { static w(): number; } + (function Reflect() { // collision (es2015-es2021 only) + class C extends B { + static { super.w(); } + } + }); + \ No newline at end of file diff --git a/tests/baselines/reference/superPropertyAccess(target=es5).errors.txt b/tests/baselines/reference/superPropertyAccess(target=es5).errors.txt index b53a4f5a3268f..652391dbab0e1 100644 --- a/tests/baselines/reference/superPropertyAccess(target=es5).errors.txt +++ b/tests/baselines/reference/superPropertyAccess(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superPropertyAccess.ts(21,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superPropertyAccess.ts(23,15): error TS2341: Property 'p1' is private and only accessible within class 'MyBase'. superPropertyAccess.ts(25,24): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. @@ -6,6 +7,7 @@ superPropertyAccess.ts(31,15): error TS2340: Only public and protected methods o superPropertyAccess.ts(33,23): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superPropertyAccess.ts (6 errors) ==== class MyBase { m1(a: string) { return a; } diff --git a/tests/baselines/reference/superPropertyAccess1(target=es5).errors.txt b/tests/baselines/reference/superPropertyAccess1(target=es5).errors.txt index 7b141f0e74825..8bdb94b4788dc 100644 --- a/tests/baselines/reference/superPropertyAccess1(target=es5).errors.txt +++ b/tests/baselines/reference/superPropertyAccess1(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superPropertyAccess1.ts(13,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superPropertyAccess1.ts(19,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superPropertyAccess1.ts(24,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superPropertyAccess1.ts (3 errors) ==== class C { public foo() { } diff --git a/tests/baselines/reference/superPropertyAccess2(target=es5).errors.txt b/tests/baselines/reference/superPropertyAccess2(target=es5).errors.txt index a42c6e5a4a53f..6e42b8318fc31 100644 --- a/tests/baselines/reference/superPropertyAccess2(target=es5).errors.txt +++ b/tests/baselines/reference/superPropertyAccess2(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superPropertyAccess2.ts(13,15): error TS2339: Property 'x' does not exist on type 'typeof C'. superPropertyAccess2.ts(18,15): error TS2576: Property 'bar' does not exist on type 'C'. Did you mean to access the static member 'C.bar' instead? superPropertyAccess2.ts(19,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superPropertyAccess2.ts(24,15): error TS2339: Property 'x' does not exist on type 'typeof C'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superPropertyAccess2.ts (4 errors) ==== class C { public static foo() { } diff --git a/tests/baselines/reference/superPropertyAccessInComputedPropertiesOfNestedType_ES5(target=es5).errors.txt b/tests/baselines/reference/superPropertyAccessInComputedPropertiesOfNestedType_ES5(target=es5).errors.txt new file mode 100644 index 0000000000000..a49ad02ea7fd0 --- /dev/null +++ b/tests/baselines/reference/superPropertyAccessInComputedPropertiesOfNestedType_ES5(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== superPropertyAccessInComputedPropertiesOfNestedType_ES5.ts (0 errors) ==== + class A { + foo() { return 1; } + } + + class B extends A { + foo() { return 2; } + bar() { + return class { + [super.foo()]() { + return 100; + } + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/superPropertyAccessNoError(target=es5).errors.txt b/tests/baselines/reference/superPropertyAccessNoError(target=es5).errors.txt new file mode 100644 index 0000000000000..5a6d430562373 --- /dev/null +++ b/tests/baselines/reference/superPropertyAccessNoError(target=es5).errors.txt @@ -0,0 +1,75 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== superPropertyAccessNoError.ts (0 errors) ==== + //super.publicInstanceMemberFunction in constructor of derived class + //super.publicInstanceMemberFunction in instance member function of derived class + //super.publicInstanceMemberFunction in instance member accessor(get and set) of derived class + //super.publicInstanceMemberFunction in lambda in member function + //super.publicStaticMemberFunction in static member function of derived class + //super.publicStaticMemberFunction in static member accessor(get and set) of derived class + + + class SomeBaseClass { + public func() { + return ''; + } + + static func() { + return 3; + } + + returnThis() { + return this; + } + } + + class SomeDerivedClass extends SomeBaseClass { + constructor() { + super(); + var x = super.func(); + var x: string; + } + + fn() { + var x = super.func(); + var x: string; + var y = () => super.func(); + } + + get a() { + var x = super.func(); + var x: string; + return null; + } + + set a(n) { + var x = super.func(); + var x: string; + } + + static fn() { + var x = super.func(); + var x: number; + } + + static get a() { + var x = super.func(); + var x: number; + return null; + } + + static set a(n) { + var x = super.func(); + var x: number; + } + + returnThis() { + return super.returnThis(); + } + } + + let instance = new SomeDerivedClass(); + instance.returnThis().fn(); + \ No newline at end of file diff --git a/tests/baselines/reference/superPropertyAccessNoError(target=es5).types b/tests/baselines/reference/superPropertyAccessNoError(target=es5).types index 3bb36a2241e11..75a30fd9411a6 100644 --- a/tests/baselines/reference/superPropertyAccessNoError(target=es5).types +++ b/tests/baselines/reference/superPropertyAccessNoError(target=es5).types @@ -108,6 +108,7 @@ class SomeDerivedClass extends SomeBaseClass { get a() { >a : any +> : ^^^ var x = super.func(); >x : string @@ -130,7 +131,9 @@ class SomeDerivedClass extends SomeBaseClass { set a(n) { >a : any +> : ^^^ >n : any +> : ^^^ var x = super.func(); >x : string @@ -172,6 +175,7 @@ class SomeDerivedClass extends SomeBaseClass { static get a() { >a : any +> : ^^^ var x = super.func(); >x : number @@ -194,7 +198,9 @@ class SomeDerivedClass extends SomeBaseClass { static set a(n) { >a : any +> : ^^^ >n : any +> : ^^^ var x = super.func(); >x : number diff --git a/tests/baselines/reference/superPropertyAccess_ES5(target=es5).errors.txt b/tests/baselines/reference/superPropertyAccess_ES5(target=es5).errors.txt index 9f4e7b5658e01..d6554c69e6726 100644 --- a/tests/baselines/reference/superPropertyAccess_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/superPropertyAccess_ES5(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. superPropertyAccess_ES5.ts(11,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. superPropertyAccess_ES5.ts(26,15): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== superPropertyAccess_ES5.ts (2 errors) ==== class MyBase { getValue(): number { return 1; } diff --git a/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).errors.txt b/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).errors.txt new file mode 100644 index 0000000000000..de4272858efbe --- /dev/null +++ b/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== superSymbolIndexedAccess5.ts (0 errors) ==== + var symbol: any; + + class Foo { + [symbol]() { + return 0; + } + } + + class Bar extends Foo { + [symbol]() { + return super[symbol](); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).types b/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).types index 26144f60740e4..854d6edc66557 100644 --- a/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).types +++ b/tests/baselines/reference/superSymbolIndexedAccess5(target=es5).types @@ -3,6 +3,7 @@ === superSymbolIndexedAccess5.ts === var symbol: any; >symbol : any +> : ^^^ class Foo { >Foo : Foo @@ -12,6 +13,7 @@ class Foo { >[symbol] : () => number > : ^^^^^^^^^^^^ >symbol : any +> : ^^^ return 0; >0 : 0 @@ -29,6 +31,7 @@ class Bar extends Foo { >[symbol] : () => number > : ^^^^^^^^^^^^ >symbol : any +> : ^^^ return super[symbol](); >super[symbol]() : number @@ -38,5 +41,6 @@ class Bar extends Foo { >super : Foo > : ^^^ >symbol : any +> : ^^^ } } diff --git a/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).errors.txt b/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).errors.txt new file mode 100644 index 0000000000000..a02cbd938ba26 --- /dev/null +++ b/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== superSymbolIndexedAccess6.ts (0 errors) ==== + var symbol: any; + + class Foo { + static [symbol]() { + return 0; + } + } + + class Bar extends Foo { + static [symbol]() { + return super[symbol](); + } + } \ No newline at end of file diff --git a/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).types b/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).types index 2c86a253d7f8c..dc71e787045af 100644 --- a/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).types +++ b/tests/baselines/reference/superSymbolIndexedAccess6(target=es5).types @@ -3,6 +3,7 @@ === superSymbolIndexedAccess6.ts === var symbol: any; >symbol : any +> : ^^^ class Foo { >Foo : Foo @@ -12,6 +13,7 @@ class Foo { >[symbol] : () => number > : ^^^^^^^^^^^^ >symbol : any +> : ^^^ return 0; >0 : 0 @@ -29,6 +31,7 @@ class Bar extends Foo { >[symbol] : () => number > : ^^^^^^^^^^^^ >symbol : any +> : ^^^ return super[symbol](); >super[symbol]() : number @@ -38,5 +41,6 @@ class Bar extends Foo { >super : typeof Foo > : ^^^^^^^^^^ >symbol : any +> : ^^^ } } diff --git a/tests/baselines/reference/super_inside-object-literal-getters-and-setters(target=es5).errors.txt b/tests/baselines/reference/super_inside-object-literal-getters-and-setters(target=es5).errors.txt index 23db062a06ad5..9cfc985d80a40 100644 --- a/tests/baselines/reference/super_inside-object-literal-getters-and-setters(target=es5).errors.txt +++ b/tests/baselines/reference/super_inside-object-literal-getters-and-setters(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. super_inside-object-literal-getters-and-setters.ts(5,20): error TS2659: 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. super_inside-object-literal-getters-and-setters.ts(8,13): error TS2659: 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. super_inside-object-literal-getters-and-setters.ts(11,20): error TS2660: 'super' can only be referenced in members of derived classes or object literal expressions. super_inside-object-literal-getters-and-setters.ts(21,24): error TS2659: 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== super_inside-object-literal-getters-and-setters.ts (4 errors) ==== namespace ObjectLiteral { var ThisInObjectLiteral = { diff --git a/tests/baselines/reference/systemExportAssignment(target=es5).errors.txt b/tests/baselines/reference/systemExportAssignment(target=es5).errors.txt index e395bb6ce9566..6404ce59d8039 100644 --- a/tests/baselines/reference/systemExportAssignment(target=es5).errors.txt +++ b/tests/baselines/reference/systemExportAssignment(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.d.ts (0 errors) ==== declare var a: number; export = a; // OK, in ambient context diff --git a/tests/baselines/reference/systemExportAssignment2(target=es5).errors.txt b/tests/baselines/reference/systemExportAssignment2(target=es5).errors.txt index b9a7639bdf430..ba71f4911769a 100644 --- a/tests/baselines/reference/systemExportAssignment2(target=es5).errors.txt +++ b/tests/baselines/reference/systemExportAssignment2(target=es5).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. a.ts(2,1): error TS1218: Export assignment is not supported when '--module' flag is 'system'. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== a.ts (1 errors) ==== var a = 10; export = a; // Error: export = not allowed in ES6 diff --git a/tests/baselines/reference/systemExportAssignment3(target=es5).errors.txt b/tests/baselines/reference/systemExportAssignment3(target=es5).errors.txt index 1cba25055d5a6..edeb3514cd260 100644 --- a/tests/baselines/reference/systemExportAssignment3(target=es5).errors.txt +++ b/tests/baselines/reference/systemExportAssignment3(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== modules.d.ts (0 errors) ==== declare module "a" { var a: number; diff --git a/tests/baselines/reference/systemModule10_ES5(target=es5).errors.txt b/tests/baselines/reference/systemModule10_ES5(target=es5).errors.txt index 74d1e205ec46c..eb0df7fc36092 100644 --- a/tests/baselines/reference/systemModule10_ES5(target=es5).errors.txt +++ b/tests/baselines/reference/systemModule10_ES5(target=es5).errors.txt @@ -1,9 +1,11 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. systemModule10_ES5.ts(1,20): error TS2792: Cannot find module 'file1'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? systemModule10_ES5.ts(2,21): error TS2792: Cannot find module 'file2'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== systemModule10_ES5.ts (2 errors) ==== import n, {x} from 'file1' ~~~~~~~ diff --git a/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).errors.txt b/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).errors.txt new file mode 100644 index 0000000000000..f21ae3d2f9e57 --- /dev/null +++ b/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== taggedTemplateStringsWithCurriedFunction.ts (0 errors) ==== + // Originated from #38558 + + const f = _ => (..._) => ""; + + f({ ...{ x: 0 } })``; + f({ ...{ x: 0 } })`x`; + f({ ...{ x: 0 } })`x${f}x`; + f({ ...{ x: 0 }, y: (() => 1)() })``; + f({ x: (() => 1)(), ...{ y: 1 } })``; + \ No newline at end of file diff --git a/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).types b/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).types index 91bf8b50792b8..a3c6ff2da1d32 100644 --- a/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).types +++ b/tests/baselines/reference/taggedTemplateStringsWithCurriedFunction(target=es5).types @@ -9,6 +9,7 @@ const f = _ => (..._) => ""; >_ => (..._) => "" : (_: any) => (..._: any[]) => string > : ^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ >_ : any +> : ^^^ >(..._) => "" : (..._: any[]) => string > : ^^^^ ^^^^^^^^^^^^^^^^^^ >_ : any[] diff --git a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper(target=es5).errors.txt b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper(target=es5).errors.txt index eb23a5d19b2aa..881a0db1ff664 100644 --- a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper(target=es5).errors.txt +++ b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. foo.ts(5,23): error TS2343: This syntax requires an imported helper named '__makeTemplateObject' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== foo.ts (1 errors) ==== function id(x: T) { return x; diff --git a/tests/baselines/reference/taggedTemplatesInModuleAndGlobal(target=es5).errors.txt b/tests/baselines/reference/taggedTemplatesInModuleAndGlobal(target=es5).errors.txt new file mode 100644 index 0000000000000..214def13be95e --- /dev/null +++ b/tests/baselines/reference/taggedTemplatesInModuleAndGlobal(target=es5).errors.txt @@ -0,0 +1,26 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== global.ts (0 errors) ==== + namespace n { + function id(x: T): T { + return x; + } + + function templateObjectFactory() { + return id`hello world`; + } + let result = templateObjectFactory() === templateObjectFactory(); + } +==== module.ts (0 errors) ==== + export { } + function id(x: T): T { + return x; + } + + function templateObjectFactory() { + return id`hello world`; + } + let result = templateObjectFactory() === templateObjectFactory(); + \ No newline at end of file diff --git a/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).errors.txt b/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).errors.txt new file mode 100644 index 0000000000000..202d5f6aa5968 --- /dev/null +++ b/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).errors.txt @@ -0,0 +1,19 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== deps.ts (0 errors) ==== + export function Input(): any { } + export class TemplateRef { } + +==== index.ts (0 errors) ==== + import { Input, TemplateRef } from './deps'; + + export class MyComponent { + _ref: TemplateRef; + + @Input() + get ref() { return this._ref; } + set ref(value: TemplateRef) { this._ref = value; } + } + \ No newline at end of file diff --git a/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).types b/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).types index 9b0a412a1b946..d3e6e3e8310ab 100644 --- a/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).types +++ b/tests/baselines/reference/targetEs6DecoratorMetadataImportNotElided(target=es5).types @@ -26,6 +26,7 @@ export class MyComponent { @Input() >Input() : any +> : ^^^ >Input : () => any > : ^^^^^^ diff --git a/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode(target=es5).errors.txt b/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode(target=es5).errors.txt index 0a0fd319b9689..7385912e81004 100644 --- a/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode(target=es5).errors.txt +++ b/tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. templateStringsArrayTypeDefinedInES5Mode.ts(7,3): error TS2345: Argument of type '{}' is not assignable to parameter of type 'TemplateStringsArray'. Type '{}' is missing the following properties from type 'TemplateStringsArray': raw, length, concat, join, and 17 more. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== templateStringsArrayTypeDefinedInES5Mode.ts (1 errors) ==== class TemplateStringsArray { } diff --git a/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode(target=es5).errors.txt b/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode(target=es5).errors.txt index 5dbc43f2055ba..432c64a0f7b9d 100644 --- a/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode(target=es5).errors.txt +++ b/tests/baselines/reference/templateStringsArrayTypeNotDefinedES5Mode(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. templateStringsArrayTypeNotDefinedES5Mode.ts(4,3): error TS2345: Argument of type '{}' is not assignable to parameter of type 'TemplateStringsArray'. Type '{}' is missing the following properties from type 'TemplateStringsArray': raw, length, concat, join, and 17 more. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== templateStringsArrayTypeNotDefinedES5Mode.ts (1 errors) ==== function f(x: TemplateStringsArray, y: number, z: number) { } diff --git a/tests/baselines/reference/thisAndSuperInStaticMembers3(target=es5).errors.txt b/tests/baselines/reference/thisAndSuperInStaticMembers3(target=es5).errors.txt new file mode 100644 index 0000000000000..990c516e53eca --- /dev/null +++ b/tests/baselines/reference/thisAndSuperInStaticMembers3(target=es5).errors.txt @@ -0,0 +1,27 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== thisAndSuperInStaticMembers3.ts (0 errors) ==== + declare class B { + static a: any; + static f(): number; + a: number; + f(): number; + } + + class C extends B { + static x: any = undefined!; + static y1 = this.x; + static y2 = this.x(); + static y3 = this?.x(); + static y4 = this[("x")](); + static y5 = this?.[("x")](); + static z3 = super.f(); + static z4 = super["f"](); + + // these should be unaffected + x = 1; + y = this.x; + z = super.f(); + } \ No newline at end of file diff --git a/tests/baselines/reference/thisAndSuperInStaticMembers4(target=es5).errors.txt b/tests/baselines/reference/thisAndSuperInStaticMembers4(target=es5).errors.txt new file mode 100644 index 0000000000000..5d4a6f8e9cbd5 --- /dev/null +++ b/tests/baselines/reference/thisAndSuperInStaticMembers4(target=es5).errors.txt @@ -0,0 +1,27 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== thisAndSuperInStaticMembers4.ts (0 errors) ==== + declare class B { + static a: any; + static f(): number; + a: number; + f(): number; + } + + class C extends B { + static x: any = undefined!; + static y1 = this.x; + static y2 = this.x(); + static y3 = this?.x(); + static y4 = this[("x")](); + static y5 = this?.[("x")](); + static z3 = super.f(); + static z4 = super["f"](); + + // these should be unaffected + x = 1; + y = this.x; + z = super.f(); + } \ No newline at end of file diff --git a/tests/baselines/reference/thisInInvalidContextsExternalModule(target=es5).errors.txt b/tests/baselines/reference/thisInInvalidContextsExternalModule(target=es5).errors.txt index 685702b78babd..4ed0e172142a6 100644 --- a/tests/baselines/reference/thisInInvalidContextsExternalModule(target=es5).errors.txt +++ b/tests/baselines/reference/thisInInvalidContextsExternalModule(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. thisInInvalidContextsExternalModule.ts(9,15): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class. thisInInvalidContextsExternalModule.ts(17,15): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class. thisInInvalidContextsExternalModule.ts(23,13): error TS2331: 'this' cannot be referenced in a module or namespace body. @@ -7,6 +8,7 @@ thisInInvalidContextsExternalModule.ts(39,9): error TS2332: 'this' cannot be ref thisInInvalidContextsExternalModule.ts(40,9): error TS2332: 'this' cannot be referenced in current location. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== thisInInvalidContextsExternalModule.ts (7 errors) ==== class BaseErrClass { constructor(t: any) { } diff --git a/tests/baselines/reference/thisTypeInAccessors(target=es5).errors.txt b/tests/baselines/reference/thisTypeInAccessors(target=es5).errors.txt index 78fef479d3105..8bad4bfd9fbbd 100644 --- a/tests/baselines/reference/thisTypeInAccessors(target=es5).errors.txt +++ b/tests/baselines/reference/thisTypeInAccessors(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. thisTypeInAccessors.ts(8,11): error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters. thisTypeInAccessors.ts(9,11): error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters. thisTypeInAccessors.ts(13,11): error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters. @@ -8,6 +9,7 @@ thisTypeInAccessors.ts(29,11): error TS2784: 'get' and 'set' accessors cannot de thisTypeInAccessors.ts(30,11): error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== thisTypeInAccessors.ts (8 errors) ==== interface Foo { n: number; diff --git a/tests/baselines/reference/thisTypeInAccessorsNegative(target=es5).errors.txt b/tests/baselines/reference/thisTypeInAccessorsNegative(target=es5).errors.txt index 82d8514c5a77c..293f88ac6902c 100644 --- a/tests/baselines/reference/thisTypeInAccessorsNegative(target=es5).errors.txt +++ b/tests/baselines/reference/thisTypeInAccessorsNegative(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. thisTypeInAccessorsNegative.ts(10,11): error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters. thisTypeInAccessorsNegative.ts(11,11): error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== thisTypeInAccessorsNegative.ts (2 errors) ==== interface Foo { n: number; diff --git a/tests/baselines/reference/thisTypeInObjectLiterals2(target=es5).errors.txt b/tests/baselines/reference/thisTypeInObjectLiterals2(target=es5).errors.txt new file mode 100644 index 0000000000000..ad3d3873154d9 --- /dev/null +++ b/tests/baselines/reference/thisTypeInObjectLiterals2(target=es5).errors.txt @@ -0,0 +1,247 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== thisTypeInObjectLiterals2.ts (0 errors) ==== + // In methods of an object literal with no contextual type, 'this' has the type + // of the object literal. + + let obj1 = { + a: 1, + f() { + return this.a; + }, + b: "hello", + c: { + g() { + this.g(); + } + }, + get d() { + return this.a; + }, + get e() { + return this.b; + }, + set e(value) { + this.b = value; + } + }; + + // In methods of an object literal with a contextual type, 'this' has the + // contextual type. + + type Point = { + x: number; + y: number; + z?: number; + moveBy(dx: number, dy: number, dz?: number): void; + } + + let p1: Point = { + x: 10, + y: 20, + moveBy(dx, dy, dz) { + this.x += dx; + this.y += dy; + if (this.z && dz) { + this.z += dz; + } + } + }; + + let p2: Point | null = { + x: 10, + y: 20, + moveBy(dx, dy, dz) { + this.x += dx; + this.y += dy; + if (this.z && dz) { + this.z += dz; + } + } + }; + + let p3: Point | undefined = { + x: 10, + y: 20, + moveBy(dx, dy, dz) { + this.x += dx; + this.y += dy; + if (this.z && dz) { + this.z += dz; + } + } + }; + + let p4: Point | null | undefined = { + x: 10, + y: 20, + moveBy(dx, dy, dz) { + this.x += dx; + this.y += dy; + if (this.z && dz) { + this.z += dz; + } + } + }; + + declare function f1(p: Point): void; + + f1({ + x: 10, + y: 20, + moveBy(dx, dy, dz) { + this.x += dx; + this.y += dy; + if (this.z && dz) { + this.z += dz; + } + } + }); + + declare function f2(p: Point | null | undefined): void; + + f2({ + x: 10, + y: 20, + moveBy(dx, dy, dz) { + this.x += dx; + this.y += dy; + if (this.z && dz) { + this.z += dz; + } + } + }); + + // In methods of an object literal with a contextual type that includes some + // ThisType, 'this' is of type T. + + type ObjectDescriptor = { + data?: D; + methods?: M & ThisType; // Type of 'this' in methods is D & M + } + + declare function makeObject(desc: ObjectDescriptor): D & M; + + let x1 = makeObject({ + data: { x: 0, y: 0 }, + methods: { + moveBy(dx: number, dy: number) { + this.x += dx; // Strongly typed this + this.y += dy; // Strongly typed this + } + } + }); + + // In methods contained in an object literal with a contextual type that includes + // some ThisType, 'this' is of type T. + + type ObjectDescriptor2 = ThisType & { + data?: D; + methods?: M; + } + + declare function makeObject2(desc: ObjectDescriptor): D & M; + + let x2 = makeObject2({ + data: { x: 0, y: 0 }, + methods: { + moveBy(dx: number, dy: number) { + this.x += dx; // Strongly typed this + this.y += dy; // Strongly typed this + } + } + }); + + // Check pattern similar to Object.defineProperty and Object.defineProperties + + type PropDesc = { + value?: T; + get?(): T; + set?(value: T): void; + } + + type PropDescMap = { + [K in keyof T]: PropDesc; + } + + declare function defineProp(obj: T, name: K, desc: PropDesc & ThisType): T & Record; + + declare function defineProps(obj: T, descs: PropDescMap & ThisType): T & U; + + let p10 = defineProp(p1, "foo", { value: 42 }); + p10.foo = p10.foo + 1; + + let p11 = defineProp(p1, "bar", { + get() { + return this.x; + }, + set(value: number) { + this.x = value; + } + }); + p11.bar = p11.bar + 1; + + let p12 = defineProps(p1, { + foo: { + value: 42 + }, + bar: { + get(): number { + return this.x; + }, + set(value: number) { + this.x = value; + } + } + }); + p12.foo = p12.foo + 1; + p12.bar = p12.bar + 1; + + // Proof of concept for typing of Vue.js + + type Accessors = { [K in keyof T]: (() => T[K]) | Computed }; + + type Dictionary = { [x: string]: T } + + type Computed = { + get?(): T; + set?(value: T): void; + } + + type VueOptions = ThisType & { + data?: D | (() => D); + methods?: M; + computed?: Accessors

; + } + + declare const Vue: new (options: VueOptions) => D & M & P; + + let vue = new Vue({ + data: () => ({ x: 1, y: 2 }), + methods: { + f(x: string) { + return this.x; + } + }, + computed: { + test(): number { + return this.x; + }, + hello: { + get() { + return "hi"; + }, + set(value: string) { + } + } + } + }); + + vue; + vue.x; + vue.f("abc"); + vue.test; + vue.hello; + \ No newline at end of file diff --git a/tests/baselines/reference/trailingCommasES5(target=es5).errors.txt b/tests/baselines/reference/trailingCommasES5(target=es5).errors.txt new file mode 100644 index 0000000000000..4ecb88119a803 --- /dev/null +++ b/tests/baselines/reference/trailingCommasES5(target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== trailingCommasES5.ts (0 errors) ==== + var o1 = { a: 1, b: 2 }; + var o2 = { a: 1, b: 2, }; + var o3 = { a: 1, }; + var o4 = {}; + + var a1 = [1, 2]; + var a2 = [1, 2, ]; + var a3 = [1, ]; + var a4 = []; + var a5 = [1, , ]; + var a6 = [, , ]; \ No newline at end of file diff --git a/tests/baselines/reference/trailingCommasInFunctionParametersAndArguments(target=es5).errors.txt b/tests/baselines/reference/trailingCommasInFunctionParametersAndArguments(target=es5).errors.txt index 104391fd758d0..24c12403ec8ed 100644 --- a/tests/baselines/reference/trailingCommasInFunctionParametersAndArguments(target=es5).errors.txt +++ b/tests/baselines/reference/trailingCommasInFunctionParametersAndArguments(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. trailingCommasInFunctionParametersAndArguments.ts(5,20): error TS1013: A rest parameter or binding pattern may not have a trailing comma. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== trailingCommasInFunctionParametersAndArguments.ts (1 errors) ==== function f1(x,) {} diff --git a/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).errors.txt b/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).errors.txt new file mode 100644 index 0000000000000..8e1946c77ff9c --- /dev/null +++ b/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== transformArrowInBlockScopedLoopVarInitializer.ts (0 errors) ==== + // https://github.com/Microsoft/TypeScript/issues/11236 + while (true) + { + let local = null; + var a = () => local; // <-- Lambda should be converted to function() + } \ No newline at end of file diff --git a/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).types b/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).types index d2f388c986ddd..f4604d4a6486b 100644 --- a/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).types +++ b/tests/baselines/reference/transformArrowInBlockScopedLoopVarInitializer(target=es5).types @@ -8,6 +8,7 @@ while (true) { let local = null; >local : any +> : ^^^ var a = () => local; // <-- Lambda should be converted to function() >a : () => any @@ -15,4 +16,5 @@ while (true) >() => local : () => any > : ^^^^^^^^^ >local : any +> : ^^^ } diff --git a/tests/baselines/reference/transformNestedGeneratorsWithTry(target=es5).errors.txt b/tests/baselines/reference/transformNestedGeneratorsWithTry(target=es5).errors.txt index 4dd19f0bfab26..77a6847459f64 100644 --- a/tests/baselines/reference/transformNestedGeneratorsWithTry(target=es5).errors.txt +++ b/tests/baselines/reference/transformNestedGeneratorsWithTry(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. main.ts(3,21): error TS1055: Type '{ default: PromiseConstructor; all(values: Iterable>): Promise[]>; all(values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; race(values: Iterable>): Promise>; race(values: T): Promise>; prototype: Promise; reject(reason?: any): Promise; resolve(): Promise; resolve(value: T): Promise>; resolve(value: T | PromiseLike): Promise>; [Symbol.species]: PromiseConstructor; }' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. Type '{ default: PromiseConstructor; all(values: Iterable>): Promise[]>; all(values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; race(values: Iterable>): Promise>; race(values: T): Promise>; prototype: Promise; reject(reason?: any): Promise; resolve(): Promise; resolve(value: T): Promise>; resolve(value: T | PromiseLike): Promise>; [Symbol.species]: PromiseConstructor; }' provides no match for the signature 'new (executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void): PromiseLike'. main.ts(5,35): error TS1055: Type '{ default: PromiseConstructor; all(values: Iterable>): Promise[]>; all(values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; race(values: Iterable>): Promise>; race(values: T): Promise>; prototype: Promise; reject(reason?: any): Promise; resolve(): Promise; resolve(value: T): Promise>; resolve(value: T | PromiseLike): Promise>; [Symbol.species]: PromiseConstructor; }' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value. Type '{ default: PromiseConstructor; all(values: Iterable>): Promise[]>; all(values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; race(values: Iterable>): Promise>; race(values: T): Promise>; prototype: Promise; reject(reason?: any): Promise; resolve(): Promise; resolve(value: T): Promise>; resolve(value: T | PromiseLike): Promise>; [Symbol.species]: PromiseConstructor; }' provides no match for the signature 'new (executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void): PromiseLike'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== main.ts (2 errors) ==== // https://github.com/Microsoft/TypeScript/issues/11177 import * as Bluebird from 'bluebird'; diff --git a/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).errors.txt b/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).errors.txt new file mode 100644 index 0000000000000..2914fc6c7fcb5 --- /dev/null +++ b/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== transformParenthesizesConditionalSubexpression.ts (0 errors) ==== + var K = 'k' + var a = { p : (true ? { [K] : 'v'} : null) } + var b = { p : (true ? { [K] : 'v'} as any : null) } \ No newline at end of file diff --git a/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).types b/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).types index 1ffd170d76a8a..c58fe24f65a65 100644 --- a/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).types +++ b/tests/baselines/reference/transformParenthesizesConditionalSubexpression(target=es5).types @@ -35,11 +35,15 @@ var b = { p : (true ? { [K] : 'v'} as any : null) } >{ p : (true ? { [K] : 'v'} as any : null) } : { p: any; } > : ^^^^^^^^^^^ >p : any +> : ^^^ >(true ? { [K] : 'v'} as any : null) : any +> : ^^^ >true ? { [K] : 'v'} as any : null : any +> : ^^^ >true : true > : ^^^^ >{ [K] : 'v'} as any : any +> : ^^^ >{ [K] : 'v'} : { [K]: string; } > : ^^ ^^^^^^ ^^ >[K] : string diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt index 10079f19a0439..65e240cac2fca 100644 --- a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file.ts (0 errors) ==== import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt index 10079f19a0439..65e240cac2fca 100644 --- a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file.ts (0 errors) ==== import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt index 10079f19a0439..65e240cac2fca 100644 --- a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file.ts (0 errors) ==== import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt index 10079f19a0439..65e240cac2fca 100644 --- a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt @@ -1,8 +1,10 @@ error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file.ts (0 errors) ==== import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt index 69abbac8e72aa..283e8743e633f 100644 --- a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt @@ -1,10 +1,12 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file.ts (0 errors) ==== import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt index 69abbac8e72aa..283e8743e633f 100644 --- a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt @@ -1,10 +1,12 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Visit https://aka.ms/ts6 for migration information. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== file.ts (0 errors) ==== import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck(target=es5).errors.txt b/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck(target=es5).errors.txt index fe164aeca2ca7..545008305cea0 100644 --- a/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck(target=es5).errors.txt +++ b/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. trivialSubtypeReductionNoStructuralCheck.ts(3,7): error TS7023: 'steps' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== trivialSubtypeReductionNoStructuralCheck.ts (1 errors) ==== declare const props: WizardStepProps; export class Wizard { diff --git a/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2(target=es5).errors.txt b/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2(target=es5).errors.txt new file mode 100644 index 0000000000000..292d42037d98f --- /dev/null +++ b/tests/baselines/reference/trivialSubtypeReductionNoStructuralCheck2(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== trivialSubtypeReductionNoStructuralCheck2.ts (0 errors) ==== + declare const props: WizardStepProps; + export class Wizard { + get steps() { + return { + wizard: this as Wizard, + ...props, + } as WizardStepProps; + } + } + + export interface WizardStepProps { + wizard?: Wizard; + } \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 22487ede7b739..065595bc03466 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -82,6 +82,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/lib/tsconfig.json'... +lib/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + lib/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -96,6 +101,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... +app/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + app/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -107,7 +117,7 @@ Output::    ~~~~~~~~~ -Found 4 errors. +Found 6 errors. @@ -677,6 +687,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/lib/tsconfig.json'... +lib/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + lib/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -691,6 +706,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... +app/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + app/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -702,7 +722,7 @@ Output::    ~~~~~~~~~ -Found 4 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js index 98bef9901008b..6f6fd92cb47d4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js @@ -83,6 +83,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/lib/tsconfig.json'... +lib/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + lib/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -97,6 +102,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... +app/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + app/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -119,7 +129,7 @@ Output::   ~~~~~ -Found 5 errors. +Found 7 errors. @@ -689,6 +699,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/lib/tsconfig.json'... +lib/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + lib/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -703,6 +718,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... +app/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + app/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -725,7 +745,7 @@ Output::   ~~~~~ -Found 5 errors. +Found 7 errors. diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index dd29029253ac5..747ced5ae21b5 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -82,6 +82,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/lib/tsconfig.json'... +lib/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + lib/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -96,6 +101,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/soltion/app/tsconfig.json'... +app/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + app/tsconfig.json:4:15 - error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "module": "amd", @@ -107,7 +117,7 @@ Output::    ~~~~~~~~~ -Found 4 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js index b07ce361eb4ca..bb35ebe79848b 100644 --- a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -156,6 +161,11 @@ first/first_part3.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -171,6 +181,11 @@ second/second_part2.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js", @@ -185,7 +200,7 @@ first/bin/first-output.d.ts third/third_part1.ts Part of 'files' list in tsconfig.json -Found 3 errors. +Found 6 errors. @@ -1207,6 +1222,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -1224,6 +1244,11 @@ first/first_part3.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -1239,6 +1264,11 @@ second/second_part2.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js", @@ -1253,7 +1283,7 @@ first/bin/first-output.d.ts third/third_part1.ts Part of 'files' list in tsconfig.json -Found 3 errors. +Found 6 errors. @@ -1732,6 +1762,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -1749,6 +1784,11 @@ first/first_part3.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -1764,6 +1804,11 @@ second/second_part2.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js", @@ -1778,7 +1823,7 @@ first/bin/first-output.d.ts third/third_part1.ts Part of 'files' list in tsconfig.json -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js index 91764e6095ba3..1e66009f42ae5 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -130,6 +130,11 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --build second/tsconfig.json Output:: +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 5eba8a1b00c04..57377d1c95a0a 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:4:34 - error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "composite": true, "module": "none", @@ -148,6 +153,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:4:34 - error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "composite": true, "module": "none", @@ -157,13 +167,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:4:34 - error TS5107: Option 'module=None' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 4 "composite": true, "module": "none",    ~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index e6e5adb4d5cf7..dc8659fe740d1 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -148,6 +153,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -157,13 +167,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. @@ -449,6 +464,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -458,6 +478,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -468,7 +493,7 @@ Output:: [HH:MM:SS AM] Updating output timestamps of project '/home/src/workspaces/solution/third/tsconfig.json'... -Found 2 errors. +Found 4 errors. @@ -587,6 +612,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -596,6 +626,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -605,13 +640,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 97a64e0dfd689..1e46c167014bd 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -392,6 +392,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -401,6 +406,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -410,6 +420,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js", diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index f7f4bb6953e83..69fa5e61fc731 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -148,6 +153,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -157,13 +167,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index a961831dce855..8c590ef2738d6 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -389,6 +389,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -398,6 +403,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -407,13 +417,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js index 1820c3295a23b..d3374885cc827 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -148,6 +153,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -157,13 +167,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js index 7187eb8cdd2f9..b11d2d1755a64 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -148,6 +153,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -157,13 +167,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. @@ -1127,6 +1142,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -1136,6 +1156,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -1145,13 +1170,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js index 0961072bacee6..8dcb6a76dcc4c 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js @@ -140,6 +140,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -149,6 +154,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -158,13 +168,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:11:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 11 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js index d34331c964ac3..e584087e83aa4 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -139,6 +139,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -148,6 +153,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -157,13 +167,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. @@ -439,6 +454,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/first/tsconfig.json'... +first/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + first/tsconfig.json:9:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 9 "outFile": "./bin/first-output.js", @@ -448,6 +468,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/second/tsconfig.json'... +second/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + second/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "../2/second-output.js", @@ -457,13 +482,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/third/tsconfig.json'... +third/tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + third/tsconfig.json:10:5 - error TS5101: Option 'outFile' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. 10 "outFile": "./thirdjs/output/third-output.js",    ~~~~~~~~~ -Found 3 errors. +Found 6 errors. diff --git a/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js index a155c0f627e4a..88e58e22c7623 100644 --- a/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/commandLine/adds-color-when-FORCE_COLOR-is-set.js @@ -107,7 +107,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js index c4f82b2bba8a8..b932a9b066066 100644 --- a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set-even-if-FORCE_COLOR-is-set.js @@ -107,7 +107,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js index c4f82b2bba8a8..b932a9b066066 100644 --- a/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/commandLine/does-not-add-color-when-NO_COLOR-is-set.js @@ -107,7 +107,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/commandLine/help-all.js b/tests/baselines/reference/tsc/commandLine/help-all.js index c3915014a0e70..a88ff54eef08e 100644 --- a/tests/baselines/reference/tsc/commandLine/help-all.js +++ b/tests/baselines/reference/tsc/commandLine/help-all.js @@ -602,7 +602,7 @@ default: `React` --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --useDefineForClassFields diff --git a/tests/baselines/reference/tsc/commandLine/help.js b/tests/baselines/reference/tsc/commandLine/help.js index 2e41f84b9dbca..251e3f7a62899 100644 --- a/tests/baselines/reference/tsc/commandLine/help.js +++ b/tests/baselines/reference/tsc/commandLine/help.js @@ -106,7 +106,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index a155c0f627e4a..88e58e22c7623 100644 --- a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -107,7 +107,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js index a155c0f627e4a..88e58e22c7623 100644 --- a/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js +++ b/tests/baselines/reference/tsc/commandLine/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js @@ -107,7 +107,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js index b49d7d9265f4a..0c440bf49cf2d 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent-with---ignoreConfig.js @@ -116,7 +116,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js index 9cd500c6acb4a..ba9716f04b7cd 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options-when-config-file-absent.js @@ -116,7 +116,7 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext +one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext default: es2024 --module, -m diff --git a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js index 6d972b9cf3ee5..d44e0c1e28244 100644 --- a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js +++ b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js @@ -304,6 +304,11 @@ Resolving real path for '/home/src/projects/component-type-checker/node_modules/ ======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.2'. ======== File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/package.json' does not exist. Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/package.json'. +tsconfig.json:3:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "target": "es5", +   ~~~~~ + tsconfig.json:8:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. Visit https://aka.ms/ts6 for migration information. @@ -338,7 +343,7 @@ Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/ src/app.tsx Matched by include pattern 'src' in 'tsconfig.json' -Found 3 errors in the same file, starting at: tsconfig.json:8 +Found 4 errors in the same file, starting at: tsconfig.json:3 diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js index b29b62c83eae2..b7c60fadc92f6 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js @@ -57,7 +57,12 @@ Output:: 3 "outFile": "../output/common.js",    ~~~~~~~~~ -[HH:MM:SS AM] Found 2 errors. Watching for file changes. +tsconfig.json:4:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "target": "es5" +   ~~~~~ + +[HH:MM:SS AM] Found 3 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js index 9a8494af7b1d3..df5866017d100 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js @@ -52,7 +52,12 @@ Output:: 3 "outDir": "../output",    ~~~~~~~~ -[HH:MM:SS AM] Found 1 error. Watching for file changes. +tsconfig.json:4:15 - error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "target": "es5" +   ~~~~~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js index a64ac7bdb0c52..fdf3a5698fb96 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js @@ -167,6 +167,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/home/src/projects/project/src/app.ts", "configFile": "/home/src/projects/project/src/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 15 + }, + "end": { + "line": 4, + "offset": 20 + }, + "text": "Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/projects/project/src/tsconfig.json" + }, { "text": "Cannot find global type 'Array'.", "code": 2318, @@ -361,6 +375,20 @@ Info seq [hh:mm:ss:mss] event: "triggerFile": "/home/src/projects/project/src/tsconfig.json", "configFile": "/home/src/projects/project/src/tsconfig.json", "diagnostics": [ + { + "start": { + "line": 4, + "offset": 15 + }, + "end": { + "line": 4, + "offset": 20 + }, + "text": "Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/projects/project/src/tsconfig.json" + }, { "text": "Cannot find global type 'Array'.", "code": 2318, diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js index be4b01d26f7cb..bf62a669010a1 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js @@ -238,6 +238,20 @@ Info seq [hh:mm:ss:mss] event: "category": "error", "fileName": "/user/username/projects/myproject/src/tsconfig.json" }, + { + "start": { + "line": 5, + "offset": 15 + }, + "end": { + "line": 5, + "offset": 20 + }, + "text": "Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/user/username/projects/myproject/src/tsconfig.json" + }, { "start": { "line": 6, diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js index eb4aba0c6fb00..b4ab03ebd16a5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js @@ -250,6 +250,20 @@ Info seq [hh:mm:ss:mss] event: "category": "error", "fileName": "/user/username/projects/myproject/src/tsconfig.json" }, + { + "start": { + "line": 5, + "offset": 15 + }, + "end": { + "line": 5, + "offset": 20 + }, + "text": "Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/user/username/projects/myproject/src/tsconfig.json" + }, { "start": { "line": 6, diff --git a/tests/baselines/reference/tsxPreserveEmit1(target=es5).errors.txt b/tests/baselines/reference/tsxPreserveEmit1(target=es5).errors.txt index cad606d8c3434..b9d820116bfb0 100644 --- a/tests/baselines/reference/tsxPreserveEmit1(target=es5).errors.txt +++ b/tests/baselines/reference/tsxPreserveEmit1(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.tsx (0 errors) ==== // Should emit 'react-router' in the AMD dependency list import React = require('react'); diff --git a/tests/baselines/reference/tsxPreserveEmit2(target=es5).errors.txt b/tests/baselines/reference/tsxPreserveEmit2(target=es5).errors.txt index 352e49180d059..fb09495bb98b4 100644 --- a/tests/baselines/reference/tsxPreserveEmit2(target=es5).errors.txt +++ b/tests/baselines/reference/tsxPreserveEmit2(target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== test.tsx (0 errors) ==== var Route: any; var routes1 = ; diff --git a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).errors.txt b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).errors.txt index fb160a2421a85..373db2a88efc1 100644 --- a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).errors.txt +++ b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react,target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsxSpreadChildrenInvalidType.tsx(21,9): error TS2609: JSX spread child must be an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== tsxSpreadChildrenInvalidType.tsx (1 errors) ==== declare namespace JSX { interface Element { } diff --git a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).errors.txt b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).errors.txt index 834a97c28b803..df9c4a49b7567 100644 --- a/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).errors.txt +++ b/tests/baselines/reference/tsxSpreadChildrenInvalidType(jsx=react-jsx,target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. tsxSpreadChildrenInvalidType.tsx(17,12): error TS2875: This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed. tsxSpreadChildrenInvalidType.tsx(21,9): error TS2609: JSX spread child must be an array type. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== tsxSpreadChildrenInvalidType.tsx (2 errors) ==== declare namespace JSX { interface Element { } diff --git a/tests/baselines/reference/twoAccessorsWithSameName(target=es5).errors.txt b/tests/baselines/reference/twoAccessorsWithSameName(target=es5).errors.txt index cbe9ec18d7a90..934ecb3aab1bf 100644 --- a/tests/baselines/reference/twoAccessorsWithSameName(target=es5).errors.txt +++ b/tests/baselines/reference/twoAccessorsWithSameName(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. twoAccessorsWithSameName.ts(2,9): error TS2300: Duplicate identifier 'x'. twoAccessorsWithSameName.ts(3,9): error TS2300: Duplicate identifier 'x'. twoAccessorsWithSameName.ts(7,9): error TS2300: Duplicate identifier 'x'. @@ -7,6 +8,7 @@ twoAccessorsWithSameName.ts(24,9): error TS1118: An object literal cannot have m twoAccessorsWithSameName.ts(24,9): error TS2300: Duplicate identifier 'x'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== twoAccessorsWithSameName.ts (7 errors) ==== class C { get x() { return 1; } diff --git a/tests/baselines/reference/typeAliasDeclarationEmit(target=es5).errors.txt b/tests/baselines/reference/typeAliasDeclarationEmit(target=es5).errors.txt index fea09b9ba2ca4..f9b2830c4adf0 100644 --- a/tests/baselines/reference/typeAliasDeclarationEmit(target=es5).errors.txt +++ b/tests/baselines/reference/typeAliasDeclarationEmit(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeAliasDeclarationEmit.ts(3,37): error TS2314: Generic type 'callback' requires 1 type argument(s). +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeAliasDeclarationEmit.ts (1 errors) ==== export type callback = () => T; diff --git a/tests/baselines/reference/typeAliasDeclarationEmit2(target=es5).errors.txt b/tests/baselines/reference/typeAliasDeclarationEmit2(target=es5).errors.txt index f832ebfd15ebd..7c3e22b90b9b9 100644 --- a/tests/baselines/reference/typeAliasDeclarationEmit2(target=es5).errors.txt +++ b/tests/baselines/reference/typeAliasDeclarationEmit2(target=es5).errors.txt @@ -1,6 +1,8 @@ error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeAliasDeclarationEmit2.ts (0 errors) ==== export type A = { value: a }; \ No newline at end of file diff --git a/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder(target=es5).errors.txt b/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder(target=es5).errors.txt new file mode 100644 index 0000000000000..52081dde507ef --- /dev/null +++ b/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder(target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== index.js (0 errors) ==== + First.Item = class I {} + Common.Object = class extends First.Item {} + + Workspace.Object = class extends Common.Object {} + + /** @type {Workspace.Object} */ + var am; + +==== roots.js (0 errors) ==== + var First = {}; + var Common = {}; + var Workspace = {}; + \ No newline at end of file diff --git a/tests/baselines/reference/typeGuardOfFormThisMember(target=es5).errors.txt b/tests/baselines/reference/typeGuardOfFormThisMember(target=es5).errors.txt index 35aa351318d29..d649d12d65f2f 100644 --- a/tests/baselines/reference/typeGuardOfFormThisMember(target=es5).errors.txt +++ b/tests/baselines/reference/typeGuardOfFormThisMember(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeGuardOfFormThisMember.ts(4,10): error TS1228: A type predicate is only allowed in return type position for functions and methods. typeGuardOfFormThisMember.ts(5,17): error TS1228: A type predicate is only allowed in return type position for functions and methods. typeGuardOfFormThisMember.ts(11,22): error TS1228: A type predicate is only allowed in return type position for functions and methods. @@ -15,6 +16,7 @@ typeGuardOfFormThisMember.ts(70,19): error TS1228: A type predicate is only allo typeGuardOfFormThisMember.ts(79,11): error TS2339: Property 'do' does not exist on type 'SpecificGuard'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeGuardOfFormThisMember.ts (15 errors) ==== // There's a 'File' class in the stdlib, wrap with a namespace to avoid collision namespace Test { diff --git a/tests/baselines/reference/typeGuardOfFormThisMemberErrors(target=es5).errors.txt b/tests/baselines/reference/typeGuardOfFormThisMemberErrors(target=es5).errors.txt index 109751136c536..5432cde19e443 100644 --- a/tests/baselines/reference/typeGuardOfFormThisMemberErrors(target=es5).errors.txt +++ b/tests/baselines/reference/typeGuardOfFormThisMemberErrors(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeGuardOfFormThisMemberErrors.ts(4,10): error TS1228: A type predicate is only allowed in return type position for functions and methods. typeGuardOfFormThisMemberErrors.ts(5,17): error TS1228: A type predicate is only allowed in return type position for functions and methods. typeGuardOfFormThisMemberErrors.ts(11,22): error TS1228: A type predicate is only allowed in return type position for functions and methods. typeGuardOfFormThisMemberErrors.ts(14,16): error TS1228: A type predicate is only allowed in return type position for functions and methods. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeGuardOfFormThisMemberErrors.ts (4 errors) ==== // There's a 'File' class in the stdlib, wrap with a namespace to avoid collision namespace Test { diff --git a/tests/baselines/reference/typeGuardsInClassAccessors(target=es5).errors.txt b/tests/baselines/reference/typeGuardsInClassAccessors(target=es5).errors.txt new file mode 100644 index 0000000000000..0deb27c22d346 --- /dev/null +++ b/tests/baselines/reference/typeGuardsInClassAccessors(target=es5).errors.txt @@ -0,0 +1,107 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== typeGuardsInClassAccessors.ts (0 errors) ==== + // Note that type guards affect types of variables and parameters only and + // have no effect on members of objects such as properties. + + // variables in global + var num: number; + var strOrNum: string | number; + var var1: string | number; + class ClassWithAccessors { + // Inside public accessor getter + get p1() { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + return strOrNum; + } + // Inside public accessor setter + set p1(param: string | number) { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // parameter of function declaration + num = typeof param === "string" && param.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + } + // Inside private accessor getter + private get pp1() { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + return strOrNum; + } + // Inside private accessor setter + private set pp1(param: string | number) { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // parameter of function declaration + num = typeof param === "string" && param.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + } + // Inside static accessor getter + static get s1() { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + return strOrNum; + } + // Inside static accessor setter + static set s1(param: string | number) { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // parameter of function declaration + num = typeof param === "string" && param.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + } + // Inside private static accessor getter + private static get ss1() { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + return strOrNum; + } + // Inside private static accessor setter + private static set ss1(param: string | number) { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // parameter of function declaration + num = typeof param === "string" && param.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/typeGuardsInProperties(target=es5).errors.txt b/tests/baselines/reference/typeGuardsInProperties(target=es5).errors.txt new file mode 100644 index 0000000000000..886e16d0e6ef3 --- /dev/null +++ b/tests/baselines/reference/typeGuardsInProperties(target=es5).errors.txt @@ -0,0 +1,30 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== typeGuardsInProperties.ts (0 errors) ==== + // Note that type guards affect types of variables and parameters only and + // have no effect on members of objects such as properties. + + var num: number; + var strOrNum: string | number; + class C1 { + private pp1: string | number; + pp2: string | number; + // Inside public accessor getter + get pp3() { + return strOrNum; + } + method() { + strOrNum = typeof this.pp1 === "string" && this.pp1; // string | number + strOrNum = typeof this.pp2 === "string" && this.pp2; // string | number + strOrNum = typeof this.pp3 === "string" && this.pp3; // string | number + } + } + var c1: C1; + strOrNum = typeof c1.pp2 === "string" && c1.pp2; // string | number + strOrNum = typeof c1.pp3 === "string" && c1.pp3; // string | number + var obj1: { + x: string | number; + }; + strOrNum = typeof obj1.x === "string" && obj1.x; // string | number \ No newline at end of file diff --git a/tests/baselines/reference/typeGuardsObjectMethods(target=es5).errors.txt b/tests/baselines/reference/typeGuardsObjectMethods(target=es5).errors.txt new file mode 100644 index 0000000000000..97fb563dec920 --- /dev/null +++ b/tests/baselines/reference/typeGuardsObjectMethods(target=es5).errors.txt @@ -0,0 +1,54 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== typeGuardsObjectMethods.ts (0 errors) ==== + // Note that type guards affect types of variables and parameters only and + // have no effect on members of objects such as properties. + + // variables in global + var num: number; + var strOrNum: string | number; + var var1: string | number; + var obj1 = { + // Inside method + method(param: string | number) { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + // parameters in function declaration + num = typeof param === "string" && param.length; // string + + return strOrNum; + }, + get prop() { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + return strOrNum; + }, + set prop(param: string | number) { + // global vars in function declaration + num = typeof var1 === "string" && var1.length; // string + + // variables in function declaration + var var2: string | number; + num = typeof var2 === "string" && var2.length; // string + + // parameters in function declaration + num = typeof param === "string" && param.length; // string + } + }; + // return expression of the method + strOrNum = typeof obj1.method(strOrNum) === "string" && obj1.method(strOrNum); + + // accessing getter property + strOrNum = typeof obj1.prop === "string" && obj1.prop; \ No newline at end of file diff --git a/tests/baselines/reference/typeOfThisInStaticMembers10(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers10(target=es5).errors.txt index 02aca3aea7992..527b1c1e5a220 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers10(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers10(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers10.ts(6,16): error TS2816: Cannot use 'this' in a static property initializer of a decorated class. typeOfThisInStaticMembers10.ts(12,16): error TS2816: Cannot use 'this' in a static property initializer of a decorated class. typeOfThisInStaticMembers10.ts(13,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. @@ -6,6 +7,7 @@ typeOfThisInStaticMembers10.ts(14,22): error TS2816: Cannot use 'this' in a stat typeOfThisInStaticMembers10.ts(35,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers10.ts (6 errors) ==== declare const foo: any; diff --git a/tests/baselines/reference/typeOfThisInStaticMembers11(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers11(target=es5).errors.txt index 4b84ab390766f..cb6e34ee86f02 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers11(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers11(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers11.ts(6,16): error TS2816: Cannot use 'this' in a static property initializer of a decorated class. typeOfThisInStaticMembers11.ts(12,16): error TS2816: Cannot use 'this' in a static property initializer of a decorated class. typeOfThisInStaticMembers11.ts(13,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. @@ -6,6 +7,7 @@ typeOfThisInStaticMembers11.ts(14,22): error TS2816: Cannot use 'this' in a stat typeOfThisInStaticMembers11.ts(35,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers11.ts (6 errors) ==== declare const foo: any; diff --git a/tests/baselines/reference/typeOfThisInStaticMembers12(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers12(target=es5).errors.txt index 42fdb5b2ad77d..8c21451455afc 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers12(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers12(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers12.ts(4,16): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. typeOfThisInStaticMembers12.ts(4,17): error TS2465: 'this' cannot be referenced in a computed property name. typeOfThisInStaticMembers12.ts(4,22): error TS2339: Property 'c' does not exist on type 'typeof Inner'. @@ -6,6 +7,7 @@ typeOfThisInStaticMembers12.ts(5,10): error TS2465: 'this' cannot be referenced typeOfThisInStaticMembers12.ts(5,15): error TS2339: Property 'c' does not exist on type 'Inner'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers12.ts (6 errors) ==== class C { static readonly c: "foo" = "foo" diff --git a/tests/baselines/reference/typeOfThisInStaticMembers13(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers13(target=es5).errors.txt index ca76121fe74bc..5faeb3b11bb02 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers13(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers13(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers13.ts(4,16): error TS1166: A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type. typeOfThisInStaticMembers13.ts(4,17): error TS2465: 'this' cannot be referenced in a computed property name. typeOfThisInStaticMembers13.ts(4,22): error TS2339: Property 'c' does not exist on type 'typeof Inner'. @@ -6,6 +7,7 @@ typeOfThisInStaticMembers13.ts(5,10): error TS2465: 'this' cannot be referenced typeOfThisInStaticMembers13.ts(5,15): error TS2339: Property 'c' does not exist on type 'Inner'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers13.ts (6 errors) ==== class C { static readonly c: "foo" = "foo" diff --git a/tests/baselines/reference/typeOfThisInStaticMembers3(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers3(target=es5).errors.txt index 4d1003687a409..4f7d21e84fa54 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers3(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers3(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers3.ts(9,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers3.ts (1 errors) ==== class C { static a = 1; diff --git a/tests/baselines/reference/typeOfThisInStaticMembers4(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers4(target=es5).errors.txt index dcdc513a0e407..d40ea8f1fe0fb 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers4(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers4(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers4.ts(9,22): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers4.ts (1 errors) ==== class C { static a = 1; diff --git a/tests/baselines/reference/typeOfThisInStaticMembers5(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers5(target=es5).errors.txt new file mode 100644 index 0000000000000..e73c0cc479132 --- /dev/null +++ b/tests/baselines/reference/typeOfThisInStaticMembers5(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== typeOfThisInStaticMembers5.ts (0 errors) ==== + class C { + static create = () => new this("yep") + + constructor (private foo: string) { + + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/typeOfThisInStaticMembers7(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers7(target=es5).errors.txt index 9b0695822674b..9bf05b678d692 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers7(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers7(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers7.ts(9,27): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers7.ts (1 errors) ==== class C { static a = 1; diff --git a/tests/baselines/reference/typeOfThisInStaticMembers8(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers8(target=es5).errors.txt index de171e19753f5..ea598f52e9e64 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers8(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers8(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers8.ts(5,49): error TS2339: Property 'f' does not exist on type '(Anonymous class)'. typeOfThisInStaticMembers8.ts(11,22): error TS2339: Property 'f' does not exist on type 'CC'. typeOfThisInStaticMembers8.ts(13,29): error TS2339: Property 'f' does not exist on type 'CC'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers8.ts (3 errors) ==== class C { static f = 1; diff --git a/tests/baselines/reference/typeOfThisInStaticMembers9(target=es5).errors.txt b/tests/baselines/reference/typeOfThisInStaticMembers9(target=es5).errors.txt index dac24e01da6a6..9e0d3992efc0e 100644 --- a/tests/baselines/reference/typeOfThisInStaticMembers9(target=es5).errors.txt +++ b/tests/baselines/reference/typeOfThisInStaticMembers9(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typeOfThisInStaticMembers9.ts(6,48): error TS2340: Only public and protected methods of the base class are accessible via the 'super' keyword. typeOfThisInStaticMembers9.ts(7,56): error TS2660: 'super' can only be referenced in members of derived classes or object literal expressions. typeOfThisInStaticMembers9.ts(8,44): error TS2335: 'super' can only be referenced in a derived class. @@ -6,6 +7,7 @@ typeOfThisInStaticMembers9.ts(14,17): error TS2335: 'super' can only be referenc typeOfThisInStaticMembers9.ts(16,24): error TS2335: 'super' can only be referenced in a derived class. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typeOfThisInStaticMembers9.ts (6 errors) ==== class C { static f = 1 diff --git a/tests/baselines/reference/typedArrays-es5(target=es5).errors.txt b/tests/baselines/reference/typedArrays-es5(target=es5).errors.txt index 8e011af4d0f45..81d0cdba9bcff 100644 --- a/tests/baselines/reference/typedArrays-es5(target=es5).errors.txt +++ b/tests/baselines/reference/typedArrays-es5(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. typedArrays-es5.ts(2,5): error TS2802: Type 'Float32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. typedArrays-es5.ts(5,5): error TS2802: Type 'Float64Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. typedArrays-es5.ts(8,5): error TS2802: Type 'Int16Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. @@ -10,6 +11,7 @@ typedArrays-es5.ts(26,5): error TS2802: Type 'Uint8Array' can only typedArrays-es5.ts(29,5): error TS2802: Type 'Uint8ClampedArray' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== typedArrays-es5.ts (10 errors) ==== const float32Array = new Float32Array(1); [...float32Array]; diff --git a/tests/baselines/reference/unicodeEscapesInNames01(target=es5).errors.txt b/tests/baselines/reference/unicodeEscapesInNames01(target=es5).errors.txt index 5f2413009e9f6..adf7d62f75e8c 100644 --- a/tests/baselines/reference/unicodeEscapesInNames01(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeEscapesInNames01(target=es5).errors.txt @@ -1,9 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. PrivateIdentifierNameWithEscape1.ts(2,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. PrivateIdentifierNameWithEscape2.ts(2,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. PrivateIdentifierNameWithExtendedEscape1.ts(2,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. PrivateIdentifierNameWithExtendedEscape2.ts(2,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== identifierVariableWithEscape1.ts (0 errors) ==== export let \u0078 = 10; x++; diff --git a/tests/baselines/reference/unicodeEscapesInNames02(target=es5).errors.txt b/tests/baselines/reference/unicodeEscapesInNames02(target=es5).errors.txt index 4ff9ce9e6f575..65c7488f57e1b 100644 --- a/tests/baselines/reference/unicodeEscapesInNames02(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeEscapesInNames02(target=es5).errors.txt @@ -1,4 +1,5 @@ -error TS-1: Pre-emit (44) and post-emit (45) diagnostic counts do not match! This can indicate that a semantic _error_ was added by the emit resolver - such an error may not be reflected on the command line or in the editor, but may be captured in a baseline here! +error TS-1: Pre-emit (45) and post-emit (46) diagnostic counts do not match! This can indicate that a semantic _error_ was added by the emit resolver - such an error may not be reflected on the command line or in the editor, but may be captured in a baseline here! +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. astralAsSurrogatePair.ts(1,11): error TS1127: Invalid character. astralAsSurrogatePair.ts(1,14): error TS2305: Module '"./extendedEscapesForAstralsInVarsAndClasses.js"' has no exported member 'as'. astralAsSurrogatePair.ts(1,17): error TS1127: Invalid character. @@ -45,9 +46,10 @@ extendedEscapesForAstralsInVarsAndClasses.ts(24,8): error TS1351: An identifier extendedEscapesForAstralsInVarsAndClasses.ts(24,12): error TS1128: Declaration or statement expected. -!!! error TS-1: Pre-emit (44) and post-emit (45) diagnostic counts do not match! This can indicate that a semantic _error_ was added by the emit resolver - such an error may not be reflected on the command line or in the editor, but may be captured in a baseline here! +!!! error TS-1: Pre-emit (45) and post-emit (46) diagnostic counts do not match! This can indicate that a semantic _error_ was added by the emit resolver - such an error may not be reflected on the command line or in the editor, but may be captured in a baseline here! !!! related TS-1: The excess diagnostics are: !!! related TS2532 extendedEscapesForAstralsInVarsAndClasses.ts:18:16: Object is possibly 'undefined'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== extendedEscapesForAstralsInVarsAndClasses.ts (38 errors) ==== // U+102A7 CARIAN LETTER A2 declare var 𐊧: string; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt index ab854267f49de..58ee8f146391c 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions01.ts(1,17): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions01.ts (1 errors) ==== var x = /\u{0}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt index 7c8275c32bc78..d589e9ebc440c 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions02.ts(1,18): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions02.ts (1 errors) ==== var x = /\u{00}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt index 21b3b2e4daea7..ad9c4afaf7597 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions03.ts(1,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions03.ts (1 errors) ==== var x = /\u{0000}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt index 9282d070a9742..4bf02006f8645 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions04.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions04.ts (1 errors) ==== var x = /\u{00000000}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt index 42b296e64af31..58bd14a22cf8b 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions05.ts(1,78): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions05.ts (1 errors) ==== var x = /\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt index 1c254e3b6b053..2634de8874c42 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions06.ts(3,22): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions06.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt index 1234f30a12e2c..a455e58155aa0 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions07.ts(3,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. unicodeExtendedEscapesInRegularExpressions07.ts(3,22): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions07.ts (2 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt index a3b5b30aac479..fb0530ebbc10e 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions08.ts(4,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions08.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt index 95d5dd12e3b24..9d1903dfb0fcc 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions09.ts(4,21): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions09.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt index a3e4686d217e2..29c1151d1de4b 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions10.ts(5,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions10.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu1 be floor((cp – 65536) / 1024) + 0xD800. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt index 4f04207f550cc..b06dacb56005a 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions11.ts(5,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions11.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu2 be ((cp – 65536) modulo 1024) + 0xDC00. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt index 01a2ed15ccb52..6dfb30b5e951c 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions12.ts(1,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. unicodeExtendedEscapesInRegularExpressions12.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions12.ts (2 errors) ==== var x = /\u{FFFFFFFF}/gu; ~~~~~~~~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt index f307764d37902..9b81a0344df31 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions13.ts(1,21): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions13.ts (1 errors) ==== var x = /\u{DDDDD}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt index 9a108e96403cb..3f07d1e4caae1 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions14.ts(2,13): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInRegularExpressions14.ts(2,18): error TS1508: Unexpected '}'. Did you mean to escape it with backslash? unicodeExtendedEscapesInRegularExpressions14.ts(2,21): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions14.ts (3 errors) ==== // Shouldn't work, negatives are not allowed. var x = /\u{-DDDD}/gu; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt index 10f023bfa0f5e..2790cf22270ab 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions15.ts(1,44): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions15.ts (1 errors) ==== var x = /\u{abcd}\u{ef12}\u{3456}\u{7890}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt index 736b8082149e6..2a09afcfda17d 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions16.ts(1,44): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions16.ts (1 errors) ==== var x = /\u{ABCD}\u{EF12}\u{3456}\u{7890}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt index d2eca7a5a4ace..1c994b2eae40d 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions17.ts(1,13): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInRegularExpressions17.ts(1,14): error TS1508: Unexpected '}'. Did you mean to escape it with backslash? unicodeExtendedEscapesInRegularExpressions17.ts(1,18): error TS1125: Hexadecimal digit expected. @@ -7,6 +8,7 @@ unicodeExtendedEscapesInRegularExpressions17.ts(1,24): error TS1508: Unexpected unicodeExtendedEscapesInRegularExpressions17.ts(1,27): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions17.ts (7 errors) ==== var x = /\u{r}\u{n}\u{t}/gu; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt index d3c12b909f223..897a436f833bc 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions18.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions18.ts (1 errors) ==== var x = /\u{65}\u{65}/gu; ~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt index d1507998bd49f..b46e484e0bc25 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInRegularExpressions19.ts(1,13): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInRegularExpressions19.ts(1,16): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInRegularExpressions19.ts (2 errors) ==== var x = /\u{}/gu; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings01(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings01(target=es5).errors.txt new file mode 100644 index 0000000000000..875533a759f7d --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings01(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings01.ts (0 errors) ==== + var x = "\u{0}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings02(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings02(target=es5).errors.txt new file mode 100644 index 0000000000000..5b4e2bb92fb03 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings02(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings02.ts (0 errors) ==== + var x = "\u{00}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings03(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings03(target=es5).errors.txt new file mode 100644 index 0000000000000..7a3227e2c16c0 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings03(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings03.ts (0 errors) ==== + var x = "\u{0000}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings04(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings04(target=es5).errors.txt new file mode 100644 index 0000000000000..cd1c3d50696ae --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings04(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings04.ts (0 errors) ==== + var x = "\u{00000000}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings05(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings05(target=es5).errors.txt new file mode 100644 index 0000000000000..9a3309166ca0d --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings05(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings05.ts (0 errors) ==== + var x = "\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings06(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings06(target=es5).errors.txt new file mode 100644 index 0000000000000..e4d6b8769aec1 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings06(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings06.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. + var x = "\u{10FFFF}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings07(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings07(target=es5).errors.txt index 6ac3176ac8a2f..ad5a6967f4350 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings07(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings07(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings07.ts(3,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings07.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings08(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings08(target=es5).errors.txt new file mode 100644 index 0000000000000..9565c7e48289f --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings08(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings08.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. If cp ≤ 65535, return cp. + // (FFFF == 65535) + var x = "\u{FFFF}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings09(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings09(target=es5).errors.txt new file mode 100644 index 0000000000000..bf11c61fb112c --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings09(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings09.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. If cp ≤ 65535, return cp. + // (10000 == 65536) + var x = "\u{10000}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings10(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings10(target=es5).errors.txt new file mode 100644 index 0000000000000..321afe604db0e --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings10(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings10.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. Let cu1 be floor((cp – 65536) / 1024) + 0xD800. + // Although we should just get back a single code point value of 0xD800, + // this is a useful edge-case test. + var x = "\u{D800}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings11(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings11(target=es5).errors.txt new file mode 100644 index 0000000000000..67b1a78422e8b --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings11(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings11.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. Let cu2 be ((cp – 65536) modulo 1024) + 0xDC00. + // Although we should just get back a single code point value of 0xDC00, + // this is a useful edge-case test. + var x = "\u{DC00}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings12(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings12(target=es5).errors.txt index 447343dd1bd95..d6ab6c64583ca 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings12(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings12.ts(1,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings12.ts (1 errors) ==== var x = "\u{FFFFFFFF}"; ~~~~~~~~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings13(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings13(target=es5).errors.txt new file mode 100644 index 0000000000000..179eaa1380a62 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings13(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings13.ts (0 errors) ==== + var x = "\u{DDDDD}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings14(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings14(target=es5).errors.txt index d3bd40fbdf13d..87171e5f4615b 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings14(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings14.ts(2,13): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings14.ts (1 errors) ==== // Shouldn't work, negatives are not allowed. var x = "\u{-DDDD}"; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings15(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings15(target=es5).errors.txt new file mode 100644 index 0000000000000..701fb33ed8f0e --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings15(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings15.ts (0 errors) ==== + var x = "\u{abcd}\u{ef12}\u{3456}\u{7890}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings16(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings16(target=es5).errors.txt new file mode 100644 index 0000000000000..16ff844fcd7ee --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings16(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings16.ts (0 errors) ==== + var x = "\u{ABCD}\u{EF12}\u{3456}\u{7890}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings17(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings17(target=es5).errors.txt index 30965be12351a..ad567be749c39 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings17(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings17(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings17.ts(1,13): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInStrings17.ts(1,18): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInStrings17.ts(1,23): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings17.ts (3 errors) ==== var x = "\u{r}\u{n}\u{t}"; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings18(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings18(target=es5).errors.txt new file mode 100644 index 0000000000000..ccd431e27a21e --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings18(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings18.ts (0 errors) ==== + var x = "\u{65}\u{65}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings19(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings19(target=es5).errors.txt index d8fe5fb917579..edaddc02e5f3a 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings19(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings19(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings19.ts(1,13): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings19.ts (1 errors) ==== var x = "\u{}"; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings20(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings20(target=es5).errors.txt index 654bc550dbe65..71a16a6aa09af 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings20(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings20(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings20.ts(1,13): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings20.ts (1 errors) ==== var x = "\u{"; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings21(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings21(target=es5).errors.txt index c9226b8853d15..e71682c946c1b 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings21(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings21(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings21.ts(1,15): error TS1199: Unterminated Unicode escape sequence. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings21.ts (1 errors) ==== var x = "\u{67"; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings22(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings22(target=es5).errors.txt index c0fa227d2483b..61ef6c14789dd 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings22(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings22(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings22.ts(1,27): error TS1199: Unterminated Unicode escape sequence. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings22.ts (1 errors) ==== var x = "\u{00000000000067"; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings23(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings23(target=es5).errors.txt new file mode 100644 index 0000000000000..de9bffcb8c930 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings23(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInStrings23.ts (0 errors) ==== + var x = "\u{00000000000067}"; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings24(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings24(target=es5).errors.txt index 92fbb64fc5d0f..d50bfd84207e7 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings24(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings24(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings24.ts(1,27): error TS1199: Unterminated Unicode escape sequence. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings24.ts (1 errors) ==== var x = "\u{00000000000067 diff --git a/tests/baselines/reference/unicodeExtendedEscapesInStrings25(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInStrings25(target=es5).errors.txt index 0aadcb9617357..e8c07eacd2ffc 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInStrings25(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInStrings25(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInStrings25.ts(1,28): error TS1002: Unterminated string literal. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInStrings25.ts (1 errors) ==== var x = "\u{00000000000067} diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates01(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates01(target=es5).errors.txt new file mode 100644 index 0000000000000..5a9c9b42e7000 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates01(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates01.ts (0 errors) ==== + var x = `\u{0}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates02(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates02(target=es5).errors.txt new file mode 100644 index 0000000000000..2bda69922aa4b --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates02(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates02.ts (0 errors) ==== + var x = `\u{00}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates03(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates03(target=es5).errors.txt new file mode 100644 index 0000000000000..db04592d298dc --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates03(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates03.ts (0 errors) ==== + var x = `\u{0000}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates04(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates04(target=es5).errors.txt new file mode 100644 index 0000000000000..aa5a6329db5ed --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates04(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates04.ts (0 errors) ==== + var x = `\u{00000000}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates05(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates05(target=es5).errors.txt new file mode 100644 index 0000000000000..4e14e5a88a39c --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates05(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates05.ts (0 errors) ==== + var x = `\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates06(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates06(target=es5).errors.txt new file mode 100644 index 0000000000000..c096f2a70b7ab --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates06(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates06.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. + var x = `\u{10FFFF}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates07(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates07(target=es5).errors.txt index 3d8924373de47..03690ae1d987d 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInTemplates07(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates07(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInTemplates07.ts(3,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInTemplates07.ts (1 errors) ==== // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates08(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates08(target=es5).errors.txt new file mode 100644 index 0000000000000..b3b915dcd43b1 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates08(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates08.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. If cp ≤ 65535, return cp. + // (FFFF == 65535) + var x = `\u{FFFF}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates09(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates09(target=es5).errors.txt new file mode 100644 index 0000000000000..9042ec6fe4038 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates09(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates09.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. If cp ≤ 65535, return cp. + // (10000 == 65536) + var x = `\u{10000}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates10(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates10(target=es5).errors.txt new file mode 100644 index 0000000000000..9166007e25b50 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates10(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates10.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. Let cu1 be floor((cp – 65536) / 1024) + 0xD800. + // Although we should just get back a single code point value of 0xD800, + // this is a useful edge-case test. + var x = `\u{D800}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates11(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates11(target=es5).errors.txt new file mode 100644 index 0000000000000..d6c998a446e8d --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates11(target=es5).errors.txt @@ -0,0 +1,11 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates11.ts (0 errors) ==== + // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) + // 2. Let cu2 be ((cp – 65536) modulo 1024) + 0xDC00. + // Although we should just get back a single code point value of 0xDC00, + // this is a useful edge-case test. + var x = `\u{DC00}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates12(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates12(target=es5).errors.txt index 61f0e5ae2a563..1d7bc8ebd0dc8 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInTemplates12(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates12(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInTemplates12.ts(1,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInTemplates12.ts (1 errors) ==== var x = `\u{FFFFFFFF}`; ~~~~~~~~ diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates13(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates13(target=es5).errors.txt new file mode 100644 index 0000000000000..da584d8111df3 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates13(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates13.ts (0 errors) ==== + var x = `\u{DDDDD}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates14(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates14(target=es5).errors.txt index e2204de770d81..404caf988ef01 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInTemplates14(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates14(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInTemplates14.ts(2,13): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInTemplates14.ts (1 errors) ==== // Shouldn't work, negatives are not allowed. var x = `\u{-DDDD}`; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates15(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates15(target=es5).errors.txt new file mode 100644 index 0000000000000..0be4624aaf567 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates15(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates15.ts (0 errors) ==== + var x = `\u{abcd}\u{ef12}\u{3456}\u{7890}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates16(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates16(target=es5).errors.txt new file mode 100644 index 0000000000000..e9022c82d7bd5 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates16(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates16.ts (0 errors) ==== + var x = `\u{ABCD}\u{EF12}\u{3456}\u{7890}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates17(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates17(target=es5).errors.txt index 6366216e44ba0..34723961445e6 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInTemplates17(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates17(target=es5).errors.txt @@ -1,8 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInTemplates17.ts(1,13): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInTemplates17.ts(1,18): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInTemplates17.ts(1,23): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInTemplates17.ts (3 errors) ==== var x = `\u{r}\u{n}\u{t}`; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates18(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates18(target=es5).errors.txt new file mode 100644 index 0000000000000..58730f274ecba --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates18(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates18.ts (0 errors) ==== + var x = `\u{65}\u{65}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates19(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates19(target=es5).errors.txt index 43da8284ddeb9..d99e06833f6af 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInTemplates19(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates19(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unicodeExtendedEscapesInTemplates19.ts(1,13): error TS1125: Hexadecimal digit expected. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unicodeExtendedEscapesInTemplates19.ts (1 errors) ==== var x = `\u{}`; diff --git a/tests/baselines/reference/unicodeExtendedEscapesInTemplates20(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInTemplates20(target=es5).errors.txt new file mode 100644 index 0000000000000..2c2cd1e774408 --- /dev/null +++ b/tests/baselines/reference/unicodeExtendedEscapesInTemplates20(target=es5).errors.txt @@ -0,0 +1,7 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unicodeExtendedEscapesInTemplates20.ts (0 errors) ==== + var x = `\u{48}\u{65}\u{6c}\u{6c}\u{6f}${`\u{20}\u{020}\u{0020}\u{000020}`}\u{77}\u{6f}\u{72}\u{6c}\u{64}`; + \ No newline at end of file diff --git a/tests/baselines/reference/unusedGetterInClass(target=es5).errors.txt b/tests/baselines/reference/unusedGetterInClass(target=es5).errors.txt index ddc0cffcd7b8c..09a1ec0daaca7 100644 --- a/tests/baselines/reference/unusedGetterInClass(target=es5).errors.txt +++ b/tests/baselines/reference/unusedGetterInClass(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unusedGetterInClass.ts(4,17): error TS6133: 'fullName' is declared but its value is never read. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unusedGetterInClass.ts (1 errors) ==== class Employee { private _fullName: string; diff --git a/tests/baselines/reference/unusedParameterUsedInTypeOf(target=es5).errors.txt b/tests/baselines/reference/unusedParameterUsedInTypeOf(target=es5).errors.txt new file mode 100644 index 0000000000000..18363756161fd --- /dev/null +++ b/tests/baselines/reference/unusedParameterUsedInTypeOf(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== unusedParameterUsedInTypeOf.ts (0 errors) ==== + function f1 (a: number, b: typeof a) { + return b; + } \ No newline at end of file diff --git a/tests/baselines/reference/unusedPrivateMembers(target=es5).errors.txt b/tests/baselines/reference/unusedPrivateMembers(target=es5).errors.txt index b9b15fc8f7dcd..a8285b28ed0bd 100644 --- a/tests/baselines/reference/unusedPrivateMembers(target=es5).errors.txt +++ b/tests/baselines/reference/unusedPrivateMembers(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unusedPrivateMembers.ts(56,13): error TS6133: 'b' is declared but its value is never read. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unusedPrivateMembers.ts (1 errors) ==== class Test1 { private initializeInternal() { diff --git a/tests/baselines/reference/unusedSetterInClass(target=es5).errors.txt b/tests/baselines/reference/unusedSetterInClass(target=es5).errors.txt index 98c7083b34770..00f2fe64b62b1 100644 --- a/tests/baselines/reference/unusedSetterInClass(target=es5).errors.txt +++ b/tests/baselines/reference/unusedSetterInClass(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. unusedSetterInClass.ts(2,13): error TS6133: '_fullName' is declared but its value is never read. unusedSetterInClass.ts(4,17): error TS6133: 'fullName' is declared but its value is never read. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== unusedSetterInClass.ts (2 errors) ==== class Employee { private _fullName: string; diff --git a/tests/baselines/reference/useObjectValuesAndEntries1(target=es5).errors.txt b/tests/baselines/reference/useObjectValuesAndEntries1(target=es5).errors.txt new file mode 100644 index 0000000000000..a00642323cc00 --- /dev/null +++ b/tests/baselines/reference/useObjectValuesAndEntries1(target=es5).errors.txt @@ -0,0 +1,35 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== useObjectValuesAndEntries1.ts (0 errors) ==== + var o = { a: 1, b: 2 }; + + for (var x of Object.values(o)) { + let y = x; + } + + var entries = Object.entries(o); // [string, number][] + var values = Object.values(o); // number[] + + var entries1 = Object.entries(1); // [string, any][] + var values1 = Object.values(1); // any[] + + var entries2 = Object.entries({ a: true, b: 2 }); // [string, number|boolean][] + var values2 = Object.values({ a: true, b: 2 }); // (number|boolean)[] + + var entries3 = Object.entries({}); // [string, {}][] + var values3 = Object.values({}); // {}[] + + var a = ["a", "b", "c"]; + var entries4 = Object.entries(a); // [string, string][] + var values4 = Object.values(a); // string[] + + enum E { A, B } + var entries5 = Object.entries(E); // [string, any][] + var values5 = Object.values(E); // any[] + + interface I { } + var i: I = {}; + var entries6 = Object.entries(i); // [string, any][] + var values6 = Object.values(i); // any[] \ No newline at end of file diff --git a/tests/baselines/reference/useObjectValuesAndEntries2(target=es5).errors.txt b/tests/baselines/reference/useObjectValuesAndEntries2(target=es5).errors.txt index 2d5abf1643a23..bbb12c98deb3f 100644 --- a/tests/baselines/reference/useObjectValuesAndEntries2(target=es5).errors.txt +++ b/tests/baselines/reference/useObjectValuesAndEntries2(target=es5).errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. useObjectValuesAndEntries2.ts(3,22): error TS2550: Property 'values' does not exist on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2017' or later. useObjectValuesAndEntries2.ts(7,22): error TS2550: Property 'entries' does not exist on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2017' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== useObjectValuesAndEntries2.ts (2 errors) ==== var o = { a: 1, b: 2 }; diff --git a/tests/baselines/reference/usePromiseFinally(target=es5).errors.txt b/tests/baselines/reference/usePromiseFinally(target=es5).errors.txt new file mode 100644 index 0000000000000..ebdbbc0a6f038 --- /dev/null +++ b/tests/baselines/reference/usePromiseFinally(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usePromiseFinally.ts (0 errors) ==== + let promise1 = new Promise(function(resolve, reject) {}) + .finally(function() {}); + \ No newline at end of file diff --git a/tests/baselines/reference/useSharedArrayBuffer1(target=es5).errors.txt b/tests/baselines/reference/useSharedArrayBuffer1(target=es5).errors.txt new file mode 100644 index 0000000000000..fcc6532926f77 --- /dev/null +++ b/tests/baselines/reference/useSharedArrayBuffer1(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== useSharedArrayBuffer1.ts (0 errors) ==== + var foge = new SharedArrayBuffer(1024); + var bar = foge.slice(1, 10); + var len = foge.byteLength; \ No newline at end of file diff --git a/tests/baselines/reference/useSharedArrayBuffer2(target=es5).errors.txt b/tests/baselines/reference/useSharedArrayBuffer2(target=es5).errors.txt index 3d9a7d77cc62d..adc6bc71db486 100644 --- a/tests/baselines/reference/useSharedArrayBuffer2(target=es5).errors.txt +++ b/tests/baselines/reference/useSharedArrayBuffer2(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. useSharedArrayBuffer2.ts(1,16): error TS2583: Cannot find name 'SharedArrayBuffer'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2017' or later. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== useSharedArrayBuffer2.ts (1 errors) ==== var foge = new SharedArrayBuffer(1024); ~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/useSharedArrayBuffer5(target=es5).errors.txt b/tests/baselines/reference/useSharedArrayBuffer5(target=es5).errors.txt new file mode 100644 index 0000000000000..df96b72ce4bb6 --- /dev/null +++ b/tests/baselines/reference/useSharedArrayBuffer5(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== useSharedArrayBuffer5.ts (0 errors) ==== + var foge = new SharedArrayBuffer(1024); + var stringTag = foge[Symbol.toStringTag]; + var species = SharedArrayBuffer[Symbol.species]; \ No newline at end of file diff --git a/tests/baselines/reference/useSharedArrayBuffer6(target=es5).errors.txt b/tests/baselines/reference/useSharedArrayBuffer6(target=es5).errors.txt index 2f20bc579bc25..30ed96cbe8157 100644 --- a/tests/baselines/reference/useSharedArrayBuffer6(target=es5).errors.txt +++ b/tests/baselines/reference/useSharedArrayBuffer6(target=es5).errors.txt @@ -1,6 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. useSharedArrayBuffer6.ts(2,6): error TS2339: Property 'length' does not exist on type 'SharedArrayBuffer'. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== useSharedArrayBuffer6.ts (1 errors) ==== var foge = new SharedArrayBuffer(1024); foge.length; // should error diff --git a/tests/baselines/reference/useStrictLikePrologueString01(target=es5).errors.txt b/tests/baselines/reference/useStrictLikePrologueString01(target=es5).errors.txt new file mode 100644 index 0000000000000..0e9b136f19b25 --- /dev/null +++ b/tests/baselines/reference/useStrictLikePrologueString01(target=es5).errors.txt @@ -0,0 +1,9 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== useStrictLikePrologueString01.ts (0 errors) ==== + "hey!" + " use strict " + export function f() { + } \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarations.1(target=es5).errors.txt b/tests/baselines/reference/usingDeclarations.1(target=es5).errors.txt new file mode 100644 index 0000000000000..7142e51e19336 --- /dev/null +++ b/tests/baselines/reference/usingDeclarations.1(target=es5).errors.txt @@ -0,0 +1,167 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarations.1.ts (0 errors) ==== + using d1 = { [Symbol.dispose]() {} }; + + function f() { + using d2 = { [Symbol.dispose]() {} }; + } + + async function af() { + using d3 = { [Symbol.dispose]() {} }; + await null; + } + + function * g() { + using d4 = { [Symbol.dispose]() {} }; + yield; + } + + async function * ag() { + using d5 = { [Symbol.dispose]() {} }; + yield; + await null; + } + + const a = () => { + using d6 = { [Symbol.dispose]() {} }; + } + + class C1 { + a = () => { + using d7 = { [Symbol.dispose]() {} }; + } + + constructor() { + using d8 = { [Symbol.dispose]() {} }; + } + + static { + using d9 = { [Symbol.dispose]() {} }; + } + + m() { + using d10 = { [Symbol.dispose]() {} }; + } + + get x() { + using d11 = { [Symbol.dispose]() {} }; + return 0; + } + + set x(v) { + using d12 = { [Symbol.dispose]() {} }; + } + + async am() { + using d13 = { [Symbol.dispose]() {} }; + await null; + } + + * g() { + using d14 = { [Symbol.dispose]() {} }; + yield; + } + + async * ag() { + using d15 = { [Symbol.dispose]() {} }; + yield; + await null; + } + } + + class C2 extends C1 { + constructor() { + using d16 = { [Symbol.dispose]() {} }; + super(); + } + } + + class C3 extends C1 { + y = 1; + constructor() { + using d17 = { [Symbol.dispose]() {} }; + super(); + } + } + + namespace N { + using d18 = { [Symbol.dispose]() {} }; + } + + { + using d19 = { [Symbol.dispose]() {} }; + } + + switch (Math.random()) { + case 0: { + using d20 = { [Symbol.dispose]() {} }; + break; + } + + case 1: { + using d21 = { [Symbol.dispose]() {} }; + break; + } + + default: { + using d22 = { [Symbol.dispose]() {} }; + } + } + + if (true) + switch (0) { + case 0: { + using d23 = { [Symbol.dispose]() {} }; + break; + } + + default: { + using d24 = { [Symbol.dispose]() {} }; + } + } + + try { + using d25 = { [Symbol.dispose]() {} }; + } + catch { + using d26 = { [Symbol.dispose]() {} }; + } + finally { + using d27 = { [Symbol.dispose]() {} }; + } + + if (true) { + using d28 = { [Symbol.dispose]() {} }; + } + else { + using d29 = { [Symbol.dispose]() {} }; + } + + while (true) { + using d30 = { [Symbol.dispose]() {} }; + break; + } + + do { + using d31 = { [Symbol.dispose]() {} }; + break; + } + while (true); + + for (;;) { + using d32 = { [Symbol.dispose]() {} }; + break; + } + + for (const x in {}) { + using d33 = { [Symbol.dispose]() {} }; + } + + for (const x of []) { + using d34 = { [Symbol.dispose]() {} }; + } + + export {}; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarations.11(target=es5).errors.txt b/tests/baselines/reference/usingDeclarations.11(target=es5).errors.txt new file mode 100644 index 0000000000000..01e2c90ac3310 --- /dev/null +++ b/tests/baselines/reference/usingDeclarations.11(target=es5).errors.txt @@ -0,0 +1,39 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarations.11.ts (0 errors) ==== + class A {} + class C1 extends A { + constructor() { + using x = null; + super(); + } + } + class C2 extends A { + constructor() { + super(); + using x = null; + } + } + class C3 extends A { + y = 1; + constructor() { + using x = null; + super(); + } + } + class C4 extends A { + constructor(public y: number) { + using x = null; + super(); + } + } + class C5 extends A { + z = 1; + constructor(public y: number) { + using x = null; + super(); + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarations.2(target=es5).errors.txt b/tests/baselines/reference/usingDeclarations.2(target=es5).errors.txt new file mode 100644 index 0000000000000..62bd0b11c4b5e --- /dev/null +++ b/tests/baselines/reference/usingDeclarations.2(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarations.2.ts (0 errors) ==== + { + using d1 = { [Symbol.dispose]() {} }, + d2 = { [Symbol.dispose]() {} }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarations.3(target=es5).errors.txt b/tests/baselines/reference/usingDeclarations.3(target=es5).errors.txt new file mode 100644 index 0000000000000..33a1a26bdeb1a --- /dev/null +++ b/tests/baselines/reference/usingDeclarations.3(target=es5).errors.txt @@ -0,0 +1,12 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarations.3.ts (0 errors) ==== + { + using d1 = { [Symbol.dispose]() {} }, + d2 = null, + d3 = undefined, + d4 = { [Symbol.dispose]() {} }; + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsInFor(target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsInFor(target=es5).errors.txt new file mode 100644 index 0000000000000..6e6b515cc27ad --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsInFor(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsInFor.ts (0 errors) ==== + for (using d1 = { [Symbol.dispose]() {} }, d2 = null, d3 = undefined;;) { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).errors.txt new file mode 100644 index 0000000000000..b2d9304fb128c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).errors.txt @@ -0,0 +1,10 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsInForAwaitOf.ts (0 errors) ==== + async function main() { + for await (using d1 of [{ [Symbol.dispose]() {} }, null, undefined]) { + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsInForOf.1(target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsInForOf.1(target=es5).errors.txt new file mode 100644 index 0000000000000..cc8fd09c71f61 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsInForOf.1(target=es5).errors.txt @@ -0,0 +1,8 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsInForOf.1.ts (0 errors) ==== + for (using d1 of [{ [Symbol.dispose]() {} }, null, undefined]) { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..f85898e23070a --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.1.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..f85898e23070a --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.1.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=system,target=es5).errors.txt index 6410038d9075c..6b52b1c646fa4 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.1(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.1.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..bbfc363149ea7 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.10.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..bbfc363149ea7 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.10.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=system,target=es5).errors.txt index c0d483fd76b74..336c93f87d990 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.10(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.10.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..3a754e6c3bf9c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=commonjs,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.11.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..3a754e6c3bf9c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=esnext,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.11.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=system,target=es5).errors.txt index 56a1dd4015895..cfb3a0a54b78f 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.11(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.11.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..8ff39d0109004 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=commonjs,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.12.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C as D }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..8ff39d0109004 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=esnext,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.12.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C as D }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=system,target=es5).errors.txt index 336ca1f5ff380..ca56f340e14ee 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.12(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.12.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..12fca12e4383d --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.2.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..12fca12e4383d --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.2.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=system,target=es5).errors.txt index 25f652aa4c866..b8e7d46d89453 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.2(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.2.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..d56c506909d67 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=commonjs,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.3.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class C { + } + + void C; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..d56c506909d67 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=esnext,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.3.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class C { + } + + void C; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=system,target=es5).errors.txt index ce1fcbdf5588a..3b5aff205641b 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.3(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.3.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..990cfafd8609c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.4.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..990cfafd8609c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.4.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=system,target=es5).errors.txt index 2cdefbe879ab6..6e1617498d19d 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.4(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.4.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..a16fa572c2816 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=commonjs,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.5.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..a16fa572c2816 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=esnext,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.5.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=system,target=es5).errors.txt index 5dcb10fe6e706..b80804f833944 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.5(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.5.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..2699dc7689869 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=commonjs,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.6.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C as D }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..2699dc7689869 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=esnext,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.6.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C as D }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=system,target=es5).errors.txt index 17ee7bda8e28c..fa91f193bbb3e 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.6(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.6.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..725fb3756f471 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=commonjs,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.7.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + using after = null; + + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..725fb3756f471 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=esnext,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.7.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + using after = null; + + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=system,target=es5).errors.txt index 2b2a58dae5285..5477fbe9cded9 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.7(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.7.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..3cb108975837f --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.8.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..3cb108975837f --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.8.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=system,target=es5).errors.txt index 00ecabbfb19fe..2695634a017e0 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.8(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.8.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..547a091c6bdad --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=commonjs,target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.9.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class C { + } + + void C; + + using after = null; + + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..547a091c6bdad --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=esnext,target=es5).errors.txt @@ -0,0 +1,18 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithESClassDecorators.9.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class C { + } + + void C; + + using after = null; + + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=system,target=es5).errors.txt index 106504df856e9..6c34c07f39e6e 100644 --- a/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithESClassDecorators.9(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithESClassDecorators.9.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..e0f9f4ad8bffe --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.1.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..e0f9f4ad8bffe --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.1.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=system,target=es5).errors.txt index dd484859a1bf6..c91bbcf6e4c6c 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.1(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.1.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..e621f01a923e0 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.10.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..e621f01a923e0 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.10.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=system,target=es5).errors.txt index f82f485b57212..8f62ebe2048a6 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.10(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.10.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..8eaf6f3862342 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=commonjs,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.11.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..8eaf6f3862342 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=esnext,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.11.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=system,target=es5).errors.txt index 3e18b51fe1984..83b6ce4b414e9 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.11(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.11.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..5c38402ef0f90 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=commonjs,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.12.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C as D }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..5c38402ef0f90 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=esnext,target=es5).errors.txt @@ -0,0 +1,17 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.12.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + export { C as D }; + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=system,target=es5).errors.txt index 2e992776b82f8..b93f23abd3ef6 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.12(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.12.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..dac241f7ec865 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.2.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..dac241f7ec865 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.2.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=system,target=es5).errors.txt index d0efc568d924e..d328893bf7968 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.2(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.2.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..d6cf10a00a18c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.3.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..d6cf10a00a18c --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.3.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class C { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=system,target=es5).errors.txt index dba53684b2de4..0068e7fd13ee9 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.3(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.3.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..c1613279e9e25 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.4.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..c1613279e9e25 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.4.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + export default class { + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=system,target=es5).errors.txt index 30926090ad838..8721ec21da1e3 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.4(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.4.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..e829990858e93 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=commonjs,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.5.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..e829990858e93 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=esnext,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.5.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=system,target=es5).errors.txt index 61926462d80bb..1327bc6c0aa92 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.5(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.5.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..cd4be6a086403 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=commonjs,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.6.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C as D }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..cd4be6a086403 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=esnext,target=es5).errors.txt @@ -0,0 +1,16 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.6.ts (0 errors) ==== + export {}; + + declare var dec: any; + + using before = null; + + @dec + class C { + } + + export { C as D }; \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=system,target=es5).errors.txt index 34f7f2659caba..bcfac3e1b4e21 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.6(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.6.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..120eba57b9697 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.7.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..120eba57b9697 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.7.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=system,target=es5).errors.txt index c84706fe23cde..2724567ae5068 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.7(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.7.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..d60644a2bfa87 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.8.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..d60644a2bfa87 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.8.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=system,target=es5).errors.txt index 596c8d06d8322..15404e612709e 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.8(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.8.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=commonjs,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=commonjs,target=es5).errors.txt new file mode 100644 index 0000000000000..4b8a74050adbc --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=commonjs,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.9.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=esnext,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=esnext,target=es5).errors.txt new file mode 100644 index 0000000000000..4b8a74050adbc --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=esnext,target=es5).errors.txt @@ -0,0 +1,15 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== usingDeclarationsWithLegacyClassDecorators.9.ts (0 errors) ==== + export {}; + + declare var dec: any; + + @dec + export default class C { + } + + using after = null; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=system,target=es5).errors.txt b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=system,target=es5).errors.txt index 66ce3c7990386..37e777710cfd3 100644 --- a/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=system,target=es5).errors.txt +++ b/tests/baselines/reference/usingDeclarationsWithLegacyClassDecorators.9(module=system,target=es5).errors.txt @@ -1,7 +1,9 @@ error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5107: Option 'module=System' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== usingDeclarationsWithLegacyClassDecorators.9.ts (0 errors) ==== export {}; diff --git a/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).errors.txt b/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).errors.txt new file mode 100644 index 0000000000000..a3ae7cb1500f0 --- /dev/null +++ b/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).errors.txt @@ -0,0 +1,13 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== yieldInForInInDownlevelGenerator.ts (0 errors) ==== + // https://github.com/microsoft/TypeScript/issues/49808 + function* gen() { + var obj: any = { foo: 1, bar: 2 }; + for (var key in obj) { + yield key; + delete obj.bar; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).types b/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).types index 324d21c2298c3..5bac4b7c34a4f 100644 --- a/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).types +++ b/tests/baselines/reference/yieldInForInInDownlevelGenerator(target=es5).types @@ -8,6 +8,7 @@ function* gen() { var obj: any = { foo: 1, bar: 2 }; >obj : any +> : ^^^ >{ foo: 1, bar: 2 } : { foo: number; bar: number; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >foo : number @@ -23,9 +24,11 @@ function* gen() { >key : string > : ^^^^^^ >obj : any +> : ^^^ yield key; >yield key : any +> : ^^^ >key : string > : ^^^^^^ @@ -33,6 +36,7 @@ function* gen() { >delete obj.bar : boolean > : ^^^^^^^ >obj.bar : any +> : ^^^ >obj : any > : ^^^ >bar : any diff --git a/tests/baselines/reference/yieldStatementNoAsiAfterTransform(target=es5).errors.txt b/tests/baselines/reference/yieldStatementNoAsiAfterTransform(target=es5).errors.txt new file mode 100644 index 0000000000000..7e05b3d7ff09a --- /dev/null +++ b/tests/baselines/reference/yieldStatementNoAsiAfterTransform(target=es5).errors.txt @@ -0,0 +1,68 @@ +error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== yieldStatementNoAsiAfterTransform.ts (0 errors) ==== + declare var a: any; + + function *t1() { + yield ( + // comment + a as any + ); + } + function *t2() { + yield ( + // comment + a as any + ) + 1; + } + function *t3() { + yield ( + // comment + a as any + ) ? 0 : 1; + } + function *t4() { + yield ( + // comment + a as any + ).b; + } + function *t5() { + yield ( + // comment + a as any + )[a]; + } + function *t6() { + yield ( + // comment + a as any + )(); + } + function *t7() { + yield ( + // comment + a as any + )``; + } + function *t8() { + yield ( + // comment + a as any + ) as any; + } + function *t9() { + yield ( + // comment + a as any + ) satisfies any; + } + function *t10() { + yield ( + // comment + a as any + )!; + } + \ No newline at end of file